Feature/digital input stamp#195
Feature/digital input stamp#195ryan-summers merged 25 commits intoquartiq:masterfrom vertigo-designs:feature/digital-input-stamp
Conversation
Co-authored-by: Robert Jördens <rj@quartiq.de>
Co-authored-by: Robert Jördens <rj@quartiq.de>
|
As a test case, I input a 10Hz square wave (3V amplitude) to DI0 and collected 32 timestamps. I then calculated the delta between the timestamps and printed it using GDB: As can be seen, the deltas are all approximately near the count of 10,000,000, which corresponds with 100ms (the period of a 10Hz wave) with the timestamp timer running at 100MHz. The variations here are likely due to inaccuracies in my clock source as opposed to fluctuations in the timer timestamp captures. |
Nice! |
This PR implements support for asynchronous collection of timestamps on the DI0 input.
TODO:
stm32-rs/dmabranch