Skip to main content
Graduate II
October 5, 2022
Solved

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

  • October 5, 2022
  • 1 reply
  • 964 views

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

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    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.

    1 reply

    Graduate II
    October 5, 2022

    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.

    Kmax18Author
    Graduate II
    October 8, 2022

    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