R5F212H1SDSP#U0 Renesas Electronics America, R5F212H1SDSP#U0 Datasheet

IC R8C/2H MCU FLASH 4K 20-SSOP

R5F212H1SDSP#U0

Manufacturer Part Number
R5F212H1SDSP#U0
Description
IC R8C/2H MCU FLASH 4K 20-SSOP
Manufacturer
Renesas Electronics America
Series
R8C/2x/2Hr
Datasheet

Specifications of R5F212H1SDSP#U0

Core Processor
R8C
Core Size
16/32-Bit
Speed
8MHz
Connectivity
LIN, SIO, UART/USART
Peripherals
POR, PWM, Voltage Detect, WDT
Number Of I /o
15
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
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 R5F212H1SDSP#U0

R5F212H1SDSP#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/2H Group, R8C/2J Group RENESAS MCU 1. Overview 1.1 Features The R8C/2H Group and R8C/2J Group of single-chip MCUs incorporate the R8C/Tiny Series CPU core, employing sophisticated instructions for a high level of efficiency. With 1 Mbyte of address space, ...

Page 4

R8C/2H Group, R8C/2J Group Table 1.1 Specifications for R8C/2H Group Item Function CPU Central processing unit Memory ROM, RAM Power Supply Voltage detection Voltage circuit Detection Comparator I/O Ports Clock Clock generation circuits Interrupts Watchdog Timer Timer Timer RA Timer ...

Page 5

R8C/2H Group, R8C/2J Group Table 1.2 Specifications for R8C/2J Group Item Function CPU Central processing unit Memory ROM, RAM Power Supply Voltage detection Voltage circuit Detection Comparator I/O Ports Clock Clock generation circuits Interrupts Watchdog Timer Timer Timer RA Timer ...

Page 6

R8C/2H Group, R8C/2J Group 1.2 Product List Table 1.3 lists Product List for R8C/2H Group, Figure 1.1 shows a Part Number, Memory Size, and Package of R8C/2H Group. Table 1.4 lists Product List for R8C/2J Group, Figure 1.2 shows a ...

Page 7

R8C/2H Group, R8C/2J Group Table 1.4 Product List for R8C/2J Group Part No. R5F212J0SNSP 2 Kbytes R5F212J1SNSP 4 Kbytes R5F212J0SDSP 2 Kbytes R5F212J1SDSP 4 Kbytes Part No Figure 1.2 Part Number, ...

Page 8

R8C/2H Group, R8C/2J Group 1.3 Block Diagram Figure 1.3 shows a Block Diagram of R8C/2H Group and Figure 1.4 shows a Block Diagram of R8C/2J Group. I/O ports Peripheral functions Timers Timer RA (8 bits) Timer RB (8 bits) Timer ...

Page 9

R8C/2H Group, R8C/2J Group I/O ports Peripheral functions Timers Timer RA (8 bits) Timer RB (8 bits) Timer RF (16 bits) Watchdog timer (15 bits) Figure 1.4 Block Diagram of R8C/2J Group Rev.1.00 Mar 28, 2008 Page ...

Page 10

R8C/2H Group, R8C/2J Group 1.4 Pin Assignment Figure 1.5 shows Pin Assignment (Top View) of R8C/2H Group. Table 1.5 outlines the Pin Name Information by Pin Number of R8C/2H Group. Figure 1.6 shows Pin Assignment (Top View) of R8C/2J Group. ...

Page 11

R8C/2H Group, R8C/2J Group Table 1.5 Pin Name Information by Pin Number of R8C/2H Group Pin Control Pin Port Number 1 P6_4 2 P3_7 3 RESET 4 XCOUT (P4_4) 5 VSS 6 XCIN (P4_3) 7 VCC 8 MODE 9 P4_5 ...

Page 12

R8C/2H Group, R8C/2J Group NC P3_7/TRAO/TRFO11 RESET NC VSS NC VCC MODE P4_5/INT0 P1_7/TRAIO/INT1 NOTES: 1. Can be assigned to the pin in parentheses by a program. 2. Confirm the pin 1 position on the package by referring to the ...

