How can I stop reading from ds1307 and start writing to eeprom on the same sda scl line and after writing start reading from ds1307 again
This looks like interrupt based operation of DS1307 to read the RTC. You cannot do this. What you can do is set a bit variable while you are reading the rtc and use this to avoid writing to the eeprom.
Bookmarks