2011-10-27 04:51 AM
Hello,
On my application I'd like to sense an input frequency (using a TIM channel in input capture), but at the same time be able to read the value of the pin at any time. Idea is that when configuring the sensor, I'd like to display the state of the pin (on/off) but be able to sense the frequency without having to switch mode in code, be able to sense frequency using the input capture ... Is it possible to read the pin raw value while connected to a peripheral ? Thomas. PS : STM32F2052011-10-27 05:07 AM
According to Reference Manual page 143/1317, it seens possible as the input driver drives both the alternate function input and the input data register.
I'll try and let you know. Thomas.2011-10-27 06:18 AM
It's working, no problem.