[PIC] start oscilation command in ds 1307

Status
Not open for further replies.

burrow

Full Member level 2
Joined
Dec 15, 2014
Messages
147
Helped
3
Reputation
6
Reaction score
3
Trophy points
18
Visit site
Activity points
1,148
Hai
i have made a circuit that employs real time clock rtc 1307.
so i have a query regarding the start oscilation function.
should i use it only once ?? or every time the mcu restarts ???

Is it like i have to use it once and then it will be oscillating always ( provided their is 3v battery )
 

There's no start oscillation command. The CH bit has to be reset once when the RTC is initialized after connecting the battery. Every unnecessary write command affects clock accuracy.
 

So once i intitialize and connect battery.i dont have to reinitialize it evrytime right
 

The supply voltage keeps the thing runing so as long as it isn't disconnected from a power source it does not need to be re-initialized. If the power is interrupted, it will lose all it's settings and the time/configuration will have to be written to it again.

Brian.
 
Reactions: burrow

    burrow

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…