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

Migrating STM8S003F3P6 code to STM8L051F3 not taking place.

HiI need to migrate my working STM8S003F3P6 code (working correctly for a year now) to a new STM8L051F3 chip.(The code is SDCC compiled and bit banged with direct register modification. I do not use the SPL) I run an interrupt at 125Hz on Timer2 in t...

Is there a way in software to detect if rt-link (swim) is attached?

I would like to use swim pin on my stm8s000f3 to drive an led. I've set up the circuit so the swim pin goes to the gate of a fet that drives the led. This makes sure the led circuit doesn't affect the swim pin during debugging. I would like to ena...

mchahn by Senior
  • 461 Views
  • 0 replies
  • 0 kudos

Interrupt Priority Management

Hi ;I am having a confussion on how to set the interrupt priority of a desired peripheral . I am using IAR IDE version 3.11.1 and the MCU is STM8S103F3F6 . I need to know which interrupt table IRQ number I should take account to configure the interr...

BG1 by Senior
  • 622 Views
  • 0 replies
  • 1 kudos

[BUG] ADC2_ConversionConfig()

Function ADC2_ConversionConfig do three steps:sets ADC result alignenable/disable continuous conversion (there will be problem, unrelated to Continuous mode)writes desired channel into ADC2->CSR (there will be another problem)but if that function is ...

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
  • 629 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 ...