shahsulax
Newbie level 4
DS1302 Problem
I have successfully interfaced DS1302 with 8051.
The application demands that at some of time I need to STOP the Clock, wait for 2 to 5 Seconds and then RESTART the CLOCK.
I am trying to do this using CH bit of DS1302. However am unsuccessful. Even though I am appropriately programming the CH bit = 1 in Seconds Register to STOP the clock and then setting this CH bit = 0 to RESTART the clock - the clock doesn't RESTART.
The CLOCK only starts if i Switch off the System and Switch it back ON.
Why this is happening ? Is there something specific that I need to take care to STOP, WAIT and START the clock again !
If anyone can help !
I have successfully interfaced DS1302 with 8051.
The application demands that at some of time I need to STOP the Clock, wait for 2 to 5 Seconds and then RESTART the CLOCK.
I am trying to do this using CH bit of DS1302. However am unsuccessful. Even though I am appropriately programming the CH bit = 1 in Seconds Register to STOP the clock and then setting this CH bit = 0 to RESTART the clock - the clock doesn't RESTART.
The CLOCK only starts if i Switch off the System and Switch it back ON.
Why this is happening ? Is there something specific that I need to take care to STOP, WAIT and START the clock again !
If anyone can help !