Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • defragster's Avatar
    Yesterday, 11:42 PM
    :) - will catch up soon
    45 replies | 945 view(s)
  • defragster's Avatar
    Yesterday, 09:43 AM
    Wow - good progress and great success and advancement. So much for a simple idea :)
    45 replies | 945 view(s)
  • defragster's Avatar
    Yesterday, 08:12 AM
    defragster replied to a thread uNav AHRS in General Discussion
    I dropped in my updated debugGPS to the _V3 code. Other minor tweeks to visualize/track internal timing. Here is what I have as updated - notes below: Here are the times at 48 MHz - they are much longer than...
    572 replies | 25465 view(s)
  • defragster's Avatar
    Yesterday, 04:43 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Given post about timing - recompiled the _X version I had now at 48 MHz and running fine without fail on GPS - after the first 13 clearing the buffer and starting: #9729 (! 13) @4:42.58_199847144 >> 2== ms_201 ...
    572 replies | 25465 view(s)
  • defragster's Avatar
    Yesterday, 01:13 AM
    defragster replied to a thread uNav AHRS in General Discussion
    No worry - it is working well at 168 MHz now showing: ----- #47695 (! 11) @1:10.5_56740 >> 1== ms_0 The other Dtime stuff is something I can do it it shows anything. That was : No - as a general rule - complex...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 11:16 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Okay the baseline is now the _V3 code. Didn't get it yet. Does it have the GPS test in if((sincePrint > printRate)) - I just saw my _X version does not? It was this to get GPS and delay a print if GPS available: ...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 10:33 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Yes, that is the DEFS.h thread. Do a DIFF on the platform.txt to see what changed ... I never did that. Maybe the hack is easy enough? Mike: Please stop posting while I'm typing :) . . . . I've got your V2 - not...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 09:15 PM
    defragster replied to a thread uNav AHRS in General Discussion
    FrankB be created an 'edit' for building to use DEFS.H that sits in local folder and with the build edits has that included to allow "#UNDEF and then #DEFINE" to override default settings. There is a thread for that -...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 09:10 PM
    defragster replied to a thread uNav AHRS in General Discussion
    (what I posted) Runs fine at 96 MHz now too. The 10 indicated failures came during the first 6 valid messages processed. ----- 10 ------XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-------- #6 (! 10) @21:3.11_-491438 >>...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 08:53 PM
    defragster replied to a thread uNav AHRS in General Discussion
    That worked! The attention to math'y stuff was allowing GPS buffer to suffer overrun - for reference here is my current - with the changes I made for what it shows: Output change is : ----- 11 ...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 08:43 PM
    defragster replied to a thread uNav AHRS in General Discussion
    The way the GPS misses and the IMU over runs with no intervening Dtime() prints suggests something out of order. Perhaps there is misuse of one of the gating variables. No doubt the time involved in the intense math...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 08:21 PM
    defragster replied to a thread uNav AHRS in General Discussion
    < Yes - I saw that ... had to pause editing this - saw your #552 come in ... almost crossed again > Mike: we cross posted. Finding the wrong INT number and restoring to my 50 turned back on my IMU updates. Got...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 08:05 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Mike: Will wait for your next zip - I was also seeing INS9State in base name . . . only watching the debug window - not 6 versus 9 states so far ... I made some minors edits - I'll redo them when I see that - still...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 06:41 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Mike: the IMU interrupt is not recording the 'now' time again? IF IMU data processing is delayed during GPS reception getting 'now' LATER - won't be correct. void runFilter() { newIMUData = 1; IMU_RX_time =...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 06:35 PM
    defragster replied to a thread uNav AHRS in General Discussion
    I'll trust you guys to resolve the value of time as I don't have the cycles for the guts of the filter requirements/evolution, I'm just looking to get the most solid time base to decide on. If the time base is squishy...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 06:07 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Brian- Check: Mag on GPS is just there - My $20 unit has one to ignore. It also has JST connector - and per my pics - also through pin holes. I socketed so I can use either. Even if IMU timing is God_Time - it is...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 10:28 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Debug a bit more telling - nothing fixed {except a forbidden char*} - and 4 hits on GPS looked like 5:: IMU Dtime(10,10,"") will print '*' versus '^'. Bumped to 168 MHz and not showing fails - so timing is on the...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 08:29 AM
    defragster replied to a thread uNav AHRS in General Discussion
    For Kicks I recompiled at 120 MHz and it works 5 Hz GPS without fail. You can see a fail go by with a longer bar of '---------------------------' Mike: I'm assuming you will MERGE or update this to V6? It should...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 08:04 AM
    defragster replied to a thread uNav AHRS in General Discussion
    I tried to put readGPS(); into yield() and that was a BIG FAIL to run - probably called before setup() of GPS is complete? Too many readGPS(); calls are present - but I uploaded it that way anyhow :) < updated...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 07:32 AM
    defragster replied to a thread uNav AHRS in General Discussion
    My T_3.6 is running at 168 MHz from last test. I put the Dtime() around groups of code and it shows the hot spots - below in uS. I'll play a bit more and post before signing off. This is with a few readGPS();...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-22-2018, 04:58 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Pulled V5 - will see what I can see. Didn't look at Thread_V ... Getting 5 Hz GPS mostly - some 3's and 4's just now . . . I see from the V5 start: >> GPS updates are being missed - missing one may corrupt the...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-21-2018, 08:01 PM
    It isn't noted what isn't what working in what way that I can see? No posted output showing what is wrong? To guess I would suspect from code comment the ending code should read like this? #ifdef SerialDebug ...
    4 replies | 145 view(s)
  • defragster's Avatar
    02-21-2018, 12:06 PM
    That sounds good and promising for this and future projects. The other project has multiple files - they can be .INO or .CPP I learned - I had wrongly thought it was a single INO per sketch. Makes it easy to jump to...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-21-2018, 10:51 AM
    I got a Prop Shield when the AMP was enabled within seconds the AMP chip got warm and then too hot to touch, but it never failed as your does. That never got resolved as to the cause or a solution. Is your sketch...
    5 replies | 153 view(s)
  • defragster's Avatar
    02-21-2018, 10:32 AM
    This looks promising as you - A: have a working starting point B:seem interested C: have a plan it looks like D: seem to think the plan will work So by strip it down - you will be starting with the sources on this...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-21-2018, 08:20 AM
    Understood - the Master doesn't have to care if the Slave is there - that is the User's job to arrange. As noted it is Development use only so it can be ignored when it doesn't matter and can be fixed when it does. ...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-21-2018, 07:28 AM
    No worry - but you don't have it done yet :) No rush as noted - not sure if/when I'd even get it in use. Though the project that brought the idea about in adding more MATH is bogged down again after the next step. ...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-21-2018, 06:28 AM
    I was assuming the Master><Slave connect would just be there. The Slave would just wait. Perhaps the master could send a default heartbeat 'online' DataDumpID. The slave in my plan was just passive receiver. Acts...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-21-2018, 04:40 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Mike - what issues are you seeing that is driving you nuts? Slowdowns from output again? Or lag from the filters running too long? Is there any way the filters could be made interruptible? Where they could...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-21-2018, 02:29 AM
    This post link to the thread where I'm using mine. A $15 NEO-8M has the PPS pin brought out to a pin, looks like the new eBay version as I saw another for $13 from Hong Kong.
    16 replies | 844 view(s)
  • defragster's Avatar
    02-21-2018, 02:26 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Mike: Nice that one only $15 with PPS broken out - as it should be - as TelephoneBill noted in his post - having a PPS signal is very handy for various compute'y type things. That one must be 'the' NEW variant - I...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-20-2018, 11:25 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Not sure thread has much added info since we already 'began'- but this post on UBlox-GPS-Module-Primer-for-beginners has a good note about the PPS association with UTC that goes with my notes - without the tie of true...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-20-2018, 09:50 PM
    Note - my uBlox is a #8. Look up the pinout for the uBlox 6M. IIRC pin #3 is the PPS signal on mine - which may be feeding that LED - unless it is rotated or different - or it wasn't pin #3 as I read the spec weeks...
    16 replies | 844 view(s)
  • defragster's Avatar
    02-20-2018, 09:43 PM
    defragster replied to a thread uNav AHRS in General Discussion
    That would explain why the USB output was so JUMPY ... that sounds like it could be the disconnect.
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-20-2018, 09:37 PM
    Quick first scan - need to be on my way ... Glad you kept going after the coffee :) Post #19 was the process on the SLAVE - all slave internal. With hardware connected and ready the slave code would be ready for...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-20-2018, 08:39 PM
    I only feed uBlox from 3.3V so was lucky the voltage was right to get the PPS going to the LED. This is my wire to the LED on my $20 breakout: I managed that to an extra header pin - where the other pins are...
    16 replies | 844 view(s)
  • defragster's Avatar
    02-20-2018, 08:21 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Running here. Don - enjoy the feature of : ...\MPU9250_INS6State_V4\A_ConfigDefines.h The GPS and IMU data were independent and running at their own rates before? Don't have time to look more now to see if...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-20-2018, 07:28 PM
    uBlox syncs to multiple satellites and they all share the same time - that time and the differences to it { on receipt of messages from that satellite } tells the uBlox where it is relative to the satellites by having...
    16 replies | 844 view(s)
  • defragster's Avatar
    02-20-2018, 07:04 PM
    This seems like it would suit the usage as I saw it. Not sure if it is complete enough - or open enough as you saw it? Post #7 links to the unpacking the uBlox GPS does as it parse()'s the string from the GPS once...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-20-2018, 11:14 AM
    That would be a promising addition and could be fun to actually make it work and learn about SPI - someday. Running at 168 MHz instead of 240 because the other guy is using a T_3.5 so trying to get comparable...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-20-2018, 11:10 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Just remembered the times shown are cumulative for the second, not divided by Hz. I put the above code with adds of : uint32_t AC0=0, AHz=0; into code below and at 168 MHz I see this from 70 to 73 Hz:: The...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-20-2018, 11:05 AM
    Indeed - just an on demand byte transfer to a waiting slave would suit my purposes to start. It looks like my idea doesn't have a need just now though - after cleaning up a bit after the TeensyThreads distraction...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-20-2018, 07:45 AM
    defragster replied to a thread uNav AHRS in General Discussion
    It only directly times the serialDataOut as posted. All time values are in micros based on the elapsedMicros timer. I'm in the middle of testing a version of elapsedCycles that emulates elapsedMicros but relies on...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-20-2018, 02:43 AM
    Paul: It was confusing for me too. Indeed twin Teensy 3 and 3.6 were online. I should have remembered to do Verify and Button. The confusion started when it seems it did program on the COM 10 T_3.6, then tried to...
    19 replies | 758 view(s)
  • defragster's Avatar
    02-20-2018, 02:10 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Got it. I was just adding a time monitor on the cout.printf() in serialDataOut(). On T_3.6 at 240 MHz. It takes right at 14 ms to do those 5 printf()'s! And it shows it is doing 39 prints per second with...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-19-2018, 11:35 PM
    That code was being tested in TeensyThreads and now back to std loop()- in the middle of changes the output timing went awry and is now cleaned up, so this may happen but no longer urgent. It was stalling and failing at...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-19-2018, 09:07 PM
    defragster replied to a thread uNav AHRS in General Discussion
    There was discussion about wire .vs. i2c_t3 some page or two back ... indeed it takes edits to MPU9250. There should be a timestamp recorded on the IMU_isr() code - as that is the point it was known to be fresh -...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-19-2018, 12:19 PM
    I took all the 'printable' text from 'need a wiki' thread to : wordclouds.com/ They gave link to a list sorted by hits ( can do alpha sort too ) of all the words in that file and made a proportionate to hits sized...
    44 replies | 2522 view(s)
  • defragster's Avatar
    02-19-2018, 11:14 AM
    Have to agree Kurt. My earlier post about the futility of good info on the bad one for Arduino Paul linked wasn't to disparage the need or utility in a Wiki - they can't even make hardware to compete with PJRC - and...
    44 replies | 2522 view(s)
  • defragster's Avatar
    02-19-2018, 09:11 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Pulled down and compiled V11 no problem - looks good Mike. It is running at 48 MHz on T_3.6 and seems fine as uploaded! GPS Debug log coming in like clockwork. Walked through with CodeCompare and nothing looked odd...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-19-2018, 06:35 AM
    It could have gone better - had I remembered VERIFY and button push with multi-Teensy ... let me know if this adds anything useful. Maybe a WARNING or do not do AUTO upload when you see multiple Teensy unit online? ...
    19 replies | 758 view(s)
  • defragster's Avatar
    02-19-2018, 06:07 AM
    Ran - issues of course because I have a T_3.0 and a T_3.6 online. First the error was RED in IDE - about failure to talk to COM 5 - which was the T_3.0 attached to SerMon. So then I pushed button on T_3.6 where...
    19 replies | 758 view(s)
  • defragster's Avatar
    02-18-2018, 11:21 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Nice to have it running cleanly. The rtk.upDated and GPS_newData may need attention when the GPS data gets incorporated - they are overlapping. Would be a good time to remove some of the spare debug code and hacks that...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 10:45 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Yes, like GPS_newData not being reset at all - rtk.upDated = false; was being reset too late to be right. That helped the debug stats look right - other loop() changes make it flow well too. Woodstove is nice...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 10:24 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Just downloaded CodeCompare - looks promising for a trial! I was lazy when I did the second timing - wanting the "-------" separator after the print. Putting the code below in place of prior Zip'd serialDataOut() is...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 09:54 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Watching TV here in the woodstove room - where my computer is so I tried some of the above! This is an abominable FAIL - try it and laugh along - I did then commented it out - cout.send_now(); is evil:: if...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 09:21 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Maybe in loop() the : if(sincePrint > 25){ Could be : if ( (0 == GPS_newData ) && (sincePrint > 25)){ // ... } That would just delay the serialDataOut() and all the math that goes with it for another 1-2 ms....
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 08:54 PM
    defragster replied to a thread uNav AHRS in General Discussion
    The loop() rate is use specific I suppose - and without drag would be 100K or a million+ - since the GPS message takes 2.2 ms - 1 KHz assures the buffer won't over flow and it will all be gotten in three passes - though...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 07:58 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Thanks - will do. We get little snow at the house - 2nd time this season - none last to speak of. I grew up in PA - left to the less extreme west and stayed here. Indeed GPS_newData needs to toggle to have usable...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 06:29 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Thanks, saved. Indeed - when a message starts and the GPS_serialrx_isr() is active then GPS_newData=1 will be set. QUICK NOTE: I do not find where : "GPS_newData=0;" in my copy of "MPU9250_FiltersGPS_V10c\*.*"...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 12:34 PM
    That would be an interesting development. I think write only is good enough - though perhaps some pin change from slave could indicate needed feedback - though SPI data is one each way so it could send back a status...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-18-2018, 12:22 PM
    downloaded and installed on a copy of my IDE 1.8.5 . . . will attempt some testing with it
    19 replies | 758 view(s)
  • defragster's Avatar
    02-18-2018, 11:32 AM
    The idea came up like this - perhaps some useful detail: uNav-AHRS. The uBlox PVT formatted GPS data string is a compact 100 byte linear group of bytes for values - easily pulled in inorder and then - confirmed...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-18-2018, 11:16 AM
    defragster replied to a thread uNav AHRS in General Discussion
    post #467 was just an idea - that only took a moment . . . it seems easy enough to do - and it should be . . . my reality may be different :) Either way it won't be just now. Indeed with Care Threading should provide...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 10:24 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Just had a thought - I see some 18 values {40 bytes counting 2 doubles} printed here that expand into at least 133 bytes with commas, space and newline: cout.printf("%10.6f, %10.6f, %10.6f, %8.3f, %d" ...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-18-2018, 10:23 AM
    That was quick. If I could clock out 50 bytes at 12 or 25 or 30 Mhz that would be great - better than Serial# The Slave would be a special purpose device just getting the data - binary data of a list of values -...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-18-2018, 10:11 AM
    tonton81 - wondering about using this SPI with Teensy Master to Teensy Slave? I pulled down both SPI_controller zips and not stumbling into sample that would explain it to me. Would this provide a way to have a...
    45 replies | 945 view(s)
  • defragster's Avatar
    02-18-2018, 03:35 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Yeah - frustrating - and may flow a bit better on a T_3.6 - but we should not have the system bound on USB prints to tViewer. Using the coutD - debug - separate channel and buffer - especially for lower volume stuff...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 10:05 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Since the Rx is its no longer free running, the count doesn't get ahead at the start, took out the - 1 in it value, and it never misses anymore. When right is up 1 then GPS was not read or a message was lost
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 09:01 PM
    defragster replied to a thread uNav AHRS in General Discussion
    I'm breaking too. In the void serialDataOut() code search 1000. That '>' should be '>='. I didn't see until after the zip was packed . . . Look for function .availableForWrite() that shows buffer space free to...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 08:29 PM
    defragster replied to a thread uNav AHRS in General Discussion
    This shows UTC time when updated. It is possible the Filter match and prints are causing loss of GPS data - corrupted string will be tossed until next good one comes in. Since the isr() interrupt is off - it won't...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 08:07 PM
    defragster replied to a thread uNav AHRS in General Discussion
    I saw the one // sincePrint commented - missed the active one :( Modified to better watch GPS on debug - messages are spotty?
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 06:17 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Mike: Not quite a good sleep yet. Using the Threaded at 96 MHz it ran no trouble?: "120355.00==120355 | 0.246000, 61720.800700 ..." Filters_V10c is compiled and running now T_3.6 @ 120 MHz. Not sure what it...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 10:30 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Updated code and notes see: Serial1-available-counting-bytes-in-the-FIFO It looks like we can stick with the Rx isr()! It is running 100% good after 12,500 messages at 96 MHz on T_3.6! So we have a low overhead ( 5...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 10:17 AM
    Paul - Thank You for the emboldening. Looking good it completed 4177 messages without a single miss that normally would have hit in under 500 messages at 120 MHz. This is done with 100 Hz USB Serial prints of 133...
    6 replies | 285 view(s)
  • defragster's Avatar
    02-17-2018, 07:36 AM
    defragster replied to a thread uNav AHRS in General Discussion
    With Chris' tip the Error average is 8 uS off from the RX_isr() detection now and worst case error is off by all but a full character of 21 uS where the last bits not complete. I could add the 8 uS into the calculation...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 07:28 AM
    @Chris 0. :: You gave the right solution! This is shared code where I debug out Serial1 and GPS on Serial2 - With Serial1 on the brain ( and #defines hiding values) I was wrongly applying this FIX on UART0==Serial1 ...
    6 replies | 285 view(s)
  • defragster's Avatar
    02-17-2018, 07:03 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Indeed .send_now forces the output - and waits until it is all buffered for send. Not sure if that would help. DOH! - Need to go thank Chris! I needed to read my own code! I had Serial1 on the brain - the DEBUG...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 03:04 AM
    I'll have to give it another look - my first edit didn't change to add UART0_RCFIFO to the count didn't change anything. But I can look at the FM there. I saw that in the uart0_status_isr() and hoped it would pick...
    6 replies | 285 view(s)
  • defragster's Avatar
    02-17-2018, 01:40 AM
    defragster replied to a thread uNav AHRS in General Discussion
    You've got some time - coming up on dinner here so I'll be offline a couple hours if you get an update I'll take that one. I posted my Serial timing dilemma ...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-17-2018, 12:50 AM
    Question: Is there a way to force Serial1 to on command empty the FIFO into the buffered data? .available() only returns bytes currently buffered. I am assuming this is behind the issue I see below. Issue: I'm...
    6 replies | 285 view(s)
  • defragster's Avatar
    02-16-2018, 10:47 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Don: have you posted the latest of your V10 code - or has it migrated to V11 since last posting? Mike: Cool, going back to Don's code would be on a single path without mysteries from tThreads and focus efforts....
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-16-2018, 08:37 PM
    defragster replied to a thread uNav AHRS in General Discussion
    Jiggering with the FIFO isr() Just a theory to me as well - but until there are enough chars in the FIFO ( Receive data above watermark UART_S1_RDRF ) they will sit until a default periodic timed transfer AFAIK. ...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-16-2018, 06:28 PM
    defragster replied to a thread uNav AHRS in General Discussion
    The delay I saw in the GPS data from IMU Filter of 500+ uS is not critical and without threading would be fine. It just gave me pause questioning if it was working right. As noted this new scheme is less overhead...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-16-2018, 09:48 AM
    defragster replied to a thread uNav AHRS in General Discussion
    before I thought the Rx isr() would be better - which it is - I considered using this method that averages 13 uS error ( 1/2 char) at 240 MHz { though it can be off by 2-3 chars at times } { compared to the Rx isr()...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-16-2018, 06:00 AM
    I forgot about this thread - got a uBlox around Christmas and immediately made a Teensy feed through proxy sketch to run u-center. Allowed full use for changing params and getting info to the u-center. My unit was a...
    16 replies | 844 view(s)
  • defragster's Avatar
    02-16-2018, 05:08 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Indeed per my last post - even split USB and Serial - somehow the sum total of the output takes too much time. Showed the Rx isr() is on the edge though - at least with threading in the background. Will add the...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-15-2018, 08:07 AM
    defragster replied to a thread uNav AHRS in General Discussion
    T_3.6 At 120 MHz With the whole TViewer output string to USB and/or Debug Serial I see the failure of the interrupt to catch all the time - the GPS string still comes through - but without the advance interrupt...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-15-2018, 05:45 AM
    defragster replied to a thread uNav AHRS in General Discussion
    Found the selective user in A_configDefines.h - Nice. Compiled and ran - made the GPS debug output in serialPort optional to if(rtk.upDated == true) and left the IMU data run out USB - now I see the "PairMiss"! ...
    572 replies | 25465 view(s)
  • defragster's Avatar
    02-15-2018, 12:56 AM
    defragster replied to a thread Power in Project Guidance
    please cheer up mgd - if you make friends on the forum the Teensy world is your oyster. The cost, support and capabilities isn't simulated anywhere I've seen. Emails get lost and Paul is quite responsive on the forum...
    7 replies | 367 view(s)
More Activity
About defragster

Basic Information

Statistics


Total Posts
Total Posts
5,390
Posts Per Day
4.88
Last Post
I2C, SPI, ESP webSockets controller for teensy Yesterday 11:42 PM
General Information
Last Activity
Today 05:29 PM
Join Date
02-15-2015