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

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
  • 602 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
  • 969 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
  • 653 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
  • 409 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
  • 1380 Views
  • 4 replies
  • 0 kudos

STM8 Bootloader

hi,every one. i am working on Bootloader with STM5288 and STM6266 microcontrollers in PC application Side(I am making own PC application as per my user interface),So what are the sequence of commands we need to send from the PC applications,that we c...

Syann.1 by Associate
  • 973 Views
  • 2 replies
  • 0 kudos

STM8L001J3 and SWIM pin

I was using STM8SVLDISCOVERY in a small project because it was the evaluation board that I had, but in a more final stage I would like to use an stm8sl001j3 as uC.For that, I got a STM8-SO8-DISCO to be able to use the same uC that I want in the final...

MZaqu.1 by Associate
  • 814 Views
  • 2 replies
  • 0 kudos

How to use UART at STM8L050j3?

Hello,Using STM8L050j3, ST LINK/V2 ISOL, STVD.I am studying the UART and i have connected MCU and ST LINK/V2 ISOL.They use SWIM with USART TX / RX Pin.A problem is that PC don't receive the any text.​I think that cording is fine(easy example) but i s...

KTAEW.1 by Associate
  • 1053 Views
  • 1 replies
  • 0 kudos