2025-09-12 8:24 AM - last edited on 2025-09-12 9:59 AM by Andrew Neil
The integrated ST-Link debugger/programmer on STMicroelectronics NUCLEO boards is widely appreciated for its ability to output messages to a serial port, enabling easy debugging and communication with host PCs. However, setting up the board to not only send but also receive commands from PC-based applications such as Tera Term requires additional programming effort. This guide will walk you through the steps to implement bidirectional serial communications, allowing your NUCLEO board to interact dynamically with your computer.
2025-09-12 8:42 AM
@Gretchev wrote:setting up the board to not only send but also receive commands from PC-based applications such as Tera Term requires additional programming effort.
No it doesn't.
Nucleo boards come out-of-the box with connections fully-wired for full-duplex comms.
There is no more setup for RX than for TX.
The Guide focusses on setting up FreeRTOS - which is, of course, a lot more work ...
2025-09-12 8:49 AM
Thanks for pointing this out, Andrew. I searched all over for a simpler solution and found none. My work with CAN FD always included FreeRTOS, so this was a natural fit.
2025-09-12 10:00 AM
I've edited the title to make that clear.