CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

battery connection for inbuilt rtc PIC microcontroller

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
td



Joined: 16 Apr 2015
Posts: 21
Location: India

View user's profile Send private message

battery connection for inbuilt rtc PIC microcontroller
PostPosted: Wed Apr 22, 2015 3:02 am     Reply with quote

hi,
In our project we are using PIC controller with inbuilt rtc. I have connected 32khz crystal. But I don’t know where to connect external battery for rtc backup. Can anyone help me to find out the pin of microcontroller for rtc battery?
Ttelmah



Joined: 11 Mar 2010
Posts: 19548

View user's profile Send private message

PostPosted: Wed Apr 22, 2015 3:23 am     Reply with quote

There isn't one.

To run the PIC's RTC, you have to power the PIC.

What you can do, is put the PIC itself to sleep (selecting the right options to keep the RTC running), and then the PIC will stop running, and the RTC stay alive, and power consumption plummets.

If your main supply is not itself battery backed, then you'll need to add the circuitry to maintain the supply just to the PIC from the battery.
td



Joined: 16 Apr 2015
Posts: 21
Location: India

View user's profile Send private message

PostPosted: Wed Apr 22, 2015 3:36 am     Reply with quote

thank you....

that means PIC should be on continuously for that. so it is better to use external rtc with battery.
Ttelmah



Joined: 11 Mar 2010
Posts: 19548

View user's profile Send private message

PostPosted: Wed Apr 22, 2015 3:47 am     Reply with quote

It's simpler, yes.

However a sleeping PIC, running just the RTC, typically draws perhaps 2uA.
td



Joined: 16 Apr 2015
Posts: 21
Location: India

View user's profile Send private message

PostPosted: Wed Apr 22, 2015 3:51 am     Reply with quote

okay.

thank you very much
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group