English
Language : 

W79E548 Datasheet, PDF (32/79 Pages) Winbond – 8-BIT MICROCONTROLLER
W79E548/W79L548
8.1.1 External Data Memory Access Timing
The timing for the MOVX instruction is another feature of the W79E(L)548. In the standard 8032, the
MOVX instruction has a fixed execution time of 2 machine cycles. However in the W79E(L)548, the
duration of the access can be varied by the user.
The instruction starts off as a normal op-code fetch of 4 clocks. In the next machine cycle, the
W79E(L)548 puts out the address of the external Data Memory and the actual access occurs here.
The user can change the duration of this access time by setting the STRETCH value. The Clock
Control SFR (CKCON) has three bits that control the stretch value. These three bits are M2-0 (bits 2-0
of CKCON). These three bits give the user 8 different access time options. The stretch can be varied
from 0 to 7, resulting in MOVX instructions that last from 2 to 9 machine cycles in length. Note that the
stretching of the instruction only results in the elongation of the MOVX instruction, as if the state of the
CPU was held for the desired period. There is no effect on any other instruction or its timing. By
default, the Stretch value is set at 1, giving a MOVX instruction of 3 machine cycles. If desired by the
user the stretch value can be set to 0 to give the fastest MOVX instruction of only 2 machine cycles.
Table 4. Data Memory Cycle Stretch Values
RD OR WR RD OR WR RD OR WR
M2
M1
M0
MACHINE
STROBE
STROBE
STROBE
CYCLES
WIDTH
WIDTH
WIDTH
IN CLOCKS
@ 25 MHZ
@ 40 MHZ
0
0
0
2
2
80 nS
50 nS
0
0
1
3 (default)
4
160 nS
100 nS
0
1
0
4
8
320 nS
200 nS
0
1
1
5
12
480 nS
300 nS
1
0
0
6
16
640 nS
400 nS
1
0
1
7
20
800 nS
500 nS
1
1
0
8
24
960 nS
600 nS
1
1
1
9
28
1120 nS
700 nS
- 32 -