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

Resolved! user-bootloader example code for stm8

I was following the Application note document on [AN2659](https://www.st.com/resource/en/application_note/an2659-stm8-inapplication-programming-iap-using-a-customized-userbootloader-stmicroelectronics.pdf) as my purpose was to implement a custom boot...

STM8L152C4 TIMER2 and 4 - Interrupt not working (Solved)

Hi I am writing this post to help the community. I have struggled a while before to get all this "Interrupt" receipe working with "ST Visual Develop"and COSMIC compiler. Development and tests with only one timer enabled at the time.Note this code is ...

SuperGDx by Associate
  • 1505 Views
  • 1 replies
  • 0 kudos

Resolved! STM8L151G3 TIM4 not working

MCU: STM8L151G3U6ISSUE: TIM4 interrupt doesnt seem working Connections:                 1. LED on pin PB0                 2. Push button/ switch on pin PC5Scenario:1. User press the push button2. Toggles the LEDObservation:Without using the TIM4 inte...

zin10 by Associate II
  • 2122 Views
  • 1 replies
  • 1 kudos

stm8 using AWU/HALT/EXTI

I am building time lag switch- i have at42q1010 touch ic connected to PA3- i have stm8s003f3 mcu- Using latching relay to conserve power- timeout is my pot value- Exti on at42q1010 rising edge exti_cr1 =0x01; ( the ic reads low when no touch and when...

mag1_eng by Associate
  • 2162 Views
  • 0 replies
  • 0 kudos

Resolved! STM8S103 Timer TIM2 timing

Hi,Using ST Workbench debugger my 16-bit timer TIM2 (china bought) overflows each 16 seconds as the prescaler is set to 10. With an 16MHz internal clock divided by 2^10 (1024) the timer should overflow theoretically each 4.1 seconds. Prescaler 9 take...

sthvw by Associate III
  • 1057 Views
  • 9 replies
  • 1 kudos

Resolved! Can't get grip on PA1 interrupt

Hi,I fell in love with this cute little uC and created all kinds of succesfull projects.Now I have a problem. I want to decode DCF77 time signals. I bought me a few DCF77 receivers from China. They all work fine. I connected the data output of the DC...

sthvw by Associate III
  • 422 Views
  • 1 replies
  • 0 kudos

Resolved! STM8 SWIM Debug Protocol

Hello,I’ve been working on implementing a SWIM master using an STM8 device to interface with a STM8S105K6 target. This is part of a tester software project that was previously using the ST7 debug protocol and is now being ported to the STM8.I’ve foll...

andryas_mariotto_0-1749051883648.png