R5F212BASNFA#U0 Renesas Electronics America, R5F212BASNFA#U0 Datasheet

IC R8C/2B MCU FLASH 96+2K 64LQFP

R5F212BASNFA#U0

Manufacturer Part Number
R5F212BASNFA#U0
Description
IC R8C/2B MCU FLASH 96+2K 64LQFP
Manufacturer
Renesas Electronics America
Series
R8C/2x/2Br
Datasheet

Specifications of R5F212BASNFA#U0

Core Processor
R8C
Core Size
16/32-Bit
Speed
20MHz
Connectivity
I²C, LIN, SIO, SSU, UART/USART
Peripherals
POR, PWM, Voltage Detect, WDT
Number Of I /o
55
Program Memory Size
96KB (96K x 8)
Program Memory Type
FLASH
Ram Size
7K x 8
Voltage - Supply (vcc/vdd)
2.2 V ~ 5.5 V
Data Converters
A/D 12x10b; D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
64-LQFP
For Use With
R0K5212D8S001BE - KIT STARTER FOR R8C/2DR0K5212D8S000BE - KIT DEV FOR R8C/2D
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F212BASNFA#U0
Manufacturer:
REA
Quantity:
50
Company:
Part Number:
R5F212BASNFA#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Company:
Part Number:
R5F212BASNFA#U0R5F212BASNFA#V2
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Company:
Part Number:
R5F212BASNFA#U0R5F212BASNFA#X6
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 R5F212BASNFA#U0

R5F212BASNFA#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/2A Group, R8C/2B Group RENESAS MCU 1. Overview 1.1 Features The R8C/2A Group and R8C/2B 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/2A Group, R8C/2B Group 1.1.2 Specifications Tables 1.1 and 1.2 outlines the Specifications for R8C/2A Group and Tables 1.3 and 1.4 outlines the Specifications for R8C/2B Group. Table 1.1 Specifications for R8C/2A Group (1) Item Function CPU Central processing unit ...

Page 5

R8C/2A Group, R8C/2B Group Table 1.2 Specifications for R8C/2A 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/2A Group, R8C/2B Group Table 1.3 Specifications for R8C/2B 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/2A Group, R8C/2B Group Table 1.4 Specifications for R8C/2B 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/2A Group, R8C/2B Group 1.2 Product List Table 1.5 lists Product List for R8C/2A Group, Figure 1.1 shows a Part Number, Memory Size, and Package of R8C/2A Group, Table 1.6 lists Product List for R8C/2B Group, and Figure 1.2 shows ...

Page 9

R8C/2A Group, R8C/2B 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/2A Group Rev.2.10 ...

Page 10

R8C/2A Group, R8C/2B Group Table 1.6 Product List for R8C/2B Group Part No. Program ROM R5F212B7SNFP 48 Kbytes R5F212B7SNFA 48 Kbytes R5F212B7SNLG 48 Kbytes R5F212B8SNFP 64 Kbytes R5F212B8SNFA 64 Kbytes R5F212B8SNLG 64 Kbytes R5F212BASNFP 96 Kbytes R5F212BASNFA 96 Kbytes R5F212BASNLG ...

Page 11

R8C/2A Group, R8C/2B Group Part No XXX FP NOTE: 1: Please contact Renesas Technology sales offices for the Y version. Figure 1.2 Part Number, Memory Size, and Package of R8C/2B Group Rev.2.10 ...

Page 12

R8C/2A Group, R8C/2B 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 13

R8C/2A Group, R8C/2B Group 1.4 Pin Assignment Figure 1.4 shows 64-pin LQFP Package Pin Assignment (Top View). Figure 1.5 shows 64-pin FLGA Package Pin Assignment (Top Perspective View). Tables 1.7 and 1.8 outlines the Pin Name Information by Pin Number. ...

Page 14

R8C/2A Group, R8C/2B Group P3_3/SSI P0_1/AN6 7 P3_4/SDA/ P0_0/AN7 SCS 6 P5_3/ MODE TRCIOC 5 P4_4/XCOUT P2_5/ TRDIOB1 4 P5_4/ VCC/AVCC TRCIOD 3 VSS/AVSS VSS/AVSS 2 P5_1/TRCIOA/ P4_6/XIN TRCTRG 1 P2_7/ P2_6/ TRDIOD1 TRDIOC1 A B NOTES: ...

Page 15

R8C/2A Group, R8C/2B Group Table 1.7 Pin Name Information by Pin Number (1) Pin Control Pin Port Number 1 P3_3 2 P3_4 3 MODE 4 XCIN P4_3 5 XCOUT P4_4 6 RESET 7 XOUT P4_7 8 VSS/AVSS 9 XIN P4_6 ...

Page 16

R8C/2A Group, R8C/2B Group Table 1.8 Pin Name Information by Pin Number (2) Pin Control Pin Port Number 46 P1_3 47 P1_2 48 P1_1 49 P1_0 50 P0_0 51 P0_1 52 P0_2 53 P0_3 54 P0_4 55 P6_2 56 P6_1 ...

