6
MITSUBISHI MICROCOMPUTERS
M37702M2LXXXGP, M37702S1LGP
M37702M2LXXXHP, M37702S1LHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
BASIC FUNCTION BLOCKS
The M37702M2LXXXGP has the same functions as the
M37702M2BXXXFP except for the reset circuit.
Refer to the section on the M37702M2BXXXFP.
RESET CIRCUIT
______
Reset occurs when the RESET pin is returned to “H” level after
holding it at “L” level when the power voltage is at 2.7 – 5.5 V. Pro-
gram execution starts at the address formed by setting the
address pins A23 – A16 to 0016, A15 – A8 to the contents of address
FFFF16, and A7 – A0 to the contents of address FFFE16.
Fig. 1 Microcomputer internal status during reset
Figure 1 shows the status of the internal registers when a reset
occurs.
Figure 2 shows an example of a reset circuit. The reset input volt-
age must be held 0.55 V or lower when the power voltage reaches
2.7 V.
Address
0016
000 0
0016
0
11
00
?? ?
0016
00
10
00
10
00
10
0016
000
0
0016
00 1
00
0
00 1
00
0
00
0
(0416)
(0516)
(0816)
(0916)
(0C16)
(0D16)
(1016)
(1116)
(1416)
(1E16)
(1F16)
(3016)
(3816)
(3416)
(3C16)
(3516)
(3D16)
(4016)
(4216)
(4416)
(5616)
(5716)
(5816)
(5916)
(5A16)
(5B16)
(5C16)
(5D16)
(1) Port P0 data direction register
(2) Port P1 data direction register
(3) Port P2 data direction register
(4) Port P3 data direction register
(5) Port P4 data direction register
(6) Port P5 data direction register
(7) Port P6 data direction register
(8) Port P7 data direction register
(9) Port P8 data direction register
(10) A-D control register
(11) A-D sweep pin selection register
(12) UART 0 transmit/receive mode
register
(17) UART 1 transmit/receive
control register 1
(13) UART 1 transmit/receive mode
register
(14) UART 0 transmit/receive
control register 0
(15) UART 1 transmit/receive
control register 0
(16) UART 0 transmit/receive
control register 1
(18) Count start flag
(19) One- shot start flag
(20) Up-down flag
(21) Timer A0 mode register
(22) Timer A1 mode register
(23) Timer A2 mode register
(24) Timer A3 mode register
(25) Timer A4 mode register
(26) Timer B0 mode register
(27) Timer B1 mode register
(28) Timer B2 mode register
Address
(7F16)
(7016)
(7116)
(7216)
(7316)
(7416)
(7516)
(7616)
(7716)
(7816)
(7916)
(7A16)
(7B16)
(7C16)
(7D16)
(7E16)
(32) A-D conversion interrupt control register
(33) UART 0 transmission interrupt control
register
(34) UART 0 receive interrupt control register
(35) UART 1 transmission interrupt control
register
(36) UART 1 receive interrupt control register
(37) Timer A0 interrupt control register
(44) Timer B2 interrupt control register
(38) Timer A1 interrupt control register
(39) Timer A2 interrupt control register
(40) Timer A3 interrupt control register
(41) Timer A4 interrupt control register
(42) Timer B0 interrupt control register
(43) Timer B1 interrupt control register
(48) Processor status register PS
(49) Program bank register PG
(50) Program counter PC H
(51) Program counter PC L
(52) Direct page register DPR
(53) Data bank register DT
(45) INT0 interrupt control register
Contents of other registers and RAM are not initialized and should be initialized by software.
?
0
000 0
?
00 0
1? ?
000 0
0
0016
Content of FFFF16
Content of FFFE 16
000016
0
(46) INT1 interrupt control register
(47) INT2 interrupt control register
0016
(6116)
(31) Watchdog timer frequency selection
flag
0
0016
(5E16)
(29) Processor mode register
(6016)
(30) Watchdog timer
FFF16