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

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
  • 1089 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
  • 1091 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
  • 1639 Views
  • 6 replies
  • 1 kudos

wakeup function

Please some one help me to how to get controller from sleep the configuration I made is not working.The below given code working fine and putting the controller in sleep but controller not waking up.The condition depends on mains (ADC Input channel 5...

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

Storing Data in EEPROM on the STM8S003k3

Hi Everyone,I am using stm8s003k3 in one of my projects. I want to store a variable containing a  number from 0 to 999 in EEPROM but the issue is FLASH_ProgramByte & FLASH_ReadByte can only store a number up to 256. I tried to use FLASH_ProgramWord b...

KRiaz.1 by Associate II
  • 1137 Views
  • 1 replies
  • 0 kudos

Cannot connect to STM8S105 after setting ROP

I have been developing a project around the STM8S105 and I've been able to read and write the program and data memory fine several times (so I know that my STLink and dev board work well). Today I set the read-out protection to do some testing and af...

JSimo.6 by Associate
  • 1232 Views
  • 1 replies
  • 0 kudos