cancel
Showing results for 
Search instead for 
Did you mean: 

STM8s003F3_I2c not working

BAS-BLEU
Associate III

Hey,

i didnot find any AFR4 in option byte to set PB4-SCL and PB5-SDA of STM8s003F3. Can st will help how to enable it for I2c hardware peripheral.?

1 REPLY 1
AA1
Senior III

You don't need to configure any AFR bit to use I2C peripheral. Configure I2C peripheral and PB4 will be SCL and PB5 will be SDA.