STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8 EEPROM unlocking bug - it has been 8 years apparently

Hi!There is an issue with unlocking the EEPROM on STM8 (probably all of them, but I am using STM8L151). This article summarizes the issue very well: https://slime.systems/content/stm8-eeprom-bug/There it says it was first found in 2013, and here we a...

SLasn.1 by Senior
  • 735 Views
  • 0 replies
  • 0 kudos

Understanding if TIM2 works in low power modes STM8L151F2

Hello,I am trying to understand if TIM2 can still work for PWM output in low power modes. I can't find which peripherals are allowed to be on in the STM8L151F2 datasheet for the low power modes.To expand on my question. I assume that in Wait mode I ...

CProt.1 by Associate
  • 437 Views
  • 0 replies
  • 0 kudos

Doubt about I2C and CCRL register in STM8S207

Hello allCan anybody help me to understand the CCRL register?I´m using a 20 kHz crystal, so in the register I2C->FREQR i will put the value of 20, is it right?And how about the CCRL register, what is the correct value for the standart mode?I fount t...

MGarb.3 by Associate
  • 386 Views
  • 0 replies
  • 0 kudos

Odd progressive ST Visual Develop bug. STM8s001J

I've encountered a strange progressive bug on ST Visual Develop where the IDE gets progressively wonky as I run the debug to program my STM8S001J boards. First the icons start to look shifted and weird, then windows start disappearing and reappearing...

KUshi.1 by Associate
  • 584 Views
  • 2 replies
  • 0 kudos

SWIM corrupt

To check halt mode i've set all gpio's to out mode, but some of them was on same line with SWIM. Now i can't promgram mk =) How can i solve this problem? Maybe there is any way to hard clean memory? STM8L050J3M3SOLVEDDatasheet page 23 (https://www.st...

KAsta.1 by Associate
  • 458 Views
  • 0 replies
  • 0 kudos

Vector table overlap

Hi I've been working on a simple project with the STM8L152R8 but recently I've run into a problem I cant get around. When building with cosmic compiler I'm getting the follwing error:'#error clnk Debug\test_gpio_uart.lkf:1 segments .const (0x8080-0x8...

TConl.1 by Associate II
  • 901 Views
  • 1 replies
  • 0 kudos

No NRST pin, How to program STM8S001J3M with SWIM interface,

Hi,I want to program STM8S001J3M with SWIM interface, and the device doesn't have NRST pin, I see in the datasheet there is :Only the “connect on-the-fly�? method can be used to program the device through the SWIM interface. The “connect under-reset�...

XLi.3 by Associate II
  • 1200 Views
  • 2 replies
  • 0 kudos