Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
How fast can the digital in detect chagne? [STM32F401RE] Can I sample a clock with the digitalIN?
[STM32F401RE]
For instance, If I feed a clock of 2MHz, can the digital input detect all the highs and lows of that clock?
The second question is, how can I sample a clock of 2MHz with digitalIN?
Thanks,
Question relating to:
1 Answer
9 years, 8 months ago.
Here are some performance numbers: http://developer.mbed.org/users/Sissors/code/FastIO/
However what does it need to do? Purely reading at that speed should be possible, but if it needs to do anything else it won't cut it.