R5F212D8SNFP#U0 Renesas Electronics America, R5F212D8SNFP#U0 Datasheet
R5F212D8SNFP#U0
Specifications of R5F212D8SNFP#U0
Available stocks
Related parts for R5F212D8SNFP#U0
R5F212D8SNFP#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/2C Group, R8C/2D Group RENESAS MCU 1. Overview 1.1 Features The R8C/2C Group and R8C/2D Group of single-chip MCUs incorporates the R8C/Tiny Series CPU core, employing sophisticated instructions for a high level of efficiency. With 1 Mbyte of address space, ...
Page 4
R8C/2C Group, R8C/2D Group 1.1.2 Specifications Tables 1.1 and 1.2 outlines the Specifications for R8C/2C Group and Tables 1.3 and 1.4 outlines the Specifications for R8C/2D Group. Table 1.1 Specifications for R8C/2C Group (1) Item Function CPU Central processing unit ...
Page 5
R8C/2C Group, R8C/2D Group Table 1.2 Specifications for R8C/2C Group (2) Item Function Serial UART0, UART1, Interface UART2 Clock Synchronous Serial I/O with Chip Select (SSU bus LIN Module A/D Converter D/A Converter Flash Memory Operating ...
Page 6
R8C/2C Group, R8C/2D Group Table 1.3 Specifications for R8C/2D Group (1) Item Function CPU Central processing unit Memory ROM, RAM Power Supply Voltage detection Voltage circuit Detection I/O Ports Programmable I/O ports Clock Clock generation circuits Interrupts Watchdog Timer Timer ...
Page 7
R8C/2C Group, R8C/2D Group Table 1.4 Specifications for R8C/2D Group (2) Item Function Serial UART0, UART1, Interface UART2 Clock Synchronous Serial I/O with Chip Select (SSU bus LIN Module A/D Converter D/A Converter Flash Memory Operating ...
Page 8
R8C/2C Group, R8C/2D Group 1.2 Product List Table 1.5 lists Product List for R8C/2C Group, Figure 1.1 shows a Part Number, Memory Size, and Package of R8C/2C Group, Table 1.6 lists Product List for R8C/2D Group, and Figure 1.2 shows ...
Page 9
R8C/2C Group, R8C/2D Group Part No XXX FP NOTE: 1. Please contact Renesas Technology sales offices for the Y version. Figure 1.1 Part Number, Memory Size, and Package of R8C/2C Group Rev.2.10 ...
Page 10
R8C/2C Group, R8C/2D Group Table 1.6 Product List for R8C/2D Group Part No. Program ROM R5F212D7SNFP 48 Kbytes R5F212D8SNFP 64 Kbytes R5F212DASNFP 96 Kbytes R5F212DCSNFP 128 Kbytes R5F212D7SDFP 48 Kbytes R5F212D8SDFP 64 Kbytes R5F212DASDFP 96 Kbytes R5F212DCSDFP 128 Kbytes R5F212D7SNXXXFP ...
Page 11
R8C/2C Group, R8C/2D Group 1.3 Block Diagram Figure 1.3 shows a Block Diagram. I/O ports Peripheral functions Timers Timer RA (8 bits × 1) Timer RB (8 bits × 1) Timer RC (16 bits × 1) Timer RD (16 bits ...
Page 12
R8C/2C Group, R8C/2D Group 1.4 Pin Assignment Figure 1.4 shows Pin Assignment (Top View). Tables 1.7 and 1.8 outlines the Pin Name Information by Pin Number P7_4/AN16 61 P7_3/AN15 62 P7_2/AN14 63 ...
Page 13
R8C/2C Group, R8C/2D Group Table 1.7 Pin Name Information by Pin Number (1) Pin Control Pin Port Number 1 P3_3 2 P3_4 3 P5_7 4 P5_6 5 P5_5 6 MODE 7 XCIN P4_3 8 XCOUT P4_4 9 RESET 10 XOUT ...
Page 14
R8C/2C Group, R8C/2D Group Table 1.8 Pin Name Information by Pin Number (2) Pin Control Pin Port Number 46 P6_7 47 P6_5 48 P6_4 49 P6_3 50 P3_1 51 P3_0 52 P3_6 53 P3_2 54 P1_3 55 P1_2 56 P1_1 ...
Page 15
R8C/2C Group, R8C/2D Group 1.5 Pin Functions Tables 1.9 and 1.10 list Pin Functions. Table 1.9 Pin Functions (1) Item Pin Name Power supply input VCC, VSS Analog power AVCC, AVSS supply input Reset input RESET MODE MODE XIN clock ...
Page 16
R8C/2C Group, R8C/2D Group Table 1.10 Pin Functions (2) Item Pin Name A/D converter AN0 to AN19 D/A converter DA0 to DA1 I/O port P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_3 to P4_5, P5_0 ...
Page 17
R8C/2C Group, R8C/2D Group 2. Central Processing Unit (CPU) Figure 2.1 shows the CPU Registers. The CPU contains 13 registers. R0, R1, R2, R3, A0, A1, and FB configure a register bank. There are two sets of register bank. b31 ...
Page 18
R8C/2C Group, R8C/2D 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 bits (R0H) and low-order ...
Page 19
R8C/2C Group, R8C/2D Group 2.8.7 Interrupt Enable Flag (I) The I flag enables maskable interrupts. Interrupt are disabled when the I flag is set to 0, and are enabled when the I flag is set to 1. The I flag ...
Page 20
R8C/2C Group, R8C/2D Group 3. Memory 3.1 R8C/2C Group Figure 3 Memory Map of R8C/2C Group. The R8C/2C group has 1 Mbyte of address space from addresses 00000h to FFFFFh. The internal ROM is allocated lower addresses, beginning ...
Page 21
R8C/2C Group, R8C/2D Group 3.2 R8C/2D Group Figure 3 Memory Map of R8C/2D Group. The R8C/2D group has 1 Mbyte of address space from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated lower addresses, beginning ...
Page 22
R8C/2C Group, R8C/2D Group 4. Special Function Registers (SFRs) An SFR (special function register control register for a peripheral function. Tables 4.1 to 4.12 list the special function registers. Table 4.1 SFR Information (1) Address 0000h 0001h 0002h ...
Page 23
R8C/2C Group, R8C/2D Group Table 4.2 SFR Information (2) Address 0040h 0041h 0042h 0043h 0044h 0045h 0046h 0047h Timer RC Interrupt Control Register 0048h Timer RD0 Interrupt Control Register 0049h Timer RD1 Interrupt Control Register 004Ah Timer RE Interrupt Control ...
Page 24
R8C/2C Group, R8C/2D 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 25
R8C/2C Group, R8C/2D Group Table 4.4 SFR Information (4) Address 00C0h 00C1h 00C2h 00C3h 00C4h 00C5h 00C6h 00C7h 00C8h 00C9h 00CAh 00CBh 00CCh 00CDh 00CEh 00CFh 00D0h 00D1h 00D2h 00D3h 00D4h 00D5h 00D6h 00D7h 00D8h D/A Register 0 00D9h 00DAh ...
Page 26
R8C/2C Group, R8C/2D 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 LIN Control Register 2 ...
Page 27
R8C/2C Group, R8C/2D 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 28
R8C/2C Group, R8C/2D Group Table 4.7 SFR Information (7) Address 0180h 0181h 0182h 0183h 0184h 0185h 0186h 0187h 0188h 0189h 018Ah 018Bh 018Ch 018Dh 018Eh 018Fh 0190h 0191h 0192h 0193h 0194h 0195h 0196h 0197h 0198h 0199h 019Ah 019Bh 019Ch 019Dh ...
Page 29
R8C/2C Group, R8C/2D Group Table 4.8 SFR Information (8) Address 01C0h 01C1h 01C2h 01C3h 01C4h 01C5h 01C6h 01C7h 01C8h 01C9h 01CAh 01CBh 01CCh 01CDh 01CEh 01CFh 01D0h 01D1h 01D2h 01D3h 01D4h 01D5h 01D6h 01D7h 01D8h 01D9h 01DAh 01DBh 01DCh 01DDh ...
Page 30
R8C/2C Group, R8C/2D Group Table 4.9 SFR Information (9) Address 0200h 0201h 0202h 0203h 0204h 0205h 0206h 0207h 0208h 0209h 020Ah 020Bh 020Ch 020Dh 020Eh 020Fh 0210h 0211h 0212h 0213h 0214h 0215h 0216h 0217h 0218h 0219h 021Ah 021Bh 021Ch 021Dh ...
Page 31
R8C/2C Group, R8C/2D Group Table 4.10 SFR Information (10) Address 0240h 0241h 0242h 0243h 0244h 0245h 0246h 0247h 0248h 0249h 024Ah 024Bh 024Ch 024Dh 024Eh 024Fh 0250h 0251h 0252h 0253h 0254h 0255h 0256h 0257h 0258h 0259h 025Ah 025Bh 025Ch 025Dh ...
Page 32
R8C/2C Group, R8C/2D Group Table 4.11 SFR Information (11) Address 0280h 0281h 0282h 0283h 0284h 0285h 0286h 0287h 0288h 0289h 028Ah 028Bh 028Ch 028Dh 028Eh 028Fh 0290h Timer RF Register 0291h 0292h 0293h 0294h 0295h 0296h 0297h 0298h 0299h 029Ah ...
Page 33
R8C/2C Group, R8C/2D Group Table 4.12 SFR Information (12) Address 02C0h A/D Register 0 02C1h 02C2h A/D Register 1 02C3h 02C4h A/D Register 2 02C5h 02C6h A/D Register 3 02C7h 02C8h 02C9h 02CAh 02CBh 02CCh 02CDh 02CEh 02CFh 02D0h 02D1h ...
Page 34
R8C/2C Group, R8C/2D Group 5. Electrical Characteristics The electrical characteristics of N version (Topr = –20°C to 85°C) and D version (Topr = –40°C to 85°C) are listed below. Please contact Renesas Technology sales offices for the electrical characteristics in ...
Page 35
R8C/2C Group, R8C/2D Group Table 5.2 Recommended Operating Conditions Symbol Parameter V /AV Supply voltage /AV Supply voltage Input “H” voltage IH V Input “L” voltage IL I Peak sum output Sum of all ...
Page 36
R8C/2C Group, R8C/2D Group Figure 5.1 Ports Timing Measurement Circuit Table 5.3 A/D Converter Characteristics Symbol Parameter − Resolution − Absolute 10-bit mode accuracy 8-bit mode 10-bit mode 8-bit mode 10-bit mode 8-bit mode R Resistor ladder ...
Page 37
R8C/2C Group, R8C/2D Group Table 5.5 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) suspend − Interval from erase start/restart until ...
Page 38
R8C/2C Group, R8C/2D Group Table 5.6 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 39
R8C/2C Group, R8C/2D Group Suspend request (maskable interrupt request) FMR46 Figure 5.2 Time delay until Suspend Table 5.7 Voltage Detection 0 Circuit Electrical Characteristics Symbol V Voltage detection level det0 − Voltage detection circuit self power consumption t Waiting time ...
Page 40
R8C/2C Group, R8C/2D Group Table 5.10 Power-on Reset Circuit, Voltage Monitor 0 Reset Electrical Characteristics Symbol Parameter V Power-on reset valid voltage por1 V Power-on reset or voltage monitor 0 reset valid por2 voltage t External power V rth CC ...
Page 41
R8C/2C Group, R8C/2D Group Table 5.11 High-speed On-Chip Oscillator Circuit Electrical Characteristics Symbol Parameter fOCO40M High-speed on-chip oscillator frequency temperature • supply voltage dependence High-speed on-chip oscillator frequency when correction value in FRA7 register is written to FRA1 register − ...
Page 42
R8C/2C Group, R8C/2D Group Table 5.14 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 43
R8C/2C Group, R8C/2D Group 4-Wire Bus Communication Mode, Master, CPHS = SCS (output) SSCK (output) (CPOS = 1) SSCK (output) (CPOS = 0) SSO (output) SSI (input 4-Wire Bus Communication Mode, Master, CPHS = 0 ...
Page 44
R8C/2C Group, R8C/2D 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 45
R8C/2C Group, R8C/2D 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.10 Dec 05, 2007 Page 43 ...
Page 46
R8C/2C Group, R8C/2D Group Table 5.15 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 47
R8C/2C Group, R8C/2D Group Table 5.16 Electrical Characteristics (1) [V Symbol Parameter V Output “H” voltage Except P2_0 to P2_7, OH XOUT P2_0 to P2_7 XOUT V Output “L” voltage Except P2_0 to P2_7, OL XOUT P2_0 to P2_7 XOUT ...
Page 48
R8C/2C Group, R8C/2D Group Table 5.17 Electrical Characteristics (2) [Vcc = −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified.) (T opr Symbol Parameter I Power supply High-speed CC current clock mode ...
Page 49
R8C/2C Group, R8C/2D Group Timing Requirements (Unless Otherwise Specified: V Table 5.18 XIN Input, XCIN Input Symbol t XIN input cycle time c(XIN) t XIN input “H” width WH(XIN) t XIN input “L” width WL(XIN) t XCIN input cycle time ...
Page 50
R8C/2C Group, R8C/2D Group Table 5.21 Serial Interface Symbol t CLKi input cycle time c(CK) t CLKi input “H” width W(CKH) t CLKi input “L” width W(CKL) t TXDi output delay time d(C-Q) t TXDi hold time h(C-Q) t RXDi ...
Page 51
R8C/2C Group, R8C/2D Group Table 5.23 Electrical Characteristics (3) [V Symbol Parameter V Output “H” voltage Except P2_0 to P2_7, OH XOUT P2_0 to P2_7 XOUT V Output “L” voltage Except P2_0 to P2_7, OL XOUT P2_0 to P2_7 XOUT ...
Page 52
R8C/2C Group, R8C/2D Group Table 5.24 Electrical Characteristics (4) [Vcc = −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified.) (T opr Symbol Parameter I Power supply current High-speed ...
Page 53
R8C/2C Group, R8C/2D Group Timing requirements (Unless Otherwise Specified: V Table 5.25 XIN Input, XCIN Input Symbol t XIN input cycle time c(XIN) t XIN input “H” width WH(XIN) t XIN input “L” width WL(XIN) t XCIN input cycle time ...
Page 54
R8C/2C Group, R8C/2D Group Table 5.28 Serial Interface Symbol t CLKi input cycle time c(CK) t CLKi input “H” width W(CKH) t CLKi Input “L” width W(CKL) t TXDi output delay time d(C-Q) t TXDi hold time h(C-Q) t RXDi ...
Page 55
R8C/2C Group, R8C/2D Group Table 5.30 Electrical Characteristics (5) [V Symbol Parameter V Output “H” voltage Except P2_0 to P2_7, OH XOUT P2_0 to P2_7 XOUT V Output “L” voltage Except P2_0 to P2_7, OL XOUT P2_0 to P2_7 XOUT ...
Page 56
R8C/2C Group, R8C/2D Group Table 5.31 Electrical Characteristics (6) [Vcc = 2 −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified.) (T opr Symbol Parameter I Power supply current High-speed ...
Page 57
R8C/2C Group, R8C/2D Group Timing requirements (Unless Otherwise Specified: V Table 5.32 XIN Input, XCIN Input Symbol t XIN input cycle time c(XIN) t XIN input “H” width WH(XIN) t XIN input “L” width WL(XIN) t XCIN input cycle time ...
Page 58
R8C/2C Group, R8C/2D Group Table 5.35 Serial Interface Symbol t CLKi input cycle time c(CK) t CLKi input “H” width W(CKH) t CLKi input “L” width W(CKL) t TXDi output delay time d(C-Q) t TXDi hold time h(C-Q) t RXDi ...
Page 59
R8C/2C Group, R8C/2D 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-LQFP80-12x12-0.50 PLQP0080KB ...
Page 60
REVISION HISTORY REVISION HISTORY Rev. Date Page − 0.01 Apr 03, 2006 0.10 Jun 26, 2006 All pages Pin name revised 10 0.20 Sep 15, 2006 ...
Page 61
REVISION HISTORY Rev. Date Page 1.00 Feb 09, 2007 All pages “Preliminary” deleted 2.00 Oct 17, 2007 all pages Y version added ...
Page 62
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 ...