聚点滴之芯.成浩瀚之海
CSU18M91
用户手册
基于
MTP
的带
24Bits ADC
的 8 ½
RISC SOC
REV 1.4
1 / 173
本资料为芯海科技专有财产,非经许可,不得复制、翻印或½变其他½式½用。
CS-QR-YF-054A02
This document is exclusive property of CHIPSEA and shall not be reproduced or copied or transformed to any other format without prior permission
of CHIPSEA
聚点滴之芯.成浩瀚之海
版本历史
历史版本
REV 1.0
REV 1.1
修改内容
初始版本
增加
BIM
章节
增加关于
MDU
的说明,Page97
增加关于
LED
的说明,Page115
增加关于
VS
电容的说明,Page141
刷新格式
修改极限值电压范围,及部分笔误
版本日期
2018-01-15
2018-04-09
REV 1.2
2019-02-27
REV 1.3
REV 1.4
2019-09-09
2019-10-08
2 / 173
本资料为芯海科技专有财产,非经许可,不得复制、翻印或½变其他½式½用。
CS-QR-YF-054A02
This document is exclusive property of CHIPSEA and shall not be reproduced or copied or transformed to any other format without prior permission
of CHIPSEA
聚点滴之芯.成浩瀚之海
目½
版本历史
............................................................................................................................................................... 1
目½
....................................................................................................................................................................... 1
图清单
................................................................................................................................................................... 7
表清单
................................................................................................................................................................... 9
1
产品概述
..................................................................................................................................................... 10
1.1
1.2
1.3
2
功½描述
............................................................................................................................................. 10
主要特性
............................................................................................................................................. 10
芯片
PIN
配½
..................................................................................................................................... 12
标准功½
..................................................................................................................................................... 18
2.1
CPU
核
................................................................................................................................................ 18
2.1.1
存储器
......................................................................................................................................... 19
2.1.2
状态寄存器
................................................................................................................................. 23
2.1.3
数据迁移
..................................................................................................................................... 23
2.2
SFR 24
2.3
时钟系统
............................................................................................................................................. 28
2.3.1
时钟框图
..................................................................................................................................... 28
2.3.2
时钟寄存器
................................................................................................................................. 28
2.3.3
石英/陶瓷晶振
............................................................................................................................ 29
2.3.4
内部高速时钟
............................................................................................................................. 30
2.3.5
内部½速时钟
............................................................................................................................. 30
2.4
复½系统
............................................................................................................................................. 30
2.4.1
外部硬件复½
............................................................................................................................. 31
2.4.2
上电复½
..................................................................................................................................... 32
2.4.3
掉电复½
..................................................................................................................................... 32
2.4.4
½电压复½
................................................................................................................................. 32
2.4.5
看门狗复½
................................................................................................................................. 34
2.4.6
窗看门狗复½
............................................................................................................................. 34
2.4.7
非法指令复½
............................................................................................................................. 34
2.4.8
EMC
复½
................................................................................................................................... 34
2.4.9
寄存器说明
................................................................................................................................. 34
2.4.9.1
RSTSR
寄存器(地址
15h) ............................................................................................. 34
2.5
中断系统
............................................................................................................................................. 35
2.5.1
中断源
......................................................................................................................................... 35
2.5.2
中断寄存器
................................................................................................................................. 38
2.5.3
中断处理
..................................................................................................................................... 45
2.6
PC
跳½
............................................................................................................................................... 45
2.7
定时器
0 .............................................................................................................................................. 46
2.8
I/O PORT ............................................................................................................................................. 48
3 / 173
本资料为芯海科技专有财产,非经许可,不得复制、翻印或½变其他½式½用。
CS-QR-YF-054A02
This document is exclusive property of CHIPSEA and shall not be reproduced or copied or transformed to any other format without prior permission
of CHIPSEA
聚点滴之芯.成浩瀚之海
2.8.1
2.8.2
2.8.3
2.8.4
2.8.5
2.8.6
2.8.7
2.8.8
3
PT1
口
......................................................................................................................................... 49
PT2
口
......................................................................................................................................... 50
PT3
口
......................................................................................................................................... 51
PT4
口
......................................................................................................................................... 53
模拟口
......................................................................................................................................... 54
SEG
口.........................................................................................................................................
55
IO
外部中断控制
....................................................................................................................... 57
其他
............................................................................................................................................. 59
增强功½
..................................................................................................................................................... 60
3.1
H
ALT
和
S
LEEP
模式
........................................................................................................................... 60
3.1.1
Halt
模式
..................................................................................................................................... 60
3.1.2
睡眠模式
..................................................................................................................................... 60
3.2
看门狗(WDT)
..................................................................................................................................... 61
3.3
窗看门狗(WWDT)
........................................................................................................................ 62
3.3.1
WWDT
特性
............................................................................................................................... 62
3.3.2
WWDT
功½描述
....................................................................................................................... 63
3.3.2.1
WWDT
½½
....................................................................................................................... 63
3.3.2.2
WWDT
计时
....................................................................................................................... 63
3.3.2.3
WWDT
配½说明
............................................................................................................... 64
3.3.2.4
½件复½功½
..................................................................................................................... 64
3.3.2.5
WWDT
在
Halt
模式和
SLEEP
模式下的行为
................................................................. 64
3.3.3
寄存器描述
................................................................................................................................. 64
3.4
蜂鸣器
................................................................................................................................................. 65
3.5
定时/计数器
1 ..................................................................................................................................... 66
3.5.1
寄存器说明
................................................................................................................................. 67
3.5.2
定时器
1
½用说明
..................................................................................................................... 68
3.5.3
蜂鸣器
1
½用说明
..................................................................................................................... 68
3.5.4
PWM1
½用说明
......................................................................................................................... 69
3.6
定时/计数器
2 ..................................................................................................................................... 70
3.6.1
寄存器说明
................................................................................................................................. 70
3.6.2
定时器
2
½用说明
..................................................................................................................... 72
3.6.3
蜂鸣器
2
½用说明
..................................................................................................................... 72
3.6.4
PWM2
½用说明
......................................................................................................................... 72
3.7
定时/计数器
3 ..................................................................................................................................... 73
3.7.1
寄存器说明
................................................................................................................................. 74
3.7.2
定时器
3
½用说明
..................................................................................................................... 75
3.7.3
蜂鸣器
3
½用说明
..................................................................................................................... 76
3.7.4
PWM3
½用说明
......................................................................................................................... 76
3.8
串行通信接口
0/1 ............................................................................................................................... 76
3.8.1
波特率配½
................................................................................................................................. 77
3.8.2
发送流程
..................................................................................................................................... 77
3.8.3
接收流程
..................................................................................................................................... 78
3.8.4
寄存器说明
................................................................................................................................. 78
3.9
I2C
从机
.............................................................................................................................................. 82
4 / 173
本资料为芯海科技专有财产,非经许可,不得复制、翻印或½变其他½式½用。
CS-QR-YF-054A02
This document is exclusive property of CHIPSEA and shall not be reproduced or copied or transformed to any other format without prior permission
of CHIPSEA
聚点滴之芯.成浩瀚之海
3.9.1
I2C
数据传输起始和终止条件
.................................................................................................. 83
3.9.2
I2C
总线特性
.............................................................................................................................. 83
3.9.3
7
½地址寻址
.............................................................................................................................. 84
3.9.4
数据传输时序
............................................................................................................................. 85
3.9.5
寄存器说明
................................................................................................................................. 86
3.9.6
I2C
½用说明
.............................................................................................................................. 88
3.10 SPI
通信
.............................................................................................................................................. 91
3.10.1 SPI
连接方式
............................................................................................................................. 92
3.10.2 SPI
时序图
.................................................................................................................................. 92
3.10.3 SPI
寄存器说明
.......................................................................................................................... 94
3.10.4 SPI
操½说明
.............................................................................................................................. 96
3.11 RTC 98
3.11.1
功½描述
..................................................................................................................................... 98
3.11.2
寄存器说明
................................................................................................................................. 99
3.11.3 RTC
的操½步骤
...................................................................................................................... 102
3.12 24
BIT
模数½换器(24
BIT
S
IGMA
D
ELTA
ADC)........................................................................... 102
3.12.1
功½描述
................................................................................................................................... 102
3.12.2
寄存器说明
............................................................................................................................... 104
3.12.3
温度传感器
............................................................................................................................... 109
3.13
人½阻抗测量(BIM)
.................................................................................................................... 109
3.13.1
寄存器说明
............................................................................................................................... 110
3.14 10
BIT
模数½换器(SAR
ADC) ................................................................................................... 112
3.14.1
寄存器说明
............................................................................................................................... 112
3.14.2 10Bit SARADC
的操½步骤
.................................................................................................... 113
3.15 MDU
单元
......................................................................................................................................... 114
3.15.1
功½描述
................................................................................................................................... 114
3.15.2
寄存器说明
............................................................................................................................... 114
3.15.3 MDU
单元操½
......................................................................................................................... 115
3.16 LCD
驱动
.......................................................................................................................................... 116
3.16.1 LCD
时钟
.................................................................................................................................. 117
3.16.2 LCD
控制模式
.......................................................................................................................... 117
3.16.3 LCD
帧频选择
.......................................................................................................................... 118
3.16.4 LCD
偏½电压
.......................................................................................................................... 120
3.16.5 LCD
驱动波½
.......................................................................................................................... 121
3.16.6 LCD
寄存器
.............................................................................................................................. 130
3.17 LED
驱动
.......................................................................................................................................... 134
3.17.1
寄存器说明
............................................................................................................................... 135
3.17.2 LED
扫描模式
.......................................................................................................................... 138
3.17.3 LED
的操½步骤
...................................................................................................................... 141
3.18
数据查表
........................................................................................................................................... 142
3.19
烧½模块
........................................................................................................................................... 143
4
5
MCU
指令集
............................................................................................................................................ 145
电气特性
................................................................................................................................................... 165
5.1
5.2
5.3
5.4
5 / 173
本资料为芯海科技专有财产,非经许可,不得复制、翻印或½变其他½式½用。
This document is exclusive property of CHIPSEA and shall not be reproduced or copied or transformed to any other format without prior permission
of CHIPSEA
极限值
............................................................................................................................................... 165
直流特性
........................................................................................................................................... 165
LVD
特性
.......................................................................................................................................... 166
BIM
特性...........................................................................................................................................
166
CS-QR-YF-054A02