Question
STM32 Uart and PWM doesn't work at the same time
- April 10, 2025
- 1 reply
- 520 views
Hello, I have urgent work. In the code I have, pwm is written as bare metal and uart is written with hal. I am using the STM32 F401RE model. PWM uses TIM1 CH1 and Ch2, TIM 10, TIM11, and Uart is with the TIM 2 Hal library. When I run the code alone, both of them work separately but when I combine them, they do not work. Since the codes are a bit long, I am sending them as a file. Your ideas are very valuable, please help.
