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.
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
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.
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...
Hello everybody,how can I count which pin triggers an interrupt, but not multiple times? I have written the following ISR. INTERRUPT_HANDLER(EXTI_PORTB_IRQHandler, 4) { data = (uint8_t)GPIOB->IDR& 0xF; if((GPIO_PIN_0 & data )== GPIO_PIN_0) { co...
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...
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...
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...