Mitsubishi M37735EHLXXXHP Datasheet

PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PROM VERSION OF M37735MHLXXXHP

DESCRIPTION

The M37735EHLXXXHP is a single-chip microcomputer using the 7700 Family core. This single-chip microcomputer has a CPU and a bus interface unit. The CPU is a 16-bit parallel processor that can be an 8-bit parallel processor, and the bus interface unit enhances the memory access efficiency to execute instructions fast. This microcomputer also includes a 32 kHz oscillation circuit, in addition to the PROM, RAM, multiple-function timers, serial I/O, A-D converter, and so on. Its strong points are the low power dissipation, the low supply voltage and the small package. The M37735EHLXXXHP has the same function as the M37735MHLXXXHP except that the built-in ROM is PROM. (Refer to the basic function blocks description.)

FEATURES

Number of basic instructions .................................................. 103
Memory size PROM ............................................. 124 Kbytes
RAM ................................................ 3968 bytes
Instruction execution time
The fastest instruction at 12 MHz frequency ...................... 333 ns

PIN CONFIGURATION (TOP VIEW)

1
D
x
R
/
6
P8
1
D
x
T
/
7
P8
0
CS
/
0
P0
1
CS
/
1
P0
2
CS
/
2
P0
3
CS
/
3
P0
Single power supply ...................................................... 2.7–5.5 V
Low power dissipation (At 3 V supply voltage, 12 MHz frequency)
............................................ 9 mW (Typ.)
Interrupts ............................................................ 19 types, 7 levels
Multiple-function 16-bit timer ................................................. 5 + 3
Serial I/O (UART or clock synchronous) ...................................... 3
10-bit A-D converter .............................................. 8-channel inputs
Watchdog timer
Programmable input/output
(ports P0, P1, P2, P3, P4, P5, P6, P7, P8) ............................... 68
Clock generating circuit ........................................ 2 circuits built-in
Small package ..................... 80-pin plastic molded fine-pitch QFP
(0.5 mm lead pitch)

APPLICATION

Control devices for general commercial equipment such as office automation, office equipment, personal information equipment, and so on. Control devices for general industrial equipment such as communication equipment, and so on.
4
CS
/
4
P0
P M
RS
/
5
P0
16
A
/
6
P0
17
A
/
7
P0
8
D
/
8
A
/
0
P1
9
D
/
9
A
/
1
P1
10
D
/
10
A
/
2
P1
11
D
/
11
A
/
3
P1
12
D
/
12
A
/
4
P1
13
D
/
13
A
/
5
P1
14
D
/
14
A
/
6
P1
15
D
/
15
A
/
7
P1
0
D
/
0
A
/
0
P2
1
D
/
1
A
/
1
P2
P8
P7
59
57
55
535251
56
60
58
61
1
K
CL
5
/
P8
RT
1
/
S
CT
4
/
P8
P8
S
CT
/
0
T
/
3
P8
CL
/
0
X
D
R
/
2
CL
1
/
P8
CL
/
0
S
RT
/
0
AV
V
AV
X
/
7
AN
/
7
P7
CO
X
/
6
AN
/
6
P7
T
/
G
TR
AD
5
/
AN
/
5
P6
P7
P7 P7
R
/
4
AN
/
4
CL
3
/
AN
/
3
CT
/
2
AN
2
/
/
1
P7
/
0
P7
f
/
N
I
2
TB
/
7
X
K
K V
RE
V
X X
AN AN
SUB
62
1
S
0
D
63
0
S
64 65
0
K
66
1
S
67
CC
68
CC
69
F
70
SS
71
SS
72
N
CI
73
UT
74
2
D
75
2
D
76
2
K
77
2
S
78
1
79
0
80
3
2
1
2
IN
IN
0
1
NT
I
/
TB
TB
4
/
/
5
6
P6
P6
P6
54
M37735EHLXXXH P
5
678
4
3
0
1
IN
4
KI
OUT
/
NT
NT
4
I
I
/
/
3
P6
2
P6
TA
/
1
P6
TA
/
0
P6
IN
3 TA
/
7
P5
Outline 80P6D-A, 80P6Q-A
50
9
1011121314
0
1
2
KI
KI
KI
/
/
/
IN
2
OUT
OUT
2
3
TA
/
5
TA
TA
/
/
4
6
P5
P5
P5
49
IN
1 TA
/
3
P5
47
48
464544
161718
15
7
IN
0
OUT
OUT
P4
0
1
TA
/
TA
TA
1
/
/
0
2
P5
P5
P5
41
43
42
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
20
19
6
P2 P2
P2 P2 P2 P2 P3 P3
P3 P3
SS
V
RDE
E/
OU
X
N
I
X
ESET
R
CNV BYT P4 P4 P4
/
2
/
3 4
/
5
/
/
6
7
/ /
0 1
/
2
/
3
/
/
0
/
1
/
2
/
2
A
/
3
A
4
/
A
5
/
A
/
6
A
7
/
A
E
W
E
W AL
HL
T
SS
E HO RDY
1
f
D D
D D
D
D
L H
E DA
2 3
4 5 6 7
D
L
P43P44P45P4
X
IN
X
OUT
E RESET
Reset input
V
REF
P8(8) P7(8) P5(8)P6(8) P4(8) P3(4)
P2(8)
P1(8)
CNVss
BYTE
P0(8)
UART1(9)
UART0(9)
AV
SS
(0V)
AV
CC
(0V)
V
SS
V
CC
A-D Converter(10)
X
CIN
X
COUT
X
CIN
X
COUT
Clock input Clock output
Enable
output
Reference
voltage input
External data bus width
selection input
Clock Generating Circuit
Instruction Register(8)
Arithmetic Logic Unit(16)
Accumulator A(16)
Accumulatcr B(16)
Index Register X(16)
Index Register Y(16)
Stack Pointer S(16)
Direct Page Register DPR(16)
Processor Status Register PS(11)
Input Butter Register IB(16)
Data Bank Register DT(8)
Program Bank Register PG(8)
Program Counter PC(16)
Incrementer/Decrementer(24)
Data Address Register DA(24)
Program Address Register PA(24)
Incrementer(24)
Instruction Queue Buffer Q
2
(8)
Instruction Queue Buffer Q
1
(8)
Instruction Queue Buffer Q
0
(8)
Data Buffer DB
L
(8)
Data Buffer DB
H
(8)
PROM
124 Kbytes
RAM
3968 bytes
Timer TA3(16)
Timer TA4(16)
Timer TA2(16)
Timer TA1(16)
Timer TA0(16)
Watchdog Timer
Timer TB2(16)
Timer TB1(16)
Timer TB0(16)
Address Bus
Data Bus(Odd)
Data Bus(Even)
Input/Output
port P8
Input/Output
port P7
Input/Output
port P6
Input/Output
port P5
Input/Output
port P4
Input/Output
port P3
Input/Output
port P2
Input/Output
port P1
Input/Output
port P0
UART2(9)
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
PROM VERSION OF M37735MHLXXXHP

M37735EHLXXXHP BLOCK DIAGRAM

2
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.

FUNCTIONS OF M37735EHLXXXHP

Number of basic instructions 103 Instruction execution time 333 ns (the fastest instruction at external clock 12 MHz frequency)
Memory size
Input/Output ports
Multi-function timers Serial I/O (UART or clock synchronous serial I/O) 3
A-D converter 10-bit 1 (8 channels) Watchdog timer 12-bit 1
Interrupts
Clock generating circuit Supply voltage 2.7 – 5.5 V Power dissipation
Input/Output characteristic Memory expansion Maximum 1 Mbytes
Operating temperature range –40 to 85 °C Device structure CMOS high-performance silicon gate process Package 80-pin plastic molded fine-pitch QFP (80P6D-A;0.5 mm lead pitch)
Parameter Functions
PROM 124 Kbytes RAM 3968 bytes P0 – P2, P4 – P8 8-bit 8 P3 4-bit ✕ 1 TA0, TA1, TA2, TA3, TA4 16-bit 5 TB0, TB1, TB2 16-bit 3
3 external types, 16 internal types Each interrupt can be set to the priority level (0 – 7.) 2 circuits built-in (externally connected to a ceramic resonator or a
quartz-crystal oscillator)
9 mW (at 3 V supply voltage, external clock 12 MHz frequency)
22.5 mW (at 5 V supply voltage, external clock 12 MHz frequency) Input/Output voltage 5 V Output current 5 mA
PROM VERSION OF M37735MHLXXXHP
3
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.

PIN DESCRIPTION

