m37702s1afp Mitsumi Electronics, Corp., m37702s1afp Datasheet - Page 40
![no-image](/images/manufacturer_photos/0/4/452/mitsumi_electronics__corp__sml.jpg)
m37702s1afp
Manufacturer Part Number
m37702s1afp
Description
Single-chip 16-bit Cmos Microcomputer
Manufacturer
Mitsumi Electronics, Corp.
Datasheet
1.M37702S1AFP.pdf
(59 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M37702S1AFP
Manufacturer:
MITSUBISHI
Quantity:
5 510
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.
Fig. 51 Processor mode register bit configuration
40
7 6 5 4 3 2
0
1
0
M37702M2AXXXFP, M37702M2BXXXFP
Processor mode register
Processor mode bit
0 0 : Single-chip mode
0 1 : Memory expansion mode
1 0 : Microprocessor mode
1 1 : Evaluation chip mode
Wait bit
Software reset bit
Reset occurs when this bit is set to 1
Interrupt priority resolusion time selection bit
0 0 : Select 1/f (X
0 1 : Select 1/f (X
1 0 : Select 1/f (X
Test mode bit
This bit must be "0"
Clock
0 : Wait
1 : No Wait
0 : No
1 :
1
1
• 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·V
different from the above. This is described in the evaluation chip
mode section.
output
output selection bit
1
M37702S1AFP, M37702S1BFP
output
IN
IN
IN
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
)
)
)
14
8
4
MITSUBISHI MICROCOMPUTERS
Address
5E
CC
16
. In this case, the operation is slightly