Toshiba TLCS-90 Series Data Book page 130

8 bit microcontroller
Table of Contents

Advertisement

TOSHIBA
TMP 8048P I, TMP 80 35P I
(1)
Instruction Cycle
· The instructions of TMP8048 are executed in one or two machine cycles,
and one machine cycle contents of five states.
· Fig.4 illustrates its relationship with the clock input to CPU.
el2
clock shown in Fig.4 is derived to outside by ENTO CLK instruction.
· ALE can be also used as the clock to indicate the machine cycle as well
as giving the external address latch timing.
(2) External Memory Access Timing
(i) Program Memory Access
. TIfP8048 programs are excuted in the following three modes.
(1) Execution of internal program only.
(2) Execution of both external and internal progracs.
(3) Executi;n of external prograc only.
The external program memory is accessed (instructions are fetched)
automatically when the internal
RO~
address is exceeded in I!::>de (2)
c~ci
fro=
i~itial
sta~:
address 0
i~ m~de
(3:.
· In the ex:ernal prog:-a::: m-emory access opera:ion, the follc\.:':':lg
~il:'
occur
· The contents of the l2-bit program counter will be output on BUS(DBO -
DB7) and the lower 4-bits of Port 2.
· Address Latch Enable (ALE) will indicate the time at which address is
valid.
The
trailing
edge of
ALE
is used to
latch
the
address
externa 11y •
Program Store Enable (PSEN) indicates that an external instruction
fetch is in progress and serves to enable the external memory device.
BUS (DBO - DB7) reverts to Input mode and the processor accepts its
8-bit contents as an Instruction Word.
• Figure 5 illustrates the timing.
(ii) Access of External Data Memory
. In the extended data memory access operation during READ/WRITE cycle the
following occurs
• The contents of RO Rl is output onto BUS (DBO - DB7).
· ALE indciates address is valid.
The trailing edge of ALE is used to
latch the address externally.
A read RD or write WR pulse on the corresponding output pins indicates
the type of data memory access in progress. Output data valid at trail-
ing edge of WR and input data must be valid at trailing edge of RD.
Data (8-bits) is transferred over BUS.
MCU48-l20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents