MITSUBISHI MICROCOMPUTERS
7542 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Table 1 Pin description
Pin
Vcc, Vss
Name
Function
Function expect a port function
Power source
(Note 1)
•Apply voltage of 2.2 to 5.5 V to Vcc, and 0 V to Vss.
VREF
Analog refer- •Reference voltage input pin for A-D converter.
ence voltage
CNVss
RESET
XIN
CNVss
•Chip operating mode control pin, which is always connected to Vss.
Reset input
Clock input
•Reset input pin for active “L”
•Input and output pins for main clock generating circuit.
•Connect a ceramic resonator or quartz crystal oscillator between the XIN and XOUT pins.
For using RC oscillator, short between the XIN and XOUT pins, and connect the capacitor and resistor.
•If an external clock is used, connect the clock source to the XIN pin and leave the XOUT pin open.
•
XOUT
Clock output
•
When the ring oscillator is selected as the main clock, connect XIN pin to VCC and leave XOUT open.
• Key-input
(key-on
•8-bit I/O port.
P00(LED00)/CAP0 I/O port P0
P01(LED01)/CMP0
P02(LED02)/CMP1
P03(LED03)/TXOUT
P04(LED04)/RxD2
• Capture function pin
• Compare function pin
•I/O direction register allows each pin to be individually pro-
grammed as either input or output.
•CMOS compatible input level
•CMOS 3-state output structure
•Whether a built-in pull-up resistor is to be used or not can be
determined by program.
wake up
interrupt
input) pin
• Timer X function pin
• Serial I/O2 function pin
P05(LED05)/TxD2
P06(LED06)/SCLK2
P07(LED07)/SRDY2
•
High drive capacity for LED drive port can be selected by program.
•5-bit I/O port
P10/RxD1/CAP0
I/O port P1
• Serial I/O1 function pin
• Capture function pin
• Serial I/O1 function pin
•I/O direction register allows each pin to be individually pro-
grammed as either input or output.
P11/TxD1
•CMOS compatible input level
P12/SCLK1
P13/SRDY1
P14/CNTR0
•CMOS 3-state output structure
•CMOS/TTL level can be switched for P10, P12 and P13
•8-bit I/O port having almost the same function as P0
•CMOS compatible input level
• Timer X function pin
P20/AN0–P27/AN7 I/O port P2
• Input pins for A-D converter
(Note 2)
•CMOS 3-state output structure
•8-bit I/O port
P30(LED10)/CAP1 I/O port P3
P31(LED11)/CMP2 (Note 3)
P32(LED12)/CMP3
P33(LED13)/INT1
• Capture function pin
• Compare function pin
•I/O direction register allows each pin to be individually pro-
grammed as either input or output.
•CMOS compatible input level (CMOS/TTL level can be
switched for P36 and P37).
• Interrupt input pin
• Interrupt input pin
P34(LED14)
•CMOS 3-state output structure
P35(LED15)
•Whether a built-in pull-up resistor is to be used or not can be
determined by program.
P36(LED16)/INT1
P37(LED17)/INT0
•
High drive capacity for LED drive port can be selected by program.
Notes 1: VCC = 2.4 to 5.5 V for the extended operating temperature version and the extended operating temperature 125 °C version.
2: P26/AN6 and P27/AN7 do not exist for the 32-pin version, so that Port P2 is a 6-bit I/O port.
3: P35 and P36/INT1 do not exist for the 32-pin version, so that Port P3 is a 6-bit I/O port.
7