English
Language : 

M37702M2AXXXFP Datasheet, PDF (41/60 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
M37702M2AXXXFP, M37702M2BXXXFP
M37702S1AFP, M37702S1BFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
PROCESSOR MODE
The bits 0 and 1 of processor mode register as shown in Figure 51
are used to select any mode of single-chip mode, memory expan-
sion mode, microprocessor mode, and evaluation chip mode.
Ports P3 to P0 and a part of port P4 are used as address, data,
and control signal I/O pins except in single-chip mode.
Figure 52 shows the functions of ports P4 to P0 in each mode.
The external memory area changes when the mode changes.
Figure 53 shows the memory map for each mode.
Refer to Figure 1 for the memory map of the single-chip mode.
The external memory area can be accessed except in single-chip
mode. The accessing of the external memory is affected by the
BYTE pin and the bit 2 (wait bit) of processor mode register.
These will be described next.
• BYTE pin
When accessing the external memory, the level of the BYTE pin is
used to determine whether to use the data bus as 8-bit width or
16-bit width.
The data bus width is 8 bits when the level of the BYTE pin is “H”
and port P2 becomes the data I/O pin.
The data bus width is 16 bits when the level of the BYTE pin is “L”
and ports P1 and P2 become the data I/O pins.
When accessing the internal memory, The data bus width is al-
ways 16 bits regardless of the BYTE pin level.
An exclusive mode in the evaluation chip mode allows the BYTE
pin level to be set to 2·VCC. In this case, the operation is slightly
different from the above. This is described in the evaluation chip
mode section.
7 6 54 3 21 0
0
Processor mode register
Address
5E16
Processor mode bit
0 0 : Single-chip mode
0 1 : Memory expansion mode
1 0 : Microprocessor mode
1 1 : Evaluation chip mode
Wait bit
0 : Wait
1 : No Wait
Software reset bit
Reset occurs when this bit is set to 1
Fig. 51 Processor mode register bit configuration
Interrupt priority resolusion time selection bit
0 0 : Select 1/f (XIN) ! 14
0 1 : Select 1/f (XIN) ! 8
1 0 : Select 1/f (XIN) ! 4
Test mode bit
This bit must be "0"
Clock φ1 output selection bit
0 : No φ1 output
1 : φ1 output
40