R5F21162SP#U0 Renesas Electronics America, R5F21162SP#U0 Datasheet
![IC R8C MCU FLASH 8K 20SSOP](/photos/12/35/123577/r5f21162sp_u0_sml.jpg)
R5F21162SP#U0
Specifications of R5F21162SP#U0
Related parts for R5F21162SP#U0
R5F21162SP#U0 Summary of contents
Page 1
To our customers, Old Company Name in Catalogs and Other Documents st On April 1 , 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the ...
Page 2
All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm ...
Page 3
R8C/16 Group, R8C/17 Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 1. Overview This MCU is built using the high-performance silicon gate CMOS process using the R8C/Tiny Series CPU core and is packaged in a 20-pin plastic molded LSSOP. This MCU operates using ...
Page 4
R8C/16 Group, R8C/17 Group 1.2 Performance Overview Table 1.1 lists the Performance Outline of the R8C/16 Group and Table 1.2 lists the Performance Outline of the R8C/17 Group. Table 1.1 Performance Outline of the R8C/16 Group Item CPU Number of ...
Page 5
R8C/16 Group, R8C/17 Group Table 1.2 Performance Outline of the R8C/17 Group Item CPU Number of Basic Instructions Minimum Instruction Execution Time Operating Mode Address Space Memory Capacity Peripheral Port Function LED drive port Timer Serial Interface ...
Page 6
R8C/16 Group, R8C/17 Group 1.3 Block Diagram Figure 1.1 shows a Block Diagram. I/O port Peripheral Function Timer Timer X (8 bits) Timer Z (8 bits) Timer C (16 bits) Watchdog Timer (15 bits) Figure 1.1 Block Diagram Rev.2.00 Jan ...
Page 7
R8C/16 Group, R8C/17 Group 1.4 Product Information Table 1.3 lists the Product Information of R8C/16 Group and Table 1.4 lists the Product Information of R8C/17 Group. Table 1.3 Product Information of R8C/16 Group Type No. Capacity R5F21162SP 8 Kbytes R5F21163SP ...
Page 8
R8C/16 Group, R8C/17 Group Table 1.4 Product Information of R8C/17 Group ROM Capacity Type No. Program ROM R5F21172SP 8 Kbytes R5F21173SP 12 Kbytes R5F21174SP 16 Kbytes R5F21172DSP 8 Kbytes R5F21173DSP 12 Kbytes R5F21174DSP 16 Kbytes Type No ...
Page 9
R8C/16 Group, R8C/17 Group 1.5 Pin Assignments Figure 1.4 shows the PLSP0020JB-A Package Pin Assignment (top view). PIN Assignment (top view) P3_5/SCL/CMP1_2 P3_7/CNTR0 RESET (1) XOUT/P4_7 VSS/AVSS XIN/P4_6 VCC MODE P4_5/INT0 P1_7/CNTR00/INT10 Figure 1.4 PLSP0020JB-A Package Pin Assignment (top view) ...
Page 10
R8C/16 Group, R8C/17 Group 1.6 Pin Description Table 1.5 lists the Pin Description and Table 1.6 lists the Pin Name Information by Pin Number. Table 1.5 Pin Description Function Power Supply Input VCC VSS Analog Power Supply AVCC Input AVSS ...
Page 11
R8C/16 Group, R8C/17 Group Table 1.6 Pin Name Information by Pin Number Pin Control Port Number Pin 1 P3_5 2 P3_7 3 RESET 4 XOUT P4_7 5 VSS/AVSS 6 XIN P4_6 7 VCC 8 MODE 9 P4_5 10 P1_7 11 ...
Page 12
R8C/16 Group, R8C/17 Group 2. Central Processing Unit (CPU) Figure 2.1 shows the CPU Register. The CPU contains 13 registers. Of these, R0, R1, R2, R3, A0, A1 and FB comprise a register bank. Two sets of register banks are ...
Page 13
R8C/16 Group, R8C/17 Group 2.1 Data Registers (R0, R1, R2 and R3 16-bit register for transfer, arithmetic and logic operations. The same applies R3. The R0 can be split into high-order bit (R0H) and ...
Page 14
R8C/16 Group, R8C/17 Group 2.8.7 Interrupt Enable Flag (I) The I flag enables a maskable interrupt. An interrupt is disabled when the I flag is set to “0”, and are enabled when the I flag is set to “1”. The ...
Page 15
R8C/16 Group, R8C/17 Group 3. Memory 3.1 R8C/16 Group Figure 3 Memory Map of the R8C/16 group. The R8C/16 group provides 1-Mbyte address space from addresses 00000h to FFFFFh. The internal ROM is allocated lower addresses beginning with ...
Page 16
R8C/16 Group, R8C/17 Group 3.2 R8C/17 Group Figure 3 memory map of the R8C/17 group. The R8C/17 group provides 1-Mbyte address space from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated lower addresses beginning with ...
Page 17
R8C/16 Group, R8C/17 Group 4. Special Function Register (SFR) SFR (Special Function Register) is the control register of peripheral functions. Tables 4.1 to 4.4 list the SFR information. Table 4.1 SFR Information(1) Address 0000h 0001h 0002h 0003h 0004h Processor Mode ...
Page 18
R8C/16 Group, R8C/17 Group Table 4.2 SFR Information(2) Address 0040h 0041h 0042h 0043h 0044h 0045h 0046h 0047h 0048h 0049h 004Ah 004Bh 004Ch 004Dh Key Input Interrupt Control Register 004Eh A/D Conversion Interrupt Control Register 004Fh IIC Interrupt Control Register 0050h ...
Page 19
R8C/16 Group, R8C/17 Group Table 4.3 SFR Information(3) Address 0080h Timer Z Mode Register 0081h 0082h 0083h 0084h Timer Z Waveform Output Control Register 0085h Prescaler Z Register 0086h Timer Z Secondary Register 0087h Timer Z Primary Register 0088h 0089h ...
Page 20
R8C/16 Group, R8C/17 Group Table 4.4 SFR Information(4) Address 00C0h A/D Register 00C1h 00C2h 00C3h 00C4h 00C5h 00C6h 00C7h 00C8h 00C9h 00CAh 00CBh 00CCh 00CDh 00CEh 00CFh 00D0h 00D1h 00D2h 00D3h 00D4h A/D Control Register 2 00D5h 00D6h A/D Control ...
Page 21
R8C/16 Group, R8C/17 Group 5. Electrical Characteristics Table 5.1 Absolute Maximum Ratings Symbol Parameter V Supply Voltage CC AV Analog Supply Voltage CC V Input Voltage I V Output Voltage O P Power Dissipation d T Operating Ambient Temperature opr ...
Page 22
R8C/16 Group, R8C/17 Group Table 5.3 A/D Converter Characteristics Symbol Parameter − Resolution − Absolute 10-Bit Mode Accuracy 8-Bit Mode 10-Bit Mode 8-Bit Mode R Resistor Ladder ladder t Conversion Time 10-Bit Mode conv 8-Bit Mode V Reference voltage ref ...
Page 23
R8C/16 Group, R8C/17 Group Table 5.4 Flash Memory (Program ROM) Electrical Characteristics Symbol Parameter − Program/Erase Endurance − Byte Program Time − Block Erase Time t Time Delay from Suspend Request until d(SR-ES) Erase Suspend − Erase Suspend Request Interval ...
Page 24
R8C/16 Group, R8C/17 Group Table 5.5 Flash Memory (Data flash Block A, Block B) Electrical Characteristics Symbol Parameter − Program/Erase Endurance − Byte Program Time (Program/Erase Endurance ≤ 1,000 Times) Byte Program Time (Program/Erase Endurance > 1,000 Times) Block Erase ...
Page 25
R8C/16 Group, R8C/17 Group Erase-Suspend Request (Maskable interrupt Request) FMR46 Figure 5.2 Time delay from Suspend Request until Erase Suspend Table 5.6 Voltage Detection 1 Circuit Electrical Characteristics Symbol V Voltage Detection Level det1 − Voltage Detection Circuit Self Power ...
Page 26
R8C/16 Group, R8C/17 Group Table 5.8 Reset Circuit Electrical Characteristics (When Using Voltage Monitor 1 Reset ) Symbol V Power-On Reset Valid Voltage por2 t Supply Voltage Rising Time When Power-On Reset is w(Vpor2-Vdet1) (1) Deasserted NOTES: 1. This condition ...
Page 27
R8C/16 Group, R8C/17 Group Table 5.10 High-speed On-Chip Oscillator Circuit Electrical Characteristics Symbol Parameter − High-Speed On-Chip Oscillator Frequency When the Reset is Deasserted − High-Speed On-Chip Oscillator Frequency Temperature • Supplay Voltage Dependence NOTES: 1. The measurement condition is ...
Page 28
R8C/16 Group, R8C/17 Group Table 5.12 Timing Requirements of I Symbol Parameter t SCL Input Cycle Time SCL t SCL Input “H” Width SCLH t SCL Input “L” Width SCLL t SCL, SDA Input Fall Time sf t SCL, SDA ...
Page 29
R8C/16 Group, R8C/17 Group Table 5.13 Electrical Characteristics (1) [V Symbol Parameter V Output “H” Voltage Except OUT V Output “L” Voltage Except P1_0 to P1_3 OUT P1_0 to P1_3 X OUT V V Hysteresis ...
Page 30
R8C/16 Group, R8C/17 Group Electrical Characteristics (2) [Vcc = 5V] (Topr = - °C, unless otherwise specified.) Table 5.14 Symbol Parameter I Power Supply High-Speed CC Current Mode (V =3.3 to 5.5V single-chip mode, the output ...
Page 31
R8C/16 Group, R8C/17 Group Timing Requirements (Unless otherwise specified: V Table 5.15 XIN Input Symbol t XIN Input Cycle Time c(XIN) t XIN Input “H” Width WH(XIN) t XIN Input “L” Width WL(XIN) Table 5.16 CNTR0 Input, CNTR1 Input, INT1 ...
Page 32
R8C/16 Group, R8C/17 Group CNTR0 Input TCIN Input X Input IN CLK i TxD i RxD i INT Input i Figure 5.5 Timing Diagram When V Rev.2.00 Jan 30, 2006 Page REJ03B0101-0200 t c(CNTR0) t WH(CNTR0) t ...
Page 33
R8C/16 Group, R8C/17 Group Table 5.20 Electrical Characteristics (3) [V Symbol Parameter V Output “H” Voltage Except OUT V Output “L” Voltage Except P1_0 to P1_3 OUT P1_0 to P1_3 X OUT V V Hysteresis ...
Page 34
R8C/16 Group, R8C/17 Group Electrical Characteristics (4) [Vcc = 3V] (Topr = - °C, unless otherwise specified.) Table 5.21 Symbol Parameter I Power Supply High-Speed CC Current Mode (V =2.7 to 3.3V single-chip mode, the output ...
Page 35
R8C/16 Group, R8C/17 Group Timing requirements (Unless otherwise specified: V Table 5.22 XIN Input Symbol t XIN Input Cycle Time c(XIN) t XIN Input “H” Width WH(XIN) t XIN Input “L” Width WL(XIN) Table 5.23 CNTR0 Input, CNTR1 Input, INT1 ...
Page 36
R8C/16 Group, R8C/17 Group CNTR0 Input TCIN Input X Input IN CLK i TxD i RxD i INT Input i Figure 5.6 Timing Diagram When V Rev.2.00 Jan 30, 2006 Page REJ03B0101-0200 t c(CNTR0) t WH(CNTR0) t ...
Page 37
R8C/16 Group, R8C/17 Group Package Dimensions JEITA Package Code RENESAS Code P-LSSOP20-4.4x6.5-0.65 PLSP0020JB Index mark Rev.2.00 Jan 30, 2006 Page REJ03B0101-0200 Previous Code MASS[Typ.] 20P2F-A 0. ...
Page 38
REVISION HISTORY REVISION HISTORY Rev. Date Page − 0.10 Sep 06, 2004 1.00 Feb 25, 2005 2 7 29, 33 Table 5.16 and 5.23 revised: Table title “INT2” → ...
Page 39
REVISION HISTORY Rev. Date Page 2.00 Jan 30, 2006 R8C/16 Group, R8C/17 Group Datasheet Description Figure 1.5 PRDP0020BA-A Package Pin Assignment (top view) ...
Page 40
Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead ...