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

DS1307 power from pic controler.

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



Joined: 15 Sep 2003
Posts: 58

View user's profile Send private message

DS1307 power from pic controler.
PostPosted: Thu Nov 24, 2005 8:24 am     Reply with quote

Hi all,

Some hardware question. I'm doing a project with battery, micro and
clock chip.
I have to do power saving.
first, Can I switch the ds1307 from my microchip controler on/off (using backup battery on ds1307)

second, when I do sleepmode in de microchip controler (power pin ds1307 is high)
and I want to let the power on the ds1307 is this going to be.

Any help is welcome.

Regards,

Gerrit
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Thu Nov 24, 2005 12:09 pm     Reply with quote

Quote:

Can I switch the ds1307 from my microchip controler on/off (using backup battery on ds1307)


Yes. the DS1307 can drain its power from a PIC output pin.

Quote:

when I do sleepmode in de microchip controler (power pin ds1307 is high)
and I want to let the power on the ds1307 is this going to be.


You can switch on-off the Primary Power Supply (Pin 8) as needed, when the DS1307 trigger its power fail detect, it enter in power save mode (having a 3V battery back up connected in Vbat (PIN3) of course).
While in power down mode, the DS1307 keeps running the timekeeper function but inhibit further access to read/write registers.


Humberto
Gerrit



Joined: 15 Sep 2003
Posts: 58

View user's profile Send private message

PostPosted: Thu Nov 24, 2005 4:25 pm     Reply with quote

Humberto,

Thanks for explaining it. But for me the second question was a little
bit different intend.

what I want to know is can I drain power from a micro pin when it is in
sleep mode
Ttelmah
Guest







PostPosted: Fri Nov 25, 2005 3:26 am     Reply with quote

Yes.
Pins remain 'driving' the way they are set, when a chip goes to sleep. This is why, if you want to reduce power consumption to a minimum when sleeping, it is important to set pins that are driving, to the state where they don't drive. So, yes, you can drive a device when you send a chip to sleep, but with the obvious 'caveat', that the power consumption of the PIC will then rise.

Best Wishes
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Fri Nov 25, 2005 3:33 am     Reply with quote

I wonder: why would one want to give RTC full power supply while the PIC is asleep? In other words, PIC is asleep so there is nobody to query the RTC. Why RTC needs full power when PIC is asleep? It can maintain time on just the backup battery.
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