SMBUS communication Interrupt mode using STM8
Could you please assist me with the sample code for SMBUS communication using interrupt mode in STM8S with a battery IC BQ76930(I am trying to read the temperature and voltage and Device ID)?
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Could you please assist me with the sample code for SMBUS communication using interrupt mode in STM8S with a battery IC BQ76930(I am trying to read the temperature and voltage and Device ID)?
Hello,I am trying to start a new project on a STM8s003K3 discovery kit, i have downloaded and installed STVD without a problem but I can't download Cosmic C Compiler. The download link in the Cosmic site is not working, I have tried anything I can th...
I have a minimal development board with a STM8S103F, ST Visual Develop, and ran into the following :Location zero ($00) is inaccessible using direct adressing modes. Reading returns fixed data, and writing has no effect. Using the debugger it is poss...
Hi there,If I am flashing the .s19 file using st visual programmer I have observed that there is a flash memory corruption. But If I am flashing this with visual developer I am not facing any issue.Can anyone tell me is there any alternate SW tool fo...
I am trying to configure an STLUX285 SMED to trigger an ADC measurement but am unable to find the documentation of the registers required to do this.RM0380 claims "SMED as ADC trigger source" in section 21.16."AFR_IOMXP2" is supposed to have a bit ca...
Hi All, We are using the STM8L050J3 chip and trying to get time using an internal RTC with LSI. We are getting some responses but are not sure what it is. Here is our result (TIME: 3108:4877:2644) and code. We are using the cosmic compiler. Could an...
I am trying to implement the "Delay" function from timing_delay.h / timing_delay.c that comes with STM8 example code. In order for the delay to work, you need to add the function "TimingDelay_decrement" to stm8l15x_it.c in order to decrement the time...
Hi. I am designing Schematic for STM8L050J3 chip. In that, pin1( first pin) , in datasheet they mentioned as SWIM in port A0 of pin1 and USART TX in port A2 of pin1. I want to use this pin as SWIM for programming as well as USART for data transmissio...
Hi everyone,I have 12v dc 4 channel relay module which have stm8s103f3 on it.i am using ST visual develop and STVP to flash program using ST-Link V2 programmer.ST-Link V2 Pins: 1- RST, 3- GND, 5- Swim, 7- 3.3v (which is required for relay module).wh...
Hello, I have a problem with setting up PWM on the general purpose timer. I tried setting PWM on timers 2 and 3 using different channels, but I didn't see a PWM signal at the output. I also tried setting up PWM from timer 1 and it worked, but I only ...