
TS-7300 MANUAL
HARDWARE COMPONENTS
3.5 Real-Time Clock
The
TS-7300
optionally supports a Non-volatile Battery-backed real-time clock (RTC)
which is soldered onto the board. This option uses an ST Micro M48T86PC1 module for
the real-time clock function. This module contains the lithium battery, 32.768 kHz crystal,
and a RTC chip with 114 bytes of battery-backed CMOS RAM. It will maintain clock
operation for a minimum of 10 years in the absence of power.
The 114 bytes of non-volatile RAM, physically located in the RTC chip, are available to the
user. Contact Technologic Systems for driver support.
The RTC is accessed using two registers. The write-only index register is located at
physical address location
0x1080_0000
and the RTC data register is location at physical
address location
0x1170_0000
. These are byte-wide registers with the Index Register
property of write only. The Data Register has a read/write property. Valid Index Register
values are between 0 and 127, decimal. The first 14 index locations are used for
accessing the RTC Time and Date registers. The next 114 locations are non-volatile RAM
locations.
This option is NOT compatible with the TS-5620, a peripheral board that also uses an ST
Micro RTC module for real-time clock functionality. While the two options are mutually
exclusive, it is possible to use the TS-5620 peripheral board on a
TS-7300
that does not
have the on-board RTC option installed. Any source code that utilizes the RTC is
compatible with both optional installations. The TS-Kernel shipped with the boards
includes support for the TS-5620 peripheral board.
3.6 Watchdog Timer
The
TS-7300
incorporates a Watchdog Timer (WDT) unit. The WDT can be used to
prevent a system “hanging” due to a software failure. The WDT causes a full system reset
when the WDT times out, allowing a guaranteed recovery time from a software error. To
prevent a WDT timeout, the application must periodically “feed” the WDT by writing a
specific value to a specific memory location.
Table: Watchdog Control Registers
Register
Address
Access
WDT Control register 0x2380_0000
Read/Write
WDT Feed register
0x23C0_0000
Write Only
The WDT Control register must be initialized with the timeout period desired. This may be
as short as 250 mS or may be as long as 8 seconds. After the WDT has been enabled,
the WDT counter begins. The application software can reset this counter at any time by
“feeding” the WDT. If the WDT counter reaches the timeout period, then a full system
reset occurs.
Table: Watchdog Timeout Register
Value
MSB
MID
LSB
Timeout Period
0x00
0
0
0
Watchdog Disabled
0x01
0
0
1
250 mS
0x02
0
1
0
500 mS
0x03
0
1
1
1 second
0x04
1
0
0
-- Reserved
0x05
1
0
1
2 seconds
0x06
1
1
0
4 seconds
0x07
1
1
1
8 seconds
© Apr, 2010 www.embeddedARM.com 27