Pin Name Input/Output Functions Vcc, Power source Apply 2.7 – 5.5 V to Vcc and 0 V to Vss. Vss CNVss CNVss input Input This pin controls the processor mode. Connect to Vss for the single-chip mode and the memory
_____
RESET Reset input Input When “L” level is applied to this pin, the microcomputer enters the reset state.
XIN Clock input Input X
OUT Clock output Output
_
E Enable output Output In the single-chip mode, this pin functions as the enable signal output pin which indicates the
BYTE
External data
Input In the memory expansion mode or the microprocessor mode, this pin determines whether the bus width selection input
AVcc, Analog power Power source input pin for the A-D converter. Externally connect AVcc to Vcc and AVss to Vss. AVss source input
REF Reference Input This is reference voltage input pin for the A-D converter.
V
voltage input
0 – P07 I/O port P0 I/O In the single-chip mode, port P0 becomes an 8-bit I/O port. An I/O direction register is available so
P0
0 – P17 I/O port P1 I/O In the single-chip mode, these pins have the same functions as port P0. When the BYTE pin is set
P1
0 – P27 I/O port P2 I/O In the single-chip mode, these pins have the same functions as port P0. In the memory expansion
P2
0 – P33 I/O port P3 I/O In the single-chip mode, these pins have the same function as port P0. In the memory expansion
P3
0 – P47 I/O port P4 I/O In the single-chip mode, these pins have the same functions as port P0. In the memory expansion
P4
0 – P57 I/O port P5 I/O In addition to having the same functions as port P0 in the single-chip mode, these pins also
P5
0 – P67 I/O port P6 I/O In addition to having the same functions as port P0 in the single-chip mode, these pins also
P6
0 – P77 I/O port P7 I/O In addition to having the same functions as port P0 in the single-chip mode, these pins function
P7
0 – P87 I/O port P8 I/O In addition to having the same functions as port P0 in the single-chip mode, these pins also
P8
expansion mode, and to Vcc for the microprocessor mode.
These are pins of main-clock generating circuit. Connect a ceramic resonator or a quartz­crystal oscillator between X
IN and XOUT. When an external clock is used, the clock source should
be connected to the XIN pin, and the XOUT pin should be left open. access status in the internal bus.
In the memory expansion mode or the microprocessor mode, output pin.
external data bus has an 8-bit width or a 16-bit width. The data bus has a 16-bit width when “L” signal is input and an 8-bit width when “H” signal is input.
that each pin can be programmed for input or output. These ports are in the input mode when reset.
In the memory expansion mode or the microprocessor mode, these pins output CS0CS4,
____
RSMP signals, and address (A16, A17).
to “L” in the memory expansion mode or the microprocessor mode and external data bus has a 16-bit width, high-order data (D8 – D15) is input/output or an address (A8 – A15) is output. When the BYTE pin is “H” and an external data bus has an 8-bit width, only address (A8 – A15) is output.
mode or the microprocessor mode, low-order data (D (A0 – A7) is output.
mode or the microprocessor mode, WEL, WEH, ALE, and HLDA signals are output.
____ ____
mode or the microprocessor mode, P40, P41, and P42 become HOLD and RDY input pins, and clock
φ1 output pin, respectively.
Functions of the other pins are the same as in the single-chip mode. However, in the memory expansion mode, P42 also functions as an I/O port.
function as I/O pins for timers A0 to A3 and input pins for key input interrupt input (KI0 KI3). function as I/O pins for timer A4, input pins for external interrupt input (INT0INT2) and input pins
for timers B0 to B2. P67 also functions as sub-clock φSUB output pin. as input pins for A-D converter. P7
2 to P75 also function as I/O pins for UART2. Additionally, P76
and P77 have the function as the output pin (XCOUT) and the input pin (XCIN) of the sub-clock (32 kHz) oscillation circuit, respectively. When P7 connect a resonator or an oscillator between the both.
function as I/O pins for UART 0 and UART 1.
PROM VERSION OF M37735MHLXXXHP
this pin functions as the RDE signal
0 – D7) is input/output or an address
____
____ ___
___ ___
6 and P77 are used as the XCOUT and XCIN pins,
___
___ ___
__ __
4
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.

PIN DESCRIPTION (EPROM MODE)

