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

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
  • 630 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
  • 990 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
  • 684 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
  • 430 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

Timer1 not giving the interrupt in expected duration

HI All,I am facing issue with STM8S103F2 controller Timer1. I am configuring timer1 for 5 sec, but it is giving me interrupt in 10 mili second only. It is not taking my prescaler value. can anyone help me on this, i am putting my code:stm8/ #includ...

HTiwa.11 by Associate II
  • 1421 Views
  • 4 replies
  • 0 kudos