STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

SPL For development on Linux using SDCC?

Found a few web pages describing how to get up and running developing for the STM8 on a linux platform. All refer to the SPL and have links which are out of date. I've tried searching for the STM8 SPL on the st.com site but only turn up [1]. If anybo...

JWhit.9 by Associate II
  • 1434 Views
  • 4 replies
  • 0 kudos

STM8S UART interrupt enable and disable

I am testing the STM8S Standard Peripheral Library (SPL) using the STVD IDE, Cosmic compiler, and a Nucleo-8S208RB development board. The SPL example 'UART1_interrupt' initializes the UART1 TX and UART3 RX interrupts using the below UART_Config() fun...

Kmax18 by Senior II
  • 1384 Views
  • 0 replies
  • 0 kudos

STVD simulator and 'return' statement

I am testing the STM8 SPL with the STVD IDE and Cosmic compiler. The target is a NUCLEO-8S208RB board. During simulation of the SPL example 'UART_interrupt' the function Buffercmp() in the below screenshot behaved as follows.Observation: the statemen...

0693W00000Uo7iZQAR.png
Kmax18 by Senior II
  • 673 Views
  • 0 replies
  • 0 kudos

STM8 for medical use

We need STM8 MCU types for use in medical instruments. Does ST have Medical grade STM8 MCU's? It must be recommended for new design with long life time.

MCUpwr by Associate III
  • 631 Views
  • 0 replies
  • 0 kudos

Can't get HSIRDY flag raised

Hello! I'm trying to configure TIM1 in encoder mode programming on bare metal. But problem comes up when I try to enable the HSI: the clock is enabled but it doesn't get ready. I use the #include "iostm8s003f3.h" library.void clock_config(void){clock...

Kolab by Senior
  • 795 Views
  • 0 replies
  • 0 kudos

Missing something: STM8 ADC only returns $3ff. Checked power & clock enables. Would appreciate a simple assembler example of a single conversion routine. .

Tried Many kinds of register loading & execution orders. Somewhat new to ST, learned uCs mid 90s on Motorola 908xx. Trying to use ADC8 & 9 on an S208MB as a test platform until S105Js become available. Thanks in advance, Kevin

Enable Disable External Interrupts STM8S00J3 ST Visual Develop

Hi,hello, can someone tell me how to enable and disable external interrupts on the ST Visual Develop interface. I use the general library. Thanks.And no matter what I do, first the external interrupt routine switches as if it has a priority.

atürk.1 by Associate
  • 711 Views
  • 0 replies
  • 0 kudos

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

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 'UA...

0693W00000UnQcJQAV.png
Kmax18 by Senior II
  • 815 Views
  • 2 replies
  • 0 kudos