Pin VCC, VSS CNVSS BYTE
____
RESET
XIN XOUT
_
E
AVCC, AVSS VREF P00 – P07 P10 – P17 P20 – P27 P30 P31 – P33 P40 – P47 P50 – P57
P60 – P67 P70 – P77 P80 – P87
Name
Power supply
PP input
V VPP input Reset input Clock input Clock output Enable output Analog supply input Reference voltage input Address input (A0 – A7) Address input (A8 – A15) Data I/O (D0 – D7) Address input (A16) Input port P3 Input port P4 Control signal input
Input port P6 Input port P7 Input port P8
Input/Output
Input Input Input
Input Output Output
Input
Input
Input
I/O Input Input Input Input
Input Input Input
Supply 5V±10% to VCC and 0V to VSS. Connect to VPP when programming or verifing. Connect to VPP when programming or verifing. Connect to VSS. Connect a ceramic resonator between XIN and XOUT.
Keep open. Connect AVCC to VCC and AVSS to VSS. Connect to VSS. Port P0 functions as the lower 8 bits address input (A0 – A7). Port P1 functions as the higher 8 bits address input (A8 – A15). Port P2 functions as the 8 bits data bus(D0 – D7). P30 functions as the most significant bit address input (A16). Connect to VSS. Connect to VSS. P50, P51 and P52 function as PGM, OE and CE input pins respectively.
Connect P5
3, P54, P55 and P56 to VCC. Connect P57 to VSS.
Connect to VSS. Connect to VSS. Connect to VSS.
PROM VERSION OF M37735MHLXXXHP
Functions
___ __ __
5
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
PROM VERSION OF M37735MHLXXXHP

BASIC FUNCTION BLOCKS

The M37735EHLXXXHP has the same functions as the M37735MHBXXXFP except for the following : (1)The built-in ROM is PROM. (2) The status of bit 3 of the oscillation circuit control register 1 (address
6F
16) at a reset is different.
(3)The usage condition of bit 3 of the oscillation circuit control register
1 is different.
(4)Part of the processor mode selection method is different.
Accordingly, refer to the basic function blocks description in the M37735MHBXXXFP except for Figure 1 (bit configuration of oscillation circuit control register 1), Figure 3 (microcomputer internal status during reset), and Table 1 (microprocessor mode selection method). In the M37735EHLXXXHP, bit 3 of the oscillation circuit control register 1 must be “0”. (Refer to Figure 1.) Bit 3 is “1” at a reset. Accordingly, write “0” to bit 3 in the single-chip mode after reset.
76543210
Oscillation circuit control register 1
CC
0
CC
1
CC
00
2
Main clock division selection bit 0 : Main clock is divided by 2. 1 : Main clock is not divided by 2.
Main clock external input selection bit 0 : Main-clock oscillation circuit is operating by itself. Watchdog timer is used at returning from STP state. 1 : Main-clock is input externally. Watchdog timer is not used at returning from STP state.
Sub clock external input selection bit 0 : Sub-clock oscillation circuit is operating by itself. Port P7 Watchdog timer is used at returning from STP state. 1 : Sub-clock is input externally. Port P7 Watchdog timer is not used at returning from STP state.
0 : Always “0” (This bit is “1” at reset, so that write “0” to this bit .) 0 : Always “0” (However, writing data “55 Clock prescaler reset bit
Figure 2 shows how to write data in oscillation circuit control register 1. In the M37735EHLXXXHP, the microprosessor mode cannot be selected by connecting the CNV
SS pin to VCC. Connect the CNVSS
pin to VSS and start the microcomputer operating from the single­chip mode.
Table 1. Relationship between CNV
SS pin input level and processor
modes
CNVSS VSS
Single-chip
Memory expansion
Microprocessor
Mode
Single-chip mode upon starting after reset. Each mode can be selected by changing the processor
Description
mode bits by software.
Address
6F
16
Note. Write to the oscillation circuit control register 1 as the flow shown in Figure 2.
6
functions as X
6
functions as I/O port.
COUT
pin.
16
” shown in Figure 2 is possible.)
Fig. 1 Bit configuration of oscillation circuit control register 1 (corresponding to Figure 63 in data sheet “M37735MHBXXXFP”)
Writing data “55
16
” (LDM instruction)
Next instruction
Writing data “8016” (LDM instruction)
Reset clock prescaler
Writing data “0Y
CC
• How to reset clock prescaler • How to write in CC
16
” (LDM instruction)
2
to CC0 selection bits
2
to CC0 selection bits
Note. “Y” is the sum of bits to be set. For example, when setting bits 2 and 1 to “1”, “Y” becomes “6”.
Fig. 2 How to write data in oscillation circuit control register 1 (identical with Figure 64 in data sheet “M37735MHBXXXFP”)
6
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
PROM VERSION OF M37735MHLXXXHP

