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

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
  • 3096 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
  • 728 Views
  • 1 replies
  • 0 kudos

Reading 0x00 in SPI_DR of SPI Communication

Sir,I am working on STM8S003F3P Controller which is interacting with LoRa SX1276 HPD Module. I have the experience of working on SPI and have enough knowledge to configure it. I am able to write the data to SX1276 (I will tell you how). But, while R...

STEVAL-ISA164v1 not correctly responding

I've got a new STEVAL-ISA164V1 Board.The problem looks like this:When connecting with the ST SMED Configurator there is a warning:The chip on my board is double checked a STNRG388A (well that's what is printed on the chip)I can connect and it looks l...

0693W00000GXHArQAP.png 0693W00000GXHCiQAP.png 0693W00000GXHDbQAP.png
pbaum.1 by Associate II
  • 929 Views
  • 2 replies
  • 0 kudos

Fix I2C ACK delay

How can I fix the super long delay and weird ACK glitch with I2C on STM8S?I'm having some troubles with I2C communications between a raspberry pi and STM8S. The STM8S is a slave transmitter and I2C is running at 100 KHz. It works much the time, but I...

0690X00000BvV8iQAF.jpg
MLane.1 by Associate
  • 3529 Views
  • 6 replies
  • 0 kudos