Skip to main content
Kmax18
Senior II
September 5, 2022
Solved

STM8 SPL config files for Nucleo boards

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.
    Michal Dudka
    Michal DudkaBest answer
    Lead
    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#

    6 replies

    AA1
    Senior III
    September 5, 2022
    Kmax18
    Kmax18Author
    Senior 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.

    Michal Dudka
    Lead
    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).

    Kmax18
    Kmax18Author
    Senior 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.

    Kmax18
    Kmax18Author
    Senior 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.

    Michal Dudka
    Michal DudkaBest answer
    Lead
    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#