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

Another RTC Question...

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



Joined: 26 Sep 2003
Posts: 6

View user's profile Send private message

Another RTC Question...
PostPosted: Thu Dec 18, 2003 11:43 am     Reply with quote

Any thoughts on RTC/Quartz/Lithium integrated devices (like the DS12C887) versus RTCs w/ external crystals and backup batteries (e.g., DS1306)? The integrated device costs $2.40 more than the other - but I don't have to supply backup battery or crystal & I avoid interference issues. BUT the interface looks a bit more complex (multiplexed bus instead of SPI/I2C).

Does anyone who has made this choice have any input?

Thanks!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Dec 18, 2003 12:59 pm     Reply with quote

Embedded designers who use small micro-controllers don't normally
use byte-wide devices. We use serial devices, either i2c or SPI.
The major reason is the pin count. Typically, we will choose the
smallest PIC that can do the job, in order to keep the cost down.
That means that we only have a limited number of Ports and pins.
We can't afford to waste them on a byte-wide RTC chip.

The device you're talking about might be OK for a larger embedded
design, with a micro that has a dedicated 8 bit data bus (ie., eZ80).
Even then, my bias would still be for the DS1307-like chip, just
because it takes less board space and costs less.
matt redmond



Joined: 26 Sep 2003
Posts: 6

View user's profile Send private message

RTC Issues
PostPosted: Thu Dec 18, 2003 1:42 pm     Reply with quote

Okay, thanks for the info - that makes sense. Bolstering the case for a DS1306 is the fact that I have in hand an Application Note w/ schematic and code for a PIC interfacing w/ the 1306. No such document exists for the 12C887. A 32.768 crystal is only 30 cents qty. 1 and other than a battery, that looks like all I need.
elizabeth ann



Joined: 16 Feb 2008
Posts: 33

View user's profile Send private message

Re: RTC Issues
PostPosted: Mon Feb 18, 2008 4:45 am     Reply with quote

matt redmond wrote:
Okay, thanks for the info - that makes sense. Bolstering the case for a DS1306 is the fact that I have in hand an Application Note w/ schematic and code for a PIC interfacing w/ the 1306. No such document exists for the 12C887. A 32.768 crystal is only 30 cents qty. 1 and other than a battery, that looks like all I need.



hello matt redmond,

can i please ask for a copy of ds1306 application notes with schematic and code for interfacing with PIC? this will help me in my medicine dispenser project where i will need a reliable RTC to avoid medication lapses.

thanks a lot.

-elizabeth ann
dtl



Joined: 16 Jan 2008
Posts: 5

View user's profile Send private message

PostPosted: Mon Feb 18, 2008 6:48 am     Reply with quote

Check out STMicro, they make SPI & I2C real time clocks that use the SNAPHAT battery crystal. They are a small SMT package that has pin holes in the top of the IC, after reflow you put the SNAPHAT on which includes the crystal and battery. We use them in a number of products, I am going to use the 3.3v I2C version in the product I am developing now.

Cheers,
Dave
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