To increase the time-resolution when measuring delays between pulses with the Analog Discovery 2 (using the SDK) I would like to have a wait-state after a trigger have occurred when sampling digital in-data. For example, I expect that after a high signal on IO pin 1 a high signal will occur on IO pin 2 after about one second. I can set the maximum buffer size to 4096 and a divider so that the sampling after the trigger on IO pin 1 will sample for about one second. But that means that the timing resolution of each sample is about 1/4096, or about 0,2 ms. If I could set a wait-counter for 0,99 seconds and then sample at maximum frequency from 0,99 seconds to 1.01 seconds I could increase the resolution for the second pulse detection to 0,02/4096, or about 5 us.
Is there a solution to increase the sampling resolution at a delayed offset to a trigger in digital in?
Question
Bjorn
To increase the time-resolution when measuring delays between pulses with the Analog Discovery 2 (using the SDK) I would like to have a wait-state after a trigger have occurred when sampling digital in-data. For example, I expect that after a high signal on IO pin 1 a high signal will occur on IO pin 2 after about one second. I can set the maximum buffer size to 4096 and a divider so that the sampling after the trigger on IO pin 1 will sample for about one second. But that means that the timing resolution of each sample is about 1/4096, or about 0,2 ms. If I could set a wait-counter for 0,99 seconds and then sample at maximum frequency from 0,99 seconds to 1.01 seconds I could increase the resolution for the second pulse detection to 0,02/4096, or about 5 us.
Is there a solution to increase the sampling resolution at a delayed offset to a trigger in digital in?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.