Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Sulax Shah
02/03/10 20:54
Read: 133 times
Vallabh Vidyanagar
India


 
#172879 - DS1302 - Stop and Restart Clock 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 !

List of 2 messages in thread
TopicAuthorDate
DS1302 - Stop and Restart Clock Problem      Sulax Shah      02/03/10 20:54      
   Is CE being pulsed off?      Michael Karas      02/03/10 21:58      

Back to Subject List