Question
Analog watchdog/STM32F4
Posted on March 06, 2014 at 09:37
Hi
I still could not understand the operation of the analog watchdog. For example I want to protect a short ciruit in the H-bridge ; so I put the shunt resistor and set the limit of the maximum current ; for example if my maximum current is 10A and my shunt resistor is 0.1 ohm ; the voltage on ADC is 1 V ; for 12 bits ( 3.3 ref) =1241 . so if I set the high thr of the analog to 1241 ; when adc result equal or great that 1241 it will generate an interrupt . Is that right ? Thank you