Skip to main content
Visitor II
March 16, 2016
Question

Unable to clear I2C BUSY bit in STM8S-discovery

  • March 16, 2016
  • 1 reply
  • 898 views
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
    This topic has been closed for replies.

    1 reply

    Visitor II
    March 17, 2016
    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-