Skip to main content
Rozakos
Associate
Jul 24, 2020 8:39 AM UTC
Solved

USART2 output not showing up on putty, but shows up in DockLight? (NucleoF411RE)

i am transmitting some values from STM32 through serial, and even though i have set the Baud Rate and Parity bits in both DockLight and putty, it shows only on DockLight . I am using the HAL library. Also, i tried receiving data from STM32, and while it works, it still shows nothing. What i am looking for basically is Arduino's "Serial.print and Serial.println".

Thanks in advance to whoever takes time to answer the question!

0693W000003BDnPQAW.png0693W000003BDntQAG.png

This topic has been closed for replies.
hs2
hs2Best answer
Visitor II
Jul 24, 2020 9:49 AM UTC

Better use printable ASCII values. The test values you’re using are non-printable.

4 replies

hs2
hs2Best answer
Visitor II
Jul 24, 2020 9:49 AM UTC

Better use printable ASCII values. The test values you’re using are non-printable.

Rozakos
RozakosAuthor
Associate
Jul 24, 2020 11:54 AM UTC

Dang, thank you very much!

mckenney
Associate
Jul 24, 2020 12:41 PM UTC

Also make sure you have putty's Flow Control set to None.

Rozakos
RozakosAuthor
Associate
Jul 24, 2020 1:02 PM UTC

I had it set to CTS/RTS , same as USART2's flow control, i set it to none now, but doesn't seem to affect anything?