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

STM8l001 PWM

Good day!Started learning stm8l001 MC with SPL libraries, and actually cant find any examples of PWM for it.RWM examples for STM8s was taken and changed according l001 timers and pinouts(Timer 3 - Channel 2 ,PD0),checked bits were installed during li...

Pavel888 by Associate
  • 1882 Views
  • 3 replies
  • 1 kudos

Small Device C Compiler 4.3.0 Release Candidate 1

There is now a Release Candidate 1 for the 4.3.0 release of the Small Device C Compiler (SDCC), a free ISO C compiler targeting the STM8 and other 8-bit architectures.In addition to the source package, binaries are available for x86 and amd64 Windows...

stm8s003f

Can someone please help me to sort it out?Please I am stuck at a project.In the attached code I am unable to wake up the code  after sleep.Rest of the functions working once in sleep it shoild wakeup at if(MV>20)#include "stm8s.h" #include "stm8s_clk...

SRAM.11 by Associate III
  • 1064 Views
  • 2 replies
  • 0 kudos

sleep and wake up

for my code the sleep and wake up is happening simultaneously I need  the wake up  only on if(MV>20) and sleep if(MV<100) for a minute(low power mode)Please someone help to sort it out #include "stm8s.h" #include "stm8s_clk.h" #include "stm8s_adc1.h"...

SRAM.11 by Associate III
  • 1072 Views
  • 0 replies
  • 0 kudos

wakeup function

How to use Port D as wake up function after the STMS003goes to sleep 

SRAM.11 by Associate III
  • 1606 Views
  • 6 replies
  • 1 kudos