DS83C530 Maxim, DS83C530 Datasheet - Page 16

no-image

DS83C530

Manufacturer Part Number
DS83C530
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
Using a Stretch value between 1 and 7 causes the microcontroller to stretch the read/write strobe and all
related timing. Also, setup and hold times are increased by 1 clock when using any Stretch greater than 0.
This results in a wider read/write strobe and relaxed interface timing, allowing more time for
memory/peripherals to respond. The timing of the variable speed MOVX is in the Electrical
Specifications section. Table 3 shows the resulting strobe widths for each Stretch value. The memory
Stretch uses the Clock Control Special Function Register at SFR location 8Eh. The Stretch value is
selected using bits CKCON.2–0. In the table, these bits are referred to as M2 through M0. The first
Stretch (default) allows the use of common 120ns RAMs without dramatically lengthening the memory
access.
Table 3. Data Memory Cycle Stretch Values
DUAL DATA POINTER
The timing of block moves of data memory is faster using the Dual Data Pointer (DPTR). The standard
8051 DPTR is a 16-bit value that is used to address off-chip data RAM or peripherals. In the
DS87C530/DS83C530, the standard data pointer is called DPTR, located at SFR addresses 82h and 83h.
These are the standard locations. Using DPTR requires no modification of standard code. The new DPTR
at SFR 84h and 85h is called DPTR1. The DPTR Select bit (DPS) chooses the active pointer. Its location
is the lsb of the SFR location 86h. No other bits in register 86h have any effect and are 0. The user
switches between data pointers by toggling the lsb of register 86h. The increment (INC) instruction is the
fastest way to accomplish this. All DPTR-related instructions use the currently selected DPTR for any
activity. Therefore it takes only one instruction to switch from a source to a destination address. Using the
Dual Data Pointer saves code from needing to save source and destination addresses when doing a block
move. The software simply switches between DPTR and 1 once software loads them. The relevant
register locations are as follows.
M2
0
0
0
0
1
1
1
1
CKCON.2–0
M1
0
0
1
1
0
0
1
1
M0
0
1
0
1
0
1
0
1
DPL
DPH
DPL1
DPH1
DPS
MEMORY CYCLES
3 (default external)
2 (forced internal)
DS87C530/DS83C530 EPROM/ROM Microcontrollers with Real-Time Clock
4
5
6
7
8
9
82h
83h
84h
85h
86h
16 of 45
High byte new DPTR
Low byte original DPTR
High byte original DPTR
Low byte new DPTR
DPTR Select (lsb)
WIDTH IN CLOCKS
RD OR WR STROBE
12
16
20
24
28
2
4
8
STROBE WIDTH TIME
AT 33MHz
(ns)
242
364
485
606
727
848
121
60

Related parts for DS83C530