STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Enabling interrupts

Hi, I'm new to STM8 (usually I develop from STM32) and I'd like to know how can I enable interrupts.In STM32, I usually configure the peripheral interrupt enable bit and also in the NVIC I enable the interrupt to pass it from peripheral to CPU.In STM...

MSeme.1 by Associate II
  • 1595 Views
  • 2 replies
  • 0 kudos

My question relates to the M41T81 Real Time Clock. Wasn't sure which topic to post in so picked this one since the RTC interfaces to an 8 bit micro. My problem is that the RTC doesn't always recover from power-down correctly.

The data sheet for this part says that after power loss the HT bit is set, and any reads of the clock will return the time of the last read. Then after the HT bit is cleared one should be able to read the current time since the clock is battery backe...

GDick.1 by Associate
  • 674 Views
  • 0 replies
  • 0 kudos

STM8S003F3 used in HC12 module with Si4463 transceiver

Dear Friends,i am working with HC-12 module that have inbuilt STM8S003F3 Microcontroller with Si4463 Transceiver module. that works fine at data transmission. But i am trying to upload Arduino Sketch through HC12 Wirelessly for a long distance. here ...

RTC drifting - a lot!

I have bought a STL8L Discovery kit and have installed the example for showing a clock: RTC using LSE - but it drift appx. 5 seconds per minute.Seems like a simple 555 timer - or a cheap old analog clock - is more precise.

Wassini by Associate II
  • 606 Views
  • 7 replies
  • 0 kudos

Resolved! External clock does not work when programmed from STVP

Hi, I want to use external clock 16 MHz.So I implemented the following code.CLK_ClockSwitchConfig(CLK_SWITCHMODE_AUTO, CLK_SOURCE_HSE, DISABLE, CLK_CURRENTCLOCKSTATE_ENABLE);It was confirmed that 16MHz oscillated when programmed from STVD.However, wh...

gocchan by Associate III
  • 282 Views
  • 1 replies
  • 0 kudos