cancel
Showing results for 
Search instead for 
Did you mean: 

Hi~I use STM32F103C8T6 to print string. The code was generated by CubeMX and I congfiged the USART1. And it can not to transmit any char. But USART2 and USART3 are OK! Why?

SBIG.1
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions

PA9/PA10 GPIO pins and clock initialization look Ok

Some board level details might help here.

Send 0x55 pattern continuously, scope that.

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

View solution in original post

2 REPLIES 2

Hardware is OK? Which pin are you using as USART1_Tx? How is it connected? Did you observe it using oscilloscope/logic analyzer?

Read out and check/post content of relevant USART/GPIO/AFIO registers.

JW

PA9/PA10 GPIO pins and clock initialization look Ok

Some board level details might help here.

Send 0x55 pattern continuously, scope that.

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