Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
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...
I am writing from an esp32 I2C master to a stm8s103f mcu. My scope shows the esp is sending a clean read addr byte onto the scl/sda pins (PB4/PB5). But the stm8 is not running my interrupt routine. I have a gpio pin that should toggle when the interr...
I've been using vscode as my editor since the one in stvd seems to have features from 15 years ago. I have files also open in stvd since clicking on errors opens files. This means that when I switch to stvd from vscode I get the warning about files...