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

I am curious about the STM8L052C6T6 EEPROM operation.

I am using STM8L052C6T6.Current MCU knows that EEPROM is 256Bytes (0x1000 ~ 0x10FF).What happens if you use more than 0x10FF to put data in the reserved area address?If you do so, will the value of 0x1100 be put in 0x1000?And what happens if the MCU'...

sbaek.11 by Associate II
  • 519 Views
  • 0 replies
  • 0 kudos

sourceforge.net

Dear SDCC users,On the 30th of January SDCC 4.0.0 has been released.As always it has been put online in the SourceForge File section.https://sourceforge.net/projects/sdcc/files/There have been various improvements, both features and bug fixes sinceSD...

how to force STM8S003 MCU to set UART1_RXNE_flag when receiving byte

standard IAR program. Transmit works normally ( without interrupts ).Receiving doesn't work not with flag polling, not with interrupt. I have seen in Internet similar questions, but no one answer with reasonable explanation or unconditionally working...

ygrod by Associate II
  • 573 Views
  • 1 replies
  • 0 kudos

Loading value directly in the Index register "XL"

I am using STM8S103F2 controller in assembly language. I want to load directly value in "XL" index register in one instruction and i do not want to affect "XH" register. (Index "x" register is the combination of XH and XL). Other ways to load value i...

HTiwa.11 by Associate II
  • 942 Views
  • 3 replies
  • 0 kudos

ST Visual Develop crashes when starting a Debug session

HiI am developing code for an STM8 processor using ST Visual Developer. I have started having issues with debugging my application. When I click the Debug icon, STVD crashes. In the debug output I can see that it is trying to open the .elf file. The ...

fmb by Associate
  • 615 Views
  • 1 replies
  • 0 kudos

Breakpoints inside ISRs with STVD and STM8-SO8-DISCO

I'm using STM8-SO8-DISCO to program the STM8L001J3 uC which is attached to it. Before that I was developing my project using another kit and debugging was fine, but when I migrated the code to use it in this new kit (STM8-SO8-DISCO) I stopped being a...

MZaqu.1 by Associate
  • 383 Views
  • 0 replies
  • 0 kudos

Multichannel ADC in buffered Mode STM8S103F3P

Hello,I am building a project which involves reading analog signals from 2 sources.I want to read ADC in interrupt mode. Please share some code or example or tutorial ?Mcu: STM8S103F3PIDE/Compiler: STVDLibrary: Standard Peripheral Library