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 Timer Problem

Hello EveryoneI use STM8L001J3P6 in my project. I want to use timer 3 on compare mode but I dont write any value timer3 register. I write 129 (TIM3_CR1=129;) but register value is zero. Anyone can solve this problem?Thanks.

SCoga.1 by Associate
  • 677 Views
  • 0 replies
  • 0 kudos

Data EEPROM area overwritten with each STVD debug session

Hi. I'm using the STVD IDE with Cosmic with an STM8TL52F4 MCU with the 'Minimize Code Size' compiler option selected. Under Debug instrument->ICD MCU configuration->Options, I set the DATASIZE_bit6 Value to 1 (the other DATASIZE bits are 0) and made ...

Why is the option tab in the ICD MCU configuration window not showing?

I am using STVD on a Win10 and when I want to debug a program on a MCU. When the read out protection is set the pop up window named "ICU MCD configuration" showes up. There used to be two tabs where one was showing the option bytes where you could r...

0693W000001rO6mQAE.jpg 0693W000001rO6cQAE.jpg
EN20 by Associate
  • 533 Views
  • 0 replies
  • 0 kudos

Resolved! How to configure PC0 and PC1 as ordinary pins on STM8L051F3?

Hello! I am using STM8L051F3 with Stm8 SPL headers. I am trying to configure PC0,PC1,PC4 as output with high level:CLK->PCKENR1 &= `CLK_PCKENR1_I2C1; GPIOC->DDR |= (1<<0)|(1<<1)|(1<<4); GPIOC->CR1 |= (1<<0)|(1<<1)|(1<<4); GPIOC->ODR |= (1<<0)|(1<<1)...

Zupst by Associate
  • 820 Views
  • 1 replies
  • 0 kudos

How to declare RAM variable as volatile in STM8 assembly language

Hi All,I want to know how i can declare any RAM variable as volatile in STM8 assembly language. I have one variable, which is shared between ISR and main function. It is causing issue during updates, when the software is in free run mode.Can anyone t...

HTiwa.11 by Associate II
  • 1787 Views
  • 5 replies
  • 0 kudos