电子工程世界电子工程世界电子工程世界

关键词

搜索

型号

搜索
 

M38227E9-GP

器件型号:M38227E9-GP
厂商名称:Mitsubishi(日本三菱)
厂商官网:http://www.mitsubishielectric.com/semiconductors/
下载文档

器件描述

SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER

文档预览

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
WINCE下的关机,休眠和唤醒
各位英雄: 我的平台是PXA270+WINCE5.0,核心电源芯片是LP3971SQ,外设包括USB,SDRAM,SD卡,百兆网络,音频等,有几个关于电源管理的问题想请教: 1、如果想实现软关机,就像普通PC上的开始菜单里的关机按钮,能不能在WINCE系统的开始菜单里增加关机选项?因为目前的选项只有挂起。 2、硬件外接电源(比如220V输入,中间经过变压)时,如果需要实现软关机功能,且电源没有拔掉,这样也能关机吗?实现过程是? 3、系统休眠时,我们需要做的工作包括电源管理...
huh1012 WindowsCE
STM32MP157A-DK1测评+GO语言web服务(5)
现在很多带网口的嵌入设备提供有web方式的配置工具。由于最近在了解GO语言,有资料说GO语言的跨平台特性非常的好,性能也十分的优秀。于是就想试着在开发板上看看不能否运行GO的程序。 本测试使用的是golang1.13.5版本,资料上说只有1.5版以上的GO才支持交叉编译。这一点需要注意 packagemain import( "fmt" "net/http" ) funchandler(whttp.ResponseWriter,r*...
bigbat stm32/stm8
12864
求一个fm12864串行读程序或者打点画圆程序12864...
pforehome 单片机
infineon c167 下载到外部flash 在系统编程软件
有没有谁会做或者有infineonc167下载到外部flash的在系统编程软件 我想购买 我QQ:41051837 infineonc167下载到外部flash在系统编程软件...
zhouzhaofu 嵌入式系统
学习STM32,必学滴答定时器
一个正常运行的电路系统需要一个时基,这个时基就好似人的心脏。在STM32系统中,充当这个时基的东东,我们称之为“系统滴答定时器”,英文名为SystickTime. 我们在51系列芯片的编程中,通常会用到延时函数,当时我们是用死循环来达到这个效果的,在STM32电路系统里面,我们就可以用SystickTime这个模块达到更胜一筹,精确延时的目的。这个模块即使在系统睡眠的时候也是工作的,这样可以用之做一个系统闹钟或者是实现待机唤醒这个功能。 那么如何使用这个模块呢?下面这个文档进行了,详细...
ANTELETRON ARM技术
如何选择显示检波器
之所以介绍频谱仪的显示检波器,是因为在宽带信号功率测试、功率谱密度测试及相噪测试等应用中,对显示检波器的选择有一定的要求。如果选择的检波器不合适,那么将无法准确完成测试。本文的目的也是想让初学者对这一块内容有更多的认识,从而能够根据所测参数选择合适的检波器。 何为显示检波器(detector)?为什么需要显示检波器? 由名称可以看出,显示检波器是与结果的显示相关的,它决定了频谱仪如何显示测试结果。初学者很容易混淆包络检波器和显示检波器,二者其实是完全不同的,在图1所示的传统频谱仪架构...
btty038 RF/无线

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 大学堂 TI培训 Datasheet 电子工程

器件索引   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

北京市海淀区知春路23号集成电路设计园量子银座1305 电话:(010)82350740 邮编:100191

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2022 EEWORLD.com.cn, Inc. All rights reserved