没有合适的资源?快使用搜索试试~ 我知道了~
首页瑞萨RL78/F12 Series 16位单片微控制器用户手册
瑞萨RL78/F12 Series 16位单片微控制器用户手册
需积分: 11 1 下载量 134 浏览量
更新于2024-07-15
1
收藏 6.2MB PDF 举报
瑞萨芯片RL78/F12数据手册解读
本资源摘要信息是根据瑞萨芯片RL78/F12数据手册生成的知识点,涵盖了芯片的概况、引脚功能、CPU架构、端口功能、时钟生成器、实时时钟等方面的内容。
一、概况
RL78/F12是一款16位单片微控制器,主要应用于工业自动化、医疗设备、消费电子产品等领域。该芯片具有高性能、低功耗的特点,适合于需要高速处理和低功耗的应用场景。
二、引脚功能
RL78/F12芯片具有多种引脚功能,包括数字输入/输出引脚、模拟输入引脚、串行通信引脚、时钟引脚等。这些引脚可以根据实际应用场景进行配置,以满足不同的应用需求。
三、CPU架构
RL78/F12芯片采用了16位CPU架构,具有高性能和低功耗的特点。该架构包括指令Fetch/Execution Pipeline、 Load/Store Unit、 Arithmetic Logic Unit等模块,能够高效地执行指令并实现快速的数据处理。
四、端口功能
RL78/F12芯片具有多种端口功能,包括串行通信端口、并行通信端口、ADC/DAC端口等。这些端口可以根据实际应用场景进行配置,以满足不同的应用需求。
五、时钟生成器
RL78/F12芯片具有时钟生成器,能够生成稳定的时钟信号,以满足芯片的时钟需求。该时钟生成器可以根据实际应用场景进行配置,以实现不同的时钟频率和稳定性。
六、实时时钟
RL78/F12芯片具有实时时钟功能,能够提供高精度的时钟信号,以满足需要高精度时钟的应用场景。该实时时钟可以根据实际应用场景进行配置,以实现不同的时钟频率和稳定性。
七、用户手册
RL78/F12用户手册提供了详细的产品信息,包括产品规格、引脚功能、CPU架构、端口功能、时钟生成器、实时时钟等方面的内容。该手册还提供了警示信息和免责声明,旨在帮助用户正确地使用该芯片。
八、免责声明
瑞萨电子有限公司不对该芯片的使用和应用承担任何责任。用户在使用该芯片时,需要注意相关的安全和法律问题,并遵守相关的法规和规定。
RL78/F12数据手册提供了详细的产品信息和应用指南,旨在帮助用户正确地使用该芯片并实现高效的应用开发。
Index-11
CHAPTER 24 SAFETY FUNCTIONS.................................................................................................... 938
24.1 Overview of Safety Functions................................................................................................. 938
24.2 Registers Used by Safety Functions...................................................................................... 939
24.3 Operations of Safety Functions.............................................................................................. 940
24.3.1 Flash Memory CRC Operation Function (High-Speed CRC)........................................................ 940
24.3.2 CRC Operation Function (General-Purpose CRC)....................................................................... 943
24.3.3 RAM Parity Error Detection Function ........................................................................................... 946
24.3.4 RAM Guard Function.................................................................................................................... 947
24.3.5 SFR Guard Function .................................................................................................................... 947
24.3.6 Invalid Memory Access Detection Function.................................................................................. 949
24.3.7 Frequency Detection Function...................................................................................................... 952
24.3.8 A/D Test Function......................................................................................................................... 954
CHAPTER 25 REGULATOR ................................................................................................................. 958
25.1 Regulator Overview.................................................................................................................. 958
CHAPTER 26 OPTION BYTE............................................................................................................... 959
26.1 Functions of Option Bytes ......................................................................................................959
26.1.1 User option byte (000C0H to 000C2H/010C0H to 010C2H)......................................................... 959
26.1.2 On-chip debug option byte (000C3H/ 010C3H)............................................................................ 960
26.2 Format of User Option Byte .................................................................................................... 961
26.3 Format of On-chip Debug Option Byte................................................................................... 965
26.4 Setting of Option Byte..............................................................................................................966
CHAPTER 27 FLASH MEMORY.......................................................................................................... 967
27.1 Writing to Flash Memory by Using Flash Memory Programmer ......................................... 968
27.1.1 Programming Environment........................................................................................................... 970
27.1.2 Communication Mode .................................................................................................................. 970
27.2 Writing to Flash Memory by Using External Device (that Incorporates UART)................. 971
27.2.1 Programming Environment........................................................................................................... 971
27.2.2 Communication Mode .................................................................................................................. 972
27.3 Connection of Pins on Board.................................................................................................. 973
27.3.1 P40/TOOL0 pin ............................................................................................................................ 973
27.3.2 RESET pin.................................................................................................................................... 973
27.3.3 Port pins ....................................................................................................................................... 974
27.3.4 REGC pin ..................................................................................................................................... 974
27.3.5 X1 and X2 pins ............................................................................................................................. 974
27.3.6 Power supply................................................................................................................................ 974
27.4 Data Flash ................................................................................................................................. 975
Index-12
27.4.1 Data flash overview...................................................................................................................... 975
27.4.2 Register controlling data flash memory ........................................................................................ 976
27.4.3 Procedure for accessing data flash memory ................................................................................ 977
27.5 Programming Method .............................................................................................................. 978
27.5.1 Controlling flash memory.............................................................................................................. 978
27.5.2 Flash memory programming mode............................................................................................... 979
27.5.3 Selecting communication mode.................................................................................................... 980
27.5.4 Communication commands.......................................................................................................... 981
27.6 Security Settings ......................................................................................................................982
27.7 Flash Memory Programming by Self-Programming ............................................................. 984
27.7.1 Boot swap function....................................................................................................................... 986
27.7.2 Flash shield window function........................................................................................................ 988
CHAPTER 28 ON-CHIP DEBUG FUNCTION ..................................................................................... 989
28.1 Connecting E1 On-chip Debugging Emulator to RL78/F12.................................................. 989
28.2 On-Chip Debug Security ID .....................................................................................................990
28.3 Securing of User Resources ................................................................................................... 990
CHAPTER 29 BCD CORRECTION CIRCUIT ..................................................................................... 992
29.1 BCD Correction Circuit Function............................................................................................ 992
29.2 Registers Used by BCD Correction Circuit ........................................................................... 992
29.3 BCD Correction Circuit Operation.......................................................................................... 993
CHAPTER 30 INSTRUCTION SET........................................................................................................ 995
30.1 Conventions Used in Operation List ...................................................................................... 996
30.1.1 Operand identifiers and specification methods............................................................................. 996
30.1.2 Description of operation column ................................................................................................... 997
30.1.3 Description of flag operation column ............................................................................................ 998
30.1.4 PREFIX instruction....................................................................................................................... 998
30.2 Operation List ........................................................................................................................... 999
CHAPTER 31 ELECTRICAL SPECIFICATIONS (J GRADE)............................................................1016
31.1 Pins Mounted According to Product.................................................................................... 1016
31.1.1 Port functions ............................................................................................................................. 1016
31.1.2 Non-port functions ...................................................................................................................... 1016
31.2 Absolute Maximum Ratings ..................................................................................................1017
31.3 Oscillator Characteristics...................................................................................................... 1019
31.3.1 Main system clock oscillator characteristics ............................................................................... 1019
31.3.2 On-chip oscillator characteristics................................................................................................ 1020
31.3.3 Subsystem clock oscillator characteristics.................................................................................. 1021
Index-13
31.4 DC Characteristics ................................................................................................................. 1022
31.4.1 Pin characteristics ...................................................................................................................... 1022
31.4.2 Supply current characteristics .................................................................................................... 1027
31.5 AC Characteristics ................................................................................................................. 1030
31.5.1 Basic operation........................................................................................................................... 1030
31.6 Peripheral Functions Characteristics................................................................................... 1031
31.6.1 Serial array unit .......................................................................................................................... 1031
31.6.2 Serial interface IICA ................................................................................................................... 1037
31.6.3 LIN-UART................................................................................................................................... 1038
31.7 Analog Characteristics .......................................................................................................... 1039
31.7.1 A/D converter characteristics...................................................................................................... 1039
31.7.2 Temperature sensor characteristics ........................................................................................... 1043
31.7.3 POR circuit characteristics ......................................................................................................... 1043
31.7.4 LVD circuit characteristics .......................................................................................................... 1044
31.7.5 Power supply rise time ............................................................................................................... 1046
31.8 Data Memory STOP Mode Low Supply Voltage Data Retention Characteristics.............1047
31.9 Flash Memory Programming Characteristics...................................................................... 1047
CHAPTER 32 ELECTRICAL SPECIFICATIONS (K GRADE)........................................................... 1048
32.1 Pins Mounted According to Product.................................................................................... 1048
32.1.1 Port functions ............................................................................................................................. 1048
32.1.2 Non-port functions ...................................................................................................................... 1048
32.2 Absolute Maximum Ratings ..................................................................................................1049
32.3 Oscillator Characteristics...................................................................................................... 1051
32.3.1 Main system clock oscillator characteristics ............................................................................... 1051
32.3.2 On-chip oscillator characteristics................................................................................................ 1052
32.3.3 Subsystem clock oscillator characteristics.................................................................................. 1053
32.4 DC Characteristics ................................................................................................................. 1054
32.4.1 Pin characteristics ...................................................................................................................... 1054
32.4.2 Supply current characteristics .................................................................................................... 1059
32.5 AC Characteristics ................................................................................................................. 1062
32.5.1 Basic operation........................................................................................................................... 1062
32.6 Peripheral Functions Characteristics................................................................................... 1063
32.6.1 Serial array unit .......................................................................................................................... 1063
32.6.2 Serial interface IICA ................................................................................................................... 1069
32.6.3 LIN-UART................................................................................................................................... 1070
32.7 Analog Characteristics .......................................................................................................... 1071
32.7.1 A/D converter characteristics...................................................................................................... 1071
32.7.2 Temperature sensor characteristics ........................................................................................... 1075
32.7.3 POR circuit characteristics ......................................................................................................... 1075
32.7.4 LVD circuit characteristics .......................................................................................................... 1076
Index-14
32.7.5 Power supply rise time ............................................................................................................... 1077
32.8 Data Memory STOP Mode Low Supply Voltage Data Retention Characteristics.............1078
32.9 Flash Memory Programming Characteristics...................................................................... 1078
CHAPTER 33 PACKAGE DRAWING.................................................................................................. 1079
33.1 20-pin products....................................................................................................................... 1079
33.2 30-pin products....................................................................................................................... 1080
33.3 32-pin products....................................................................................................................... 1081
33.4 48-pin products....................................................................................................................... 1082
33.5 64-pin products....................................................................................................................... 1084
APPENDIX A REVISION HISTORY ....................................................................................................1085
A.1 Major Revisions in This Edition .............................................................................................1085
A.2 Revision History of Preceding Edition .................................................................................. 1087
R01UH0231EJ0111 Rev.1.11 1
Jan 31, 2014
R01UH0231EJ0111
Rev.1.11
Jan 31, 2014
RL78/F12
RENESAS MCU
CHAPTER 1 OUTLINE
1.1 Features
Minimum instruction execution time can be changed from high speed (0.03125
μ
s: @ 32 MHz operation with high-
speed on-chip oscillator) to ultra low-speed (30.5
μ
s: @ 32.768 kHz operation with subsystem clock)
General-purpose register: 8 bits × 32 registers (8 bits × 8 registers × 4 banks)
ROM: 8 to 64 KB, RAM: 0.5 to 4 KB, Data flash memory: 4 KB
High-speed on-chip oscillator
• Select from 32 MHz (TYP.), 24 MHz (TYP.), 16 MHz (TYP.), 12 MHz (TYP.), 8 MHz (TYP.), 4 MHz (TYP.), and 1
MHz (TYP.)
On-chip single-power-supply flash memory (with prohibition of block erase/writing function)
Self-programming (with boot swap function/flash shield window function)
On-chip debug function
On-chip power-on-reset (POR) circuit and voltage detector (LVD)
On-chip watchdog timer (operable with the dedicated internal low-speed on-chip oscillator)
On-chip multiplier and divider/multiply-accumulator
• 16 bits × 16 bits = 32 bits (Unsigned or signed)
• 32 bits ÷ 32 bits = 32 bits (Unsigned)
• 16 bits × 16 bits + 32 bits = 32 bits (Unsigned or signed)
On-chip key interrupt function
On-chip clock output/buzzer output controller
On-chip BCD adjustment
I/O ports: 16 to 44 (N-ch open drain: 0 to 4)
Timer
• 16-bit timer: 8 channels
• Watchdog timer: 1 channel
• Real-time clock: 1 channel
• Interval timer: 1 channel
• Wakeup timer: 1 channel
Serial interface
• CSI: 0 to 8 channels
• UART/UART (LIN-bus supported): 1 to 5 channels
• I
2
C/Simplified I
2
C communication: 0 to 7 channels
8/10-bit resolution A/D converter (V
DD = 1.8 to 5.5 V): 4 to 12 channels
Power supply voltage: V
DD = 1.8 to 5.5 V (J version), VDD = 2.7 to 5.5 V (K version)
Operating ambient temperature: TA = −40 to +85°C (J version), TA = −40 to +125°C (K version)
Remark The functions mounted depend on the product. See 1.6 Outline of Functions.
剩余1109页未读,继续阅读
2019-05-09 上传
2021-07-02 上传
2020-06-29 上传
2020-06-29 上传
2020-06-13 上传
2020-08-10 上传
jason253
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功