2019-03-22 01:06 PM
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
Solved! Go to Solution.
2019-03-22 02:05 PM
Have a look at UM1974. By default, PD8 and PD9 are connected to the STLINK ACM uart.
2019-03-22 02:05 PM
Have a look at UM1974. By default, PD8 and PD9 are connected to the STLINK ACM uart.
2019-03-22 02:05 PM
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 ?
2019-03-28 10:08 AM
@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