RESET CIRCUIT

The microcomputer is released from the reset state when the RESET
_____
pin is returned to “H” level after holding it at “L” level with the power source voltage at 2.7 – 5.5 V. Program execution starts at the address formed by setting address A of address FFFF
16, and A7 – A0 to the contents of address FFFE16.
23 – A16 to 0016, A15 – A8 to the contents
Figure 3 shows the microcomputer internal status during reset. Figure 4 shows an example of a reset circuit. When the stabilized clock is input from the external to the main-clock oscillation circuit, the reset input voltage must be 0.55 V or less when the power source voltage reaches 2.7 V. When a resonator/oscillator is connected to the main-clock oscillation circuit, change the reset input voltage from “L” to “H” after the main-clock oscillation is fully stabilized.
Power on
2.7V
0.55V
RESET
V
CC
V
CC
0V
RESET
0V
Note. In this case, stabilized clock is input from the external to the main-clock oscillation circuit. Perform careful evalvation at the system design level before using.
Fig. 4 Example of a reset circuit
7
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
PROM VERSION OF M37735MHLXXXHP
Address
Port P0 direction register Port P1 direction register Port P2 direction register Port P3 direction register Port P4 direction register Port P5 direction register Port P6 direction register Port P7 direction register
Port P8 direction register A-D control register 0 A-D control register 1
UART 0 transmit/receive mode register
UART 1 transmit/receive mode register UART 0 transmit/receive
control register 0
UART 1 transmit/receive
control register 0
UART 0 transmit/receive
control register 1
UART 1 transmit/receive
control register 1
Count start flag
One- shot start flag
Up-down flag
Timer A0 mode register
Timer A1 mode register
Timer A2 mode register
Timer A3 mode register Timer A4 mode register Timer B0 mode register Timer B1 mode register Timer B2 mode register
Processor mode register 0
Processor mode register 1
Watchdog timer register
(6016)
(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) (5E16) (5F16)
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
00
16
00
16
00
16
0000
00
16
00
16
00
16
00
16
00
16
0
0000
???
11
00
0
16
00 00
16
0000
1000 0000 0000 0000
000010
00
16
0010
10
000 00 00
16
00
16
00
16
00
16
00
16
00
16
0001 00 00
001
00 00
001 00 00
00
16
FFF
16
Watchdog timer frequency selection flag Memory allocation control register UART2 transmit/receive mode register
UART2 transmit/receive control register 0
UART2 transmit/receive control register 1 Oscillation circuit control register 0
Port function control register Serial transmit control register Oscillation circuit control register 1
A-D/UART2 trans./rece. interrupt control register
UART 0 transmission interrupt control register UART 0 receive interrupt control register UART 1 transmission interrupt control register UART 1 receive interrupt control register Timer A0 interrupt control register Timer A1 interrupt control register Timer A2 interrupt control register Timer A3 interrupt control register Timer A4 interrupt control register Timer B0 interrupt control register Timer B1 interrupt control register Timer B2 interrupt control register
INT
0
interrupt control register
INT
1
interrupt control register
INT
2
/Key input interrupt control register Processor status register (PS) Program bank register (PG)
H
Program counter (PC Program counter (PC
0
Direct page register (DPR) Data bank register (DT)
)
L
)
Address
(6116)
(6316) (6416) (6816) (69
16)•••
(6C16) (6D16) (6E16) (6F16) (7016) (7116) (7216) (7316) (7416) (7516) (7616) (7716) (7816) (7916) (7A16) (7B16) (7C16) (7D16) (7E16) (7F16)
•••
0 0
•••
0 000000
•••
•••
0 010
0
00
0 01000
0
•••
0
•••
00
00
•••
0
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
•••
0
•••
0
•••
0
•••
?
?000
Content of FFFF Content of FFFE
0000
000
00
1 0000 0
00
16
1
0
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0
0
0
0
0
0 00
0
00
16
16
00
16
0
0
0
001
00
000
001
000
000 000 000 1??
16
16
Fig. 3 Microcomputer internal status during reset
8
Contents of other registers and RAM are undefined during reset. Initialize them by software.
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PROM VERSION OF M37735MHLXXXHP

EPROM MODE

