This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem with capacitance measuring with stm32f103RE

hi, I'm trying to measure a capacitor's value and send it to the uart terminal. I'm using stm32f103re and I'm using registers. i attached the circuit I'm using and also my code.  when I connect the circuit to stm32 or when i connect the A1 pin to 3.3 volts the result is the same and I attached the response of the terminal. the problem is that the timer interrupt routine only executes once and i can't figure out why.  

0