User Activity

I am trying to get I2C communication working between two STM8S003F3P6.From I2c master I am trying to initiate I2C start message using CR2 registers with below code#define I2C_CR2_START ((uint8_t)0x01) /*!< Start Generation */   .....   I2C->CR2 |...
I am trying to run example code for i2c master and slave, provided in Stm standard peripheral library from https://www.st.com/en/embedded-software/stsw-stm8069.htmlBut the master keeps crahing at I2C_GenerateSTART API call.I2C_ITConfig enableInterru...
I am trying to get I2C working for STM8S003F3P6 with ESP8266. I tried I2C sample code available with standard periferal library https://www.st.com/en/embedded-software/stsw-stm8069.html . But for some reason I2c is not working. Now I just noticed the...
I am trying to run simple program to output HIGH on IO pin of microcontroller STM8S003F3P6. I am using PB5 pin to output High. I am using 3.3v power supply and expect GPIO to output 3.3v when I set it HIGH but surprisingly I am getting 5V instead, b...
Kudos from