2024-12-15 06:24 PM - last edited on 2024-12-16 03:38 AM by Andrew Neil
I am using the pwm in stm32 to control the mass flow meter, then at first set up the pin interface inside the stm32cubemx, using the GPIO PA0 for the control of the valve on and off, and then PA1 to control the output of the PWM signal to the flow meter, and set up the clock frequency in the stm32cubemx, and then finally generate the preliminary code using MDK-ARM to generate the then modified some code in KEIL, but after jlin burned into the stm32, in the process of debug, a run up on the registers clear, showing that the CPU can not be stopped, do not know how to solve, I am a novice, I hope that there is a big brother to solve the problem!
2024-12-15 07:28 PM
The first screen is where it initially stops in main() and you need to Run from there.