Datasheet R8C/35M Group RENESAS MCU 1. R01DS0021EJ0100 Rev.1.00 Jun 20, 2011 Overview 1.1 Features The R8C/35M Group of single-chip MCUs incorporates the R8C CPU core, employing sophisticated instructions for a high level of efficiency. With 1 Mbyte of address space, and it is capable of executing instructions at high speed. In addition, the CPU core boasts a multiplier for high-speed operation processing. Power consumption is low, and the supported operating modes allow additional power control.
R8C/35M Group 1.1.2 1. Overview Specifications Tables 1.1 and 1.2 outline the Specifications for R8C/35M Group. Table 1.1 Item CPU Specifications for R8C/35M Group (1) Function Central processing unit Memory ROM, RAM, Data flash Power Supply Voltage detection Voltage circuit Detection I/O Ports Programmable I/O ports Clock Clock generation circuits Interrupts Watchdog Timer DTC (Data Transfer Controller) Timer Timer RA Timer RB Timer RC Timer RD Timer RE R01DS0021EJ0100 Rev.1.
R8C/35M Group Table 1.2 Item Serial Interface 1.
R8C/35M Group 1.2 1. Overview Product List Table 1.3 lists Product List for R8C/35M Group, and Figure 1.1 shows a Part Number, Memory Size, and Package of R8C/35M Group. Table 1.3 Product List for R8C/35M Group Part No. R5F21354MNFP R5F21355MNFP R5F21356MNFP R5F21357MNFP R5F21358MNFP R5F2135AMNFP R5F2135CMNFP R5F21354MDFP R5F21355MDFP R5F21356MDFP R5F21357MDFP R5F21358MDFP R5F2135AMDFP R5F2135CMDFP Part No.
R8C/35M Group 1.3 1. Overview Block Diagram Figure 1.2 shows a Block Diagram.
R8C/35M Group 1.4 1. Overview Pin Assignment P4_5/ADTRG/INT0(/RXD2/SCL2) P6_5/INT4(/CLK1/CLK2/TRCIOB) P6_6/INT2(/TXD2/SDA2/TRCIOC) P6_7(/INT3/TRCIOD) P0_7/AN0/DA1(/TRCIOC) P1_0/AN8/LVCMP1/KI0(/TRCIOD) P1_1/AN9/LVCMP2/KI1(/TRCIOA/TRCTRG) P1_2/AN10/LVREF/Kl2(/TRCIOB) P1_3/AN11/LVCOUT1/Kl3/TRBO(/TRCIOC) P1_4(/TXD0/TRCCLK) P1_5(/INT1/RXD0/TRAIO) P1_6/LVCOUT2/IVREF1(/CLK0) P1_7/IVCMP1/INT1(/TRAIO) Figure 1.3 shows the Pin Assignment (Top View). Tables 1.4 and 1.
R8C/35M Group Table 1.4 1.
R8C/35M Group Table 1.5 1.
R8C/35M Group 1.5 1. Overview Pin Functions Tables 1.6 and 1.7 list Pin Functions. Table 1.6 Pin Functions (1) Item Pin Name I/O Type Description Power supply input VCC, VSS − Apply 1.8 V to 5.5 V to the VCC pin. Apply 0 V to the VSS pin. Analog power supply input AVCC, AVSS − Power supply for the A/D converter. Connect a capacitor between AVCC and AVSS. Reset input RESET I Input “L” on this pin resets the MCU. MODE MODE I Connect this pin to VCC via a resistor.
R8C/35M Group 1. Overview Table 1.
R8C/35M Group 2. 2. Central Processing Unit (CPU) 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.
R8C/35M Group 2.1 2. Central Processing Unit (CPU) Data Registers (R0, R1, R2, and R3) R0 is a 16-bit register for transfer, arithmetic, and logic operations. The same applies to R1 to R3. R0 can be split into high-order bits (R0H) and low-order bits (R0L) to be used separately as 8-bit data registers. R1H and R1L are analogous to R0H and R0L. R2 can be combined with R0 and used as a 32-bit data register (R2R0). R3R1 is analogous to R2R0. 2.
R8C/35M Group 2.8.7 2. Central Processing Unit (CPU) Interrupt Enable Flag (I) The I flag enables maskable interrupts. Interrupts are disabled when the I flag is set to 0, and are enabled when the I flag is set to 1. The I flag is set to 0 when an interrupt request is acknowledged. 2.8.8 Stack Pointer Select Flag (U) ISP is selected when the U flag is set to 0; USP is selected when the U flag is set to 1.
R8C/35M Group 3. 3. Memory Memory 3.1 R8C/35M Group Figure 3.1 is a Memory Map of R8C/35M Group. The R8C/35M Group has a 1-Mbyte address space from addresses 00000h to FFFFFh. For example, a 32-Kbyte internal ROM area is allocated addresses 08000h to 0FFFFh. The fixed interrupt vector table is allocated addresses 0FFDCh to 0FFFFh. The starting address of each interrupt routine is stored here. The internal ROM (data flash) is allocated addresses 03000h to 03FFFh.
R8C/35M Group 4. 4. Special Function Registers (SFRs) Special Function Registers (SFRs) An SFR (special function register) is a control register for a peripheral function. Tables 4.1 to 4.12 list the special function registers and Table 4.13 lists the ID Code Areas and Option Function Select Area. Table 4.
R8C/35M Group Table 4.2 4.
R8C/35M Group Table 4.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 009Eh 009Fh 00A0h 00A1h 00A2h 00A3h 00A4h 00A5h 00A6h 00A7h 00A8h 00A9h 00AAh 00ABh 00ACh 00ADh 00AEh 00AFh 00B0h 00B1h 00B2h 00B3h 00B4h 00B5h 00B6h 00B7h 00B8h 00B9h 00BAh 00BBh 00BCh 00BDh 00BEh 00BFh 4.
R8C/35M Group Table 4.4 4.
R8C/35M Group Table 4.5 Address 0100h 0101h 0102h 0103h 0104h 0105h 0106h 0107h 0108h 0109h 010Ah 010Bh 010Ch 010Dh 010Eh 010Fh 0110h 0111h 0112h 0113h 0114h 0115h 0116h 0117h 0118h 0119h 011Ah 011Bh 011Ch 011Dh 011Eh 011Fh 0120h 0121h 0122h 0123h 0124h 0125h 0126h 0127h 0128h 0129h 012Ah 012Bh 012Ch 012Dh 012Eh 012Fh 0130h 0131h 0132h 0133h 0134h 0135h 0136h 0137h 0138h 0139h 013Ah 013Bh 013Ch 013Dh 013Eh 013Fh Note: 1. 4.
R8C/35M Group Table 4.6 4.
R8C/35M Group Table 4.7 4.
R8C/35M Group Table 4.8 4.
R8C/35M Group Table 4.9 4.
R8C/35M Group Table 4.10 4.
R8C/35M Group Table 4.11 4.
R8C/35M Group 4. Special Function Registers (SFRs) SFR Information (12) (1) Table 4.12 Address Register 2CF0h DTC Control Data 22 2CF1h 2CF2h 2CF3h 2CF4h 2CF5h 2CF6h 2CF7h 2CF8h DTC Control Data 23 2CF9h 2CFAh 2CFBh 2CFCh 2CFDh 2CFEh 2CFFh 2D00h : 2FFFh X: Undefined Note: 1. The blank areas are reserved and cannot be accessed by users. Table 4.13 ID Code Areas and Option Function Select Area Address : FFDBh : FFDFh : FFE3h : FFEBh : FFEFh : FFF3h : FFF7h : FFFBh : FFFFh Area Name Notes: 1. 2.
R8C/35M Group 5. 5. Electrical Characteristics Electrical Characteristics Table 5.1 Absolute Maximum Ratings Symbol Parameter Rated Value Unit −0.3 to 6.5 V Input voltage −0.3 to VCC + 0.3 V VO Output voltage −0.3 to VCC + 0.3 V Pd Power dissipation 500 mW Topr Operating ambient temperature −20 to 85 (N version) / −40 to 85 (D version) °C Tstg Storage temperature −65 to 150 °C VCC/AVCC Supply voltage VI R01DS0021EJ0100 Rev.1.
R8C/35M Group Table 5.2 5. Electrical Characteristics Recommended Operating Conditions Symbol Parameter Conditions Standard Min. Typ. Max. Unit VCC/AVCC Supply voltage 1.8 − 5.5 VSS/AVSS Supply voltage − 0 − V 0.8 VCC − VCC V VIH Input “H” voltage Other than CMOS input CMOS Input level Input level selection input switching : 0.35 VCC function (I/O port) Input level selection : 0.5 VCC Input level selection : 0.7 VCC 4.0 V ≤ VCC ≤ 5.5 V 0.5 VCC − VCC V 2.7 V ≤ VCC < 4.0 V 0.
R8C/35M Group 5. Electrical Characteristics P0 P1 P2 P3 P4 P5 P6 Figure 5.1 30pF Ports P0 to P6 Timing Measurement Circuit R01DS0021EJ0100 Rev.1.
R8C/35M Group Table 5.3 5. Electrical Characteristics A/D Converter Characteristics Symbol Parameter − Resolution − Absolute accuracy A/D conversion clock − Tolerance level impedance tCONV Conversion time Min. Max. Unit − − 10 Bit AN0 to AN7 input, AN8 to AN11 input − − ±3 LSB Vref = AVCC = 3.3 V AN0 to AN7 input, AN8 to AN11 input − − ±5 LSB Vref = AVCC = 3.0 V AN0 to AN7 input, AN8 to AN11 input − − ±5 LSB Vref = AVCC = 2.
R8C/35M Group Table 5.4 5. Electrical Characteristics D/A Converter Characteristics Symbol Parameter Standard Condition Min. Typ. Max. Unit − Resolution − − 8 Bit − Absolute accuracy − − 2.5 LSB tsu Setup time − − 3 µs RO Output resistor − 6 − kΩ IVref Reference power input current − − 1.5 mA (Note 2) Notes: 1. VCC/AVCC = Vref = 2.7 to 5.5 V and Topr = −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified. 2.
R8C/35M Group Table 5.7 5. Electrical Characteristics Flash Memory (Program ROM) Electrical Characteristics Symbol Parameter Conditions Standard Min. Typ. Max. Unit 1,000 (3) − − times Byte program time − 80 500 µs − Block erase time − 0.
R8C/35M Group Table 5.8 5. Electrical Characteristics Flash Memory (Data flash Block A to Block D) Electrical Characteristics Symbol Parameter Standard Conditions Min. Typ. Max. Unit 10,000 (3) − − times Byte program time (program/erase endurance ≤ 1,000 times) − 160 1,500 µs − Byte program time (program/erase endurance > 1,000 times) − 300 1,500 µs − Block erase time (program/erase endurance ≤ 1,000 times) − 0.
R8C/35M Group Table 5.9 5. Electrical Characteristics Voltage Detection 0 Circuit Electrical Characteristics Symbol Vdet0 Parameter Condition Standard Min. Typ. Max. Unit Voltage detection level Vdet0_0 (2) 1.80 1.90 2.05 V Voltage detection level Vdet0_1 (2) 2.15 2.35 2.50 V Voltage detection level Vdet0_2 (2) 2.70 2.85 3.05 V Voltage detection level Vdet0_3 (2) 3.55 3.80 4.05 V Voltage detection 0 circuit response time (4) At the falling of VCC from 5 V to (Vdet0_0 − 0.
R8C/35M Group Table 5.11 5. Electrical Characteristics Voltage Detection 2 Circuit Electrical Characteristics Symbol Vdet2 Parameter Standard Condition Min. Unit Max. Voltage detection level Vdet2_0 (2) At the falling of VCC 3.70 4.00 4.30 V Voltage detection level Vdet2_EXT (2) At the falling of LVCMP2 1.20 1.34 1.48 V − 0.10 − V − 20 150 µs − 1.
R8C/35M Group Table 5.13 5.
R8C/35M Group Table 5.16 Symbol 5. Electrical Characteristics Timing Requirements of Synchronous Serial Communication Unit (SSU) (1) Parameter Conditions Standard Min. Typ. Max. Unit tSUCYC SSCK clock cycle time 4 − − tCYC (2) tHI SSCK clock “H” width 0.4 − 0.6 tSUCYC tLO SSCK clock “L” width 0.4 − 0.
R8C/35M Group 5.
R8C/35M Group 5.
R8C/35M Group 5. Electrical Characteristics tHI VIH or VOH SSCK VIL or VOL tLO tSUCYC SSO (output) tOD SSI (input) tSU Figure 5.6 tH I/O Timing of Synchronous Serial Communication Unit (SSU) (Clock Synchronous Communication Mode) R01DS0021EJ0100 Rev.1.
R8C/35M Group Table 5.17 5. Electrical Characteristics Timing Requirements of I2C bus Interface (1) Symbol Parameter Condition tSCL SCL input cycle time tSCLH SCL input “H” width tSCLL SCL input “L” width tsf tSP SCL, SDA input fall time SCL, SDA input spike pulse rejection time tBUF Standard Typ. (2) − 12tCYC + 600 (2) − 3tCYC + 300 Min. Max.
R8C/35M Group Table 5.18 5. Electrical Characteristics Electrical Characteristics (1) [4.2 V ≤ Vcc ≤ 5.
R8C/35M Group Table 5.19 Symbol ICC 5. Electrical Characteristics Electrical Characteristics (2) [3.3 V ≤ Vcc ≤ 5.5 V] (Topr = −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified.) Parameter Condition Power supply High-speed current clock mode (VCC = 3.3 to 5.
R8C/35M Group 5. Electrical Characteristics Timing Requirements (Unless Otherwise Specified: VCC = 5 V, VSS = 0 V at Topr = 25°C) Table 5.20 External Clock Input (XOUT, XCIN) Symbol tc(XOUT) tWH(XOUT) tWL(XOUT) tc(XCIN) tWH(XCIN) tWL(XCIN) Standard Min. Max.
R8C/35M Group Table 5.22 5. Electrical Characteristics Serial Interface Symbol tc(CK) tW(CKH) tW(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) td(C-Q) tsu(D-C) th(C-D) Parameter CLKi input cycle time CLKi input “H” width CLKi input “L” width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time TXDi output delay time RXDi input setup time RXDi input hold time When external clock is selected When internal clock is selected Standard Min. Max.
R8C/35M Group Table 5.24 5. Electrical Characteristics Electrical Characteristics (3) [2.7 V ≤ Vcc < 4.
R8C/35M Group Table 5.25 Symbol ICC 5. Electrical Characteristics Electrical Characteristics (4) [2.7 V ≤ Vcc < 3.3 V] (Topr = −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified.) Parameter Condition Power supply current High-speed (VCC = 2.7 to 3.
R8C/35M Group 5. Electrical Characteristics Timing Requirements (Unless Otherwise Specified: VCC = 3 V, VSS = 0 V at Topr = 25°C) Table 5.26 External Clock Input (XOUT, XCIN) Symbol tc(XOUT) tWH(XOUT) tWL(XOUT) tc(XCIN) tWH(XCIN) tWL(XCIN) Standard Min. Max.
R8C/35M Group Table 5.28 5. Electrical Characteristics Serial Interface Symbol tc(CK) tW(CKH) tW(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) td(C-Q) tsu(D-C) th(C-D) Parameter CLKi input cycle time CLKi input “H” width CLKi Input “L” width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time TXDi output delay time RXDi input setup time RXDi input hold time When external clock is selected When internal clock is selected Standard Min. Max.
R8C/35M Group Table 5.30 5. Electrical Characteristics Electrical Characteristics (5) [1.8 V ≤ Vcc < 2.
R8C/35M Group Table 5.31 Symbol ICC 5. Electrical Characteristics Electrical Characteristics (6) [1.8 V ≤ Vcc < 2.7 V] (Topr = −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified.) Parameter Condition Power supply current High-speed XIN = 5 MHz (square wave) (VCC = 1.8 to 2.
R8C/35M Group 5. Electrical Characteristics Timing Requirements (Unless Otherwise Specified: VCC = 2.2 V, VSS = 0 V at Topr = 25°C) Table 5.32 External Clock Input (XOUT, XCIN) Symbol tc(XOUT) tWH(XOUT) tWL(XOUT) tc(XCIN) tWH(XCIN) tWL(XCIN) Standard Min. Max. 200 − 90 − 90 − 14 − 7 − 7 − Parameter XOUT input cycle time XOUT input “H” width XOUT input “L” width XCIN input cycle time XCIN input “H” width XCIN input “L” width tC(XOUT), tC(XCIN) tWH(XOUT), tWH(XCIN) Unit ns ns ns µs µs µs VCC = 2.
R8C/35M Group Table 5.34 5. Electrical Characteristics Serial Interface Symbol tc(CK) tW(CKH) tW(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) td(C-Q) tsu(D-C) th(C-D) Parameter CLKi input cycle time CLKi input “H” width CLKi input “L” width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time TXDi output delay time RXDi input setup time RXDi input hold time When external clock is selected When internal clock is selected Standard Min. Max.
R8C/35M Group Package Dimensions Package Dimensions Diagrams showing the latest package dimensions and mounting information are available in the “Packages” section of the Renesas Electronics website. JEITA Package Code P-LQFP52-10x10-0.65 RENESAS Code PLQP0052JA-A Previous Code 52P6A-A MASS[Typ.] 0.3g HD *1 D 39 27 40 NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET.
REVISION HISTORY Rev. Date 0.10 0.20 Sep 28, 2010 Feb 15, 2011 1.00 Jun 20, 2011 R8C/35M Group Datasheet Page Description Summary − 35 36 42 50 All pages 4 28 35 36 43 44 45 47 48 49 51 52 53 First Edition issued Table 5.11 revised, Note 2 added Table 5.13 and Table 5.14 revised Table 5.18 revised Table 5.30 revised “Preliminary”, “Under development” deleted Table 1.3 “(D): Under development”, “(P): Under planning” deleted Table 5.2 revised Table 5.11 revised Table 5.13 revised Table 5.
General Precautions in the Handling of MPU/MCU Products The following usage notes are applicable to all MPU/MCU products from Renesas. For detailed usage notes on the products covered by this manual, refer to the relevant sections of the manual. If the descriptions under General Precautions in the Handling of MPU/MCU Products and in the body of the manual differ from each other, the description in the body of the manual takes precedence. 1.
Notice 1. 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 the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.