cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to clear I2C BUSY bit in STM8S-discovery

raj
Associate
Posted on March 16, 2016 at 08:33

Unable to clear I2C BUSY bit in STM8S-discovery

Hello Friends,

 I have working experience of stm32f0xx microcontroller. But in case of stm8s003xx discovery board, I am stuck with a deadlock and am not able to move even a bit. The BUSY bit in I2C.SR3 is always set it is not getting freed, according to datasheet it can be set only Hardware, it is also listed in errata list to be solved in future versions. it is completely undeterministic. Please help my way out

#i2c1-busy #stm8 #!i2c
1 REPLY 1
Walid FTITI_O
Senior II
Posted on March 17, 2016 at 12:56

Hi shehrawat.dhan_raj, 

Can you share the code that you have implimented ( RTC init , RTC config, call in main..)

-Hannibal-