cancel
Showing results for 
Search instead for 
Did you mean: 

How to use USB-Serial cable with NUCLEO

TBlak
Associate II

Hi there,

I have an FTDI USB-Serial cable connected to a NUCLEO F413ZH. I am running the UART_Printf example from STM32CUBE_FW_F4_V1.18.0 in Keil but am not getting any output in my serial terminal (PuTTy).

I have connected the USB-Serial cable to the NUCLEO as follows:

USB-Serial Cable NUCLEO

GND GND

TXD pin D9

RXD pin D8

(I have left VCC disconnected as there is 5V USB power already on the board)

I have configured PuTTy as follows:

Serial line: COM5 (verified)

Baud rate: 9600

Data bits: 7

Stop bits: 1

Parity: Odd

Flow Control: None

I have also verified that the USB-Serial Converter has the same configuration.

Can anyone help me with this?

Cheers,

Tony

1 ACCEPTED SOLUTION

Accepted Solutions
Uwe Bonnes
Principal III

Have a look at UM1974. By default, PD8 and PD9 are connected to the STLINK ACM uart.

View solution in original post

3 REPLIES 3
Uwe Bonnes
Principal III

Have a look at UM1974. By default, PD8 and PD9 are connected to the STLINK ACM uart.

MNapi
Senior III

are you sure you are transmitting anything in the first place

uint8_t * Data[100];

HAL_UART_Transmit(huart3, (uint8_t *)Data, 100, 10); ?

or UART3_Print

no code missing ?

TBlak
Associate II

@Uwe Bonnes​  Yes I see now that the USART3 interface available on PD8 and PD9 of the STM32 can be connected either to ST-LINK or to ST morpho connector. I've edited the firmware to use USART2 instead and am now successfully getting output in my serial terminal.

Thanks for your help :D