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.
7 years ago.
nucleo f429zi TIM2 configuration
Hi to all the community. I've some problems to configure the hardware timer TIM2 to manage a signal. In particular i'd like to reset the timer at each rise edge of the signal and than generate an interrupt only if its value is grater than 350us. I think that I need the compare mode but I've no example to start with.
I noted that if the signal stay up for at least 300us it rapresents a logical 0; instead if it remains high for at least 600us it rapresents a logical 1.
The signal is like that one:
Thanks for any help!