cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F0 UART problem

omeryaman
Associate II
Posted on September 03, 2015 at 11:22

Hello,

I'm using STM32F030 in my project. I'm using UART2 with Tx and Rx interrupts. While debugging, it works well but when i work it standalone, it stops before transmitting data and microcontroller probably stops. I observed the Tx line in standalone mode and couldn't see any data while it sends the data in debug mode. What may cause this problem.

#uart #debug #stm32f0
1 REPLY 1
Posted on September 03, 2015 at 15:12

You're probably not enabling a clock you need, GPIOA perhaps?

Try using a GPIO/LED to indicate how far/where in your code it's getting.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..