DS87C530 Maxim, DS87C530 Datasheet - Page 25

no-image

DS87C530

Manufacturer Part Number
DS87C530
Description
The DS87C530/DS83C530 EPROM/ROM microcontrollers with a real-time clock (RTC) are 8051-compatible microcontrollers based on the Dallas Semiconductor high-speed core
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS87C530
Manufacturer:
DALLAS
Quantity:
15
Part Number:
DS87C530-080AA
Manufacturer:
a
Quantity:
7
Part Number:
DS87C530-476AA
Manufacturer:
DALLAS
Quantity:
1
Part Number:
DS87C530-ECL
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS87C530-ECL+
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS87C530-ENL
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS87C530-ENL
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS87C530-QCL
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS87C530-QCL+
Manufacturer:
Maxim Integrated Products
Quantity:
135
Part Number:
DS87C530-QCL+
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS87C530-QEL
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS87C530-QNL+
Manufacturer:
Maxim Integrated Products
Quantity:
135
Part Number:
DS87C530QCL
Manufacturer:
DALLAS
Quantity:
20 000
DS87C530/DS83C530 EPROM/ROM Microcontrollers with Real-Time Clock
PERIPHERAL OVERVIEW
The DS87C530/DS83C530 provide several of the most commonly needed peripheral functions in
microcomputer-based systems. These new functions include a second serial port, power-fail reset, Power-
fail interrupt, and a programmable watchdog timer. These are described below, and more details are
available in the High-Speed Microcontroller User’s Guide.
SERIAL PORTS
The DS87C530/DS83C530 provide a serial port (UART) that is identical to the 80C52. In addition it
includes a second hardware serial port that is a full duplicate of the standard one. This port optionally
uses pins P1.2 (RXD1) and P1.3 (TXD1). It has duplicate control functions included in new SFR
locations.
Both ports can operate simultaneously but can be at different baud rates or even in different modes. The
second serial port has similar control registers (SCON1; C0h, SBUF1; C1h) to the original. The new
serial port can only use Timer 1 for timer-generated baud rates.
TIMER RATE CONTROL
There is one important difference between the DS87C530/DS83C530 and 8051 regarding timers. The
original 8051 used 12 clocks per cycle for timers as well as for machine cycles. The
DS87C530/DS83C530 architecture normally uses 4 clocks per machine cycle. However, in the area of
timers and serial ports, the DS87C530/DS83C530 will default to 12 clocks per cycle on reset. This allows
existing code with real-time dependencies such as baud rates to operate properly.
If an application needs higher speed timers or serial baud rates, the user can select individual timers to run
at the 4-clock rate. The Clock Control register (CKCON; 8Eh) determines these timer speeds. When the
relevant CKCON bit is logic 1, the DS87C530/DS83C530 use 4 clocks per cycle to generate timer
speeds. When the bit is a 0, the DS87C530 uses 12 clocks for timer speeds. The reset condition is a 0.
CKCON.5 selects the speed of Timer 2. CKCON.4 selects Timer 1 and CKCON.3 selects Timer 0.
Unless a user desires very fast timing, it is unnecessary to alter these bits. Note that the timer controls are
independent.
POWER-FAIL RESET
The DS87C530/DS83C530 use a precision bandgap voltage reference to decide if V
is out of tolerance.
CC
While powering up, the internal monitor circuit maintains a reset state until V
rises above the V
CC
RST
level. Once above this level, the monitor enables the crystal oscillator and counts 65,536 clocks. It then
exits the reset state. This power-on reset (POR) interval allows time for the oscillator to stabilize.
A system needs no external components to generate a power-related reset. Anytime V
drops below
CC
V
, as in power failure or a power drop, the monitor will generate and hold a reset. It occurs
RST
automatically, needing no action from the software. Refer to the Electrical Specifications section for the
exact value of V
.
RST
POWER-FAIL INTERRUPT
The voltage reference that sets a precise reset threshold also generates an optional early warning power-
fail interrupt (PFI). When enabled by software, the processor will vector to program memory address
0033h if V
drops below V
. PFI has the highest priority. The PFI enable is in the Watchdog Control
CC
PFW
SFR (WDCON–D8h). Setting WDCON.5 to logic 1 will enable the PFI. Application software can also
25 of 45

Related parts for DS87C530