R5F21217KFP#U1 Renesas Electronics America, R5F21217KFP#U1 Datasheet

IC R8C/21 MCU FLASH 48LQFP

R5F21217KFP#U1

Manufacturer Part Number
R5F21217KFP#U1
Description
IC R8C/21 MCU FLASH 48LQFP
Manufacturer
Renesas Electronics America
Series
R8C/2x/21r
Datasheet

Specifications of R5F21217KFP#U1

Core Processor
R8C
Core Size
16/32-Bit
Speed
16MHz
Connectivity
I²C, LIN, SIO, SSU, UART/USART
Peripherals
POR, Voltage Detect, WDT
Number Of I /o
41
Program Memory Size
48KB (48K x 8)
Program Memory Type
FLASH
Ram Size
2.5K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
48-LQFP
For Use With
R0K521237S000BE - KIT DEV RSK R8C/23R0E521237CPE00 - EMULATOR COMPACT R8C/20/21/22/23
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F21217KFP#U1
Manufacturer:
Renesas Electronics America
Quantity:
135
Company:
Part Number:
R5F21217KFP#U1
Manufacturer:
Renesas Electronics America
Quantity:
10 000
To our customers,
Corporation, and Renesas Electronics Corporation took over all the business of both
companies. Therefore, although the old company name remains in this document, it is a valid
Renesas Electronics document. We appreciate your understanding.
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry.
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Renesas Electronics website:
Old Company Name in Catalogs and Other Documents
http://www.renesas.com
April 1
Renesas Electronics Corporation
st
, 2010

Related parts for R5F21217KFP#U1

R5F21217KFP#U1 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/20 Group, R8C/21 Group RENESAS MCU 1. Overview This MCU is built using the high-performance silicon gate CMOS process using the R8C CPU core and is packaged in a 48-pin plastic molded LQFP. This MCU operates using sophisticated instructions featuring ...

Page 4

R8C/20 Group, R8C/21 Group 1.2 Performance Overview Table 1.1 outlines the Functions and Specifications for R8C/20 Group and Table 1.2 outlines the Functions and Specifications for R8C/21 Group. Table 1.1 Functions and Specifications for R8C/20 Group Item CPU Number of ...

Page 5