Page 13

R8C/2H Group, R8C/2J Group Table 1.6 Pin Name Information by Pin Number of R8C/2J Group Pin Control Pin Port Number ( P3_7 3 RESET 4 ( VSS ( VCC 8 MODE 9 ...

Page 14

R8C/2H Group, R8C/2J Group 1.5 Pin Functions Table 1.7 lists Pin Functions of R8C/2H Group and Table 1.8 lists Pin Functions of R8C/2J Group. Table 1.7 Pin Functions of R8C/2H Group Type Symbol Power supply input VCC, VSS Reset input ...

Page 15

R8C/2H Group, R8C/2J Group Table 1.8 Pin Functions of R8C/2J Group Type Symbol Power supply input VCC, VSS Reset input RESET MODE MODE INT interrupt input INT0, INT1 Key input interrupt KI0 to KI3 Timer RA TRAIO TRAO Timer RB ...

Page 16

R8C/2H Group, R8C/2J 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 17

R8C/2H Group, R8C/2J 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 18

R8C/2H Group, R8C/2J 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 19

R8C/2H Group, R8C/2J Group 3. Memory Figure 3 Memory Map of R8C/2H Group and Figure 3 Memory Map of R8C/2J Group. The R8C/2H group has 1 Mbyte of address space from addresses 00000h to FFFFFh. The ...

Page 20

R8C/2H Group, R8C/2J Group 00000h SFR (Refer to 4. Special Function Registers (SFRs)) 002FFh 00400h Internal RAM 0XXXh 0YYYYh Internal ROM (program ROM) 0FFFFh FFFFFh NOTE: 1. The blank regions are reserved. Do not access locations in these regions. Part ...

Page 21

R8C/2H Group, R8C/2J 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 22

R8C/2H Group, R8C/2J Group Table 4.2 SFR Information (2) Address 0030h 0031h Voltage Detection Register 1 0032h Voltage Detection Register 2 0033h 0034h 0035h 0036h Voltage Monitor 1 Circuit Control Register 0037h Voltage Monitor 2 Circuit Control Register 0038h Voltage ...

Page 23

R8C/2H Group, R8C/2J Group Table 4.3 SFR Information (3) Address 0070h 0071h 0072h 0073h 0074h 0075h 0076h 0077h 0078h 0079h 007Ah 007Bh 007Ch 007Dh 007Eh 007Fh 0080h 0081h 0082h 0083h 0084h 0085h 0086h 0087h 0088h 0089h 008Ah 008Bh 008Ch 008Dh ...

Page 24

R8C/2H Group, R8C/2J Group Table 4.4 SFR Information (4) Address 00B0h 00B1h 00B2h 00B3h 00B4h 00B5h 00B6h 00B7h 00B8h 00B9h 00BAh 00BBh 00BCh 00BDh 00BEh 00BFh 00C0h 00C1h 00C2h 00C3h 00C4h 00C5h 00C6h 00C7h 00C8h 00C9h 00CAh 00CBh 00CCh 00CDh ...

Page 25

R8C/2H Group, R8C/2J Group Table 4.5 SFR Information (5) Address 00F0h 00F1h 00F2h 00F3h 00F4h 00F5h 00F6h Pin Select Register 2 00F7h 00F8h Port Mode Register 00F9h External Input Enable Register 00FAh INT Input Filter Select Register 00FBh Key Input ...

Page 26

R8C/2H Group, R8C/2J Group Table 4.6 SFR Information (6) Address 0130h 0131h 0132h 0133h 0134h 0135h 0136h 0137h 0138h 0139h 013Ah 013Bh 013Ch 013Dh 013Eh 013Fh 0140h 0141h 0142h 0143h 0144h 0145h 0146h 0147h 0148h 0149h 014Ah 014Bh 014Ch 014Dh ...

Page 27

R8C/2H Group, R8C/2J Group Table 4.7 SFR Information (7) Address 0170h 0171h 0172h 0173h 0174h 0175h 0176h 0177h 0178h 0179h 017Ah 017Bh 017Ch 017Dh 017Eh 017Fh 0180h 0181h 0182h 0183h 0184h 0185h 0186h 0187h 0188h 0189h 018Ah 018Bh 018Ch 018Dh ...

Page 28

R8C/2H Group, R8C/2J Group Table 4.8 SFR Information (8) Address 01B0h 01B1h 01B2h 01B3h Flash Memory Control Register 4 01B4h 01B5h Flash Memory Control Register 1 01B6h 01B7h Flash Memory Control Register 0 01B8h 01B9h 01BAh 01BBh 01BCh 01BDh 01BEh ...

Page 29

R8C/2H Group, R8C/2J Group Table 4.9 SFR Information (9) Address 01F0h 01F1h 01F2h 01F3h 01F4h 01F5h 01F6h 01F7h 01F8h 01F9h 01FAh 01FBh 01FCh 01FDh 01FEh 01FFh 0200h 0201h 0202h 0203h 0204h 0205h 0206h 0207h 0208h 0209h 020Ah 020Bh 020Ch 020Dh ...

Page 30

R8C/2H Group, R8C/2J Group Table 4.10 SFR Information (10) Address 0230h 0231h 0232h 0233h 0234h 0235h 0236h 0237h 0238h 0239h 023Ah 023Bh 023Ch 023Dh 023Eh 023Fh 0240h 0241h 0242h 0243h 0244h 0245h 0246h 0247h 0248h 0249h 024Ah 024Bh 024Ch 024Dh ...

Page 31

R8C/2H Group, R8C/2J Group Table 4.11 SFR Information (11) Address 0270h 0271h 0272h 0273h 0274h 0275h 0276h 0277h 0278h 0279h 027Ah 027Bh 027Ch 027Dh 027Eh 027Fh 0280h 0281h 0282h 0283h 0284h 0285h 0286h 0287h 0288h 0289h 028Ah 028Bh 028Ch 028Dh ...

Page 32

R8C/2H Group, R8C/2J Group Table 4.12 SFR Information (12) Address 02B0h 02B1h 02B2h 02B3h 02B4h 02B5h 02B6h 02B7h 02B8h 02B9h 02BAh 02BBh 02BCh 02BDh 02BEh 02BFh 02C0h 02C1h 02C2h 02C3h 02C4h 02C5h 02C6h 02C7h 02C8h 02C9h 02CAh 02CBh 02CCh 02CDh ...

Page 33

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

Page 34

R8C/2H Group, R8C/2J Group Table 5.3 Flash Memory (Program ROM) Electrical Characteristics Symbol Parameter − Program/erase endurance − Byte program time − Block erase time − Program, erase voltage − Read voltage − Program, erase temperature − (7) Data hold ...

Page 35

R8C/2H Group, R8C/2J Group Table 5.4 Voltage Detection 0 Circuit Electrical Characteristics Symbol V Voltage detection level det0 − Voltage detection circuit self power consumption t Waiting time until voltage detection circuit operation d(E-A) (2) starts Vccmin MCU operating voltage ...

Page 36

R8C/2H Group, R8C/2J Group Table 5.7 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 37

R8C/2H Group, R8C/2J Group Table 5.8 Comparator Electrical Characteristics Symbol Parameter Vref Internal reference voltage Vcref External input reference voltage Vcin External comparison voltage input range Vofs Input offset voltage Tcrsp Response time NOTE: 1. The measurement condition is T ...

Page 38

R8C/2H Group, R8C/2J Group Table 5.12 Electrical Characteristics (1) [V Symbol Parameter V Output “H” voltage OH V Output “L” voltage Hysteresis T+- T- INT0, INT1, KI0, KI1, KI2, KI3, RXD0, RXD2, CLK0, CLK2 RESET I Input ...

Page 39

R8C/2H Group, R8C/2J Group Table 5.13 Electrical Characteristics (2) [Vcc = 5 V] − 85°C (N version) / opr Symbol Parameter I Power supply current High-speed 3.3 to 5.5 V) on-chip oscillator mode ...

Page 40

R8C/2H Group, R8C/2J Group Timing Requirements (Unless Otherwise Specified: V Table 5.14 XCIN Input Symbol t XCIN input cycle time c(XCIN) t XCIN input “H” width WH(XCIN) t XCIN input “L” width WL(XCIN) XCIN input Figure 5.3 XCIN Input Timing ...

Page 41

R8C/2H Group, R8C/2J Group Table 5.16 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 42

R8C/2H Group, R8C/2J Group Table 5.18 Electrical Characteristics (3) [V Symbol Parameter V Output “H” voltage OH V Output “L” voltage Hysteresis T+- T- INT0, INT1, KI0, KI1, KI2, KI3, RXD0, RXD2, CLK0, CLK2 RESET I Input ...

Page 43

R8C/2H Group, R8C/2J Group Table 5.19 Electrical Characteristics (4) [Vcc = 3 V] − 85°C (N version) / opr Symbol Parameter I Power supply current High-speed 2.7 to 3.3 V) on-chip oscillator mode ...

Page 44

R8C/2H Group, R8C/2J Group Timing requirements (Unless Otherwise Specified: V Table 5.20 XCIN Input Symbol t XCIN input cycle time c(XCIN) t XCIN input “H” width WH(XCIN) t XCIN input “L” width WL(XCIN) XCIN input Figure 5.7 XCIN Input Timing ...

Page 45

R8C/2H Group, R8C/2J Group Table 5.22 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 46

R8C/2H Group, R8C/2J Group Table 5.24 Electrical Characteristics (5) [V Symbol Parameter V Output “H” voltage OH V Output “L” voltage Hysteresis T+- T- INT0, INT1, KI0, KI1, KI2, KI3, RXD0, RXD2, CLK0, CLK2 RESET I Input ...

Page 47

R8C/2H Group, R8C/2J Group Table 5.25 Electrical Characteristics (6) [Vcc = 2.2 V] − 85°C (N version) / opr Symbol Parameter I Power supply current High-speed 2.2 to 2.7 V) on-chip oscillator mode ...

Page 48

R8C/2H Group, R8C/2J Group Timing requirements (Unless Otherwise Specified: V Table 5.26 XCIN Input Symbol t XCIN input cycle time c(XCIN) t XCIN input “H” width WH(XCIN) t XCIN input “L” width WL(XCIN) XCIN input Figure 5.11 XCIN Input Timing ...

Page 49

R8C/2H Group, R8C/2J 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 50

R8C/2H Group, R8C/2J Group 5.2 R8C/2J Group Table 5.30 Absolute Maximum Ratings Symbol Parameter V Supply voltage CC V Input voltage I V Output voltage O P Power dissipation d T Operating ambient temperature opr T Storage temperature stg Table ...

Page 51

R8C/2H Group, R8C/2J Group Table 5.32 Flash Memory (Program ROM) Electrical Characteristics Symbol Parameter − Program/erase endurance − Byte program time − Block erase time − Program, erase voltage − Read voltage − Program, erase temperature − (7) Data hold ...

Page 52

R8C/2H Group, R8C/2J Group Table 5.33 Voltage Detection 0 Circuit Electrical Characteristics Symbol V Voltage detection level det0 − Voltage detection circuit self power consumption t Waiting time until voltage detection circuit operation d(E-A) (2) starts Vccmin MCU operating voltage ...

Page 53

R8C/2H Group, R8C/2J Group Table 5.36 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 54

R8C/2H Group, R8C/2J Group Table 5.37 Comparator Electrical Characteristics Symbol Parameter Vref Internal reference voltage Vcref External input reference voltage Vcin External comparison voltage input range Vofs Input offset voltage Tcrsp Response time NOTE: 1. The measurement condition is T ...

Page 55

R8C/2H Group, R8C/2J Group Table 5.41 Electrical Characteristics (1) [V Symbol Parameter V Output “H” voltage OH V Output “L” voltage Hysteresis T+- T- INT0, INT1, KI0, KI1, KI2, KI3, RXD0, CLK0 RESET I Input “H” current ...

Page 56

R8C/2H Group, R8C/2J Group Table 5.42 Electrical Characteristics (2) [Vcc = 5 V] − 85°C (N version) / opr Symbol Parameter I Power supply current High-speed 3.3 to 5.5 V) on-chip oscillator CC ...

Page 57

R8C/2H Group, R8C/2J Group Timing Requirements (Unless Otherwise Specified: V Table 5.43 TRAIO Input Symbol t TRAIO input cycle time c(TRAIO) t TRAIO input “H” width WH(TRAIO) t TRAIO input “L” width WL(TRAIO) TRAIO input Figure 5.17 TRAIO Input Timing ...

Page 58

R8C/2H Group, R8C/2J Group Table 5.44 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 TXD0 output delay time d(C-Q) t TXD0 hold time h(C-Q) t RXD0 ...

Page 59

R8C/2H Group, R8C/2J Group Table 5.46 Electrical Characteristics (3) [V Symbol Parameter V Output “H” voltage OH V Output “L” voltage Hysteresis T+- T- INT0, INT1, KI0, KI1, KI2, KI3, RXD0, CLK0 RESET I Input “H” current ...

Page 60

R8C/2H Group, R8C/2J Group Table 5.47 Electrical Characteristics (4) [Vcc = 3 V] − 85°C (N version) / opr Symbol Parameter I Power supply current High-speed 2.7 to 3.3 V) on-chip oscillator CC ...

Page 61

R8C/2H Group, R8C/2J Group Timing requirements (Unless Otherwise Specified: V Table 5.48 TRAIO Input Symbol t TRAIO input cycle time c(TRAIO) t TRAIO input “H” width WH(TRAIO) t TRAIO input “L” width WL(TRAIO) TRAIO input Figure 5.20 TRAIO Input Timing ...

Page 62

R8C/2H Group, R8C/2J Group Table 5.49 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 TXD0 output delay time d(C-Q) t TXD0 hold time h(C-Q) t RXD0 ...

Page 63

R8C/2H Group, R8C/2J Group Table 5.51 Electrical Characteristics (5) [V Symbol Parameter V Output “H” voltage OH V Output “L” voltage Hysteresis T+- T- INT0, INT1, KI0, KI1, KI2, KI3, RXD0, CLK0 RESET I Input “H” current ...

Page 64

R8C/2H Group, R8C/2J Group Table 5.52 Electrical Characteristics (6) [Vcc = 2.2 V] − 85°C (N version) / opr Symbol Parameter I Power supply current High-speed 2.2 to 2.7 V) on-chip oscillator CC ...

Page 65

R8C/2H Group, R8C/2J Group Timing requirements (Unless Otherwise Specified: V Table 5.53 TRAIO Input Symbol t TRAIO input cycle time c(TRAIO) t TRAIO input “H” width WH(TRAIO) t TRAIO input “L” width WL(TRAIO) TRAIO input Figure 5.23 TRAIO Input Timing ...

Page 66

R8C/2H Group, R8C/2J Group Table 5.54 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 TXD0 output delay time d(C-Q) t TXD0 hold time h(C-Q) t RXD0 ...

Page 67

R8C/2H Group, R8C/2J 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-LSSOP20-4.4x6.5-0.65 PLSP0020JB Index mark ...

Page 68

REVISION HISTORY REVISION HISTORY Rev. Date Page − Jun 18, 2007 0.01 0.10 Jul 20, 2007 Electrical Characteristics added 0.20 Nov 12, 2007 31 ...

Page 69

REVISION HISTORY Rev. Date Page 1.00 Mar 28, 2008 62 All trademarks and registered trademarks are the property of their respective owners. R8C/2H Group, R8C/2J Group Datasheet Description Table 5.52 revised Summary ...

Page 70

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