Renergy
电测
SOC
芯片
RN721x
RN721X
用户手册
Data: 2014-02-17
Rev: 1.0
深圳市锐½微科技有限公司
Renergy
版本说明:
1.0
版本:2014-2-17 创建
电测
SOC
芯片
RN721X
深圳市锐½微科技有限公司
page 2 of 124
Rev 1.0
Renergy
电测
SOC
芯片
RN721X
目½
1
1.1
1.2
概述
................................................................................................................................................................... 6
简介
................................................................................................................................................................... 6
产品特点
........................................................................................................................................................... 6
1.2.1
基本特点
........................................................................................................................................... 6
1.2.2
处理器相关
....................................................................................................................................... 6
1.2.3
测量和计量
....................................................................................................................................... 6
1.2.4
LCD ................................................................................................................................................... 7
1.2.5
定时器
............................................................................................................................................... 7
1.2.6
SAR ADC .......................................................................................................................................... 7
1.2.7
RTC ................................................................................................................................................... 7
1.2.8
其他外设
........................................................................................................................................... 7
1.2.9
RN721x
型号
.................................................................................................................................... 7
系统框图
........................................................................................................................................................... 9
管脚排列
........................................................................................................................................................... 9
电气特性
......................................................................................................................................................... 14
系统控制
......................................................................................................................................................... 16
3.1
3.2
3.3
3.4
3.5
3.6
4
4.1
4.2
4.3
电源管理
......................................................................................................................................................... 16
时钟源
............................................................................................................................................................. 16
时钟切换
......................................................................................................................................................... 17
S
OC
的½功耗模式
......................................................................................................................................... 17
复½
................................................................................................................................................................. 18
相关寄存器
..................................................................................................................................................... 18
CPU
系统
....................................................................................................................................................... 27
概述
................................................................................................................................................................. 27
C
ORTEX
-M0
处理器
........................................................................................................................................ 28
存储映射
......................................................................................................................................................... 29
4.3.1
存储重映射
..................................................................................................................................... 29
4.3.2
Bitband ............................................................................................................................................ 30
4.3.3
SRAM ............................................................................................................................................. 30
4.3.4
EEPROM......................................................................................................................................... 30
4.3.5
FLASH ............................................................................................................................................ 30
中断分配
......................................................................................................................................................... 31
DMA ............................................................................................................................................................... 32
4.5.1
概述
................................................................................................................................................. 32
4.5.2
DMA
通道分配
.............................................................................................................................. 32
寄存器说明
..................................................................................................................................................... 33
计量
................................................................................................................................................................. 35
5.1
主要特点
......................................................................................................................................................... 35
page 3 of 124
Rev 1.0
1.3
1.4
2
3
4.4
4.5
4.6
5
深圳市锐½微科技有限公司
Renergy
5.2
6
6.1
6.2
6.3
7
7.1
7.2
7.3
8
8.1
电测
SOC
芯片
RN721X
寄存器列表
..................................................................................................................................................... 36
RTC ................................................................................................................................................................ 46
概述
................................................................................................................................................................. 46
特点
................................................................................................................................................................. 46
寄存器
............................................................................................................................................................. 46
WDT ............................................................................................................................................................... 53
概述
................................................................................................................................................................. 53
看门狗定时器的配½
..................................................................................................................................... 53
寄存器说明
..................................................................................................................................................... 54
LCD ................................................................................................................................................................ 54
概述
................................................................................................................................................................. 54
8.1.1
扫描时钟频率
................................................................................................................................. 55
8.1.2
闪烁模式
......................................................................................................................................... 55
8.1.3
LCD
驱动波½
................................................................................................................................ 56
8.1.4
LCD
偏½电压
................................................................................................................................ 61
8.1.5
LCD
帧缓冲映射
............................................................................................................................ 61
寄存器
............................................................................................................................................................. 62
定时器
............................................................................................................................................................. 64
8.2
9
9.1
9.2
9.3
概述
................................................................................................................................................................. 65
寄存器描述
..................................................................................................................................................... 66
典型应用
......................................................................................................................................................... 70
9.3.1
自动运行模式,定时功½
............................................................................................................. 70
9.3.2
输入捕获模式,脉½测量功½
..................................................................................................... 71
9.3.3
比较输出模式,方波输出功½
..................................................................................................... 71
9.3.4
比较输出模式,PWM 输出功½
.................................................................................................. 72
9.3.5
从模式,外部清零功½
................................................................................................................. 73
模拟外设
......................................................................................................................................................... 74
10
10.1
10.2
11
11.1
11.2
11.3
11.4
11.5
11.6
11.7
12
12.1
特点
......................................................................................................................................................... 74
寄存器
..................................................................................................................................................... 74
GPIO .............................................................................................................................................................. 78
概述
................................................................................................................................................................. 78
PA
口
............................................................................................................................................................... 79
PB
口
............................................................................................................................................................... 84
PC
口
............................................................................................................................................................... 86
COM
端口
....................................................................................................................................................... 88
SEGCOM
端口
............................................................................................................................................... 88
½½及清零寄存器
......................................................................................................................................... 88
外部中断控制器
............................................................................................................................................. 89
概述
......................................................................................................................................................... 89
page 4 of 124
Rev 1.0
深圳市锐½微科技有限公司
Renergy
12.2
13
13.1
13.2
14
14.1
14.2
15
15.1
15.2
16
16.1
16.2
17
17.1
17.2
17.3
18
18.1
18.2
18.3
19
19.1
19.2
19.3
电测
SOC
芯片
RN721X
寄存器描述
............................................................................................................................................. 89
KBI ................................................................................................................................................................. 91
特性
......................................................................................................................................................... 91
寄存器说明
............................................................................................................................................. 91
UART ............................................................................................................................................................. 92
概述
......................................................................................................................................................... 92
寄存器
..................................................................................................................................................... 92
ISO7816 .......................................................................................................................................................... 95
概述
......................................................................................................................................................... 95
寄存器
..................................................................................................................................................... 95
IIC
接口
........................................................................................................................................................ 103
概述
....................................................................................................................................................... 104
寄存器
................................................................................................................................................... 104
SPI
接口
....................................................................................................................................................... 106
概述
....................................................................................................................................................... 106
功½描述
............................................................................................................................................... 107
寄存器
................................................................................................................................................... 108
选项字节
....................................................................................................................................................... 110
芯片保护设½
....................................................................................................................................... 110
WDT
设½
..................................................................................................................................................... 111
RTC
设½
...................................................................................................................................................... 111
编程支持
....................................................................................................................................................... 112
概述
....................................................................................................................................................... 112
F
LASH
/EEPROM
保护机制
.......................................................................................................................... 112
在系统编程(ISP)
............................................................................................................................. 113
19.3.1 ISP
通讯协议
................................................................................................................................ 113
19.3.2
½用的
SoC
资源
.......................................................................................................................... 114
19.3.3 ISP
½令
........................................................................................................................................ 114
19.3.4 ISP
返回代码
................................................................................................................................ 119
在应用编程(IAP)
............................................................................................................................ 120
19.4.1 IAP
½令
....................................................................................................................................... 121
19.4.2 IAP
½用
....................................................................................................................................... 121
量产平台
............................................................................................................................................... 121
封装尺寸
....................................................................................................................................................... 122
19.4
19.5
20
深圳市锐½微科技有限公司
page 5 of 124
Rev 1.0
评论