39R16A6
内嵌 16KB
具有 ISP 功能的 Flash
和 1K+256BRAM 的 8 位控制器
OB39R16A6
SM39R16A6
产品目录...................................................................................................................................................................... 4
描述............................................................................................................................................................................. 4
订货信息...................................................................................................................................................................... 4
特征............................................................................................................................................................................. 4
各封装引脚配置 ........................................................................................................................................................... 5
24 Pin SOP.................................................................................................................................................................. 5
28 Pin SOP.................................................................................................................................................................. 6
系统方框图 .................................................................................................................................................................. 8
24 管脚描述 ................................................................................................................................................................. 9
28 管脚描述 ............................................................................................................................................................... 10
32L 管脚描述 ............................................................................................................................................................. 11
特殊功能寄存器(SFR) ................................................................................................................................................ 12
1.
总特征............................................................................................................................................................... 17
1.1
嵌入式程序存储器 ..................................................................................................................................... 17
IO 口 ......................................................................................................................................................... 17
指令时钟周期选择 ..................................................................................................................................... 17
时钟输出选择 ............................................................................................................................................ 18
复位 .......................................................................................................................................................... 18
硬件复位功能.................................................................................................................................... 18
软件复位功能.................................................................................................................................... 18
1.2
1.3
1.4
1.5
1.5.1
1.5.2
1.5.3 Reset status.......................................................................................................................................... 19
1.5.4 Time Access Key register (TAKEY)........................................................................................................ 19
1.5.5
软件复位寄存器(SWRES) ................................................................................................................. 19
1.5.6 Example of software reset..................................................................................................................... 20
1.6
时钟源....................................................................................................................................................... 20
指令设置............................................................................................................................................................ 21
存储器结构........................................................................................................................................................ 25
2.
3.
3.1
程序存储器................................................................................................................................................ 25
数据存储器................................................................................................................................................ 26
数据内存-低 128 字节(00h to 7Fh) ............................................................................................................. 26
数据存储器-高 128 字节(80h to FFh).......................................................................................................... 26
存储器-扩展的 256 字节($00 到 $FF)......................................................................................................... 26
3.2
3.3
3.4
3.5
4.
CPU 结构 .......................................................................................................................................................... 27
4.1
累加器....................................................................................................................................................... 27
B 寄存器 ................................................................................................................................................... 27
程序状态字................................................................................................................................................ 28
堆栈指针 ................................................................................................................................................... 28
数据指针 ................................................................................................................................................... 28
数据指针 1 ................................................................................................................................................ 29
时钟控制寄存器......................................................................................................................................... 29
接口控制寄存器......................................................................................................................................... 30
PAGESEL (页面选择)................................................................................................................................ 30
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
5.
6.
GPIO 管脚型态.................................................................................................................................................. 32
硬件乘除法器(MDU) .......................................................................................................................................... 34
6.1
6.2
6.2.1
6.2.2
6.2.3
6.3
运行 MDU 寄存器 ...................................................................................................................................... 34
乘除法器的设置......................................................................................................................................... 35
第一阶段:装载 MDx 寄存器, x = 0~5:............................................................................................... 35
第二阶段:执行运算.......................................................................................................................... 35
第三阶段:从 MDx 寄存器上读取结果. .............................................................................................. 36
标准化....................................................................................................................................................... 36
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M04 Ver 0.4 SM39R16A6 06/11/2013
- 1 -