• Apply 4.15 V – 5.25 V for 5 V version or 3.00 V – 3.60 V for 3 V version to the Vcc pin. Apply 0 V to the
Vss pin.
• This controls the MCU operating mode. Connect this pin to Vss. If connecting this pin to Vcc, the
internal ROM is inhibited. In the flash memory version this pin functions as a V
PP
power supply input pin.
• These pins are the power supply inputs for analog circuitry.
• Reset input pin for active “L.”
• Connect a ceramic resonator or a quartz-crystal oscillator between the X
IN
and X
OUT
pins to set the
oscillation frequency.
• If an external clock is used, connect the clock source to the X
IN
pin and leave the X
OUT
pin open.
• Loop filter for the frequency synthesizer.
• Power supply input pin for 3.3 V USB line driver.
• USB D+ voltage signal port. Connect a 27 to 33
Ω
(recommended) resistor in series.
• USB D- voltage signal port. Connect a 27 to 33
Ω
(recommended) resistor in series.
• 8-bit I/O port.
• CMOS compatible input level.
• CMOS 3-state output structure.
• I/O direction register allows each pin to be individually programmed as either input or output.
• When connecting an external memory, these function as the address bus.
• 8-bit I/O port.
• CMOS compatible input level.
• CMOS 3-state output structure.
• I/O direction register allows each pin to be individually programmed as either input or output.
• When connecting an external memory, these function as the address bus.
• 8-bit I/O port.
• CMOS compatible input level or VIHL input level.
• CMOS 3-state output structure.
• I/O direction register allows each pin to be individually
programmed as either input or output.
• When connecting an external memory, these function as
the data bus.
• 8-bit I/O port.
• CMOS compatible input level.
• CMOS 3-state output structure.
• I/O direction register allows each pin to be individually
programmed as either input or output.
• When connecting an external memory, these function as
the control bus.
• 8-bit I/O port.
• CMOS compatible input level.
• CMOS 3-state output structure.
• I/O direction register allows each pin to be individually
programmed as either input or output.
• When connecting an external memory, these function as
the control bus.
• 8-bit I/O port.
• CMOS compatible input level.
• CMOS 3-state output structure.
• I/O direction register allows each pin to be individually
programmed as either input or output.
• When enabling the Master CPU bus interface function,
CMOS or TTL input level can be selected as an input.
• Key-on wake-up interrupt input pin
Function
P1
0
/AB
8
–
P1
7
/AB
15
I/O port P1
P2
0
/DB
0
–
P2
7
/DB
7
I/O port P2
P3
0
/RDY,
I/O port P3
P3
1
, P3
2
,
(See Remarks.)
P3
3
/DMA
OUT
,
P3
4
/φ
OUT
,
P3
5
/SYNC
OUT
,
P3
6
/WR,
P3
7
/RD
P4
0
/EDMA,
I/O port P4
P4
1
/INT
0
,
P4
2
/INT
1
,
P4
3
/CNTR
0
,
P4
4
/CNTR
1
P5
0
/X
CIN
,
P5
1
/T
OUT
/
X
COUT
,
P5
2
/OBF
0
,
P5
3
/IBF
0
,
P5
4
/S
0
,
P5
5
/A
0
,
P5
6
/R(E),
P5
7
/W(R/W)
I/O port P5
• External memory control pin
• External memory control pin
• External interrupt pin
• Timer X, Timer Y pin
• Sub-clock generating input pin
• Timers 1, 2 pulse output pins
• Sub-clock generating output pin
• Master CPU bus interface pin
4
P
.
ion
cat
cifi ct to
e
l sp ubje
s
fina
t a ts are
o
is n limi
his etric
e: T
otic param
N
e
Somnge.
a
ch
REL
IMIN
ARY
MITSUBISHI MICROCOMPUTERS
7641 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Table 2 Pin description (2)
Pin
P6
0
/DQ
0
–
P6
7
/DQ
7
Name
I/O port P6
Function
• 8-bit I/O port.
• CMOS compatible input level.
• CMOS 3-state output structure.
• I/O direction register allows each pin to be individually
programmed as either input or output.
• When enabling the bus interface function, CMOS or TTL
input level can be selected as its input.
• 5-bit I/O port.
• CMOS compatible input level.
• CMOS 3-state output structure.
• I/O direction register allows each pin to be individually
programmed as either input or output.
Function except a port function
• Master CPU bus interface pin
P7
0
/SOF,
P7
1
/HOLD,
P7
2
/S
1
,
P7
3
/IBF
1
/
HLDA,
P7
4
/OBF
1
P8
0
/UTXD
2
/
SRDY,
P8
1
/URXD
2
/
SCLK,
P8
2
/CTS
2
/
SRXD,
P8
3
/RTS
2
/
STXD,
P8
4
/UTXD
1
,
P8
5
/URXD
1
,
P8
6
/CTS
1
,
P8
7
/RTS
1
I/O port P7
• USB function pin
• Master CPU bus interface pin
I/O port P8
• 8-bit I/O port.
• CMOS compatible input level.
• CMOS 3-state output structure.
• I/O direction register allows each pin to be individually pro-
grammed as either input or output.
• Serial I/O pin
• UART2 pin
• UART1 pin
Remarks
•DMA
OUT
pin
If externally detecting the timing of DMA execution, use the signal from this pin. It is “H” level during DMA transferring. This signal is valid in the memory expansion
and microprocessor modes.
•SYNC
OUT
pin
If externally detecting the timing of OP code fetch, use the signal from this pin. This signal is valid in the memory expansion and microprocessor modes.
I recently wrote a C program about electronic clock (I am a beginner). During the debugging process, I found that when adjusting the clock parameters, the digital tube display was a little unstable, s...
Alas, a call from Arrow today made me very sad. I attended a seminar jointly held by TI and Arrow in April, and was told that I could apply for a set of MCU application development boards. I applied f...
The graduation project topic is wireless sensor intelligent node network software development. The teacher asked me to write a routing protocol in STM32. I can't do it at all. He asked me to look at t...
As a wireless broadband metropolitan area network standard, WiMAX technology has greater advantages than previous 3.5GHz MMDS products in terms of non-line-of-sight transmission and spectrum utiliz...[Details]
0 Introduction
With the development of my country's economy, the number of motor vehicles continues to increase. The growth of existing roads and other hardware facilities can no longer meet t...[Details]
At present, the traffic congestion in cities is quite serious. According to relevant news reports: In China, the traffic congestion has expanded from megacities such as Beijing, Shanghai, and Guang...[Details]
LED lamps and bulbs are now rapidly replacing incandescent, halogen and CFL (compact fluorescent lamp) light sources in many general lighting applications. Flyback DC/DC converters are the power su...[Details]
In today's body control module (BCM) designs, savvy engineers are moving away from electromechanical relays whenever possible. Their next step is to eliminate fuses. But is eliminating fuses a nece...[Details]
At present, how various communication technologies will evolve after 3G is a focus of great concern in the industry. Especially for TD-SCDMA, whether it can achieve smooth evolution to the next gen...[Details]
Key Points
1. Now, in addition to high-end smartphones and tablets, users also expect to use touch screens in other applications, and they are gradually appearing in cars and instruments.
...[Details]
In order to prevent the lithium battery from being damaged by abnormal conditions such as overcharge, over discharge, and overcurrent, a lithium battery protection device is usually used to prevent...[Details]
The automotive power electronics market has grown rapidly as comfort and active safety features become more common. As traditional mechanical functions shift to electronic applications, the demand ...[Details]
In the TV monitoring system, in order to complete the collection of information from various information points (video, audio, alarm signal) and the control of various front-end devices (PTZ, lens,...[Details]
UDN2916LB is a two-phase stepper motor bipolar driver integrated circuit launched by SANKEN. It can drive dual-winding bipolar stepper motors and is particularly suitable for controlling dual-step ...[Details]
Today, automakers are integrating more and more complex electronic systems into cars. Allied Business Intelligence predicts that annual sales of the automotive semiconductor market will rise from $...[Details]
As we all know, the manufacturing of modern automobiles is divided into four major processes: stamping, welding, painting and assembly, and the powertrain constitutes five inseparable production pr...[Details]
Li/SOCl2 batteries (lithium sub-cells) have the advantages of high operating voltage, stable discharge voltage, wide operating temperature range and long storage life, and have been widely used in ...[Details]
As a type of iron battery, lithium iron phosphate battery (hereinafter referred to as lithium iron battery) has always been widely concerned by industry friends (some people say that lithium iron b...[Details]