cancel
Showing results for 
Search instead for 
Did you mean: 

STM8S SPL example on Nucleo-STM8, UART1 not working (resolved)

Kmax18
Senior

I am testing the STM8S Standard Peripheral Library (SPL) with a NUCLEO-8S208RB dev board. The SPL examples were written for the STM8/128-EVAL board, but can be tailored for the Nucleo. I am using the latest STVD and STVP dev tools.

The SPL example 'UART1 Half-Duplex' is not working, either with UART1 in TX or RX mode. Only one Nucleo is used, with a single wire connection from UART1_TX to UART3_RX as shown in the below figure: UART1_TX (PA5) to UART3_RX (PD6), as suggested by the example. Are additional connections needed on the same board? Any other suggestions? Thank you.

0693W00000UnQcJQAV.png

1 ACCEPTED SOLUTION

Accepted Solutions

Are there pin level conflicts related to D0/D1 and the ST-LINK VCP ?

Any Solder Bridges (SB) you need to clear. Look at the schematic, under the "CAD Resources" tab of the product page.

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

View solution in original post

2 REPLIES 2

Are there pin level conflicts related to D0/D1 and the ST-LINK VCP ?

Any Solder Bridges (SB) you need to clear. Look at the schematic, under the "CAD Resources" tab of the product page.

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

Hello @Community member​ thank you for your response. Yes, UART1 communication requires to turn ON (close) Solder Bridges SB11 and SB12 on the back side of the NUCLEO-8S208RB. Problem solved.

0693W00000UneJpQAJ.jpg