M30622ECTFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30622ECTFP Datasheet - Page 31

no-image

M30622ECTFP

Manufacturer Part Number
M30622ECTFP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Bus Settings
Bus Settings
Table 1.11.1. Factors for switching bus settings
Note 1: In M30623(80-pin package), the external data bus width cannot be switched (be fixed 8 bits).
Switching external data bus width
Switching between separate and multiplex bus Bits 4 and 5 of processor mode register 0
Switching external address bus width
The BYTE pin and bits 4 to 6 of the processor mode register 0 (address 0004
settings. In M30623(80-pin package), the BYTE signal has no external pin, and is internally connected to
the CNV
M16C/62T group is not guaranteed to operate in memory expansion and microprocessor modes.
Table 1.11.1 shows the factors used to change the bus settings.
(1) Selecting external address bus width
(2) Selecting external data bus width
(3) Selecting separate/multiplex bus
The address bus width for external output in the 1M bytes of address space can be set to 16 bits (64K
bytes address space) or 20 bits (1M bytes address space). When bit 6 of the processor mode register 0
is set to “1”, the external address bus width is set to 16 bits, and P2 and P3 become part of the address
bus. P4
to “0”, the external address bus width is set to 20 bits, and P2, P3, and P4
address bus.
The external data bus width can be set to 8 or 16 bits. (Note, however, that only the separate bus can be
set.) When the BYTE pin is “L”, the bus width is set to 16 bits; when “H”, it is set to 8 bits. (The internal bus
width is permanently set to 16 bits.) While operating, fix the BYTE pin either to “H” or to “L”.
The bus format can be set to multiplex or separate bus using bits 4 and 5 of the processor mode register 0.
• Separate bus
• Multiplex bus
In this mode, the data and address are input and output separately. The data bus can be set using the
BYTE pin to be 8 or 16 bits. When the BYTE pin is “H”, the data bus is set to 8 bits and P0 functions as
the data bus and P1 as a programmable I/O port. When the BYTE pin is “L”, the data bus is set to 16
bits and P0 and P1 are both used for the data bus.
When the separate bus is used for access, a software wait can be selected.
In this mode, data and address I/O are time multiplexed. With an 8-bit data bus selected (BYTE pin =
“H”), the 8 bits from D
With a 16-bit data bus selected (BYTE pin = “L”), the 8 bits from D
D
mapped to the microcomputer’s even addresses (every 2nd address). To access these external de-
vices, access the even addresses as bytes.
The ALE signal latches the address. It is output from P5
Before using the multiplex bus for access, be sure to insert a software wait.
If the entire space is of multiplexed bus in memory expansion mode, choose an 8-bit width.
The processor operates using the separate bus after reset is revoked, so the entire space multiplexed
bus cannot be chosen in microprocessor mode.
The higher-order address becomes a port if the entire space multiplexed bus is chosen, so only 256
bytes can be used in each chip select.
8
to D
SS
0
to P4
signal. Accordingly, the external data bus width can be used only 8 bits.
15
are not multiplexed. In this case, the external devices connected to the multiplexed bus are
Bus setting
3
can be used as programmable I/O ports. When bit 6 of processor mode register 0 is set
0
to D
7
are multiplexed with A
Bit 6 of processor mode register 0
BYTE pin
31
0
to A
Switching factor
6
.
7
.
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
0
to D
7
16
are multiplexed with A
) are used to change the bus
0
to P4
Mitsubishi microcomputers
3
M16C / 62T Group
become part of the
1
to A
8
.

Related parts for M30622ECTFP