Wednesday, 4 April 2012

RTC_8051_I2C

I am postung the simulation Real Time Clock using DS1307 and simple 8051, using software implementation of I2C Protocol. However there some minor bugs in the code, still the clock is working properly.

You should check for the following four conditions for DS1307
1. Setting the time in DS1307
2. Readin the time from DS1307
3. Clock Halt Condition
4. Clock Over-range Malfunctioning

click here -----> RTC in Proteus_7.6_using 8051
The bugs are
1. Writing into the rtc 2nd time (need to make reg pointer to initial position )
2.  The day pointer seems to be wrong
3. Clock halt needs to be improved

1 comment: