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 ...

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
  • 88 Views
  • 1 replies
  • 0 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
  • 141 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
  • 481 Views
  • 9 replies
  • 1 kudos