cancel
Showing results for 
Search instead for 
Did you mean: 

nucleo-64 UART problem

Loodan22
Associate II

I tried sample uart example with my stm32f401RE and saw my serial monitor weird things

0693W00000aHOKwQAO.png0693W00000aHOK8QAO.png

1 ACCEPTED SOLUTION

Accepted Solutions
Loodan22
Associate II

fixed it without doing anything

I don't understand why

View solution in original post

6 REPLIES 6
KnarfB
Principal III

check that the baud rates (speed) on the board and PC/terminal prog. match

hth

KnarfB

...maybe also the parity.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

baud rates and parity same board and terminal

S.Ma
Principal

Did you oscilloscope probe the RX and TX pin between the STLink and the STM32F401 ?

For strings use strlen(), perhaps wrap the string output as a function, so you have to copy-n-paste less code, and make less mistakes.

Check baud rate, and general configuration of UART, and PC side equivalent. The baud rate on the NUCLEO USB CDC changes those of the hard UART on the ST-LINK/V2-1, so it is more critical than other "virtual" serials used in other Arduino boards.

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

fixed it without doing anything

I don't understand why