m37702s1afp Mitsumi Electronics, Corp., m37702s1afp Datasheet - Page 10

no-image

m37702s1afp

Manufacturer Part Number
m37702s1afp
Description
Single-chip 16-bit Cmos Microcomputer
Manufacturer
Mitsumi Electronics, Corp.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M37702S1AFP
Manufacturer:
MITSUBISHI
Quantity:
5 510
Part Number:
M37702S1AFP
Manufacturer:
MITSUBISHI
Quantity:
10 000
Part Number:
M37702S1AFP
Quantity:
10
The bus interface unit operates using one of the waveforms (1) to
(6) shown in Figure 5. The standard waveforms are (1) and (2).
The ALE signal is used to latch only the address signal from the
multiplexed signal containing data and address.
The E signal becomes “L” when the bus interface unit reads an in-
struction code or data from memory or when it writes data to
memory. Whether to perform read or write is controlled by the R/W
signal. Read is performed when the R/W signal is “H” state and
write is performed when it is “L” state.
Waveform (1) in Figure 5 is used to access a single byte or two
bytes simultaneously. To read or write two bytes simultaneously,
the first address accessed must be even. Furthermore, when ac-
cessing an external memory area in memory expansion mode or
microprocessor mode, set the bus width selection input pin BYTE
to “L”. (external data bus width to 16 bits) The internal memory
area is always treated as 16-bit bus width regardless of BYTE.
When performing 16-bit data read or write, if the conditions for si-
multaneously accessing two bytes are not satisfied, waveform (2)
is used to access each byte one by one.
However, when prefetching the instruction code, if the address of
the instruction code is odd, waveform (1) is used, and only one
byte is read in the instruction queue buffer.
The signals A
cases: 1-byte read from even address, 1-byte read from odd ad-
dress, 2-byte simultaneous read from even and odd addresses,
1-byte write to even address, 1-byte write to odd address, or 2-
byte simultaneous write to even and odd addresses. The A
that is the address bit 0 is “L” when an even number address is
accessed. The BHE signal becomes “L” when an odd number ad-
dress is accessed.
The bit 2 of processor mode register (address 5E
When this bit is set to “0”, the “L” width of E signal is 2 times as
long when accessing an external memory area in memory expan-
sion mode or microprocessor mode. However, the “L” width of E
signal is not extended when an internal memory area is accessed.
When the wait bit is “1”, the “L” width of E signal is not extended
for any access. Waveform (3) is an expansion of the “L” width of E
signal in waveform (1). Waveform (4), (5), and (6) are expansion
of each “L” width of E signal in waveform (2), first half of waveform
(2), and the last half of waveform (2) respectively.
Instruction code read, data read, and data write are described be-
low.
10
_
0
____
and BHE in Figure 5 are used to control these
_
____
__
_
_
16
) is the wait bit.
M37702M2AXXXFP, M37702M2BXXXFP
0
signal
__
_
_
Fig. 5 Relationship between access method and signals A
M37702S1AFP, M37702S1BFP
A : Address
D : Data
These waveforms are at the memory expansion mode and
the microprocessor mode.
(1)
(2)
(3)
(4)
(5)
(6)
Internal clock
Signal
and BHE
BHE
A
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Access
method
Port P2
Port P2
Port P2
Port P2
Port P2
Port P2
0
____
ALE
ALE
ALE
ALE
ALE
ALE
Access 2-byte
simultaneously
E
E
E
E
E
E
MITSUBISHI MICROCOMPUTERS
“L”
“L”
A
A
A
A
A
A
D
D
D
Access even
address 1-byte
D
D
D
A + 1
A + 1
“H”
“L”
A + 1
A + 1
D
D
D
Access odd
address 1-byte
D
“H”
“L”
0

Related parts for m37702s1afp