Regarding I2C communication using Polling method. In "Status register 3 (I2C_SR3)" Bit 1 always set BUSY:
We are interfacing "DS1307" RTC chip with STM8L152C6 Discovery board using I2C polling method.with clock setting as mentioned bellowed .void clock_setup(void){ static uint32_t Clock_frequency = 0; CLK_DeInit();/*Deinitializes the CLK peripheral ...