Real time clock help

Started by Christian Wentz August 3, 2003
Hi all,
I'm interested in using the bx-24 for one of my projects, but i didn't
see in the documentation anything specific regarding the RTC. What
resolution does this RTC have? how processor intensive are RTC commands?
thanks,
Christian

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid963



From: Christian Wentz <>

> I'm interested in using the bx-24 for one of my
> projects, but i didn't see in the documentation
> anything specific regarding the RTC. What
> resolution does this RTC have?

About 1.95 ms. The tick rate is 512 Hz.

> how processor intensive are RTC commands?

Depends. The Timer function, which returns a floating point number
of seconds past midnight, takes roughly 320 us of execution time.

Register.RTCTick gives you the raw tick count since midnight, and
is faster and has less overhead. Check out the BX-24 Hardware
Reference for more details.

-- Frank Manning
-- NetMedia, Inc.


It is a software RTC BTW, it needs to be set at every power up. I use a
DS1302 RTC chip on mine. I poll the hardware RTC and update the software
RTC in my programs then use the BX24 RTC commands to get various time stuff.
The DS1302 has a 3v battery backup and simple 3-wire hookup. I have some
BX24 code to read & set it but not the date functions yet.

-----Original Message-----
From: Christian Wentz [mailto:]
Sent: Saturday, August 02, 2003 10:19 PM
To:
Subject: [BasicX] Real time clock help Hi all,
I'm interested in using the bx-24 for one of my projects, but i didn't
see in the documentation anything specific regarding the RTC. What
resolution does this RTC have? how processor intensive are RTC commands?
thanks,
Christian

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid963
">http://docs.yahoo.com/info/terms/