Skip to main content
jkasper
Associate II
March 29, 2021
Solved

STM32 Nucleo-144 (413ZH) USART_2 Printf

Hello!

I am running the UART_Printf example on my Nucleo and the output to USART3 (default) works fine, but when I change the output to USART2 or USART6, it doesn't send data.

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
March 30, 2021

Ok, but that sounds like a coding or configuration issue, both those USARTs should be functional.

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

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
March 30, 2021

Ok, but that sounds like a coding or configuration issue, both those USARTs should be functional.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
jkasper
jkasperAuthor
Associate II
March 30, 2021

OK thanks, I see the configuration in main.h in the example.

Visitor II
December 9, 2024

Refer UM1974

6.9 USART communication
The USART3 interface available on PD8 and PD9 of the STM32 can be connected either to
ST-LINK or to ST morpho connector. The choice is changed by setting the related solder
bridges. By default the USART3 communication is enabled between the target STM32 and
both the ST-LINK and the ST morpho connector.

Board design only support USART3 for ST-LINK