Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
I am trying to get SMbus communication to work and it works fine most of the time but I have seen that after sometime it gets stuck at I2C event I2C_EVENT_MASTER_BYTE_TRANSMITTING. I have implemented a timeout function which retries event 255 times ...
I'm using the latest version of STVD in Windows 10 (up to date). I'm trying to connect to an ST-LINK V2, but as soon as I select Tools>Programmer, STVD crashes. I also have STVP installed and am able to program my device with it, but I would reall...
Hi,I am using the IAR to program the STM8L151F3. And in my project I need to create a "serialization" controlled by me.And I want to record a variable in the last flash memory. How to do this using IAR?
I'm using IAR with a ST-link and having problems getting this code to flash. What does this error mean and how do I fix it?
Hi there!I am new to STM8s Discovery, could someone suggests me how to print the values of variables in the program? it is more convenient if i can do this but I have no idea how to make it. Thank you very much ! Morris
Hi there! I am now using STM8s Discovery (MCU=STM8s105C6) to run an example named as TIM1_7PWM_Output. However, when I use a oscilloscope to check the 7 PWM ouputs, only Channel 2 and 4 are able to output PWM signals. The rest (Channel 1, 3 and all c...
Hey guys.Im using stm8s003f3p6 and IAR compiler and ST SPL.When i use gpio_init to make pb4 and pb5 output i dont know why the output does not get high and low?Other pins on port c ,a and etc work well.
This is not a question, so it doesn't really belong here, but the community forum is still broken, so there is no other place to post this.I just redid my comparison of the 4 most important STM8 C compilers (previous comparisons were in 2016 and 2018...