The M37735EHLXXXHP features an EPROM mode in addition to its normal modes. When the RESET signal level is “L”, the chip automatically enters the EPROM mode. Table 2 lists the correspondence between pins and Figure 5 shows the pin connections in the EPROM mode. The EPROM mode is the 1M mode for the EPROM that is equivalent to the M5M27C101K. When in the EPROM mode, ports P0, P1, P2, P3
SS and BYTE are used for the EPROM (equivalent to the
CNV M5M27C101K). When in this mode, the built-in PROM can be programmed or read from using these pins in the same way as with the M5M27C101K. This chip does not have Device Identifier Mode, so that set the corresponding program algorithm. The program area should specify
V
CC
_____
P84/
P82/RXD0/CLKS0
P80/
CTS
0
/
RTS
P77/AN7/X
P76/AN6/X
P75/AN5/
AD
P74/AN4/RxD2 P73/AN3/CLK2 P72/AN2/CTS2
7
/TBIN/
P6
P67/TBIN/
P85/CLK1
CTS
1
/
RTS
P83/TXD0 P81/CLK0
0
/CLKS1
VCC
AVCC
V
REF
AVSS
VSS
CIN
COUT
TRG
/TxD2
P71/AN1 P70/AN0
SUB
0, P50, P51, P52,
1
D
X
/R
6
P8
60
61
62
1
63
64
65 66
67 68
69 70 71 72
↔ ↔
73
74 75
76
↔ ↔
77
78 79
80
1
IN
/TB1
6
P6
1
0
3
2
A
A
A
A
59
1
D
X
/T
7
P8
3
2
1
0
CS
CS
CS
CS
/
/
/
/
3
2
1
0
P0
P0
P0
P0
55
56
57
58
54
M37735EHLXXXHP
6
4
2
5
3
7
2
INT
/
4
P6
1
INT
/
3
P6
0
INT
/
2
P6
IN
/TA4
1
P6
IN
/TB0
5
P6
address 01000
16 – 1FFFF16.
Connect the clock which is either ceramic resonator or external clock
IN pin and XOUT pin.
to X
Table 2. Pin function in EPROM mode
4
A
4
CS
/
4
P0
OUT
/TA4
0
P6
5
A
RSMP
/
5
P0
53
8
3
KI
/
IN
/TA3
7
P5
6
A
16
/A
6
P0
52
9
2
KI
/
OUT
/TA3
6
P5
Address input
Data I/O
9
8
7
10
A
A
A
A
10
8
9
/D
/D
/D
8
17
10
9
/A
/A
/A
/A
0
7
2
1
P1
P0
P1
P1
50
51
48
49
11
13
10
12
0
1
IN
KI
KI
OUT
/
/
IN
TA1
/
3
OUT
TA1
/
2
/TA2
P5
5
/TA2
P5
4
P5
P5
VCC VPP VSS
__
CE
__
OE
___
PGM
11
A
11
/D
11
/A
3
P1
47
14
IN
TA0
/
1
P5
12
A
46
15
OUT
TA0
/
0
P5
12
/D
12
/A
4
P1
M37735EHLXXXHP
Ports P0, P1, P30
1
0
15
14
13
D
D
A
A
A
15
14
13
1
0
/D
/D
/D
/D
/D
1
0
15
14
13
/A
/A
/A
/A
/A
1
0
7
6
5
P2
P2
P1
P1
P1
41
42
43
44
45
16
7
P4
17
6
P4
18
5
P4
19
4
P4
20
3
P4
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
CC
V
CNVSS, BYTE
SS
V
Port P2
2
P5 P51 P50
P22/A2/D2
P23/A3/D3
P24/A4/D4
P25/A5/D5
P26/A6/D6 P27/A7/D7
P30/
WEL
P31/
WEH
P32/ALE P33/
HLDA
VSS E/
RDE
X
OUT
XIN
RESET
CNVSS BYTE P40/
HOLD
P41/
RDY
P42/1
↔ ↔ ↔ ↔
→ → ←
← ←
↔ ↔ ↔
M5M27C101K
D D D D D D
A
    
