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

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

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
  • 372 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
  • 240 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

Resolved! Save data to EEPROM after VDD drops

Hello!Is it possible to save data to EEPROM in STM8S001J3 after VDD drops (power outage)?I would appreciate any case indication. I appreciate any help in advance.

Vladix by Associate
  • 171 Views
  • 2 replies
  • 2 kudos

NEC protocol based remote with STM8S105K4T6

I am trying to make a project using STM8S105K4T6 and NEC based IR remote. I am using Sduino to program the board. I want to turn on and off two relays and two leds using IR remote. Please help me to make the IR decoder for the board. 

RV97 by Associate
  • 373 Views
  • 3 replies
  • 0 kudos