Replies: 2 comments
-
Yes, and it is around 40 secs.
I use the internal tick counter, the wrap around you see is precisely that, the tick counter overflowing. There is no timestamp beyond this, when you must have a real timestamp using only the pico an interrupt must be configured so each time the counter overflows you increment another counter and thus you can track a "real" timestamp. The problem here is how tight the code is in order to track small gaps,
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the explanation - it makes sense. Note that I did a little more testing, and it seems the counter wraps at ~21.5 sec, not 40sec that you mentioned above. I'm not sure if this means there is some other issue??? Is there enough execution time to set a flag to indicate that the counter overflowed? This would let the user know they cannot trust the measurement. This is a useful feature, but I think it may be a good idea to mention this limitation in the documentation. Thanks again! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Does the Burst Mode gap measurement have a time limit?
I've been experimenting with Burst Mode and it seems the gap timer has a max limit and wraps around.
I know my bursts are ~40sec apart, but the gap measurement reports ~10 to 12sec apart.
The test I ran was sampling at 400kHz, and the signal was ~100kHz. Burst data was 20k samples, and max samples set to 130,000
I suspect the limitation is due to counting samples since last burst, and this is overflowing a counter that causes it to wrap???
As an alternative, can you take a timestamp and then calculated elapsed time when next trigger occurs?
Andrew
Beta Was this translation helpful? Give feedback.
All reactions