2015-01-08 04:29 AM
Hello
I'm looking for a solution to get the time between to input signals in microsecond resolution. But I do not want to use an interrupt counting up all microseconds. Is there a convenient solution / method? #stm32f42015-01-08 04:59 AM
Busy-polling the signal pin, and on change, fetching the counter values from a properly configured timer.
This solution will eat up all available MCU cycles while running (which is usually unacceptable on real-life systems).2015-01-08 05:56 AM
[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Taking%20time%20in%20microsecond%20without%20using%20interrupts&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx¤tviews=9]cross-post