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

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
  • 463 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
  • 735 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
  • 1645 Views
  • 5 replies
  • 0 kudos

STVP with STLINK-V3SET in SWIM mode, STM8L051F3 target

STVP v3.4.1. CONFIGURATION:Hardware: STLINK-V3SETProgramming mode: SWIMDevice name: STM8L051x3Port: USBJP4 and JP6 (SWIM ON) jumpers are installed. All 4 pins of CN4 are connected to the target. The target is the bare chip on a dip adapter, plugged i...