single-chip microprocessor. MA803AE2 Datasheet

MA803AE2 microprocessor. Datasheet pdf. Equivalent

MA803AE2 Datasheet
Recommendation MA803AE2 Datasheet
Part MA803AE2
Description single-chip microprocessor
Feature MA803AE2; MEGAWIN MAKE YOU WIN MA803 1.04 MA803 This document information is the intellectual property of .
Manufacture Megawin
Datasheet
Download MA803AE2 Datasheet




Megawin MA803AE2
MEGAWIN
MAKE YOU WIN
MA803
数据手册
版本 1.04
MA803
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
1/75



Megawin MA803AE2
MEGAWIN
MAKE YOU WIN
MA803
目录
1. 概述 ..............................................................................................................5
2. 功能 ..............................................................................................................6
3. 引脚 ..............................................................................................................7
3.1. 封装 .......................................................................................................................................7
3.2. 引脚定义 ................................................................................................................................8
4. 方框图...........................................................................................................9
5. 特殊功能寄存器 SFR ..................................................................................10
5.1. SFR 映射表.........................................................................................................................10
5.2. SFR 位分配.........................................................................................................................11
6. 8051 CPU 功能描述...................................................................................13
6.1. CPU 寄存器 ........................................................................................................................13
6.2. CPU 时序............................................................................................................................14
6.3. CPU 寻址方式.....................................................................................................................14
7. 存储器结构..................................................................................................15
7.1. 片上程序存储器 ...................................................................................................................16
7.2. 片上数据存储器 RAM .........................................................................................................16
7.3. 关于 C51 编译器的声明识别符 ............................................................................................18
8. 双数据指针寄存器 (DPTR) .........................................................................19
9. I/O 结构......................................................................................................20
9.1. IO 配置................................................................................................................................20
9.1.1. 准双向口........................................................................................................................20
9.1.2. 推挽输出........................................................................................................................20
9.1.3. 仅输入(高阻输入) ..........................................................................................................21
9.1.4. 开漏集输出 ....................................................................................................................21
9.2. I/O 端口寄存器....................................................................................................................22
9.2.1. 端口 1 ...........................................................................................................................23
9.2.2. 端口 2 ...........................................................................................................................23
9.2.3. 端口 3 ...........................................................................................................................23
10. 中断 ............................................................................................................25
10.1.中断结构 ..............................................................................................................................25
10.2.中断寄存器 ..........................................................................................................................26
11. 定时器/计数器 .............................................................................................29
11.1.定时器 0 和定时器 1............................................................................................................29
11.1.1. 模式 0 ...........................................................................................................................29
11.1.2. 模式 1............................................................................................................................30
11.1.3. 模式 2............................................................................................................................30
11.1.4. 模式 3............................................................................................................................31
11.1.5. 定时器 0/1 寄存器..........................................................................................................32
12. 串行口 (UART)...........................................................................................34
12.1.帧错误检测 ..........................................................................................................................34
12.2. 多处理器通讯 .......................................................................................................................35
12.3. 自动地址识别 .......................................................................................................................35
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
2/75



Megawin MA803AE2
MEGAWIN
MAKE YOU WIN
MA803
12.4.串口寄存器 ..........................................................................................................................37
13. 可编程计数器阵列(PCA) .............................................................................40
13.1.PCA 概述 ............................................................................................................................40
13.2.PCA 定时/计数器 .................................................................................................................40
13.3. 比较/捕获模块......................................................................................................................42
13.4.PCA 模式设置......................................................................................................................42
13.4.1. 捕获模式........................................................................................................................43
13.4.2. 16 位软件定时器模式 .....................................................................................................43
13.4.3. 高速输出模式.................................................................................................................44
13.4.4. PWM 模式.....................................................................................................................44
14. 串行外设接口(SPI)......................................................................................46
14.1.典型 SPI 配置 ....................................................................................................................48
14.1.1. 单主机和单从机.............................................................................................................48
14.1.2. 双驱动器,可以是主机或从机..........................................................................................48
14.1.3. 单主机和多从机.............................................................................................................49
14.2.SPI 配置 .............................................................................................................................50
14.3. 从机注意事项.......................................................................................................................50
14.4. 主机注意事项.......................................................................................................................50
14.5./SS 引脚的模式改变 ............................................................................................................51
14.6.数据冲突 ..............................................................................................................................51
14.7.SPI 时钟频率选择 ...............................................................................................................51
14.8.数据模式 ..............................................................................................................................52
15. 模数(A/D)转换器.....................................................................................54
15.1.ADC 控制寄存器 .................................................................................................................54
15.2.ADC 操作............................................................................................................................55
15.3.ADC 注意事项 ....................................................................................................................56
15.3.1. A/D 转换时间 ................................................................................................................56
15.3.2. I/O 口用于 ADC 转换....................................................................................................56
15.3.3. 待机和掉电模式.............................................................................................................56
15.3.4. VDD 供电要求...............................................................................................................56
16. 看门狗 (WDT) ............................................................................................57
16.1.看门狗结构 ..........................................................................................................................57
16.2. 看门狗寄存器 .......................................................................................................................57
17. 电源控制 .....................................................................................................58
17.1.节能模式 ..............................................................................................................................58
17.1.1. 空闲模式(Idle...........................................................................................................58
17.1.2. 掉电模式(Power-down) .................................................................................................58
17.1.3. 中断唤醒........................................................................................................................58
17.1.4. 复位唤醒........................................................................................................................58
17.2.电源控制寄存器 ...................................................................................................................59
18. 在系统编程 (ISP)........................................................................................60
19. 在应用程序编程 (IAP) ................................................................................62
20. 辅助特殊功能寄存器 SFR ...........................................................................63
21. 指令集.........................................................................................................64
22. 最大绝对额定参数.......................................................................................68
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
3/75







@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)