DS87C530/DS83C530 EPROM/ROM Microcontrollers with
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
Table 3. Data Memory Cycle Stretch Values
MEMORY CYCLES | RD OR WR STROBE | STROBE WIDTH TIME | ||||
|
|
| AT 33MHz | |||
M2 | M1 | M0 | WIDTH IN CLOCKS | |||
| (ns) | |||||
|
|
|
|
| ||
|
|
|
|
|
| |
0 | 0 | 0 | 2 (forced internal) | 2 | 60 | |
|
|
|
|
|
| |
0 | 0 | 1 | 3 (default external) | 4 | 121 | |
|
|
|
|
|
| |
0 | 1 | 0 | 4 | 8 | 242 | |
|
|
|
|
|
| |
0 | 1 | 1 | 5 | 12 | 364 | |
|
|
|
|
|
| |
1 | 0 | 0 | 6 | 16 | 485 | |
|
|
|
|
|
| |
1 | 0 | 1 | 7 | 20 | 606 | |
|
|
|
|
|
| |
1 | 1 | 0 | 8 | 24 | 727 | |
|
|
|
|
|
| |
1 | 1 | 1 | 9 | 28 | 848 | |
|
|
|
|
|
|
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
DPL | 82h | Low byte original DPTR |
DPH | 83h | High byte original DPTR |
DPL1 | 84h | Low byte new DPTR |
DPH1 | 85h | High byte new DPTR |
DPS | 86h | DPTR Select (lsb) |
16 of 47