Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
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...
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)...
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...
The input voltage drops to between 0V and VIT- (Brown-out reset threshold) , such as 2V,and then rises higher than VIT+ (Power-on reset threshold)again. Can STM8 work normally in this case?
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...
Hi. I'm using an STM8 MCU. I'd like to reliably write to and read from a block of EEPROM/FLASH memory (about 1k) that will never be overwritten either by the MCU or by programming/debugging via SWIM, but can be read and written from code. I'm writ...