首页 > 器件类别 >

M38223EBHHP

SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER

厂商名称:Mitsubishi(日本三菱)

厂商官网:http://www.mitsubishielectric.com/semiconductors/

下载文档
文档预览
MITSUBISHI MICROCOMPUTERS
3822 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
DESCRIPTION
The 3822 group is the 8-bit microcomputer based on the 740 fam-
ily core technology.
The 3822 group has the LCD drive control circuit, an 8-channel
A-D converter, and a serial I/O as additional functions.
The various microcomputers in the 3822 group include variations
of internal memory size and packaging. For details, refer to the
section on part numbering.
For details on availability of microcomputers in the 3822 group, re-
fer to the section on group expansion.
FEATURES
qBasic
machine-language instructions ...................................... 71
qThe
minimum instruction execution time ........................... 0.5 µs
(at 8 MHz oscillation frequency)
qMemory
size
ROM ................................................................. 4 K to 48 K bytes
RAM ................................................................. 192 to 1024 bytes
qProgrammable
input/output ports ............................................ 49
qSoftware
pull-up/pull-down resistors (Ports P0-P7 except port P4
0
)
qInterrupts
................................................. 17 sources, 16 vectors
(includes key input interrupt)
qTimers
........................................................... 8-bit
3, 16-bit
2
qSerial
I/O ...................... 8-bit
1 (UART or Clock-synchronized)
qA-D
converter ................................................. 8-bit
8 channels
qLCD
drive control circuit
Bias ................................................................................... 1/2, 1/3
Duty ........................................................................... 1/2, 1/3, 1/4
Common output .......................................................................... 4
Segment output ........................................................................ 32
q2
clock generating circuits
(connect to external ceramic resonator or quartz-crystal oscillator)
qPower
source voltage
In high-speed mode .................................................. 4.0 to 5.5 V
In middle-speed mode ............................................... 2.5 to 5.5 V
(Extended operating temperature version:
2.0 to 5.5 V, Ta= – 20 to 85°C
3.0 to 5.5 V, Ta= – 40 to – 20°C)
(One time PROM version: 2.5 to 5.5 V)
(M version: 2.2 to 5.5 V)
(H version: 2.0 to 5.5 V)
In low-speed mode .................................................... 2.5 to 5.5 V
(Extended operating temperature version:
2.0 to 5.5 V, Ta= – 20 to 85°C
3.0 to 5.5 V, Ta= – 40 to – 20°C)
(One time PROM version: 2.5 to 5.5 V)
(M version: 2.2 to 5.5 V)
(H version: 2.0 to 5.5 V)
qPower
dissipation
In high-speed mode .......................................................... 32 mW
(at 8 MHz oscillation frequency, at 5 V power source voltage)
In low-speed mode ............................................................ 45
µW
(at 32 kHz oscillation frequency, at 3 V power source voltage)
qOperating
temperature range................................... – 20 to 85°C
(Extended operating temperature version: – 40 to 85 °C)
APPLICATIONS
Camera, household appliances, consumer electronics, etc.
PIN CONFIGURATION (TOP VIEW)
SEG
8
SEG
9
SEG
10
SEG
11
P3
4
/SEG
12
P3
5
/SEG
13
P3
6
/SEG
14
P3
7
/SEG
15
P0
0
/SEG
16
P0
1
/SEG
17
P0
2
/SEG
18
P0
3
/SEG
19
P0
4
/SEG
20
P0
5
/SEG
21
P0
6
/SEG
22
P0
7
/SEG
23
P1
0
/SEG
24
P1
1
/SEG
25
P1
2
/SEG
26
P1
3
/SEG
27
P1
4
/SEG
28
P1
5
/SEG
29
P1
6
/SEG
30
P1
7
/SEG
31
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41
SEG
7
SEG
6
SEG
5
SEG
4
SEG
3
SEG
2
SEG
1
SEG
0
V
CC
V
REF
AV
SS
COM
3
COM
2
COM
1
COM
0
VL
3
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
40
39
38
37
36
35
34
M38224M6HXXXFP
33
32
31
30
29
28
27
26
25
P2
0
P2
1
P2
2
P2
3
P2
4
P2
5
P2
6
P2
7
V
SS
X
OUT
X
IN
P7
0
/X
COUT
P7
1
/X
CIN
RESET
P4
0
P4
1
Package type : 80P6N-A (80-pin plastic-molded QFP)
Fig. 1 M38224M6HXXXFP pin configuration
(The pin configuration of 80D0 is same as this.)
VL
2
VL
1
P6
7
/AN
7
P6
6
/AN
6
P6
5
/AN
5
P6
4
/AN
4
P6
3
/AN
3
P6
2
/AN
2
P6
1
/AN
1
P6
0
/AN
0
P5
7
/ADT
P5
6
/T
OUT
P5
5
/CNTR
1
P5
4
/CNTR
0
P5
3
/RTP
1
P5
2
/RTP
0
P5
1
/INT
3
P5
0
/INT
2
P4
7
/S
RDY
P4
6
/S
CLK
P4
5
/T
X
D
P4
4
/R
X
D
P4
3
/INT
1
P4
2
/INT
0
MITSUBISHI MICROCOMPUTERS
3822 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN CONFIGURATION (TOP VIEW)
SEG
10
SEG
11
P3
4
/SEG
12
P3
5
/SEG
13
P3
6
/SEG
14
P3
7
/SEG
15
P0
0
/SEG
16
P0
1
/SEG
17
P0
2
/SEG
18
P0
3
/SEG
19
P0
4
/SEG
20
P0
5
/SEG
21
P0
6
/SEG
22
P0
7
/SEG
23
P1
0
/SEG
24
P1
1
/SEG
25
P1
2
/SEG
26
P1
3
/SEG
27
P1
4
/SEG
28
P1
5
/SEG
29
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
SEG
9
SEG
8
SEG
7
SEG
6
SEG
5
SEG
4
SEG
3
SEG
2
SEG
1
SEG
0
V
CC
V
REF
AV
SS
COM
3
COM
2
COM
1
COM
0
V
L3
V
L2
V
L1
M38223M4MXXXGP
M38224M6HXXXHP
32
31
30
29
28
27
26
25
24
23
22
21
P1
6
/SEG
30
P1
7
/SEG
31
P2
0
P2
1
P2
2
P2
3
P2
4
P2
5
P2
6
P2
7
V
SS
X
OUT
X
IN
P7
0
/X
COUT
P7
1
/X
CIN
RESET
P4
0
P4
1
P4
2
/INT
0
P4
3
/INT
1
Package type : 80P6S-A/80P6Q-A
(80-pin plastic-molded QFP)
Fig. 2 M38223M4MXXXGP/M38224M6HXXXHP pin configuration
2
P6
7
/AN
7
P6
6
/AN
6
P6
5
/AN
5
P6
4
/AN
4
P6
3
/AN
3
P6
2
/AN
2
P6
1
/AN
1
P6
0
/AN
0
P5
7
/ADT
P5
6
/T
OUT
P5
5
/CNTR
1
P5
4
/CNTR
0
P5
3
/RTP
1
P5
2
/RTP
0
P5
1
/INT
3
P5
0
/INT
2
P4
7
/S
RDY
P4
6
/S
CLK
P4
5
/T
X
D
P4
4
/R
X
D
19
20
10
11
12
13
14
15
16
17
18
2
3
4
1
5
6
7
8
9
FUNCTIONAL BLOCK DIAGRAM (Package type : 80P6Q-A)
Main Clock Main Clock
Output X
OUT
Input X
IN
(0V)
V
SS
30
25
71
Reset Input
RESET
(5V)
V
CC
X
COUT
RTP
0
,RTP
1
P5(8)
P4(8)
X
CIN
Real time port function
φ
ADT
INT
2
,INT
3
INT
0
,INT
1
26 27
1
2
3 4
5
6
7
8
72 73
9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24
55 56 57 58
Key on wake up
Fig. 3 Functional block diagram
Data bus
C P U
A
ROM
X
Y
S
PC
H
PC
L
Timer X(16)
Timer Y(16)
Timer 1(8)
Timer 3(8)
Timer 2(8)
PS
LCD display
RAM
(16 bytes)
RAM
80
79
78
77
28
29
Clock generating
circuit
V
L 1
V
L 2
V
L 3
76
X
CIN
X
COUT
φ
Sub-Clock Sub-Clock
Input
Output
LCD
drive control
circuit
COM
0
COM
1
75
COM
2
74
COM
3
70
69
68
67
66
65
64
63
62
61
60
59
SEG
0
SEG
1
SEG
2
SEG
3
SEG
4
SEG
5
SEG
6
SEG
7
SEG
8
SEG
9
SEG
10
SEG
11
A-D
converter(8)
SI/O(8)
T
OUT
CNTR
0
,CNTR
1
P7(2)
P6(8)
P3(4)
P2(8)
P1(8)
P0(8)
31 32 33 34 35 36 37 38
39 40 41 42 43 44 45 46
47 48 49 50 51 52 53 54
I/O Port P7
I/O Port P6
I/O Port P5
V
REF
AV
SS
(0V)
I/O Port P4
Input Port P3
I/O Port P2
I/O Port P1
I/O Port P0
MITSUBISHI MICROCOMPUTERS
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
3822 Group
3
MITSUBISHI MICROCOMPUTERS
3822 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Table 1 Pin description (1)
Pin
V
CC
, V
SS
V
REF
AV
SS
Name
Power source
Analog refer-
ence voltage
Analog power
source
Reset input
Clock input
Clock output
Function
Function except a port function
•Apply voltage of power source to V
CC
, and 0 V to V
SS
. (For the limits of V
CC
, refer to “Recom-
mended operating conditions”).
•Reference voltage input pin for A-D converter.
•GND input pin for A-D converter.
•Connect to V
SS
.
•Reset input pin for active “L”.
•Input and output pins for the main clock generating circuit.
•Feedback resistor is built in between X
IN
pin and X
OUT
pin.
•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.
•This clock is used as the oscillating source of system clock.
•Input 0
V
L1
V
L2
V
L3
V
CC
voltage.
•Input 0 – V
L3
voltage to LCD.
•LCD common output pins.
•COM
2
and COM
3
are not used at 1/2 duty ratio.
•COM
3
is not used at 1/3 duty ratio.
RESET
X
IN
X
OUT
V
L1
–V
L3
COM
0
–COM
3
LCD power
source
Common output
SEG
0
–SEG
11
P0
0
/SEG
16
P0
7
/SEG
23
Segment output
I/O port P0
•LCD segment output pins.
•8-bit output port.
•CMOS compatible input level.
•CMOS 3-state output structure.
•LCD segment output pins
P1
0
/SEG
24
P1
7
/SEG
31
P2
0
– P2
7
I/O port P1
•I/O direction register allows each port to be individually
programmed as either input or output.
•Pull-down control is enabled.
•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.
•Key input (key-on wake-up) interrupt
input pins
I/O port P2
P3
4
/SEG
12
P3
7
/SEG
15
Input port P3
•Pull-up control is enabled.
•4-bit input port.
•CMOS compatible input level.
•Pull-down control is enabled.
•LCD segment output pins
4
MITSUBISHI MICROCOMPUTERS
3822 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Table 2 Pin description (2)
Pin
P4
0
P4
1
P4
2
/INT
0
,
P4
3
/INT
1
P4
4
/R
X
D,
P4
5
/T
X
D,
P4
6
/S
CLK
,
P4
7
/S
RDY
P5
0
/INT
2
,
P5
1
/INT
3
P5
2
/RTP
0
,
P5
3
/RTP
1
P5
4
/CNTR
0
,
P5
5
/CNTR
1
P5
6
/T
OUT
P5
7
/ADT
P6
0
/AN
0
P6
7
/AN
7
I/O port P6
•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.
•Pull-up control is enabled.
P7
0
/X
COUT,
P7
1
/X
CIN
I/O port P7
•2-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.
•Pull-up control is enabled.
•Sub-clock generating circuit I/O pins.
(Connect a resonator. External clock
cannot be used.)
Name
Input port P4
I/O port P4
Function
•1-bit Input port.
•CMOS compatible input level.
•7-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.
•Pull-up control is enabled.
I/O port P5
•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.
•Pull-up control is enabled.
•φ clock output pin
•Interrupt input pins
•Serial I/O function pins
Function except a port function
•Interrupt input pins
•Real time port function pins
•Timer X, Y function pins
•Timer 2 output pins
•A-D trigger input pins
•A-D conversion input pins
5
查看更多>
光电技术OLED篇:OLED是什么及相关简介
  光电技术OLED篇: OLED是什么 及相关简介   引言   随着科技的发展,不仅仅是...
