cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-L433RC-P: How to access STLINK_RX pin

freeflyer
Senior

I am using the Nucleo-L433RC-P board and want to use LPUART RX on pin PA3.

But the schematic shows that pin PA3 is used for STLINK_RX.  What is STLINK_RX / STLINK_TX used for ?

Can I remove SB75 to access the pin or would this stop STLINK from working ?

 

freeflyer_0-1752260333226.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Super User

STLINK_RX / STLINK_TX are used for serial communication with a host via the ST-LINK USB connection (virtual COM port). If you don't need that, you are free to use these pins for other purposes.

>  would this stop STLINK from working

not the debug function, only the serial comm.

hth

KnarfB

View solution in original post

4 REPLIES 4
KnarfB
Super User

STLINK_RX / STLINK_TX are used for serial communication with a host via the ST-LINK USB connection (virtual COM port). If you don't need that, you are free to use these pins for other purposes.

>  would this stop STLINK from working

not the debug function, only the serial comm.

hth

KnarfB

Thank you, so I can flash and debug without the STLINK_RX / STLINK_TX then?

Yes, it's just a comms link for debugging via the VCP, connecting to an STM32L433 UART. On the NUCLEO-64 designs this often conflicts/shares with the Arduino D0/D1 shield connection.

One could use the PB3/SWO for Serial Wire Viewer (SWV)

The programming via JTAG/SWD is via the SWDIO/SWCLK connection.

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

Indeed, as @Tesla DeLorean said, the VCP (UART) and SWD (Debug/Programming) connections are separate - you can use either one without the other.

See the User Manual:

AndrewNeil_0-1752482731348.png

https://www.st.com/resource/en/user_manual/um2206-stm32-nucleo64p-boards-mb1319-stmicroelectronics.pdf#page=12

via: https://www.st.com/en/evaluation-tools/nucleo-l433rc-p.html#documentation

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.