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

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
  • 1613 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
  • 767 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
  • 705 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
  • 897 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
  • 789 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
  • 951 Views
  • 2 replies
  • 0 kudos

Resolved! Downloading STM8S/A Standard peripheral library

I'm trying to download the standard library for the MCU stm8s003f on the ST site, but I get the message "not available for download". Is there an alternative way to get this library?

0693W00000UnWFpQAN.png
Kolab by Senior
  • 1725 Views
  • 5 replies
  • 0 kudos