sairvee 电源技术
32位MCU全攻略-上册
32位MCU全攻略-上册 32位MCU全攻略-上册 ...
jerk stm32/stm8
基于LabVIEW图形界面的TI LM3S8962的开发--第一步
第一步,前言!~第一次写开发文档,如果有写的不好的地方请大家多多见谅,趁这两天有时间,多写点,周一开...
wanghongyang 微控制器 MCU
STM32硬件MISO和MOSI是否可以直接连在一起???
在用到硬件SPI时,如果采用的是标准的SPI芯片,通常该芯片会预留4个通讯口CS\...
DavidZH stm32/stm8
利用AD5546AD5556 DAC实现精密、单极性、同相配置(CN0023)
本帖最后由 雨中 于 2014-9-30 15:32 编辑 利用AD5546AD5556 ...
雨中 ADI参考电路
时序图上上下都有横线是什么意思呢?(SPI菊链)
芯片数据手册上,SPI通信时序图上面两边都有这样的横线是什么意思呢?(上面的是不使用菊链的时序...
scake stm32/stm8
热门器件
热门资源推荐
器件捷径:
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AR AS AT AU AV AW AX AY AZ B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF BG BH BI BJ BK BL BM BN BO BP BQ BR BS BT BU BV BW BX BY BZ C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF CG CH CI CJ CK CL CM CN CO CP CQ CR CS CT CU CV CW CX CY CZ D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF DG DH DI DJ DK DL DM DN DO DP DQ DR DS DT DU DV DW DX DZ
需要登录后才可以下载。
登录取消