DS87C530-ENL+ DALLAS [Dallas Semiconductor], DS87C530-ENL+ Datasheet - Page 10

no-image

DS87C530-ENL+

Manufacturer Part Number
DS87C530-ENL+
Description
EPROM/ROM Microcontrollers with Real-Time Clock
Manufacturer
DALLAS [Dallas Semiconductor]
Datasheet
Table 1. Special Function Register Locations (continued)
* Functions not present in the 80C52 are in bold.
NONVOLATILE FUNCTIONS
The DS87C530/DS83C530 provide two functions that are permanently powered if a user supplies an
external energy source. These are an on-chip RTC and a nonvolatile SRAM. The chip contains all related
functions and controls. The user must supply a backup source and a 32.768kHz timekeeping crystal.
REAL-TIME CLOCK
The on-chip RTC keeps time of day and calendar functions. Its time base is a 32.768kHz crystal between
pins RTCX1 and RTCX2. The RTC maintains time to 1/256 of a second. It also allows a user to read (and
write) seconds, minutes, hours, day of the week, and date. Figure 2 shows the clock organization.
Timekeeping registers allow easy access to commonly needed time values. For example, software can
simply check the elapsed number of minutes by reading one register. Alternately, it can read the complete
time of day, including subseconds, in only four registers. The calendar stores its data in binary form.
While this requires software translation, it allows complete flexibility as to the exact value. A user can
start the calendar with a variety of selections since it is simply a 16-bit binary number of days. This
number allows a total range of 179 years beginning from 0000.
The RTC features a programmable alarm condition. A user selects the alarm time. When the RTC reaches
the selected value, it sets a flag. This will cause an interrupt if enabled, even in Stop mode. The alarm
consists of a comparator that matches the user value against the RTC actual value. A user can select a
match for 1 or more of the sub-seconds, seconds, minutes, or hours. This allows an interrupt
TL2
TH2
PSW
WDCON
ACC
EIE
B
RTASS
RTAS
RTAM
RTAH
EIP
RTCC
RTCSS
RTCS
RTCM
RTCH
RTCD0
RTCD1
REGISTER
SMOD_1
BIT 7
SSCE
CY
0
0
0
0
0
BIT 6
POR
SCE
AC
0
0
0
0
0
ERTCI
PRTCI
BIT 5
MCE
EPFI
F0
0
EWDI
PWDI
BIT 4
HCE
RS1
PFI
10 of 47
RTCRE
WDIF
BIT 3
EX5
PX5
RS0
RTCWE
WTRF
BIT 2
EX4
PX4
OV
RTCIF
BIT 1
EWT
EX3
PX3
FL
RTCE
BIT 0
RWT
EX2
PX2
P
ADDRESS
CCh
CDh
D0h
D8h
FAh
FBh
FCh
FDh
E0h
E8h
FEh
FFh
F0h
F2h
F3h
F4h
F5h
F8h
F9h

Related parts for DS87C530-ENL+