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

STM8L151K6:COMP2...Does closing WINDWE analog switch (for Window mode) disconnect COMP1 non-inverting input from AS14 in the analog switch matrix?

Using the Cosmic IDE, I have the non-inverting input of COMP1 driven from PA4 by closing RI_AnalogSwitch_14 and RI_AnalogSwitch_0 and enabling RI_IOSwitch_3. I have COMP1 configured for COMP_Edge_Rising and the COMP1 interrupt is enabled. I see inter...

REdmo.1 by Associate III
  • 920 Views
  • 2 replies
  • 0 kudos

STM8S103 using GPIOB4 as normal GPIO

Hi all.I tried to use GPIOB4 as output but failed.But it works as I2C ​SCL so I guess the chip ok.I cant find alternate function for it.Someone please help me.​

DSmit.5 by Associate II
  • 1337 Views
  • 5 replies
  • 0 kudos

STM8L050J3 wfe() wakeup using TIM2 timer.

Good morning. I've been trying for a while to put the MCU in low power with the wfe() instruction and wake it up with TIME2 but the MCU gets stuck in wfe() and doesn't wake up. With the debugger active it seems to work even if it doesn't respect the ...

GBran.2 by Associate II
  • 1691 Views
  • 4 replies
  • 0 kudos

Any tips to solve this APPCRASH ntdll.dll error?

Hello,Problem opening the Programmer, I can't click on the Integrated Circuit icon.The error occurs almost always, eventually when reinstalling, once or twice the programmer window opens correctly. After giving this error, it does not open again and ...

0693W00000bhCskQAE.png

Using Interrupts with Cosmic on STM8AF5288

Just changing over to the STM8 using STVD and Cosmic.I have converted an existing project over to the new chip and compiler and have a clean compile of all the modules. The Linker is complaining that #error clnk Debug\5971.lkf:1 @svlreg missing for ...

BCowa by Associate II
  • 1210 Views
  • 1 replies
  • 0 kudos

STM8S003 vs ES7P003

Hello,​W1209 W1219 W3230 boards and several others of Chinese origin are usually equipped with STM8S003. But I got a board with ES7P003FGTF.​It looks like a PIC inside the body of an STM8. Programming system uses Data and Clock, and no capacitor pi...

0693W00000bhQrZQAU.jpg 0693W00000bhQrPQAU.png

Resolved! STM8S105C4, are nested interrupts recommended for TIM4 and UART2?

Hello, I am new to ITC. I use a the TIM4 interrupt as a 10ms time base, using a callback function for the SPL interrupt handler INTERRUPT_HANDLER(TIM4_UPD_OVF_IRQHandler, 23).The callback transmits a UART2 packet to an external device and then waits ...

Kmax18 by Senior II
  • 1221 Views
  • 2 replies
  • 0 kudos