Page 17

R8C/2A Group, R8C/2B 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 18

R8C/2A Group, R8C/2B Group Table 1.10 Pin Functions (2) Item Pin Name A/D converter AN0 to AN11 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 19

R8C/2A Group, R8C/2B 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 20

R8C/2A Group, R8C/2B 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 21

R8C/2A Group, R8C/2B 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 22

R8C/2A Group, R8C/2B Group 3. Memory 3.1 R8C/2A Group Figure 3 Memory Map of R8C/2A Group. The R8C/2A group has 1 Mbyte of address space from addresses 00000h to FFFFFh. The internal ROM is allocated lower addresses, beginning ...

Page 23

R8C/2A Group, R8C/2B Group 3.2 R8C/2B Group Figure 3 Memory Map of R8C/2B Group. The R8C/2B group has 1 Mbyte of address space from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated lower addresses, beginning ...

Page 24

R8C/2A Group, R8C/2B 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 25

R8C/2A Group, R8C/2B 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 26

R8C/2A Group, R8C/2B 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 27

R8C/2A Group, R8C/2B 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 28

R8C/2A Group, R8C/2B 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 29

R8C/2A Group, R8C/2B 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 30

R8C/2A Group, R8C/2B 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 31

R8C/2A Group, R8C/2B 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 32

R8C/2A Group, R8C/2B 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 33

R8C/2A Group, R8C/2B 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 34

R8C/2A Group, R8C/2B 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 35

R8C/2A Group, R8C/2B Group Table 4.12 SFR Information (12) Address 02C0h A/D Register 0 02C1h 02C2h 02C3h 02C4h 02C5h 02C6h 02C7h 02C8h 02C9h 02CAh 02CBh 02CCh 02CDh 02CEh 02CFh 02D0h 02D1h 02D2h 02D3h 02D4h A/D Control Register 2 02D5h 02D6h ...

Page 36

R8C/2A Group, R8C/2B 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 37

R8C/2A Group, R8C/2B 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 38

R8C/2A Group, R8C/2B 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 10-bit mode 8-bit mode R Resistor ladder ladder t Conversion time 10-bit mode conv 8-bit mode ...

Page 39

R8C/2A Group, R8C/2B 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 40

R8C/2A Group, R8C/2B 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 41

R8C/2A Group, R8C/2B 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 42

R8C/2A Group, R8C/2B 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 43

R8C/2A Group, R8C/2B 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 44

R8C/2A Group, R8C/2B 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 45

R8C/2A Group, R8C/2B 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 46

R8C/2A Group, R8C/2B 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 47

R8C/2A Group, R8C/2B 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 Nov 26, 2007 Page 45 ...

Page 48

R8C/2A Group, R8C/2B 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 49

R8C/2A Group, R8C/2B 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 50

R8C/2A Group, R8C/2B Group Table 5.17 Electrical Characteristics (2) [Vcc = -20 to 85°C (N version) / -40 to 85°C (D version), unless otherwise specified.) opr Symbol Parameter I Power supply High-speed CC current clock mode ...

Page 51

R8C/2A Group, R8C/2B 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 52

R8C/2A Group, R8C/2B 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 53

R8C/2A Group, R8C/2B 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 54

R8C/2A Group, R8C/2B Group Table 5.24 Electrical Characteristics (4) [Vcc = -20 to 85°C (N version) / -40 to 85°C (D version), unless otherwise specified.) opr Symbol Parameter I Power supply current High-speed ...

Page 55

R8C/2A Group, R8C/2B 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 56

R8C/2A Group, R8C/2B 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 57

R8C/2A Group, R8C/2B 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 58

R8C/2A Group, R8C/2B Group Table 5.31 Electrical Characteristics (6) [Vcc = 2 -20 to 85°C (N version) / -40 to 85°C (D version), unless otherwise specified.) opr Symbol Parameter I Power supply current High-speed ...

Page 59

R8C/2A Group, R8C/2B 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 60

R8C/2A Group, R8C/2B 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 61

R8C/2A Group, R8C/2B 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-LQFP64-10x10-0.50 PLQP0064KB ...

Page 62

R8C/2A Group, R8C/2B Group JEITA Package Code RENESAS Code P-TFLGA64-6x6-0.65 PTLG0064JA Rev.2.10 Nov 26, 2007 Page REJ03B0182-0210 Previous Code MASS[Typ.] 64F0G 0.07g ...

Page 63

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, ...

Page 64

REVISION HISTORY Rev. Date Page 0.30 Dec 22, 2006 19 37 1.00 Feb 09, 2007 All pages “Preliminary” deleted 2.00 Oct 17, ...

Page 65

REVISION HISTORY Rev. Date Page 2.00 Oct 17, 2007 33 59 2.10 Nov 26, 2007 20 All trademarks and registered trademarks are the property of their respective owners. R8C/2A Group, ...

Page 66

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