Datasheet R8C/M13B Group RENESAS MCU 1. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Overview 1.1 Features The R8C/M13B Group of single-chip microcontrollers (MCUs) incorporates the R8C CPU core, which provides sophisticated instructions for a high level of efficiency. With 1 Mbyte of address space, the CPU core is capable of executing instructions at high speed. In addition, it features a multiplier for high-speed arithmetic processing. Power consumption is low, and the supported operating modes allow additional power control. These MCUs are designed to maximize EMI/EMS performance. Integration of many peripheral functions on the same chip, including multifunction timer and serial interface, reduces the number of system components. The R8C/M13B Group includes data flash (1 KB × 2 blocks). 1.1.1 Applications Home appliances, office equipment, audio equipment, consumer products, etc. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 1 of 48 R8C/M13B Group 1.1.2 1. Overview Specifications Tables 1.1 and 1.2 outline the Specifications. Table 1.1 Item CPU Memory Specifications (1) Function Central processing unit ROM, RAM, data flash Reset sources Voltage Voltage detection detection circuit Watchdog timer Clock Clock generation circuits Power control Interrupts I/O ports Timer Programmable I/O ports Timer RJ2 Timer RB2 Timer RC Timer RK Timer RE2 Serial interface UART0 UART1 Clock synchronous serial interface R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Description R8C CPU core • Number of fundamental instructions: 89 • Minimum instruction execution time: 50 ns (f(XIN) = 20 MHz, VCC = 2.7 V to 5.5 V) 200 ns (f(XIN) = 5 MHz, VCC = 1.8 V to 5.5 V) • Multiplier: 16 bits × 16 bits → 32 bits • Multiply-accumulate instruction: 16 bits × 16 bits + 32 bits → 32 bits • Operating mode: Single-chip mode (address space: 1 Mbyte) See Table 1.3 Product List. • Hardware reset by RESET • Power-on reset • Watchdog timer reset • Software reset • Reset by voltage detection 0 Voltage detection with two check points: Voltage detection 0, voltage detection 1 (detection levels selectable) • 14 bits × 1 (with prescaler) • Reset start function selectable • Count source protection function selectable • Periodic timer function selectable • 4 circuits: XIN clock oscillation circuit, XCIN clock oscillation circuit, high-speed on-chip oscillator (with frequency adjustment function), low-speed on-chip oscillator • Oscillation stop detection: XIN clock oscillation stop detection function • Clock frequency divider circuit integrated • Standard operating mode • Wait mode (CPU stopped, peripheral functions in operation) • Stop mode (CPU and peripheral functions stopped) • Number of interrupt vectors: 69 • External interrupt inputs: 8 (INT × 4, key input × 4) • Priority levels: 2 • CMOS I/O: 29 (pull-up resistor selectable) • High-current drive ports: 8 16 bits × 1 Timer mode, pulse output mode (output level inverted every period), event counter mode, pulse width measurement mode, pulse period measurement mode 8 bits × 1 (with 8-bit prescaler) or 16 bits × 1 (selectable) Timer mode, programmable waveform generation mode (PWM output), programmable one-shot generation mode, programmable wait one-shot generation mode 16 bits × 1 (with 4 capture/compare registers) Timer mode (output compare function, input capture function), PWM mode (3 outputs), PWM2 mode (1 PWM output) 8 bits × 1 Interval mode, pulse output mode, output compare mode 8 bits × 1 Real-time clock mode, compare match timer mode Clock synchronous serial I/O. Also used for asynchronous serial I/O. • Synchronous serial communication unit (SSU) × 1 channel • I2C bus interface × 1 channel Page 2 of 48 R8C/M13B Group Table 1.2 Item IrDA interface A/D converter 1. Overview Specifications (2) Function Comparator B Flash memory Operating frequency/ Power supply voltage Temperature range Description 1 channel (UART0 and UART1 can be switched) • Resolution: 10 bits × 8 channels • Sample and hold function, sweep mode 2 circuits • Program/erase voltage for program ROM: VCC = 1.8 V to 5.5 V • Program/erase voltage for data flash: VCC = 1.8 V to 5.5 V • Program/erase endurance:10,000 times (data flash) 10,000 times (program ROM) • Program security: ID code check, protection enabled by lock bit • Debug functions: On-chip debug, on-board flash rewrite function f(XIN) = 20 MHz (VCC = 2.7 V to 5.5 V) f(XIN) = 5 MHz (VCC = 1.8 V to 5.5 V) -20 °C to 85 °C (N version) -40 °C to 85 °C (D version) (1) 32-pin LQFP: [Package code] PLQP0032GB-A Package Note: 1. Specify the D version if its functions are to be used. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 3 of 48 R8C/M13B Group 1.2 1. Overview Product List Table 1.3 lists the Product List. Figure 1.1 shows the Product Part Number Structure. Table 1.3 Product List Part No. R5F2M131BNFP (D) R5F2M132BNFP (D) R5F2M134BNFP (D) R5F2M131BDFP (D) R5F2M132BDFP (D) R5F2M134BDFP (D) (D): Under development Internal ROM Capacity Program ROM Data Flash 4 Kbytes 1 Kbyte × 2 8 Kbytes 1 Kbyte × 2 16 Kbytes 1 Kbyte × 2 4 Kbytes 1 Kbyte × 2 8 Kbytes 1 Kbyte × 2 16 Kbytes 1 Kbyte × 2 Current of Mar 2011 Internal RAM Capacity 384 bytes 512 bytes 1 Kbyte 384 bytes 512 bytes 1 Kbyte Package Type Remarks PLQP0032GB-A N version D version Part No. R 5 F 2MX X X B N FP Package type: FP: PLQP0032GB-A Classification N: Operating ambient temperature -20 °C to 85 °C D: Operating ambient temperature -40 °C to 85 °C ROM capacity 1: 4 KB 2: 8 KB 4: 16 KB Number of pins 3: 32 pins R8C/MXXB Group R8C/Mx Series Memory type F: Flash memory Renesas MCU Renesas semiconductor Figure 1.1 Product Part Number Structure R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 4 of 48 R8C/M13B Group 1.3 1. Overview Block Diagram Figure 1.2 shows the Block Diagram. 8 I/O ports Port P0 8 3 Port P1 5 Port P2 Port P3 4 1 Port P4 Port PA Peripheral functions Timers UART Timer RJ2 (16 bits × 1) Timer RB2 (8 bits × 1 or 16 bits × 1) Timer RC (16 bits × 1) Timer RK (8 bits × 1) Timer RE2 (8 bits × 1) (Clock synchronous serial I/O Clock asynchronous serial I/O) ×2 Watchdog timer (14 bits) Clock synchronous serial interface A/D converter (10 bits × 8 channels) Synchronous serial communication unit (SSU) I2C bus interface System clock generation circuit XIN-XOUT XCIN-XCOUT High-speed on-chip oscillator Low-speed on-chip oscillator Comparator B Voltage detection circuit IrDA Interface R8C CPU core R0H R1H R0L R1L R2 R3 Memory SB ISP INTB A0 A1 FB ROM (1) USP RAM (2) PC FLG Multiplier Notes: 1. ROM size varies with the product. 2. RAM size varies with the product. Figure 1.2 Block Diagram R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 5 of 48 R8C/M13B Group 1.4 1. Overview Pin Assignment P1_7/AN7/IVCMP1/INT1/TRJIO/TRCCLK P1_6/AN6/IVREF1/CLK0/TRJO/TRCIOB P1_5/AN5/RXD0/IrRXD/TRJIO/INT1/VCOUT1 P1_4/AN4/TXD0/IrTXD/RXD0/IrRXD/INT0/TRCIOB P1_3/AN3/TRCIOC/KI3/TRBO P1_2/AN2/TRCIOB/KI2/TREO P1_1/AN1/TRCIOA/TRCTRG/KI1 P1_0/AN0/TRCIOD/KI0/TRKI Figure 1.3 shows the Pin Assignment (Top View). Table 1.4 lists the Pin Name Information by Pin Number. 24 23 22 21 20 19 18 17 P0_7/TRCIOC/TRKO 25 16 P4_5/XOUT/INT0/ADTRG P0_6/TRCIOD 26 15 P3_1/XIN/TRBO P0_5/TRCIOB 27 14 P2_0/TRCIOB/TRKO/INT1 P0_4/TRCIOB/TREO 28 13 P2_1/TRCIOC/TRKO/SSCK/SCL P0_3/TRCIOB/CLK1 29 12 P2_2/TRCIOD/TRKI/SSO/SDA P0_2/TRCIOA/TRCTRG/RXD1/IrRXD 30 11 P3_3/IVCMP3/TRCCLK/INT3/SCS P0_1/TRCIOA/TRCTRG/TXD1/IrTXD 31 10 P3_4/IVREF3/TRCIOC/INT2/SSI P0_0/TRCIOA/TRCTRG 32 9 P3_5/TRCIOD/KI2/VCOUT3 R8C/M13B Group 1 2 3 4 5 6 7 8 P4_2/TRBO/TXD0/IrTXD/KI3 P3_7/ADTRG/TRJO/TRCIOD RESET/PA_0 P4_7/XCOUT/INT2 VSS/AVSS P4_6/XCIN/RXD0/IrRXD/TXD0/IrTXD VCC/AVCC MODE PLQP0032GB-A (Top view) Note: 1. Confirm the pin 1 position on the package by referring to Appendix 1. Package Dimensions. Figure 1.3 Pin Assignment (Top View) R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 6 of 48 R8C/M13B Group Table 1.4 1. Overview Pin Name Information by Pin Number Pin Control Pin Number Port 1 P4_2 2 P3_7 3 4 RESET XCOUT Interrupt Timer KI3 TRBO I/O Pins for Peripheral Functions Serial IrDA SSU Interface TXD0 IrTXD I2C bus TRJO/TRCIOD A/D Converter, Comparator B ADTRG PA_0 P4_7 5 6 VSS/AVSS XCIN P4_6 7 8 9 VCC/AVCC MODE INT2 RXD0/TXD0 IrRXD/ IrTXD P3_5 KI2 TRCIOD P3_4 INT2 TRCIOC 11 P3_3 INT3 TRCCLK 12 13 14 P2_2 P2_1 P2_0 INT1 TRCIOD/TRKI TRCIOC/TRKO TRCIOB/TRKO P3_1 P4_5 INT0 17 P1_7 INT1 TRJIO/TRCCLK 18 19 P1_6 P1_5 INT1 TRJO/TRCIOB TRJIO 20 P1_4 INT0 TRCIOB 21 P1_3 KI3 TRBO/TRCIOC AN3 22 P1_2 KI2 TRCIOB/TREO AN2 23 P1_1 KI1 TRCIOA/TRCTRG AN1 24 P1_0 KI0 TRCIOD/TRKI AN0 25 26 27 28 29 30 31 32 P0_7 P0_6 P0_5 P0_4 P0_3 P0_2 P0_1 P0_0 10 15 16 XIN XOUT R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 VCOUT3 SSI SCS SSO SDA SSCK SCL IVREF3 IVCMP3 TRBO TRCIOC/TRKO TRCIOD TRCIOB TRCIOB/TREO TRCIOB TRCIOA/TRCTRG TRCIOA/TRCTRG TRCIOA/TRCTRG ADTRG AN7/IVCMP1 CLK0 RXD0 IrRXD RXD0/TXD0 IrRXD/ IrTXD CLK1 RXD1 TXD1 AN6/IVREF1 AN5/VCOUT1 AN4 IrRXD IrTXD Page 7 of 48 R8C/M13B Group 1.5 1. Overview Pin Functions Tables 1.5 and 1.6 list Pin Functions. Table 1.5 Pin Functions (1) Item Pin Name Power supply input VCC, VSS I/O — Analog power supply input Reset input — AVCC, AVSS I MODE XIN clock input XIN clock output RESET MODE XIN XOUT I I O XCIN clock input XCIN clock output XCIN XCOUT I O INT interrupt input Key input interrupt INT0 to INT3 I KI0 to KI3 P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_2, P3_1, P3_3 to P3_5, P3_7, P4_2, P4_5 to P4_7, PA_0 I I/O ports Timer RJ2 TRJIO TRJO Timer RB2 TRBO Timer RC TRCCLK TRCTRG TRCIOA, TRCIOB, TRCIOC, TRCIOD Timer RK TRKI TRKO Timer RE2 TREO Serial interface CLK0, CLK1 RXD0, RXD1 TXD0, TXD1 Synchronous serial SSI communication unit SCS (SSU) SSO SSCK SDA I2C bus interface SCL IrDA Interface IrRXD IrTXD A/D converter AN0 to AN7 I/O Description Apply 1.8 V through 5.5 V to the VCC pin. Apply 0 V to the VSS pin. Power supply input for the A/D converter. Connect a capacitor between pins AVCC and AVSS. Applying a low level to this pin resets the MCU. Connect this pin to the VCC pin via a resistor. I/O for the XIN clock generation circuit. Connect a ceramic resonator or a crystal oscillator between pins XIN and XOUT. (1) To use an external clock, input it to the XIN pin. P4_5 can be used as an I/O port at this time. I/O for the XCIN clock generation circuit. Connect a crystal oscillator between pins XCIN and XCOUT. (1) To use an external clock, input it to the XCIN pin. P4_7 can be used as an I/O port at this time. INT interrupt input. Key input interrupt input. I/O O O I I I/O CMOS I/O ports. Each port has an I/O select direction register, enabling switching input and output for each port. For input ports other than PA_0, the presence or absence of a pull-up resistor can be selected by a program. P1_2 to P1_5, P3_3 to P3_5, and P3_7 can be used as LED drive ports. Timer RJ2 I/O. Timer RJ2 output. Timer RB2 output. External clock input. External trigger input. Timer RC I/O. I O O I/O I O I/O I/O Timer RK external input. Timer RK output. Timer RE2 output. Transfer clock I/O. Serial data input. Serial data output. Data I/O. Chip-select signal I/O. I/O I/O I/O I/O I O I I Data I/O. Clock I/O. Data I/O. Clock I/O. Data input. Data output. Analog input for the A/D converter. External trigger input for the A/D converter. ADTRG Note: 1. Contact the oscillator manufacturer for oscillation characteristics. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 8 of 48 R8C/M13B Group Table 1.6 Item Comparator B 1. Overview Pin Functions (2) Pin Name IVCMP1, IVCMP3 IVREF1, IVREF3 VCOUT1, VCOUT3 R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 I/O I I O Description Analog voltage input for comparator B. Reference voltage input for comparator B. Comparison result output for comparator B. Page 9 of 48 R8C/M13B Group 2. 2. Central Processing Unit (CPU) Central Processing Unit (CPU) Figure 2.1 shows the 13 CPU Registers. The registers, R0, R1, R2, R3, A0, A1, and FB form a single register bank. The CPU has two register banks. b31 b15 b0 R2 R0H (R0 high-order byte) R0L (R0 low-order byte) R3 R1H (R1 high-order byte) R1L (R1 low-order byte) R2 Data registers (1) R3 A0 Address registers (1) A1 Frame base register (1) FB b19 b15 b0 INTBH INTBL Interrupt table register The higher 4 bits of INTB are INTBH and the lower 16 bits of INTB are INTBL. b19 b0 Program counter PC b15 b0 USP User stack pointer ISP Interrupt stack pointer SB Static base register b15 b0 FLG b15 b8 IPL b7 U Flag register b0 I O B S Z D C Carry flag Debug flag Zero flag Sign flag Register bank select flag Overflow flag Interrupt enable flag Stack pointer select flag Reserved bits Processor interrupt priority level Reserved bit Note: 1. These registers form a single register bank. The CPU has two register banks. Figure 2.1 CPU Registers R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 10 of 48 R8C/M13B 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 through R3. R0 can be split into high-order (R0H) and low-order (R0L) registers to be used separately as 8-bit data registers. The same applies to R1H and R1L. R2 can be combined with R0 and used as a 32-bit data register (R2R0). In the same way as with R0 and R2, R3 and R1 can be used as a 32-bit data register (R3R1). 2.2 Address Registers (A0 and A1) A0 is a 16-bit register for address register indirect addressing and address register relative addressing. It is also used for transfer, arithmetic, and logic operations. A1 functions in the same manner as A0. A1 can be combined with A0 and used as a 32-bit address register (A1A0). 2.3 Frame Base Register (FB) FB is a 16-bit register used for FB relative addressing. 2.4 Interrupt Table Register (INTB) INTB is a 20-bit register that indicates the start address of a relocatable interrupt vector table. 2.5 Program Counter (PC) PC is a 20-bit register that indicates the address of the next instruction to be executed. 2.6 User Stack Pointer (USP) and Interrupt Stack Pointer (ISP) The stack pointers (SP), USP and ISP, are each 16 bits wide. The U flag of the FLG register is used to switch between USP and ISP. 2.7 Static Base Register (SB) SB is a 16-bit register used for SB relative addressing. 2.8 Flag Register (FLG) FLG is an 11-bit register that indicates the CPU state. 2.8.1 Carry Flag (C) The C flag retains carry, borrow, or shift-out bits that have been generated in the arithmetic and logic unit. 2.8.2 Debug Flag (D) The D flag is for debugging only. It must only be set to 0. 2.8.3 Zero Flag (Z) The Z flag is set to 1 when an arithmetic operation results in 0. Otherwise it is set to 0. 2.8.4 Sign Flag (S) The S flag is set to 1 when an arithmetic operation results in a negative value. Otherwise it is set to 0. 2.8.5 Register Bank Select Flag (B) Register bank 0 is selected when the B flag is 0. Register bank 1 is selected when this flag is 1. 2.8.6 Overflow Flag (O) The O flag is set to 1 when an operation results in an overflow. Otherwise it is set to 0. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 11 of 48 R8C/M13B 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 0, and are enabled when the I flag is 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 0. USP is selected when the U flag is 1. The U flag is set to 0 when a hardware interrupt request is acknowledged or the INT instruction for a software interrupt numbered from 0 to 31 is executed. 2.8.9 Processor Interrupt Priority Level (IPL) IPL is 3 bits wide and assigns eight processor interrupt priority levels from 0 to 7. If a requested interrupt has higher priority than IPL, the interrupt is enabled. If IPL is set to levels from 2 to 7, all maskable interrupt requests are disabled. 2.8.10 Reserved Bit The write value must be 0. The read value is undefined. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 12 of 48 R8C/M13B Group 3. 3. Address Space Address Space 3.1 Memory Map Figure 3.1 shows the Memory Map. The R8C/M13B Group have a 1-Mbyte address space from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated at lower addresses, beginning with address 0FFFFh. For example, an 8-Kbyte internal ROM area is allocated at addresses 0E000h to 0FFFFh. The fixed interrupt vector table is allocated at addresses 0FFDCh to 0FFFFh. The start address of each interrupt routine is stored here. The internal ROM (data flash) is allocated at addresses 03000h to 037FFh. The internal RAM is allocated at higher addresses, beginning with address 00400h. For example, a 512-byte internal RAM area is allocated at addresses 00400h to 005FFh. The internal RAM is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. Special function registers (SFRs) are allocated at addresses 00000h to 002FFh. Peripheral function control registers are allocated here. All unallocated spaces within the SFRs are reserved and cannot be accessed by users. 00000h 002FFh SFR (See 3.2 Special Function Registers (SFRs)) 00400h Internal RAM 0XXXXh 0FFD8h Reserved area 0FFDCh Undefined instruction 03000h Overflow Internal ROM (data flash) (1) BRK instruction Address match 037FFh Single-step 0YYYYh Watchdog timer, oscillation stop detection, voltage monitor 1 (Reserved) Internal ROM (program ROM) (Reserved) Reset 0FFFFh 0FFFFh Expanded area FFFFFh Notes: 1. Data flash indicates block A (1 Kbyte) and block B (1 Kbyte). 2. The blank areas are reserved. No access is allowed. Part Number Internal RAM Internal ROM Address 0XXXXh Size Address 0YYYYh Size R5F2M131BNFP, R5F2M131BDFP 4 Kbytes 0F000h 384 bytes 0057Fh R5F2M132BNFP, R5F2M132BDFP 8 Kbytes 0E000h 512 bytes 005FFh R5F2M134BNFP, R5F2M134BDFP 16 Kbytes 0C000h 1 Kbytes 007FFh Figure 3.1 Memory Map R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 13 of 48 R8C/M13B Group 3.2 3. Address Space Special Function Registers (SFRs) An SFR (special function register) is a control register for a peripheral function. Tables 3.1 to 3.8 list the SFR Information. Table 3.9 lists the ID Code Area and Option Function Select Area. Table 3.1 Address 00000h 00001h 00002h 00003h 00004h 00005h 00006h 00007h 00008h 00009h 0000Ah 0000Bh 0000Ch 0000Dh 0000Eh 0000Fh 00010h 00011h 00012h 00013h 00014h 00015h 00016h 00017h 00018h 00019h 0001Ah 0001Bh 0001Ch 0001Dh 0001Eh 0001Fh 00020h 00021h 00022h 00023h 00024h 00025h 00026h 00027h 00028h 00029h 0002Ah 0002Bh 0002Ch 0002Dh 0002Eh 0002Fh 00030h 00031h 00032h 00033h 00034h SFR Information (1) (1) Register Name Symbol After Reset Processor Mode Register 0 PM0 00h Module Standby Control Register MSTCR Protect Register PRCR 00h (2) 01110111b (3) 00h Hardware Reset Protect Register Module Standby Control Register 1 HRPR MSTCR1 00h 00h (2) FFh (3) External Clock Control Register High-Speed/Low-Speed On-Chip Oscillator Control Register System Clock f Control Register System Clock f Select Register Clock Stop Control Register Clock Control Register When Returning Oscillation Stop Detection Register EXCKCR OCOCR SCKCR PHISEL CKSTPR CKRSCR BAKCR 00h 00h 00h 00h 00h 00h 00h XCIN Clock Control Register SUBCR 00h Watchdog Timer Function Register RISR Watchdog Timer Reset Register Watchdog Timer Start Register Watchdog Timer Control Register Count Source Protection Mode Register WDTR WDTS WDTC CSPR WDTIR 10000000b (4) 00h (5) XXh XXh 01XXXXXXb 10000000b (4) 00h (5) 00h INTEN 00h Periodic Timer Interrupt Control Register 00035h 00036h 00037h External Input Enable Register 00038h 00039h Notes: 1. The blank areas are reserved. No access is allowed. 2. The MSTINI bit in the OFS2 register is 0. 3. The MSTINI bit in the OFS2 register is 1. 4. The CSPROINI bit in the OFS register is 0. 5. The CSPROINI bit in the OFS register is 1. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 14 of 48 R8C/M13B Group Table 3.2 Address 0003Ah 0003Bh 0003Ch 0003Dh 0003Eh 0003Fh 00040h 00041h 00042h 00043h 00044h 00045h 00046h 00047h 00048h 00049h 0004Ah 0004Bh 0004Ch 0004Dh 0004Eh 0004Fh 00050h 00051h 00052h 00053h 00054h 00055h 00056h 00057h 00058h 00059h 0005Ah 0005Bh 0005Ch 3. Address Space SFR Information (2) (1) Register Name Symbol After Reset INT Input Filter Select Register 0 INTF0 00h INT Input Edge Select Register 0 ISCR0 00h Key Input Enable Register KIEN 00h Interrupt Priority Level Register 0 Interrupt Priority Level Register 1 Interrupt Priority Level Register 2 Interrupt Priority Level Register 3 Interrupt Priority Level Register 4 Interrupt Priority Level Register 5 Interrupt Priority Level Register 6 Interrupt Priority Level Register 7 Interrupt Priority Level Register 8 Interrupt Priority Level Register 9 Interrupt Priority Level Register A Interrupt Priority Level Register B Interrupt Priority Level Register C Interrupt Priority Level Register D Interrupt Priority Level Register E ILVL0 ILVL1 ILVL2 ILVL3 ILVL4 ILVL5 ILVL6 ILVL7 ILVL8 ILVL9 ILVLA ILVLB ILVLC ILVLD ILVLE 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h Interrupt Monitor Flag Register 0 Interrupt Monitor Flag Register 1 Interrupt Monitor Flag Register 2 External Interrupt Flag Register IRR0 IRR1 IRR2 IRR3 00h 00h 00h 00h Voltage Monitor Circuit Edge Select Register VCAC 00h Voltage Detect Register 2 VCA2 Voltage Detection 1 Level Select Register Voltage Monitor 0 Circuit Control Register VD1LS VW0C VW1C 00100100b (2) 00000100b (3) 00000111b 1100X011b (2) 1100X010b (3) 10001010b RSTFR 0000XXXXb (4) FR18S0 FR18S1 Value when shipped Value when shipped FRV1 FRV2 Value when shipped Value when shipped Voltage Monitor 1 Circuit Control Register 0005Dh 0005Eh Reset Source Determination Register 0005Fh 00060h 00061h 00062h 00063h High-Speed On-Chip Oscillator 18.432 MHz Control Register 0 00064h High-Speed On-Chip Oscillator 18.432 MHz Control Register 1 00065h 00066h High-Speed On-Chip Oscillator Control Register 1 00067h High-Speed On-Chip Oscillator Control Register 2 00068h 00069h 0006Ah 0006Bh 0006Ch 0006Dh 0006Eh 0006Fh 00070h 00071h 00072h 00073h 00074h 00075h 00076h 00077h 00078h 00079h X: Undefined Notes: 1. The blank areas are reserved. No access is allowed. 2. The LVDAS bit in the OFS register is 0. 3. The LVDAS bit in the OFS register is 1. 4. The value after a reset differs depending on the reset source. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 15 of 48 R8C/M13B Group Table 3.3 3. Address Space SFR Information (3) (1) Address Register Name 0007Ah 0007Bh 0007Ch 0007Dh 0007Eh 0007Fh UART0 Transmit/Receive Mode Register 00080h UART0 Bit Rate Register 00081h UART0 Transmit Buffer Register 00082h 00083h UART0 Transmit/Receive Control Register 0 00084h UART0 Transmit/Receive Control Register 1 00085h UART0 Receive Buffer Register 00086h 00087h UART0 Interrupt Flag and Enable Register 00088h 00089h 0008Ah 0008Bh 0008Ch 0008Dh 0008Eh 0008Fh 00090h 00091h 00092h 00093h 00094h 00095h 00096h 00097h A/D Register 0 00098h 00099h A/D Register 1 0009Ah 0009Bh A/D Mode Register 0009Ch A/D Input Select Register 0009Dh A/D Control Register 0 0009Eh A/D Interrupt Control Status Register 0009Fh 000A0h 000A1h 000A2h 000A3h 000A4h 000A5h 000A6h 000A7h Port P0 Direction Register 000A8h Port P1 Direction Register 000A9h Port P2 Direction Register 000AAh Port P3 Direction Register 000ABh Port P4 Direction Register 000ACh Port PA Direction Register 000ADh Port P0 Register 000AEh Port P1 Register 000AFh Port P2 Register 000B0h Port P3 Register 000B1h Port P4 Register 000B2h Port PA Register 000B3h Pull-Up Control Register 0 000B4h Pull-Up Control Register 1 000B5h Pull-Up Control Register 2 000B6h Pull-Up Control Register 3 000B7h Pull-Up Control Register 4 000B8h Port I/O Function Control Register 000B9h 000BAh Drive Capacity Control Register 1 000BBh 000BCh Drive Capacity Control Register 3 000BDh 000BEh 000BFh X: Undefined Note: 1. The blank areas are reserved. No access is allowed. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Symbol After Reset U0MR U0BRG U0TBL U0TBH U0C0 U0C1 U0RBL U0RBH U0IR 00h XXh XXh XXh 00001000b 00000010b XXh XXh 00h AD0L AD0H AD1L AD1H ADMOD ADINSEL ADCON0 ADICSR XXh 000000XXb XXh 000000XXb 00h 00h 00h 00h PD0 PD1 PD2 PD3 PD4 PDA P0 P1 P2 P3 P4 PA PUR0 PUR1 PUR2 PUR3 PUR4 PINSR 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h DRR1 00h DRR3 00h Page 16 of 48 R8C/M13B Group Table 3.4 Address 000C0h 000C1h 000C2h 000C3h 000C4h 000C5h 000C6h 000C7h 000C8h 000C9h 000CAh 000CBh 000CCh 000CDh 000CEh 000CFh 000D0h 000D1h 000D2h 000D3h 000D4h 000D5h 000D6h 000D7h 000D8h 000D9h 000DAh 000DBh 000DCh 000DDh 000DEh 000DFh 000E0h 000E1h 000E2h 000E3h 000E4h 000E5h 000E6h 3. Address Space SFR Information (4) (1) Register Name Open-Drain Control Register 0 Open-Drain Control Register 1 Open-Drain Control Register 2 Open-Drain Control Register 3 Open-Drain Control Register 4 Port PA Mode Control Register Port 0 Function Mapping Register 0 Port 0 Function Mapping Register 1 Port 1 Function Mapping Register 0 Port 1 Function Mapping Register 1 Port 2 Function Mapping Register 0 Symbol POD0 POD1 POD2 POD3 POD4 PAMCR PML0 PMH0 PML1 PMH1 PML2 00h 00h 00h 00h 00h 11h 00h 00h 00h 00h 00h Port 3 Function Mapping Register 0 Port 3 Function Mapping Register 1 Port 4 Function Mapping Register 0 Port 4 Function Mapping Register 1 PML3 PMH3 PML4 PMH4 00h 00h 00h 00h Port 1 Function Mapping Expansion Register PMH1E 00h Timer RJ Counter Register TRJ Timer RJ Control Register Timer RJ I/O Control Register Timer RJ Mode Register Timer RJ Event Select Register Timer RJ Interrupt Control Register TRJCR TRJIOC TRJMR TRJISR TRJIR FFh FFh 00h 00h 00h 00h 00h Timer RB Control Register Timer RB One-Shot Control Register Timer RB I/O Control Register Timer RB Mode Register Timer RB Prescaler Register (2) Timer RB Primary/Secondary Register (Lower 8 Bits) (3) Timer RB Primary Register (2) Timer RB Primary Register (Higher 8 Bits) (3) Timer RB Secondary Register (2) Timer RB Secondary Register (Higher 8 Bits) (3) Timer RB Interrupt Control Register Timer RC Counter TRBCR TRBOCR TRBIOC TRBMR TRBPRE 00h 00h 00h 00h FFh TRBPR FFh TRBSC FFh TRBIR TRCCNT 00h 00h 00h FFh FFh FFh FFh FFh FFh FFh FFh 01001000b 00h 01110000b 01110000b 10001000b 10001000b 00011000b 00h 01111111b 11110000b 00h 000E7h 000E8h 000E9h Timer RC General Register A 000EAh 000EBh Timer RC General Register B 000ECh 000EDh Timer RC General Register C 000EEh 000EFh Timer RC General Register D 000F0h 000F1h Timer RC Mode Register 000F2h Timer RC Control Register 1 000F3h Timer RC Interrupt Enable Register 000F4h Timer RC Status Register 000F5h Timer RC I/O Control Register 0 000F6h Timer RC I/O Control Register 1 000F7h Timer RC Control Register 2 000F8h Timer RC Digital Filter Function Select Register 000F9h Timer RC Output Enable Register 000FAh Timer RC A/D Conversion Trigger Control Register 000FBh Timer RC Waveform Output Manipulation Register 000FCh 000FDh 000FEh 000FFh Notes: 1. The blank areas are reserved. No access is allowed. 2. The TCNT16 bit in the TRBMR register is 0. 3. The TCNT16 bit in the TRBMR register is 1. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 TRCGRA TRCGRB TRCGRC TRCGRD TRCMR TRCCR1 TRCIER TRCSR TRCIOR0 TRCIOR1 TRCCR2 TRCDF TRCOER TRCADCR TRCOPR After Reset Page 17 of 48 R8C/M13B Group Table 3.5 Address 00100h 00101h 00102h 00103h 00104h 00105h 00106h 00107h 00108h 00109h 0010Ah 0010Bh 0010Ch 0010Dh 0010Eh 0010Fh 00110h 00111h 00112h 00113h 00114h 00115h 00116h 00117h 00118h 00119h 0011Ah 0011Bh 0011Ch 0011Dh 0011Eh 0011Fh 00120h 00121h 00122h 00123h 00124h 00125h 00126h 00127h 00128h 00129h 0012Ah 0012Bh 0012Ch 0012Dh 0012Eh 0012Fh 00130h 00131h 3. Address Space SFR Information (5) (1) Register Name Timer RE Second Data Register Timer RE Counter Data Register Timer RE Minute Data Register Timer RE Compare Data Register Timer RE Hour Data Register Timer RE Day-of-the-Week Data Register Timer RE Day Data Register Timer RE Month Data Register Timer RE Year Data Register Timer RE Control Register Timer RE Count Source Select Register Timer RE Clock Error Correction Register Timer RE Interrupt Flag Register Timer RE Interrupt Enable Register Timer RE Alarm Minute Register Timer RE Alarm Hour Register Timer RE Alarm Day-of-the-Week Register Timer RE Protect Register 00132h 00133h 00134h 00135h 00136h 00137h 00138h 00139h 0013Ah 0013Bh 0013Ch 0013Dh 0013Eh 0013Fh X: Undefined Note: 1. The blank areas are reserved. No access is allowed. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Symbol After Reset TRESEC TRECNT TREMIN XXXXXXXXb XXXXXXXXb TREHR TREWK TREDY TREMON TREYR TRECR TRECSR TREADJ TREIFR TREIER TREAMN TREAHR TREAWK TREPRC 00XXXXXXb 00000XXXb 00XXXXXXb 000XXXXXb XXXXXXXXb XXX00X0Xb X0001000b XXXXXXXXb 00000XXXb XXXXXXXXb XXXXXXXXb XXXXXXXXb X0000XXXb 00000000b Page 18 of 48 R8C/M13B Group Table 3.6 Address 00140h 00141h 00142h 00143h 00144h 00145h 00146h 00147h 00148h 00149h 0014Ah 0014Bh 0014Ch 0014Dh 0014Eh 0014Fh 00150h 00151h 00152h 00153h 00154h 00155h 00156h 00157h 00158h 00159h 0015Ah 0015Bh 0015Ch 0015Dh 0015Eh 0015Fh 00160h 00161h 00162h 00163h 00164h 00165h 00166h 00167h 00168h 3. Address Space SFR Information (6) (1) Register Name Symbol IIC Control Register SS Bit Counter Register SI Transmit Data Register IICCR SSBR SITDR SI Receive Data Register SIRDR SI Control Register 1 SI Control Register 2 SI Mode Register 1 SICR1 SICR2 SIMR1 SI Interrupt Enable Register 00169h SI Status Register 0016Ah SI Mode Register 2 0016Bh 0016Ch 0016Dh 0016Eh 0016Fh 00170h 00171h 00172h 00173h 00174h 00175h 00176h 00177h 00178h 00179h 0017Ah 0017Bh 0017Ch 0017Dh 0017Eh 0017Fh Notes: 1. The blank areas are reserved. No access is allowed. 2. When the SSU function is used. 3. When the I2C bus function is used. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 SIER SISR SIMR2 After Reset 00001110b 11111000b FFh FFh FFh FFh 00h 01111101b 00010000b (2) 00011000b (3) 00h 00h 00h Page 19 of 48 R8C/M13B Group Table 3.7 3. Address Space SFR Information (7) (1) Address Register Name Comparator B Control Register 00180h Comparator B1 Interrupt Control Register 00181h Comparator B3 Interrupt Control Register 00182h 00183h 00184h 00185h 00186h 00187h Timer RK Mode Register 00188h Timer RK Control Register 00189h Timer RK Load Register 0018Ah Timer RK Compare Match Data Register 0018Bh Timer RK Interrupt Request and Status Register 0018Ch 0018Dh 0018Eh 0018Fh UART1 Transmit/Receive Mode Register 00190h UART1 Bit Rate Register 00191h UART1 Transmit Buffer Register 00192h 00193h UART1 Transmit/Receive Control Register 0 00194h UART1 Transmit/Receive Control Register 1 00195h UART1 Receive Buffer Register 00196h 00197h UART1 Interrupt Flag and Enable Register 00198h 00199h 0019Ah 0019Bh IrDA Control Register 0019Ch 0019Dh 0019Eh 0019Fh 001A0h 001A1h 001A2h 001A3h 001A4h 001A5h 001A6h 001A7h 001A8h Flash Memory Status Register 001A9h Flash Memory Control Register 0 001AAh Flash Memory Control Register 1 001ABh Flash Memory Control Register 2 001ACh Flash Memory Refresh Control Register 001ADh 001AEh 001AFh 001B0h 001B1h 001B2h 001B3h 001B4h 001B5h 001B6h 001B7h 001B8h 001B9h 001BAh 001BBh 001BCh 001BDh 001BEh 001BFh X: Undefined Note: 1. The blank areas are reserved. No access is allowed. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Symbol WCMPR WCB1INTR WCB3INTR 00h 00h 00h After Reset TMKM TMKCR TMKLD (TMKCNT) TMKCMP TMKIR 00h 00h 00h 00h 00h U1MR U1BRG U1TBL U1TBH U1C0 U1C1 U1RBL U1RBH U1IR 00h XXh XXh XXh 00001000b 00000010b XXh XXh 00h IRCR 00h FST FMR0 FMR1 FMR2 FREFR 10000000b 00h 00h 00h 00h Page 20 of 48 R8C/M13B Group Table 3.8 3. Address Space SFR Information (8) (1) Address Register Name Address Match Interrupt Register 0 001C0h 001C1h 001C2h Address Match Interrupt Enable Register 0 001C3h Address Match Interrupt Register 1 001C4h 001C5h 001C6h Address Match Interrupt Enable Register 1 001C7h 001C8h 001C9h 001CAh 001CBh 001CCh 001CDh 001CEh 001CFh 001D0h 001D1h 001D2h 001D3h 001D4h 001D5h 001D6h 001D7h 001D8h 001D9h 001DAh 001DBh 001DCh 001DDh 001DEh 001DFh 001E0h 001E1h 001E2h 001E3h 001E4h 001E5h 001E6h 001E7h 001E8h 001E9h 001EAh 001EBh 001ECh 001EDh 001EEh 001EFh 001F0h 001F1h 001F2h 001F3h 001F4h 001F5h 001F6h 001F7h 001F8h 001F9h 001FAh 001FBh 001FCh 001FDh 001FEh 001FFh Note: 1. The blank areas are reserved. No access is allowed. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Symbol AIADR0L AIADR0M AIADR0H AIEN0 AIADR1L AIADR1M AIADR1H AIEN1 After Reset 00h 00h 00h 00h 00h 00h 00h 00h Page 21 of 48 R8C/M13B Group Table 3.9 3. Address Space ID Code Area and Option Function Select Area Address Area Name Symbol After Reset : Option Function Select Register 2 OFS2 (Note 1) 0FFDBh : ID1 (Note 2) 0FFDFh : ID2 (Note 2) 0FFE3h : ID3 (Note 2) 0FFEBh : ID4 (Note 2) 0FFEFh : ID5 (Note 2) 0FFF3h : ID6 (Note 2) 0FFF7h : ID7 (Note 2) 0FFFBh : Option Function Select Register OFS (Note 1) 0FFFFh Notes: 1. The option function select area is allocated in the flash memory, not in the SFRs. Set appropriate values as ROM data by a program. Do not perform an additional write to the option function select area. Erasure of the block including the option function select area causes the option function select area to be set to FFh. When blank products are shipped, the option function select area is set to FFh. It is set to the written value after written by the user. When factory-programming products are shipped, the value of the option function select area is the value programmed by the user. 2. The ID code area is allocated in the flash memory, not in the SFRs. Set appropriate values as ROM data by a program. Do not perform an additional write to the ID code area. Erasure of the block including the ID code area causes the ID code area to be set to FFh. When blank products are shipped, the ID code areas are set to FFh. They are set to the written value after written by the user. When factory-programming products are shipped, the value of the ID code areas is the value programmed by the user. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 22 of 48 R8C/M13B Group 4. 4. Electrical Characteristics Electrical Characteristics Table 4.1 Absolute Maximum Ratings Symbol Parameter Condition VCC/AVCC Power supply voltage VI Input voltage XIN XIN-XOUT oscillation on (oscillation circuit used) (1) XIN-XOUT oscillation off (oscillation circuit not used) (1) Other pins VO Output voltage XOUT XIN-XOUT oscillation on (oscillation circuit used) (1) XIN-XOUT oscillation off (oscillation circuit not used) (1) Other pins Pd Power consumption Topr Operating ambient temperature Tstg Storage temperature -40 °C ≤ Topr ≤ 85 °C Rated Value Unit -0.3 to 6.5 V -0.3 to 1.9 V -0.3 to Vcc + 0.3 V -0.3 to Vcc + 0.3 V -0.3 to 1.9 V -0.3 to Vcc + 0.3 V -0.3 to Vcc + 0.3 V 500 mW -20 to 85 (N version)/ -40 to 85 (D version) °C -60 to 150 °C Note: 1. When the oscillation circuit is used: bits CKPT1 to CKPT0 in the EXCKCR register are set to 11b When the oscillation circuit is not used: bits CKPT1 to CKPT0 in the EXCKCR register are set to any value other than 11b R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 23 of 48 R8C/M13B Group Table 4.2 4. Electrical Characteristics Recommended Operating Conditions Symbol Parameter Standard Condition Unit Min. Typ. Max. VCC/AVCC Power supply voltage 1.8 — 5.5 V VSS/AVSS Power supply voltage — 0 — V VIH Input high voltage Other than CMOS input CMOS input VIL Input low voltage 0.8 Vcc — Vcc V 4.0 V ≤ Vcc ≤ 5.5 V 0.65 Vcc — Vcc V 2.7 V ≤ Vcc < 4.0 V 0.7 Vcc — Vcc V 1.8 V ≤ Vcc < 2.7 V 0.8 Vcc — Vcc V 0 — 0.2 Vcc V 4.0 V ≤ Vcc ≤ 5.5 V 0 — 0.4 Vcc V 2.7 V ≤ Vcc < 4.0 V 0 — 0.3 Vcc V 1.8 V ≤ Vcc < 2.7 V 0 — 0.2 Vcc V Other than CMOS input CMOS input IOH(sum) Peak sum output high current Sum of all pins IOH(peak) — — -160 mA IOH(sum) Average sum output high current Sum of all pins IOH(avg) — — -80 mA IOH(peak) Peak output high current mA When drive capacity is low — — -10 When drive capacity is high (5) — — -40 mA When drive capacity is low — — -5 mA When drive capacity is high (5) IOH(avg) Average output high current — — -20 mA IOL(sum) Peak sum output low current Sum of all pins IOL(peak) — — 160 mA IOL(sum) Average sum output low current Sum of all pins IOL(avg) — — 80 mA IOL(peak) Peak output low current IOL(avg) Average output low current When drive capacity is low — — 10 mA When drive capacity is high (5) — — 40 mA When drive capacity is low — — 5 mA — — 20 mA MHz When drive capacity is high (5) 2.7 V ≤ Vcc ≤ 5.5 V 2 — 20 1.8 V ≤ Vcc < 2.7 V 2 — 5 MHz XIN clock input oscillation frequency 2.7 V ≤ Vcc ≤ 5.5 V 0 — 20 MHz 1.8 V ≤ Vcc < 2.7 V 0 — 5 MHz f(XCIN) XCIN clock input oscillation frequency 1.8 V ≤ Vcc ≤ 5.5 V — 32.768 — kHz fHOCO High-speed on-chip oscillator oscillation frequency (3) 1.8 V ≤ Vcc ≤ 5.5 V — 20 — MHz fLOCO Low-speed on-chip oscillator oscillation frequency (4) 1.8 V ≤ Vcc ≤ 5.5 V — 125 — kHz — System clock frequency 2.7 V ≤ Vcc ≤ 5.5 V — — 20 MHz 1.8 V ≤ Vcc < 2.7 V — — 5 MHz 2.7 V ≤ Vcc ≤ 5.5 V 0 — 20 MHz 1.8 V ≤ Vcc < 2.7 V 0 — 5 MHz f(XIN) fs XIN oscillation frequency CPU clock frequency Notes: 1. Vcc = 1.8 V to 5.5 V and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified. 2. The average output current indicates the average value of current measured during 100 ms. 3. For details, see Table 4.10 High-Speed On-Chip Oscillator Circuit Electrical Characteristics. 4. For details, see Table 4.11 Low-Speed On-Chip Oscillator Circuit Electrical Characteristics. 5. The pins with high drive capacity are P1_2, P1_3, P1_4, P1_5, P3_3, P3_4, P3_5, and P3_7. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 24 of 48 R8C/M13B Group 4. Electrical Characteristics P0 P1 P2 P3 P4 Figure 4.1 Table 4.3 Ports P0 to P4 Timing Measurement Circuit A/D Converter Characteristics Symbol Parameter — Resolution — Absolute accuracy φAD 30 pF A/D conversion clock — Permissible signal source impedance Condition Standard Min. Typ. Max. Unit — — 10 Bit AVcc = 5.0 V AN0 to AN7 input — — ±3 LSB AVcc = 3.0 V AN0 to AN7 input — — ±5 LSB AVcc = 1.8 V AN0 to AN7 input — — ±5 LSB 4.0 V ≤ AVcc ≤ 5.5 V (2) 2 — 20 MHz 3.2 V ≤ AVcc ≤ 5.5 V (2) 2 — 16 MHz 2.7 V ≤ AVcc ≤ 5.5 V (2) 2 — 10 MHz 1.8 V ≤ AVcc ≤ 5.5 V (2) 2 — 5 MHz 3 kΩ tCONV Conversion time AVcc = 5.0 V, φAD = 20 MHz 2.15 — — µs tSAMP Sampling time φAD = 20 MHz 0.75 — — µs VIA Analog input voltage 0 — AVcc V Notes: 1. Vcc/AVcc = 1.8 V to 5.5 V and Vss = 0 V and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified. 2. The A/D conversion result will be undefined in stop mode, or when the flash memory is in low-current-consumption read mode or stopped. Do not perform A/D conversion in these states. Do not enter these states during A/D conversion. Table 4.4 Comparator B Electrical Characteristics Symbol Parameter Vref IVREF1, IVREF3 input reference voltage VI IVCMP1, IVCMP3 input voltage — Offset td Comparator output delay time (2) ICMP Comparator operating current Condition Standard Min. Typ. Max. Unit 0 — Vcc - 1.4 -0.3 — Vcc + 0.3 V V — 5 100 mV VI = Vref ± 100 mV — 0.1 — µs Vcc = 5.0 V — 17.5 — µA Notes: 1. Vcc = 2.7 V to 5.5 V and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified. 2. When the digital filter is disabled. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 25 of 48 R8C/M13B Group Table 4.5 4. Electrical Characteristics Flash Memory (Program ROM) Electrical Characteristics Symbol Parameter Condition Standard Min. Typ. Unit Max. 10,000 (3) — — times Byte programming time (program/erase endurance ≤ 1,000 times) — 80 — µs Byte programming time (program/erase endurance > 1,000 times) — 160 — µs — Program/erase endurance (2) — — — Block erase time — 0.12 — s td(SR-SUS) Transition time to suspend — — 0.25 + CPU clock × 3 cycles ms — Time from suspend until erase restart — — 30 + CPU clock × 1 cycle µs td(CMDRST Time from when command is forcibly terminated until reading is enabled — — 30 + CPU clock × 1 cycle µs READY) — Program/erase voltage 1.8 — 5.5 V — Read voltage 1.8 — 5.5 V — Program/erase temperature 0 — 60 °C 10 — — years — Data hold time (7) Ambient temperature = 85 °C Notes: 1. Vcc = 2.7 V to 5.5 V and Topr = 0 °C to 60 °C, unless otherwise specified. 2. Definition of program/erase endurance The number of program/erase cycles is defined on a per-block basis. If the number of cycles is 10,000, each block can be erased 10,000 times. For example, if 1,024 cycles of 1-byte-write are performed to different addresses in 1 Kbyte of block A, and then the block is erased, the number of cycles is counted as one. Note, however, that the same address must not be programmed more than once before completion of an erase (overwriting prohibited). 3. This indicates the number of times up to which all electrical characteristics can be guaranteed after the last programming/ erase operation. Operation is guaranteed for any number of operations in the range of 1 to the specified minimum (Min). 4. In a system that executes multiple programming operations, the actual erase count can be reduced by shifting the write addresses in sequence and programming so that as much of the flash memory as possible is used before performing an erase operation. For example, when programming in 16-byte units, the effective number of rewrites can be minimized by programming up to 128 units before erasing them all in one operation. It is also advisable to retain data on the number of erase operations for each block and establish a limit for the number of erase operations performed. 5. If an error occurs during a block erase, execute a clear status register command and then a block erase command at least three times until the erase error does not occur. 6. For information on the program/erase failure rate, contact a Renesas technical support representative. 7. The data hold time includes the time that the power supply is off and the time the clock is not supplied. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 26 of 48 R8C/M13B Group Table 4.6 4. Electrical Characteristics Flash Memory (Blocks A and B of Data Flash) Electrical Characteristics Symbol Parameter Standard Condition Min. Typ. Unit Max. 10,000 (3) — — times Byte programming time — 150 — µs — Block erase time — 0.05 1 s td(SR-SUS) Time delay from suspend request until suspend — — 0.25 + CPU clock × 3 cycles ms — Time from suspend until erase restart — — 30 + CPU clock × 1 cycle µs td(CMDRST- Time from when command is forcibly READY) stopped until reading is enabled — — 30 + CPU clock × 1 cycle µs — Program/erase endurance (2) — — Program/erase voltage 1.8 — 5.5 V — Read voltage 1.8 — 5.5 V — Program/erase temperature -20 (N version) — 85 °C -40 (D version) — 85 °C 10 — — years — Data hold time (7) Ambient temperature = 85 °C Notes: 1. Vcc = 2.7 V to 5.5 V and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified. 2. Definition of program/erase endurance The number of program/erase cycles is defined on a per-block basis. If the number of cycles is 10,000, each block can be erased 10,000 times. For example, if 1,024 cycles of 1-byte-write are performed to different addresses in 1 Kbyte of block A, and then the block is erased, the number of cycles is counted as one. Note, however, that the same address must not be programmed more than once before completion of an erase (overwriting prohibited). 3. This indicates the number of times up to which all electrical characteristics can be guaranteed after the last programming/ erase operation. Operation is guaranteed for any number of operations in the range of 1 to the specified minimum (Min). 4. In a system that executes multiple program operations, the actual erase count can be reduced by shifting the write addresses in sequence and programming so that as much of the flash memory as possible is used before performing an erase operation. For example, when programming in 16-byte units, the effective number of rewrites can be minimized by programming up to 128 units before erasing them all in one operation. It is also advisable to retain data on the number of erase operations for each block and establish a limit for the number of erase operations performed. 5. If an error occurs during a block erase, execute a clear status register command and then a block erase command at least three times until the erase error does not occur. 6. For information on the program/erase failure rate, contact a Renesas technical support representative. 7. The data hold time includes the time that the power supply is off and the time the clock is not supplied. Suspend request (FMR21) FST7 FST6 Clock-dependent time Fixed time Access restart td(SR-SUS) FST6, FST7: Bits in FST register FMR21: Bit in FMR2 register Figure 4.2 Transition Time until Suspend R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 27 of 48 R8C/M13B Group Table 4.7 Symbol Vdet0 4. Electrical Characteristics Voltage Detection 0 Circuit Electrical Characteristics Parameter Condition Standard Unit Min. Typ. Max. 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 (2) 3.55 3.80 4.05 V When Vcc decreases from 5 V to (Vdet0_0 - 0.1) V — 30 — µs VC0E = 1, Vcc = 5.0 V — 1.5 — µA — — 100 µs Voltage detection level Vdet0_3 — Voltage detection 0 circuit response time — Self power consumption in voltage detection circuit td(E-A) Wait time until voltage detection circuit operation starts (4) (3) Notes: 1. The measurement condition is Vcc = 1.8 V to 5.5 V and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version). 2. Select the voltage detection level with bits VDSEL0 and VDSEL1 in the OFS register. 3. The response time is from when the voltage passes Vdet0 until the voltage monitor 0 reset is generated. 4. The wait time is necessary for the voltage detection circuit to operate when the VC0E bit in the VCA2 register is set to 0 and then 1. Table 4.8 Symbol Vdet1 Voltage Detection 1 Circuit Electrical Characteristics Parameter Standard Min. Typ. Max. Unit Voltage detection level Vdet1_1 (2) When Vcc decreases 2.15 2.35 2.55 V Voltage detection level Vdet1_3 (2) When Vcc decreases 2.45 2.65 2.85 V Voltage detection level Vdet1_5 (2) When Vcc decreases 2.75 2.95 3.15 V Voltage detection level Vdet1_7 (2) When Vcc decreases 3.00 3.25 3.55 V Voltage detection level Vdet1_9 (2) When Vcc decreases 3.30 3.55 3.85 V Voltage detection level Vdet1_B (2) When Vcc decreases 3.60 3.85 4.15 V Voltage detection level Vdet1_D (2) When Vcc decreases 3.90 4.15 4.45 V (2) When Vcc decreases 4.20 4.45 4.75 V Voltage detection level Vdet1_F — Condition Hysteresis width at the rising of Vcc in voltage detection 1 circuit Vdet1_1 to Vdet1_5 selected — 0.07 — V Vdet1_7 to Vdet1_F selected — 0.10 — V — Voltage detection 1 circuit response time (3) When Vcc decreases from 5 V to (Vdet1_0 - 0.1) V — 60 150 µs — Self power consumption in voltage detection circuit VC1E = 1, Vcc = 5.0 V — 1.7 — µA td(E-A) Wait time until voltage detection circuit operation starts (4) — — 100 µs Notes: 1. The measurement condition is Vcc = 1.8 V to 5.5 V and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version). 2. Select the voltage detection level with bits VD1S1 to VD1S3 in the VD1LS register. 3. The response time is from when the voltage passes Vdet1 until the voltage monitor 1 interrupt request is generated. 4. The wait time is necessary for the voltage detection circuit to operate when the VC1E bit in the VCA2 register is set to 0 and then 1. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 28 of 48 R8C/M13B Group Table 4.9 4. Electrical Characteristics Power-On Reset Circuit (2) Symbol Parameter Condition External power Vcc rise gradient trth Standard Min. Typ. Max. 0 — 50,000 Unit mV/msec Notes: 1. The measurement condition is Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified. 2. To use the power-on reset function, enable the voltage monitor 0 reset by setting the LVDAS bit in the OFS register to 0. Vdet0 (1) trth trth 0.5 V External power Vcc Voltage detection 0 circuit response time tw(por) (2) Internal reset signal (low active) 1 × 256 fLOCO 1 × 256 fLOCO Notes: 1. Vdet0 indicates the voltage detection level of the voltage detection 0 circuit. 2. tw(por) is required for a power-on reset to be enabled with the external power Vcc held below the valid voltage (0.5 V) to enable a power-on reset. When Vcc decreases with voltage monitor 0 reset disabled and then turns on, maintain t w(por) for 1 ms or more. Figure 4.3 Power-On Reset Circuit Electrical Characteristics R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 29 of 48 R8C/M13B Group Table 4.10 Symbol — 4. Electrical Characteristics High-Speed On-Chip Oscillator Circuit Electrical Characteristics Parameter High-speed on-chip oscillator frequency after reset is cleared High-speed on-chip oscillator frequency when the FR18S0 register adjustment value is written into the FRV1 register and the FR18S1 register adjustment value into the FRV2 register (2) Condition Vcc = 1.8 V to 5.5 V, -20 °C ≤ Topr ≤ 85 °C Vcc = 1.8 V to 5.5 V, -40 °C ≤ Topr ≤ 85 °C Vcc = 1.8 V to 5.5 V, -20 °C ≤ Topr ≤ 85 °C Vcc = 1.8 V to 5.5 V, -40 °C ≤ Topr ≤ 85 °C Standard Unit Min. 19.2 Typ. 20.0 Max. 20.8 MHz 19.0 20.0 21.0 MHz 17.694 18.432 19.169 MHz 17.510 18.432 19.353 MHz — Oscillation stabilization time — — 30 µs — Self power consumption at oscillation Vcc = 5.0 V, Topr = 25 °C — 530 — µA Notes: 1. Vcc = 1.8 V to 5.5 V, Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified. 2. This enables the setting errors of bit rates such as 9600 bps and 38400 bps to be 0 % when the serial interface is used in UART mode. Table 4.11 Symbol Low-Speed On-Chip Oscillator Circuit Electrical Characteristics Parameter Condition Min. 60 — — Standard Typ. 125 — 2 Max. 250 35 — Min. — Standard Typ. — Max. 2,000 fLOCO Low-speed on-chip oscillator frequency — Oscillation stabilization time — Self power consumption at oscillation Vcc = 5.0 V, Topr = 25 °C Note: 1. Vcc = 1.8 V to 5.5 V, Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified. Table 4.12 Symbol td(P-R) Unit kHz µs µA Power Supply Circuit Timing Characteristics Parameter Time for internal power supply stabilization during power-on (2) Condition Unit µs Notes: 1. The measurement condition is Vcc = 1.8 V to 5.5 V and Topr = 25 °C. 2. Wait time until the internal power supply generation circuit stabilizes during power-on. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 30 of 48 R8C/M13B Group Table 4.13 4. Electrical Characteristics Timing Requirements of Synchronous Serial Communication Unit (SSU) Symbol Parameter Condition Standard tSUCYC SSCK clock cycle time Min. 4 tHI tLO tRISE SSCK clock high width SSCK clock low width SSCK clock rising time Master 0.4 0.4 — — — — 0.6 0.6 1 SSCK clock falling time Slave Master — — — — 1 1 Slave — 100 1 — — — 1 — — tFALL Typ. — Max. — Unit tCYC (2) tSUCYC tSUCYC tCYC (2) µs tCYC (2) µs ns tSU tH SSO, SSI data input setup time SSO, SSI data input hold time tLEAD SCS setup time Slave 1 tCYC + 50 — — tCYC (2) ns tLAG 1 tCYC + 50 — — ns tOD Slave SCS hold time SSO, SSI data output delay time — — 1 tSA SSI slave access time tOR SSI slave out open time — — — — — — — — 1.5 tCYC + 100 1.5 tCYC + 200 1.5 tCYC + 100 1.5 tCYC + 200 tCYC (2) ns ns ns ns 2.7 V ≤ Vcc ≤ 5.5 V 1.8 V ≤ Vcc < 2.7 V 2.7 V ≤ Vcc ≤ 5.5 V 1.8 V ≤ Vcc < 2.7 V Notes: 1. Vcc = 1.8 V to 5.5 V, Vss = 0 V, and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified. 2. 1 tCYC = 1/f1 (s) R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 31 of 48 R8C/M13B Group 4. Electrical Characteristics 4-Wire Bus Communication Mode, Master, CPHS = 1 VIH or VOH SCS (output) VIL or VOL tFALL tHI tRISE SSCK (output) (CPOS_WAIT = 1) tLO tHI SSCK (output) (CPOS_WAIT = 0) tLO tSUCYC SSO (output) tOD SSI (input) tSU tH 4-Wire Bus Communication Mode, Master, CPHS = 0 VIH or VOH SCS (output) VIL or VOL tFALL tHI tRISE SSCK (output) (CPOS_WAIT = 1) tLO tHI SSCK (output) (CPOS_WAIT = 0) tLO tSUCYC SSO (output) tOD SSI (input) tSU tH CPHS, CPOS_WAIT: Bits in SIMR1 register Figure 4.4 I/O Timing of Synchronous Serial Communication Unit (SSU) (Master) R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 32 of 48 R8C/M13B Group 4. Electrical Characteristics 4-Wire Bus Communication Mode, Slave, CPHS = 1 VIH or VOH SCS (input) VIL or VOL tLEAD tFALL tHI tRISE tLAG SSCK (input) (CPOS_WAIT = 1) tLO tHI SSCK (input) (CPOS_WAIT = 0) tLO tSUCYC SSO (input) tSU tH SSI (output) tOD tSA tOR 4-Wire Bus Communication Mode, Slave, CPHS = 0 VIH or VOH SCS (input) VIL or VOL tLEAD tFALL tHI tRISE tLAG SSCK (input) (CPOS_WAIT = 1) tLO tHI SSCK (input) (CPOS_WAIT = 0) tLO tSUCYC SSO (input) tSU tH SSI (output) tSA tOD tOR CPHS, CPOS_WAIT: Bits in SIMR1 register Figure 4.5 I/O Timing of Synchronous Serial Communication Unit (SSU) (Slave) R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 33 of 48 R8C/M13B Group 4. Electrical Characteristics tHI VIH or VOH SSCK VIL or VOL tLO tSUCYC SSO (output) tOD SSI (input) tSU Figure 4.6 tH I/O Timing of Synchronous Serial Communication Unit (SSU) (Clock Synchronous Communication Mode) R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 34 of 48 R8C/M13B Group Table 4.14 4. Electrical Characteristics Timing Requirements of I2C bus Interface Symbol Parameter Standard Condition Min. tSCL SCL input cycle time 12 tCYC + 600 (2) tSCLH SCL input high width 3 tCYC + 300 (2) — — ns tSCLL SCL input low width (2) — — ns tsf tSP SCL, SDA input fall time SCL, SDA input spike pulse rejection time 300 ns ns tBUF SDA input bus-free time 5 tCYC (2) tSTAH Start condition input hold time 3 tCYC (2) tSTAS Retransmit start condition input setup time tSTOP Stop condition input setup time tSDAS Data input setup time 5 tCYC + 500 — — — — Max. — Unit Typ. — ns — 1 tCYC (2) — ns — — ns 3 tCYC (2) — — ns 3 tCYC (2) — — ns — — ns 1 tCYC + 40 (2) 10 tSDAH Data input hold time — — ns Notes: 1. Vcc = 1.8 V to 5.5 V, Vss = 0 V, and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified. 2. 1 tCYC = 1/f1 (s) VIH SDA VIL tBUF tSTAH tSTAS tSCLH tSP tSTOP SCL P (2) S (1) tSf Sr (3) tSCLL tSr tSCL P (2) tSDAS tSDAH Notes: 1. Start condition 2. Stop condition 3. Retransmit start condition Figure 4.7 I/O Timing of I2C bus Interface R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 35 of 48 R8C/M13B Group Table 4.15 4. Electrical Characteristics DC Characteristics (1) [4.0 V ≤ Vcc ≤ 5.5 V] Symbol VOH VOL VT+-VT- Parameter Output high voltage Output low voltage Hysteresis Min. IOH = -20 mA Vcc - 2.0 P1_2, P1_3, P1_4, P1_5, When drive P3_3, P3_4, P3_5, P3_7 (2) capacity is high When drive IOH = -5 mA capacity is low IOH = -5 mA P0_0, P0_1, P0_2, P0_3, P0_4, P0_5, P0_6, P0_7, P1_0, P1_1, P1_6, P1_7, P2_0, P2_1, P2_2, P3_1, P4_2, P4_5, P4_6, P4_7, PA_0 P1_2, P1_3, P1_4, P1_5, When drive IOL = 20 mA P3_3, P3_4, P3_5, P3_7 (2) capacity is high When drive IOL = 5 mA capacity is low IOL = 5 mA P0_0, P0_1, P0_2, P0_3, P0_4, P0_5, P0_6, P0_7, P1_0, P1_1, P1_6, P1_7, P2_0, P2_1, P2_2, P3_1, P4_2, P4_5, P4_6, P4_7, PA_0 INT0, INT1, INT2, INT3, KI0, KI1, KI2, KI3, TRJIO, TRCIOA, TRCIOB, TRCIOC, TRCIOD, RXD0, CLK0 Standard Condition Vcc = 5 V Unit Typ. — Max. Vcc Vcc - 2.0 — Vcc V Vcc - 2.0 — Vcc V — — 2.0 V — — 2.0 V — — 2.0 V 0.1 1.2 — V V Vcc = 5 V 0.1 1.2 — V RESET IIH Input high current VI = 5 V, Vcc = 5.0 V — — 5.0 µA IIL Input low current VI = 0 V, Vcc = 5.0 V — — -5.0 µA RPULLUP Pull-up resistance VI = 0 V, Vcc = 5.0 V 25 50 100 kΩ RfXIN Feedback resistance XIN — 2.2 — MΩ RfXCIN Feedback resistance XCIN — 14 — MΩ VRAM RAM hold voltage In stop mode 1.8 — — V Notes: 1. 4.0 V ≤ Vcc ≤ 5.5 V and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), f(XIN) = 20 MHz, unless otherwise specified. 2. High drive capacity can also be used while the peripheral output function is used. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 36 of 48 R8C/M13B Group Table 4.16 4. Electrical Characteristics DC Characteristics (2) [4.0 V ≤ Vcc ≤ 5.5 V] (Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified) Condition Oscillation Circuit Symbol Parameter ICC Power supply current (1) Low-PowerConsumption Setting Standard Other Unit XIN (2) XCIN 20 MHz Off Off 125 kHz No division — — 3.5 7.0 mA 16 MHz Off Off 125 kHz No division — — 2.8 6.0 mA 10 MHz Off Off 125 kHz No division — — 1.8 — mA 20 MHz Off Off 125 kHz Division by 8 — — 2.0 — mA 16 MHz Off Off 125 kHz Division by 8 — — 1.7 — mA 10 MHz Off Off 125 kHz Division by 8 — — 1.1 — mA Off Off 20 MHz 125 kHz No division — 4.0 7.5 mA Off Off 20 MHz 125 kHz Division by 8 — 2.5 — mA Off Off 4 MHz (4) 125 kHz Division MSTTRC = 1 by 16 — 1.0 — mA Low-speed on-chip oscillator mode Off Off Off 125 kHz Division FMR27 = 1 by 8 LPE = 0 — 70 270 µA Low-speed clock mode Off 32 kHz Off Off — FMR27 = 1 LPE = 0 — 65 270 µA Off 32 kHz Off Off — FMSTP = 1 LPE = 0 Flash memory stopped during program operation in RAM — 45 — µA Off Off Off 125 kHz — VC1E = 0 VC0E = 0 LPE = 1 Peripheral clock supplied during WAIT instruction execution — 15 100 µA Off Off Off 125 kHz — VC1E = 0 VC0E = 0 LPE = 1 WCKSTP = 1 Peripheral clock stopped during WAIT instruction execution — 5.0 90 µA Off 32 kHz Off Off — VC1E = 0 VC0E = 0 LPE = 1 WCKSTP = 1 Peripheral clock stopped during WAIT instruction execution — 3.5 — µA Off Off Off Off — VC1E = 0 VC0E = 0 STPM = 1 Topr = 25 °C Peripheral clock stopped — 1.0 4.0 µA Off Off Off Off — VC1E = 0 VC0E = 0 STPM = 1 Topr = 85 °C Peripheral clock stopped — 1.9 — µA High-speed clock mode Wait mode Stop mode LowSpeed CPU Clock HighSpeed High-speed on-chip oscillator mode Notes: 1. 2. 3. 4. On-Chip Oscillator Min. Typ. (3) Max. Vcc = 4.0 V to 5.5 V, single-chip mode, output pins are open, and other pins are connected to Vss. When the XIN input is a square wave. Vcc = 5.0 V Set the system clock to 4 MHz with the PHISEL register. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 37 of 48 R8C/M13B Group 4. Electrical Characteristics Timing Requirements (Vcc = 5 V, Vss = 0 V at Topr = 25 °C, unless otherwise specified) [Vcc = 5 V] Table 4.17 External Clock Input (XIN, XCIN) Symbol tc(XIN) tWH(XIN) tWL(XIN) tc(XCIN) tWH(XCIN) tWL(XCIN) Standard Parameter Min. 50 24 24 20 10 10 XIN input cycle time XIN input high width XIN input low width XCIN input cycle time XCIN input high width XCIN input low width tC(XIN), tC(XCIN) Max. — — — — — — Unit ns ns ns µs µs µs Vcc = 5 V tWH(XIN), tWH(XCIN) External clock input tWL(XIN), tWL(XCIN) Figure 4.8 External Clock Input Timing Diagram When Vcc = 5 V Table 4.18 TRJIO Input Symbol tc(TRJIO) tWH(TRJIO) tWL(TRJIO) Parameter Min. 100 40 40 TRJIO input cycle time TRJIO input high width TRJIO input low width tC(TRJIO) Standard Max. — — — Unit ns ns ns Vcc = 5 V tWH(TRJIO) TRJIO input tWL(TRJIO) Figure 4.9 TRJIO Input Timing When Vcc = 5 V R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 38 of 48 R8C/M13B Group Table 4.19 4. Electrical Characteristics Serial Interface Symbol tc(CK) tW(CKH) tW(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) i = 0 or 1 Standard Parameter Min. 200 100 100 — 0 50 90 CLKi input cycle time CLKi input high width CLKi input low width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time Max. — — — 50 — — — tC(CK) Unit ns ns ns ns ns ns ns Vcc = 5 V tW(CKH) CLKi tW(CKL) th(C-Q) TXDi td(C-Q) tsu(D-C) th(C-D) RXDi i = 0 or 1 Figure 4.10 Table 4.20 Serial Interface Timing When Vcc = 5 V External Interrupt INTi Input, Key Input Interrupt KIi (i = 0 to 3) Symbol tW(INH) Standard Min. Max. (1) — 250 Parameter INTi input high width, KIi input high width Unit ns tW(INL) — ns 250 INTi input low width, KIi input low width Notes: 1. When the digital filter is enabled by the INTi input filter select bit, the INTi input high width is (1/digital filter clock frequency × 3) or the minimum value of the standard, whichever is greater. 2. When the digital filter is enabled by the INTi input filter select bit, the INTi input low width is (1/digital filter clock frequency × 3) or the minimum value of the standard, whichever is greater. (2) Vcc = 5 V tW(INL) INTi input KIi input (i = 0 to 3) Figure 4.11 tW(INH) Timing for External Interrupt INTi Input and Key Input Interrupt KIi When Vcc = 5 V R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 39 of 48 R8C/M13B Group Table 4.21 4. Electrical Characteristics DC Characteristics (3) [2.7 V ≤ Vcc < 4.0 V] Symbol VOH VOL VT+-VT- Parameter Output high voltage Output low voltage Hysteresis Condition P1_2, P1_3, P1_4, P1_5, When drive IOH = -5 mA P3_3, P3_4, P3_5, P3_7 (2) capacity is high When drive IOH = -1 mA capacity is low IOH = -1 mA P0_0, P0_1, P0_2, P0_3, P0_4, P0_5, P0_6, P0_7, P1_0, P1_1, P1_6, P1_7, P2_0, P2_1, P2_2, P3_1, P4_2, P4_5, P4_6, P4_7, PA_0 P1_2, P1_3, P1_4, P1_5, When drive IOL = 5 mA P3_3, P3_4, P3_5, P3_7 (2) capacity is high When drive IOL = 1 mA capacity is low IOL = 1 mA P0_0, P0_1, P0_2, P0_3, P0_4, P0_5, P0_6, P0_7, P1_0, P1_1, P1_6, P1_7, P2_0, P2_1, P2_2, P3_1, P4_2, P4_5, P4_6, P4_7, PA_0 Vcc = 3 V INT0, INT1, INT2, INT3, KI0, KI1, KI2, KI3, TRJIO, TRCIOA, TRCIOB, TRCIOC, TRCIOD, RXD0, CLK0 Vcc = 3 V RESET Standard Min. Typ. Vcc - 0.5 — Max. Vcc Vcc - 0.5 — Vcc V Vcc - 0.5 — Vcc V — — 0.5 V — — 0.5 V — — 0.5 V 0.1 0.4 — V 0.1 0.5 — V Unit V Input high current VI = 3 V, Vcc = 3.0 V — — 4.0 µA IIH IIL Input low current VI = 0 V, Vcc = 3.0 V — — -4.0 µA RPULLUP Pull-up resistance VI = 0 V, Vcc = 3.0 V 42 84 168 kΩ RfXIN Feedback resistance XIN — 2.2 — MΩ RfXCIN Feedback resistance XCIN — 14 — MΩ VRAM RAM hold voltage In stop mode 1.8 — — V Notes: 1. 2.7 V ≤ Vcc < 4.0 V and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), f(XIN) = 10 MHz, unless otherwise specified. 2. High drive capacity can also be used while the peripheral output function is used. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 40 of 48 R8C/M13B Group Table 4.22 4. Electrical Characteristics DC Characteristics (4) [2.7 V ≤ Vcc < 4.0 V] (Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified) Condition Oscillation Circuit Symbol Parameter ICC Power supply current (1) Low-PowerConsumption Setting Standard Other Unit XIN (2) XCIN 20 MHz Off Off 125 kHz No division — — 3.5 7.0 mA 16 MHz Off Off 125 kHz No division — — 2.7 6.0 mA 10 MHz Off Off 125 kHz No division — — 1.7 5.0 mA 20 MHz Off Off 125 kHz Division by 8 — — 1.9 — mA 16 MHz Off Off 125 kHz Division by 8 — — 1.6 — mA 10 MHz Off Off 125 kHz Division by 8 — — 1.0 4.5 mA Off Off 20 MHz 125 kHz No division — 3.9 7.5 mA Off Off 20 MHz 125 kHz Division by 8 — 2.5 — mA Off Off 10 MHz (4) 125 kHz No division — 2.4 — mA Off Off 10 MHz (4) 125 kHz Division by 8 — 1.6 — mA Off Off 4 MHz (4) 125 kHz Division MSTTRC = 1 by 16 — 1.0 — mA Low-speed on-chip oscillator mode Off Off Off 125 kHz Division FMR27 = 1 by 8 LPE = 0 — 60 260 µA Low-speed clock mode Off 32 kHz Off Off — FMR27 = 1 LPE = 0 — 60 260 µA Off 32 kHz Off Off — FMSTP = 1 LPE = 0 Flash memory stopped during program operation in RAM — 40 — µA Off Off Off 125 kHz — VC1E = 0 VC0E = 0 LPE = 1 Peripheral clock supplied during WAIT instruction execution — 15 90 µA Off Off Off 125 kHz — VC1E = 0 VC0E = 0 LPE = 1 WCKSTP = 1 Peripheral clock stopped during WAIT instruction execution — 5.0 80 µA Off 32 kHz Off Off — VC1E = 0 VC0E = 0 LPE = 1 WCKSTP = 1 Peripheral clock stopped during WAIT instruction execution — 3.2 — µA Off Off Off Off — VC1E = 0 VC0E = 0 STPM = 1 Topr = 25 °C Peripheral clock stopped — 1.0 4.0 µA Off Off Off Off — VC1E = 0 VC0E = 0 STPM = 1 Topr = 85 °C Peripheral clock stopped — 1.7 — µA High-speed clock mode Wait mode Stop mode LowSpeed CPU Clock HighSpeed High-speed on-chip oscillator mode Notes: 1. 2. 3. 4. On-Chip Oscillator Min. Typ. (3) Max. Vcc = 2.7 V to 4.0 V, single-chip mode, output pins are open, and other pins are connected to Vss. When the XIN input is a square wave. Vcc = 3.0 V Set the system clock to 10 MHz or 4 MHz with the PHISEL register. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 41 of 48 R8C/M13B Group 4. Electrical Characteristics Timing Requirements (Vcc = 3 V, Vss = 0 V at Topr = 25 °C, unless otherwise specified) [Vcc = 3 V] Table 4.23 External Clock Input (XIN, XCIN) Symbol tc(XIN) tWH(XIN) tWL(XIN) tc(XCIN) tWH(XCIN) tWL(XCIN) Parameter Min. 50 24 24 20 10 10 XIN input cycle time XIN input high width XIN input low width XCIN input cycle time XCIN input high width XCIN input low width tC(XIN), tC(XCIN) Standard Max. — — — — — — Unit ns ns ns µs µs µs Vcc = 3 V tWH(XIN), tWH(XCIN) External clock input tWL(XIN), tWL(XCIN) Figure 4.12 Table 4.24 External Clock Input Timing Diagram When Vcc = 3 V TRJIO Input Symbol tc(TRJIO) tWH(TRJIO) tWL(TRJIO) Parameter Min. 300 120 120 TRJIO input cycle time TRJIO input high width TRJIO input low width tC(TRJIO) Standard Max. — — — Unit ns ns ns Vcc = 3 V tWH(TRJIO) TRJIO input tWL(TRJIO) Figure 4.13 TRJIO Input Timing When Vcc = 3 V R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 42 of 48 R8C/M13B Group Table 4.25 4. Electrical Characteristics Serial Interface Symbol tc(CK) tW(CKH) tW(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) i = 0 or 1 Parameter Min. 300 150 150 — 0 70 90 CLKi input cycle time CLKi input high width CLKi input low width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time Standard Max. — — — 80 — — — tC(CK) Unit ns ns ns ns ns ns ns Vcc = 3 V tW(CKH) CLKi tW(CKL) th(C-Q) TXDi td(C-Q) tsu(D-C) th(C-D) RXDi i = 0 or 1 Figure 4.14 Table 4.26 Serial Interface Timing When Vcc = 3 V External Interrupt INTi Input, Key Input Interrupt KIi (i = 0 to 3) Symbol tW(INH) Standard Min. Max. (1) — 380 Parameter INTi input high width, KIi input high width Unit ns — ns tW(INL) 380 INTi input low width, KIi input low width Notes: 1. When the digital filter is enabled by the INTi input filter select bit, the INTi input high width is (1/digital filter clock frequency × 3) or the minimum value of the standard, whichever is greater. 2. When the digital filter is enabled by the INTi input filter select bit, the INTi input low width is (1/digital filter clock frequency × 3) or the minimum value of the standard, whichever is greater. (2) Vcc = 3 V tW(INL) INTi input KIi input (i = 0 to 3) Figure 4.15 tW(INH) Timing for External Interrupt INTi Input and Key Input Interrupt KIi When Vcc = 3 V R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 43 of 48 R8C/M13B Group Table 4.27 4. Electrical Characteristics DC Characteristics (5) [1.8 V ≤ Vcc < 2.7 V] Symbol VOH VOL VT+-VT- Parameter Output high voltage Output low voltage Hysteresis Condition P1_2, P1_3, P1_4, P1_5, When drive IOH = -2 mA P3_3, P3_4, P3_5, P3_7 (2) capacity is high When drive IOH = -1 mA capacity is low IOH = -1 mA P0_0, P0_1, P0_2, P0_3, P0_4, P0_5, P0_6, P0_7, P1_0, P1_1, P1_6, P1_7, P2_0, P2_1, P2_2, P3_1, P4_2, P4_5, P4_6, P4_7, PA_0 P1_2, P1_3, P1_4, P1_5, When drive IOL = 2 mA P3_3, P3_4, P3_5, P3_7 (2) capacity is high When drive IOL = 1 mA capacity is low IOL = 1 mA P0_0, P0_1, P0_2, P0_3, P0_4, P0_5, P0_6, P0_7, P1_0, P1_1, P1_6, P1_7, P2_0, P2_1, P2_2, P3_1, P4_2, P4_5, P4_6, P4_7, PA_0 Vcc = 2.2 V INT0, INT1, INT2, INT3, KI0, KI1, KI2, KI3, TRJIO, TRCIOA, TRCIOB, TRCIOC, TRCIOD, RXD0, CLK0 Vcc = 2.2 V RESET Standard Min. Typ. Vcc - 0.5 — Max. Vcc Vcc - 0.5 — Vcc V Vcc - 0.5 — Vcc V — — 0.5 V — — 0.5 V — — 0.5 V 0.05 0.20 — V 0.05 0.20 — V Unit V Input high current VI = 2.2 V, Vcc = 2.2 V — — 4.0 µA IIH IIL Input low current VI = 0 V, Vcc = 2.2 V — — -4.0 µA RPULLUP Pull-up resistance VI = 0 V, Vcc = 2.2 V 70 140 300 kΩ RfXIN Feedback resistance XIN — 2.2 — MΩ RfXCIN Feedback resistance XCIN — 14 — MΩ VRAM RAM hold voltage In stop mode 1.8 — — V Notes: 1. 1.8 V ≤ Vcc < 2.7 V and Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), f(XIN) = 5 MHz, unless otherwise specified. 2. High drive capacity can also be used while the peripheral output function is used. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 44 of 48 R8C/M13B Group Table 4.28 4. Electrical Characteristics DC Characteristics (6) [1.8 V ≤ Vcc < 2.7 V] (Topr = -20 °C to 85 °C (N version)/-40 °C to 85 °C (D version), unless otherwise specified) Condition Oscillation Circuit Symbol Parameter ICC Power supply current (1) Low-PowerConsumption Setting Standard Other Unit XIN (2) XCIN 5 MHz Off Off 125 kHz No division — — 1.1 — mA 5 MHz Off Off 125 kHz Division by 8 — — 0.8 — mA Off Off 5 MHz (4) 125 kHz No division — 1.8 6.5 mA Off Off 5 MHz (4) 125 kHz Division by 8 — 1.6 — mA Off Off 4 MHz (4) 125 kHz Division MSTTRC = 1 by 16 — 1.3 — mA Low-speed on-chip oscillator mode Off Off Off 125 kHz Division FMR27 = 1 by 8 LPE = 0 — 60 200 µA Low-speed clock mode Off 32 kHz Off Off — FMR27 = 1 LPE = 0 — 55 200 µA Off 32 kHz Off Off — FMSTP = 1 LPE = 0 Flash memory stopped during program operation in RAM — 30 — µA Off Off Off 125 kHz — VC1E = 0 VC0E = 0 LPE = 1 Peripheral clock supplied during WAIT instruction execution — 15 90 µA Off Off Off 125 kHz — VC1E = 0 VC0E = 0 LPE = 1 WCKSTP = 1 Peripheral clock stopped during WAIT instruction execution — 4.5 80 µA Off 32 kHz Off Off — VC1E = 0 VC0E = 0 LPE = 1 WCKSTP = 1 Peripheral clock stopped during WAIT instruction execution — 3 — µA Off Off Off Off — VC1E = 0 VC0E = 0 STPM = 1 Topr = 25 °C Peripheral clock stopped — 1 4.0 µA Off Off Off Off — VC1E = 0 VC0E = 0 STPM = 1 Topr = 85 °C Peripheral clock stopped — 1.6 — µA High-speed clock mode Wait mode Stop mode LowSpeed CPU Clock HighSpeed High-speed on-chip oscillator mode Notes: 1. 2. 3. 4. On-Chip Oscillator Min. Typ. (3) Max. Vcc = 1.8 V to 2.7 V, single-chip mode, output pins are open, and other pins are connected to Vss. When the XIN input is a square wave. Vcc = 2.2 V Set the system clock to 5 MHz or 4 MHz with the PHISEL register. R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 45 of 48 R8C/M13B Group 4. Electrical Characteristics Timing Requirements (Vcc = 2.2 V, Vss = 0 V at Topr = 25 °C, unless otherwise specified) [Vcc = 2.2 V] Table 4.29 External Clock Input (XIN, XCIN) Symbol tc(XIN) tWH(XIN) tWL(XIN) tc(XCIN) tWH(XCIN) tWL(XCIN) Parameter Min. 200 90 90 20 10 10 XIN input cycle time XIN input high width XIN input low width XCIN input cycle time XCIN input high width XCIN input low width tC(XIN), tC(XCIN) Standard Max. — — — — — — Unit ns ns ns µs µs µs Vcc = 2.2 V tWH(XIN), tWH(XCIN) External clock input tWL(XIN), tWL(XCIN) Figure 4.16 Table 4.30 External Clock Input Timing Diagram When Vcc = 2.2 V TRJIO Input Symbol tc(TRJIO) tWH(TRJIO) tWL(TRJIO) Parameter Min. 500 200 200 TRJIO input cycle time TRJIO input high width TRJIO input low width tC(TRJIO) Standard Max. — — — Unit ns ns ns Vcc = 2.2 V tWH(TRJIO) TRJIO input tWL(TRJIO) Figure 4.17 TRJIO Input Timing When Vcc = 2.2 V R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 46 of 48 R8C/M13B Group Table 4.31 4. Electrical Characteristics Serial Interface Symbol tc(CK) tW(CKH) tW(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) i = 0 or 1 Parameter Min. 800 400 400 — 0 150 90 CLKi input cycle time CLKi input high width CLKi input low width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time Standard Max. — — — 200 — — — tC(CK) Unit ns ns ns ns ns ns ns Vcc = 2.2 V tW(CKH) CLKi tW(CKL) th(C-Q) TXDi td(C-Q) tsu(D-C) th(C-D) RXDi i = 0 or 1 Figure 4.18 Table 4.32 Serial Interface Timing When Vcc = 2.2 V External Interrupt INTi Input, Key Input Interrupt KIi (i = 0 to 3) Symbol tW(INH) Standard Min. Max. (1) — 1,000 Parameter INTi input high width, KIi input high width Unit ns — ns tW(INL) 1,000 INTi input low width, KIi input low width Notes: 1. When the digital filter is enabled by the INTi input filter select bit, the INTi input high width is (1/digital filter clock frequency × 3) or the minimum value of the standard, whichever is greater. 2. When the digital filter is enabled by the INTi input filter select bit, the INTi input low width is (1/digital filter clock frequency × 3) or the minimum value of the standard, whichever is greater. (2) Vcc = 2.2 V tW(INL) INTi input KIi input (i = 0 to 3) Figure 4.19 tW(INH) Timing for External Interrupt INTi Input and Key Input Interrupt KIi When Vcc = 2.2 V R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 Page 47 of 48 R8C/M13B 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-LQFP32-7x7-0.80 RENESAS Code PLQP0032GB-A Previous Code 32P6U-A MASS[Typ.] 0.2g HD *1 D 24 17 NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET. 16 25 bp c c1 *2 E HE b1 Reference Symbol 32 9 1 ZE Terminal cross section 8 ZD c A F A2 Index mark A1 S L D E A2 HD HE A A1 bp b1 c c1 L1 y S e R01DS0005EJ0100 Rev.1.00 Mar 14, 2011 *3 Detail F bp x e x y ZD ZE L L1 Dimension in Millimeters Min Nom Max 6.9 7.0 7.1 6.9 7.0 7.1 1.4 8.8 9.0 9.2 8.8 9.0 9.2 1.7 0.1 0.2 0 0.32 0.37 0.42 0.35 0.09 0.145 0.20 0.125 0° 8° 0.8 0.20 0.10 0.7 0.7 0.3 0.5 0.7 1.0 Page 48 of 48 REVISION HISTORY Rev. 1.00 Date Mar 14, 2011 R8C/M13B Group Datasheet Description Summary Page − First Edition issued All trademarks and registered trademarks are the property of their respective owners. C-1 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. Handling of Unused Pins Handle unused pins in accord with the directions given under Handling of Unused Pins in the manual. The input pins of CMOS products are generally in the high-impedance state. In operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of LSI, an associated shoot-through current flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become possible. Unused pins should be handled as described under Handling of Unused Pins in the manual. 2. Processing at Power-on The state of the product is undefined at the moment when power is supplied. The states of internal circuits in the LSI are indeterminate and the states of register settings and pins are undefined at the moment when power is supplied. In a finished product where the reset signal is applied to the external reset pin, the states of pins are not guaranteed from the moment when power is supplied until the reset process is completed. In a similar way, the states of pins in a product that is reset by an on-chip power-on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified. 3. Prohibition of Access to Reserved Addresses Access to reserved addresses is prohibited. The reserved addresses are provided for the possible future expansion of functions. Do not access these addresses; the correct operation of LSI is not guaranteed if they are accessed. 4. Clock Signals After applying a reset, only release the reset line after the operating clock signal has become stable. When switching the clock signal during program execution, wait until the target clock signal has stabilized. When the clock signal is generated with an external resonator (or from an external oscillator) during a reset, ensure that the reset line is only released after full stabilization of the clock signal. Moreover, when switching to a clock signal produced with an external resonator (or by an external oscillator) while program execution is in progress, wait until the target clock signal is stable. 5. Differences between Products Before changing from one product to another, i.e. to one with a different part number, confirm that the change will not lead to problems. The characteristics of MPU/MCU in the same group but having different part numbers may differ because of the differences in internal memory capacity and layout pattern. When changing to products of different part numbers, implement a system-evaluation test for each of the products. 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. 2. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. 3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. 4. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 5. When exporting the products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. 6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics 7. Renesas Electronics products are classified according to the following three quality grades: "Standard", "High Quality", and "Specific". The recommended applications for each Renesas Electronics product assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. depends on the product's quality grade, as indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application categorized as "Specific" without the prior written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as "Specific" or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics. The quality grade of each Renesas Electronics product is "Standard" unless otherwise expressly specified in a Renesas Electronics data sheets or data books, etc. "Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots. "High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; safety equipment; and medical equipment not specifically designed for life support. "Specific": Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life. 8. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges. 9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas Electronics. 12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries. (Note 1) "Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its majority-owned subsidiaries. (Note 2) "Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics. http://www.renesas.com SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada Tel: +1-905-898-5441, Fax: +1-905-898-3220 Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K Tel: +44-1628-585-100, Fax: +44-1628-585-900 Renesas Electronics Europe GmbH Arcadiastrasse 10, 40472 Düsseldorf, Germany Tel: +49-211-65030, Fax: +49-211-6503-1327 Renesas Electronics (China) Co., Ltd. 7th Floor, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100083, P.R.China Tel: +86-10-8235-1155, Fax: +86-10-8235-7679 Renesas Electronics (Shanghai) Co., Ltd. Unit 204, 205, AZIA Center, No.1233 Lujiazui Ring Rd., Pudong District, Shanghai 200120, China Tel: +86-21-5877-1818, Fax: +86-21-6887-7858 / -7898 Renesas Electronics Hong Kong Limited Unit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong Tel: +852-2886-9318, Fax: +852 2886-9022/9044 Renesas Electronics Taiwan Co., Ltd. 7F, No. 363 Fu Shing North Road Taipei, Taiwan Tel: +886-2-8175-9600, Fax: +886 2-8175-9670 Renesas Electronics Singapore Pte. Ltd. 1 harbourFront Avenue, #06-10, keppel Bay Tower, Singapore 098632 Tel: +65-6213-0200, Fax: +65-6278-8001 Renesas Electronics Malaysia Sdn.Bhd. Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: +60-3-7955-9390, Fax: +60-3-7955-9510 Renesas Electronics Korea Co., Ltd. 11F., Samik Lavied' or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea Tel: +82-2-558-3737, Fax: +82-2-558-5141 © 2011 Renesas Electronics Corporation. All rights reserved. Colophon 1.0