No, I'm using the internal 32k crystal to maintain the time with the basic 
timer.  The
accuracy is not critical, and when the main battery is replaced (~6years), the 
time
would need to be corrected for the time it takes to replace the battery.  I'm 
using it
for a datalogger output. 
As you can probably tell, I can't stand to use 500uA to 2mA for active mode 
usage (as
the DS1390 uses).  I also don't even want to loose 60 to 175uA as this is 
almost 1/2 of
the overall system current.
It looks like from the datasheet, the function of the time.h functions is 
already built
in to the chip as everything is accessed in component parts (H:M:S;D:M:Y, etc). 
 I'm
maintaining the UNIX time variable (this is very easy), but need an easy way to 
have a
human enter that time (and I don't think telling them to go to a converter and 
get the
number is viable).

Thanks for the idea tho.
-Mark


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Garst R. Reese
Sent: Thursday, July 07, 2005 1:05 PM
To: [email protected]
Subject: Re: [Mspgcc-users] time.h ?

Hi Mark,
Are you using an external RTC, f.ex. DS1390 with a battery backup?
What sort of input device are you using to enter the time?
I use the DS1390, and set the time when I programm the MSP. It can be 
off by a few s due to the programming time, but the RTC will stay  up 
for about 11y. If you are doing something similar, I can probably help.

Garst

Stokes, Mark wrote:

>Are there any plans to include the functions in time.h into the mspgcc 
>compiler?  If
>not, has anyone done any of this coding?  It can get pretty complicated.  I'm 
>including
>a RTC and need a way to allow a human to enter the current date/time.  
>Maintaining a
>long long is no problem (Unix time).
>
>Thanks
>-Mark
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÌk
>_______________________________________________
>Mspgcc-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>
>  
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to