V
A0 – A16
D0 – D7
2 3 4 5 6 7
16
PP
CC
V VPP VSS
__
CE
__
OE
___
PGM
V
SS
Fig. 5 Pin connection in EPROM mode
OE
CE
PGM
Outline 80P6D-A, 80P6Q-A
: Connect to ceramic oscillation circuit.
: It is used in the EPROM mode.
9
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
PROM VERSION OF M37735MHLXXXHP
FUNCTION IN EPROM MODE 1M mode (equivalent to the M5M27C101K)
Reading
To read the EPROM, set the CE and OE pins to a “L” level. Input the address of the data (A to the I/O pins D
__ __
the CE or OE pins are in the “H” state.
0 – D7. The data I/O pins will be floating when either
__ __
0 – A16) to be read, and the data will be output
Programming
Programming must be performed in 8 bits by a byte program. To program to the EPROM, set the CE pin to a “L” level and the OE pin to a “H” level. The CPU will enter the programming mode when 12.5 V is applied to the V with pins A – D7. Set the PGM pin to a “L” level to being programming.
PP pin. The address to be programmed to is selected
0 – A16, and the data to be programmed is input to pins D0
___
__ __
Programming operation
To program the M37735EHLXXXHP, first set VCC = 6 V, VPP = 12.5 V, and set the address to 01000 pulse, check that the data can be read, and if it cannot be read OK, repeat the procedure, applying a 0.2 ms programming pulse and checking that the data can be read until it can be read OK. Record the accumulated number of pulse applied (X) before the data can be read OK, and then write the data again, applying a further once this number of pulses (0.2 X ms). When this series of programming operations is complete, increment the address, and continue to repeat the procedure above until the last address has been reached. Finally, when all addresses have been programmed, read with V V
PP = 5 V (or VCC = VPP = 5.5 V).
Table 3. I/O signal in each mode
__CE__OE___
Pin
Mode
Read-out Output Disable Programming Programming Verify Program Disable
VIL VIL
VIH
VIL VIL
VIH
Note 1 : An X indicates either V
16. Apply a 0.2 ms programming
PGM VPP VCC Data I/O
VIL
X
5 V
5 V
VIH
X
5 V
5 V
X
X
5 V
5 V
VIH
VIL
12.5 V
6 V
VIL
VIH
12.5 V
6 V
VIH
VIH
12.5 V
6 V
IL or VIH.
CC =
Output Floating Floating
Input
Output Floating
Programming operation (equivalent to the M5M27C101K)
AC ELECTRICAL CHARACTERISTICS (Ta = 25 ± 5 °C, VCC = 6 V ± 0.25 V, VPP = 12.5 ± 0.3 V, unless otherwise noted)
Symbol Parameter Test conditions
tAS tOES tDS tAH tDH tDFP tVCS tVPS tPW tOPW tCES tOE
Address setup time
__
OE setup time
Data setup time Address hold time Data hold time Output enable to output float delay VCC setup time VPP setup time
___
PGM pulse width
___
PGM over program pulse width
__
CE setup time
Data valid from OE
__
Min.
0.19
0.19
Limits
Typ. 2 2 2 0 2 0 2 2
0.2
2
Max.
130
0.21
5.25
150
Unit
µs µs µs µs µs
ns
µs µs
ms ms
µs ns
10
MITSUBISHI MICROCOMPUTERS
M37735EHLXXXHP
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
AC waveforms
V
VIH/VOH
VIL/VOL
VPP
VCC
VCC +1
V
VIH
VIH
VIH
IH
VIL
CC
VIL
VIL
VIL
ADDRESS
DATA
PP
V
VCC
CE
PGM
OE
PROGRAM VERIFY
tAS
DATA SET
tDH tDS
tVPS
tVCS
tCES
tOES tOE
tPW
tOPW
PROM VERSION OF M37735MHLXXXHP
tAH
DATA OUTPUT VALID
tDFP
Programming algorithm flow chart
INCREMENT ADDR
START
ADDR=FIRST LOCATION
V
CC
PP
=12.5 V
V
X=0
PROGRAM ONE PULSE OF 0.2 ms
X=X+1
X=25?
NO
FAIL
VERIFY
BYTE
PROGRAM PULSE OF
0.2X ms DURATION
NO
LAST ADDR?
V
CC=VPP
VERIFY
ALL BYTE
DEVICE PASSED
Test conditions for A.C. characteristics
Input voltage : V
IL = 0.45 V, VIH = 2.4 V
Input rise and fall times (10 % – 90 %) : 20 ns Reference voltage at timing measurement : Input, Output “L” = 0.8 V, “H” = 2 V
=6.0 V
YES
PASS
=*5.0 V
PASS
YES
FAIL
VERIFY
BYTE
DEVICE
FAILED
PASS
FAIL
*4.5 V V
DEVICE FAILED
CC = VPP ≤ 5.5 V
11
Loading...
+ 23 hidden pages