Skip to main content
Graduate II
September 5, 2022
Solved

STM8 SPL config files for Nucleo boards

  • September 5, 2022
  • 5 replies
  • 1406 views

The STM8 Standard Peripheral Library does not include example config files (header files) for STM8 Nucleo boards. Are headers for the Nucleo-S208RB available online? I though I ask before creating one... Thanks!

    This topic has been closed for replies.
    Best answer by Michal Dudka

    Download AN5178 from section "Demo resources" (en.FW_for_AN5178_on_STM8S.zip), there you find files you are looking for.

    https://www.st.com/en/evaluation-tools/nucleo-8s208rb.html#

    5 replies

    Visitor II
    September 5, 2022
    Kmax18Author
    Graduate II
    September 5, 2022

    Thank you for your response. The STM8 SPL includes only examples for the STM8_EVAL and STM8_128_EVAL boards, not for Nucleo boards. See the 'Utilities' sub-folder.

    Graduate II
    September 6, 2022

    what should "config files for STM8 nucleo" contain ? On STM8S208RB Nucleo you have only user button (PE4), LED (PC5) and UART (PA4/PA5).

    Kmax18Author
    Graduate II
    September 6, 2022

    Hello Michal, thanks for your response. You are correct, the SPL header file stm8s.h contains the MCU specifics needed for the Nucleo-8s208RB board.

    Kmax18Author
    Graduate II
    September 6, 2022

    Application note AN5178 on www.st.com includes example code for STM8 Nucleo-64 board, including the header STM8S_nucleo.h.

    Graduate II
    September 6, 2022

    Download AN5178 from section "Demo resources" (en.FW_for_AN5178_on_STM8S.zip), there you find files you are looking for.

    https://www.st.com/en/evaluation-tools/nucleo-8s208rb.html#