R8C/20 Group, R8C/21 Group Table 1.2 Functions and Specifications for R8C/21 Group Item CPU Number of fundamental instructions 89 instructions Minimum instruction execution time 50 ns (f(XIN MHz, VCC = 3.0 to 5.5 V) Operating mode Address space ...

Page 6

R8C/20 Group, R8C/21 Group 1.3 Block Diagram Figure 1.1 shows a Block Diagram. I/O port Timer Timer RA (8 bits) Timer RB (8 bits) × 2 channels Timer RD (16 bits Timer RE (8 bits) Watchdog timer (15 bits) Figure ...

Page 7

R8C/20 Group, R8C/21 Group 1.4 Product Information Table 1.3 lists Product Information for R8C/20 Group and Table 1.4 lists Product Information for R8C/21 Group. Table 1.3 Product Information for R8C/20 Group Type No. ROM Capacity R5F21206JFP 32 Kbytes R5F21207JFP 48 ...

Page 8

R8C/20 Group, R8C/21 Group Table 1.4 Product Information for R8C/21 Group Type No. Program ROM R5F21216JFP 32 Kbytes R5F21217JFP 48 Kbytes R5F21218JFP 64 Kbytes R5F2121AJFP 96 Kbytes R5F2121CJFP 128 Kbytes R5F21216KFP 32 Kbytes R5F21217KFP 48 Kbytes R5F21218KFP 64 Kbytes R5F2121AKFP ...

Page 9

R8C/20 Group, R8C/21 Group 1.5 Pin Assignments Figure 1.4 shows Pin Assignments (Top View). Pin assignments (top view) P0_6/AN1 37 P0_5/AN2 38 P0_4/AN3 39 P4_2/VREF 40 P6_0/TREO 41 P6_2 42 P6_1 43 P0_3/AN4 44 P0_2/AN5 45 P0_1/AN6 46 P0_0/AN7 47 ...

Page 10

R8C/20 Group, R8C/21 Group 1.6 Pin Functions Table 1.5 lists the Pin Functions and Table 1.6 lists the Pin Name Information by Pin Number. Table 1.5 Pin Functions Type Power Supply Input VCC VSS Analog Power Supply AVCC, AVSS Input ...

Page 11

R8C/20 Group, R8C/21 Group Table 1.6 Pin Name Information by Pin Number Pin Control Pin Port Number 1 P3_5 2 P3_3 3 P3_4 4 MODE 5 P4_3 6 P4_4 7 RESET 8 XOUT P4_7 9 VSS/AVSS 10 XIN P4_6 11 ...

Page 12

R8C/20 Group, R8C/21 Group 2. Central Processing Unit (CPU) Figure 2.1 shows the CPU Registers. 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/20 Group, R8C/21 Group 2.1 Data Registers (R0, R1, R2 and R3 16-bit register for transfer, arithmetic, and logic operations. The same applies R3. R0 can be split into high-order bit (R0H) and low-order ...

Page 14

R8C/20 Group, R8C/21 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/20 Group, R8C/21 Group 3. Memory 3.1 R8C/20 Group Figure 3.1 shows a Memory Map of R8C/20 Group. The R8C/20 Group has 1 Mbyte of address space from address 00000h to FFFFFh. The internal ROM is allocated lower addresses, beginning ...

Page 16

R8C/20 Group, R8C/21 Group 3.2 R8C/21 Group Figure 3.2 shows a Memory Map of R8C/21 Group. The R8C/21 Group has 1 Mbyte of address space from address 00000h to FFFFFh. The internal ROM (program ROM) is allocated lower addresses, beginning ...

Page 17

R8C/20 Group, R8C/21 Group 4. Special Function Registers (SFRs) An SFR (special function register control register for a peripheral function. Table 4.1 to Table 4.6 list the SFR Information. Table 4.1 SFR Information (1) Address 0000h 0001h 0002h ...

Page 18

R8C/20 Group, R8C/21 Group Table 4.2 SFR Information (2) Address 0040h 0041h 0042h 0043h 0044h 0045h 0046h 0047h 0048h Timer RD0 Interrupt Control Register 0049h Timer RD1 Interrupt Control Register 004Ah Timer RE Interrupt Control Register 004Bh 004Ch 004Dh Key ...

Page 19

R8C/20 Group, R8C/21 Group Table 4.3 SFR Information (3) Address 0080h 0081h 0082h 0083h 0084h 0085h 0086h 0087h 0088h 0089h 008Ah 008Bh 008Ch 008Dh 008Eh 008Fh 0090h 0091h 0092h 0093h 0094h 0095h 0096h 0097h 0098h 0099h 009Ah 009Bh 009Ch 009Dh ...

Page 20

R8C/20 Group, R8C/21 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 ...

Page 21

R8C/20 Group, R8C/21 Group Table 4.5 SFR Information (5) Address 0100h Timer RA Control Register 0101h Timer RA I/O Control Register 0102h Timer RA Mode Register 0103h Timer RA Prescaler Register 0104h Timer RA Register 0105h 0106h LIN Control Register ...

Page 22

R8C/20 Group, R8C/21 Group Table 4.6 SFR Information (6) Address 0140h Timer RD Control Register 0 0141h Timer RD I/O Control Register A0 0142h Timer RD I/O Control Register C0 0143h Timer RD Status Register 0 0144h Timer RD Interrupt ...

Page 23

R8C/20 Group, R8C/21 Group 5. Electrical Characteristics Table 5.1 Absolute Maximum Ratings Symbol Parameter V /AV Supply voltage Input voltage I V Output voltage O P Power dissipation d T Operating ambient temperature opr T Storage temperature ...

Page 24

R8C/20 Group, R8C/21 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 25

R8C/20 Group, R8C/21 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-SUS) erase suspend − Interval from erase start/restart ...

Page 26

R8C/20 Group, R8C/21 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) − ...

Page 27

R8C/20 Group, R8C/21 Group Suspend request (Maskable interrupt request) FMR46 Figure 5.2 Time delay until Suspend Table 5.6 Voltage Detection 1 Circuit Electrical Characteristics Symbol V Voltage detection level det1 t Voltage monitor 1 reset generation time d(Vdet1-A) − Voltage ...

Page 28

R8C/20 Group, R8C/21 Group Table 5.8 Power-on Reset Circuit, Voltage Monitor 1 Reset Circuit Electrical Characteristics Symbol V Power-on reset valid voltage por1 V Power-on reset or voltage monitor 1 valid voltage por2 trth External power V CC NOTES: 1. ...

Page 29

R8C/20 Group, R8C/21 Group Table 5.9 High-Speed On-Chip Oscillator Circuit Electrical Characteristics Symbol fOCO40M High-speed on-chip oscillator frequency temperature • supply voltage dependence − The value of the FRA1 register when the reset is deasserted − High-speed on-chip oscillator adjustment ...

Page 30

R8C/20 Group, R8C/21 Group Table 5.12 Timing Requirements of Clock Synchronous Serial I/O with Chip Select Symbol Parameter t SSCK clock cycle time SUCYC t SSCK clock “H” width HI t SSCK clock “L” width LO t SSCK clock rising ...

Page 31

R8C/20 Group, R8C/21 Group 4-wire bus communication mode, Master, CPHS = 1 V SCS (output) SSCK (output) (CPOS = 1) SSCK (output) (CPOS = 0) SSO (output) SSI (input) 4-wire bus communication mode, Master, CPHS = 0 SCS (output) SSCK ...

Page 32

R8C/20 Group, R8C/21 Group 4-wire bus communication mode, Slave, CPHS = 1 SCS (input) SSCK (input) (CPOS = 1) SSCK (input) (CPOS = 0) SSO (input) SSI (output) 4-wire bus communication mode, Slave, CPHS = 0 SCS (input) SSCK (input) ...

Page 33

R8C/20 Group, R8C/21 Group SSCK SSO (output) SSI (input) Figure 5.6 I/O Timing of Clock Synchronous Serial I/O with Chip Select (Clock Synchronous Communication Mode) Rev.2.00 Aug 27, 2008 Page ...

Page 34

R8C/20 Group, R8C/21 Group Table 5.13 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 falling time sf t SCL, SDA ...

Page 35

R8C/20 Group, R8C/21 Group Table 5.14 Electrical Characteristics (1) [V Symbol Parameter V Output “H” Voltage Except XOUT OH XOUT V Output “L” Voltage Except XOUT OL XOUT V V Hysteresis T+- T- INT0, INT1, INT2, INT3, KI0, KI1, KI2, ...

Page 36

R8C/20 Group, R8C/21 Group Table 5.15 Electrical Characteristics (2) [V (Topr = -40 to 85°C (J version) / -40 to 125°C (K version), Unless Otherwise Specified.) Symbol Parameter I Power supply current High-clock 3.3 to 5.5 V) ...

Page 37

R8C/20 Group, R8C/21 Group Timing Requirements (Unless Otherwise Specified: V Table 5.16 XIN Input Symbol t XIN input cycle time c(XIN) t XIN input “H” width WH(XIN) t XIN input “L” width WL(XIN) XIN input Figure 5.8 XIN Input Timing ...

Page 38

R8C/20 Group, R8C/21 Group Table 5.18 Serial Interface Symbol t CLK0 input cycle time c(CK) t CLK0 input “H” width W(CKH) t CLK0 input “L” width W(CKL) t TXDi output delay time d(C-Q) t TXDi hold time h(C-Q) t RXDi ...

Page 39

R8C/20 Group, R8C/21 Group Table 5.20 Electrical Characteristics (3) [V Symbol Parameter V Output “H” voltage Except XOUT OH XOUT V Output “L” voltage Except XOUT OL XOUT V V Hysteresis T+- T- INT0, INT1, INT2, INT3, KI0, KI1, KI2, ...

Page 40

R8C/20 Group, R8C/21 Group Table 5.21 Electrical Characteristics (4) [V (Topr = -40 to 85°C (J version) / -40 to 125°C (K version), Unless Otherwise Specified.) Symbol Parameter I Power supply current High-clock 2.7 to 3.3 V) ...

Page 41

R8C/20 Group, R8C/21 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) XIN input Figure 5.12 XIN Input Timing ...

Page 42

R8C/20 Group, R8C/21 Group Table 5.24 Serial Interface Symbol t CLK0 input cycle time c(CK) t CLK0 input “H” width W(CKH) t CLK0 input “L” width W(CKL) t TXDi output delay time d(C-Q) t TXDi hold time h(C-Q) t RXDi ...

Page 43

R8C/20 Group, R8C/21 Group Package Dimensions Diagrams showing the latest package dimensions and mounting information are available in the “Packages” section of the Renesas Technology website. JEITA Package Code RENESAS Code P-LQFP48-7x7-0.50 PLQP0048KB ...

Page 44

REVISION HISTORY Rev. Date Page − 0.10 Mar 08, 2005 − 0.20 Sep 29, 2005 R8C/20 Group, R8C/21 Group Datasheet Description First Edition issued Words standardized - Clock synchronous ...

Page 45

REVISION HISTORY Rev. Date Page 0.20 Sep 29, 2005 20 22 1.00 Nov 15, 2006 All pages “Preliminary” and “Under development” deleted R8C/20 Group, R8C/21 Group Datasheet Description Table 4.6 ...

Page 46

REVISION HISTORY Rev. Date Page 1.00 Nov 15, 2006 − 2.00 Aug 27, 2008 All trademarks and registered trademarks are the property of their respective owners. R8C/20 ...

Page 47

Notes: 1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained ...

Related keywords