Skip to main content
SBIG.1
Visitor II
May 13, 2021
Solved

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?

  • May 13, 2021
  • 1 reply
  • 1471 views
This topic has been closed for replies.
Best answer by Tesla DeLorean

PA9/PA10 GPIO pins and clock initialization look Ok

Some board level details might help here.

Send 0x55 pattern continuously, scope that.

1 reply

waclawek.jan
Super User
May 13, 2021

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

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
May 13, 2021

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 VenmoUp vote any posts that you find helpful, it shows what's working..