Electronics > Projects, Designs, and Technical Stuff
If you get to choose, which type of RTC chip would you prefer to use?
<< < (4/5) > >>
Marcus Bockting:
I would use the RV-3028-C7.

It has a UNIX counter and a BCD counter. So you can use it with both architectures.

Advantage of signed numbers is, that you can calculate with early dates like January 1st 1874.
That could be solved in the application of course like already proposed by aix. The handling of times before 1970 is not everywhere needed.

SiliconWizard:
It would depend on the project really.

Sometimes all you need is local date/time in a simple way, and especially on small targets, you don't necessarily want to bother fiddling with code that implements going from binary to calendar and conversely, you may not have access to a working and *non-bloated* library that does so correctly, you don't want to have to deal with potential bugs, etc.
And OTOH if you're using some kind of embedded OS that already has everything to do this, binary would be more adapted. Just a thought.

I for one have never used standard time functions on small targets, I'd be curious to see how often they are available, if so, what's the code size, if they are 100% bug-free, etc.

hans:
I like the counter modes.

Besides RTC standing for real-time clock; it's also in essence a low-power timer. Being able to have access to a raw tick counter of a known frequency source allows synchronisation of devices to TDMA schedules and such.

Having to do that through a RTCC (e.g. with calender representation) is a mess.

Besides, if you're using the RTC for local time tracking, then doing so in a raw fashion is simpler for the embedded code. Complex formatting w.r.t. timezones and leap years can often be done on a PC.
splin:
Julian Ilett discusses a complaint he had with the calendar types DS1307 and DS3231, starting at 3:00, here:



It seems that reading the time from the chip is simple, but the time/date setting is not.
SL4P:
DS3231 has never let me down, but I develop a lot of cellular projects, and in that case, I take the cellnetwork time - which is conveniently location aware!
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod