STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 951 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
  • 945 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
  • 1443 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
  • 873 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
  • 957 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
  • 1093 Views
  • 1 replies
  • 0 kudos

Can anyone find out that sleep mode in my code is correct

#include "stm8s.h" #include "stm8s_clk.h" #include "stm8s_adc1.h" #include "stm8s_gpio.h" #include "stm8s_tim2.h" #include "main.h" #include "flash.h" #include "stm8s_awu.h" volatile unsigned short _500ms_tick; volatile unsigned short idle_counte...

SRAM.11 by Associate III
  • 809 Views
  • 1 replies
  • 0 kudos