32C RENESAS [Renesas Technology Corp], 32C Datasheet

no-image

32C

Manufacturer Part Number
32C
Description
RENESAS MCU
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
32C1
Quantity:
50
Part Number:
32C108BRPFY
Manufacturer:
SEI
Quantity:
3
Part Number:
32C1309
Quantity:
5 510
Part Number:
32C1309
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
32C408BRPFE
Manufacturer:
SEI
Quantity:
1
Part Number:
32CK417R
Manufacturer:
CAVENDISH
Quantity:
20 000
Part Number:
32CK503R
Manufacturer:
CAVENDISH
Quantity:
20 000
Part Number:
32CN100
Manufacturer:
PANASONIC/松下
Quantity:
20 000
Part Number:
32CP11-06..81
Manufacturer:
SENSATA
Quantity:
20 000
Part Number:
32CS-50
Manufacturer:
TOKO
Quantity:
20 000
R8C/32C Group
RENESAS MCU
R01DS0009EJ0100 Rev 1.00
Aug. 24, 2010
1.
1.1
1.1.1
The R8C/32C 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. These MCUs are
designed to maximize EMI/EMS performance.
Integration of many peripheral functions, including multifunction timer and serial interface, reduces the number of
system components.
The R8C/32C Group has data flash (1 KB × 4 blocks) with the background operation (BGO) function.
Overview
Electronic household appliances, office equipment, audio equipment, consumer equipment, etc.
Features
Applications
Datasheet
R01DS0009EJ0100
Page 1 of 52
Aug. 24, 2010
Rev 1.00

Related parts for 32C

32C Summary of contents

Page 1

... EMI/EMS performance. Integration of many peripheral functions, including multifunction timer and serial interface, reduces the number of system components. The R8C/32C Group has data flash (1 KB × 4 blocks) with the background operation (BGO) function. 1.1.1 Applications Electronic household appliances, office equipment, audio equipment, consumer equipment, etc. ...

Page 2

... R8C/32C Group 1.1.2 Specifications Tables 1.1 and 1.2 outline the Specifications for R8C/32C Group. Table 1.1 Specifications for R8C/32C Group (1) Item Function CPU 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 ...

Page 3

... R8C/32C Group Table 1.2 Specifications for R8C/32C Group (2) Item Function Serial UART0 Interface UART2 Synchronous Serial Communication Unit (SSU bus LIN Module A/D Converter Comparator B Flash Memory Operating Frequency/Supply Voltage Current consumption Operating Ambient Temperature Package Note: 1. Specify the D version if D version functions are to be used. ...

Page 4

... R8C/32C Group 1.2 Product List Table 1.3 lists Product List for R8C/32C Group, and Figure 1.1 shows a Part Number, Memory Size, and Package of R8C/32C Group. Table 1.3 Product List for R8C/32C Group Part No. Program ROM R5F21321CNSP 4 Kbytes R5F21322CNSP 8 Kbytes R5F21324CNSP 16 Kbytes R5F21321CDSP 4 Kbytes R5F21322CDSP 8 Kbytes ...

Page 5

... R8C/32C Group 1.3 Block Diagram Figure 1.2 shows a Block Diagram. I/O ports Peripheral functions Timers Timer RA (8 bits × 1) Timer RB (8 bits × 1) Timer RC (16 bits × 1) Timer RE (8 bits × 1) Watchdog timer (14 bits) A/D converter × (10 bits 4 channels) Figure 1.2 Block Diagram R01DS0009EJ0100 Rev 1.00 Aug. 24, 2010 ...

Page 6

... R8C/32C Group 1.4 Pin Assignment Figure 1.3 shows Pin Assignment (Top View). Table 1.4 outlines the Pin Name Information by Pin Number. P4_2/VREF P4_7/XOUT(/XCOUT) P4_6/XIN(/XCIN) VCC/AVCC P3_7/SDA/SSO/TRAO(/RXD2/SCL2/TXD2/SDA2) P3_5/SCL/SSCK(/CLK2/TRCIOD) P3_4/IVREF3/SSI(/RXD2/SCL2/TXD2/SDA2/TRCIOC) Notes: Figure 1.3 Pin Assignment (Top View) R01DS0009EJ0100 Rev 1.00 Aug. 24, 2010 1 MODE ...

Page 7

... R8C/32C Group Table 1.4 Pin Name Information by Pin Number Pin Control Pin Port Number 1 P4_2 2 MODE 3 RESET 4 XOUT(/XCOUT) P4_7 5 VSS/AVSS 6 XIN(/XCIN) P4_6 7 VCC/AVCC 8 P3_7 9 P3_5 10 P3_4 11 P3_3 12 P4_5 13 P1_7 14 P1_6 15 P1_5 16 P1_4 17 P1_3 18 P1_2 19 P1_1 20 P1_0 Note: 1. Can be assigned to the pin in parentheses by a program. ...

Page 8

... R8C/32C Group 1.5 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 Analog power AVCC, AVSS supply input Reset input RESET MODE MODE XIN clock input XIN XIN clock output XOUT XCIN clock input ...

Page 9

... R8C/32C Group Table 1.6 Pin Functions (2) Item Reference voltage input VREF A/D converter AN8 to AN11 ADTRG Comparator B IVCMP1, IVCMP3 IVREF1, IVREF3 I/O port P1_0 to P1_7, P3_3 to P3_5, P3_7, P4_5 to P4_7 Input port P4_2 I: Input O: Output R01DS0009EJ0100 Rev 1.00 Aug. 24, 2010 Pin Name I/O Type I Reference voltage input pin to A/D converter ...

Page 10

... R8C/32C Group 2. Central Processing Unit (CPU) Figure 2.1 shows the CPU Registers. The CPU contains 13 registers. R0, R1, R2, R3, A0, A1, and FB configure a register bank. There are two sets of register bank. b31 R2 R3 b19 b19 b15 IPL Note: 1. These registers comprise a register bank. There are two register banks. ...

Page 11

... R8C/32C Group 2.1 Data Registers (R0, R1, R2, and R3 16-bit register for transfer, arithmetic, and logic operations. The same applies R3. R0 can be split into high-order bits (R0H) and low-order bits (R0L used separately as 8-bit data registers. R1H and R1L are analogous to R0H and R0L ...

Page 12

... R8C/32C Group 2.8.7 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. ...

Page 13

... R8C/32C Group Figure 3 Memory Map of R8C/32C Group. The R8C/32C Group has a 1-Mbyte address space from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated lower addresses, beginning with address 0FFFFh. For example, a 16-Kbyte internal ROM area is allocated addresses 0C000h to 0FFFFh. ...

Page 14

... R8C/32C Group 4. Special Function Registers (SFRs) An SFR (special function register control register for a peripheral function. Tables 4.1 to 4.12 list the special function registers and Table 4.13 lists the ID Code Areas and Option Function Select Area. Table 4.1 SFR Information (1) Address 0000h 0001h 0002h 0003h ...

Page 15

... R8C/32C Group Table 4.2 SFR Information (2) Address 003Ah Voltage Monitor 2 Circuit Control Register 003Bh 003Ch 003Dh 003Eh 003Fh 0040h 0041h Flash Memory Ready Interrupt Control Register 0042h 0043h 0044h 0045h 0046h 0047h Timer RC Interrupt Control Register 0048h 0049h 004Ah Timer RE Interrupt Control Register ...

Page 16

... R8C/32C Group Table 4.3 SFR Information (3) Address 0080h DTC Activation Control Register 0081h 0082h 0083h 0084h 0085h 0086h 0087h 0088h DTC Activation Enable Register 0 0089h DTC Activation Enable Register 1 008Ah DTC Activation Enable Register 2 008Bh DTC Activation Enable Register 3 008Ch 008Dh DTC Activation Enable Register 5 ...

Page 17

... R8C/32C Group Table 4.4 SFR Information (4) Address 00C0h A/D Register 0 00C1h 00C2h A/D Register 1 00C3h 00C4h A/D Register 2 00C5h 00C6h A/D Register 3 00C7h 00C8h A/D Register 4 00C9h 00CAh A/D Register 5 00CBh 00CCh A/D Register 6 00CDh 00CEh A/D Register 7 00CFh 00D0h 00D1h 00D2h 00D3h 00D4h A/D Mode Register 00D5h A/D Input Select Register ...

Page 18

... R8C/32C Group Table 4.5 SFR Information (5) Address 0100h Timer RA Control Register 0101h Timer RA I/O Control Register 0102h Timer RA Mode Register 0103h Timer RA Prescaler Register 0104h Timer RA Register 0105h LIN Control Register 2 0106h LIN Control Register 0107h LIN Status Register 0108h Timer RB Control Register ...

Page 19

... R8C/32C Group Table 4.6 SFR Information (6) Address 0140h 0141h 0142h 0143h 0144h 0145h 0146h 0147h 0148h 0149h 014Ah 014Bh 014Ch 014Dh 014Eh 014Fh 0150h 0151h 0152h 0153h 0154h 0155h 0156h 0157h 0158h 0159h 015Ah 015Bh 015Ch 015Dh 015Eh 015Fh 0160h 0161h 0162h ...

Page 20

... R8C/32C Group Table 4.7 SFR Information (7) Address 0180h Timer RA Pin Select Register 0181h Timer RC Pin Select Register 0182h Timer RC Pin Select Register 0 0183h Timer RC Pin Select Register 1 0184h 0185h 0186h 0187h 0188h UART0 Pin Select Register 0189h 018Ah UART2 Pin Select Register 0 ...

Page 21

... R8C/32C Group Table 4.8 SFR Information (8) Address 01C0h Address Match Interrupt Register 0 01C1h 01C2h 01C3h Address Match Interrupt Enable Register 0 01C4h Address Match Interrupt Register 1 01C5h 01C6h 01C7h Address Match Interrupt Enable Register 1 01C8h 01C9h 01CAh 01CBh 01CCh 01CDh 01CEh 01CFh 01D0h ...

Page 22

... R8C/32C Group Table 4.9 SFR Information (9) Address 2C00h DTC Transfer Vector Area 2C01h DTC Transfer Vector Area 2C02h DTC Transfer Vector Area 2C03h DTC Transfer Vector Area 2C04h DTC Transfer Vector Area 2C05h DTC Transfer Vector Area 2C06h DTC Transfer Vector Area ...

Page 23

... R8C/32C Group Table 4.10 SFR Information (10) Address 2C70h DTC Control Data 6 2C71h 2C72h 2C73h 2C74h 2C75h 2C76h 2C77h 2C78h DTC Control Data 7 2C79h 2C7Ah 2C7Bh 2C7Ch 2C7Dh 2C7Eh 2C7Fh 2C80h DTC Control Data 8 2C81h 2C82h 2C83h 2C84h 2C85h 2C86h 2C87h 2C88h DTC Control Data 9 ...

Page 24

... R8C/32C Group Table 4.11 SFR Information (11) Address 2CB0h DTC Control Data 14 2CB1h 2CB2h 2CB3h 2CB4h 2CB5h 2CB6h 2CB7h 2CB8h DTC Control Data 15 2CB9h 2CBAh 2CBBh 2CBCh 2CBDh 2CBEh 2CBFh 2CC0h DTC Control Data 16 2CC1h 2CC2h 2CC3h 2CC4h 2CC5h 2CC6h 2CC7h 2CC8h DTC Control Data 17 ...

Page 25

... R8C/32C Group Table 4.12 SFR Information (12) Address 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. ...

Page 26

... R8C/32C Group 5. Electrical Characteristics Table 5.1 Absolute Maximum Ratings Symbol Parameter V /AV Supply voltage Input voltage I V Output voltage O P Power dissipation d T Operating ambient temperature opr T Storage temperature stg R01DS0009EJ0100 Rev 1.00 Aug. 24, 2010 5. Electrical Characteristics Condition Rated Value −0.3 to 6.5 −0 − ...

Page 27

... R8C/32C Group Table 5.2 Recommended Operating Conditions Symbol V /AV Supply voltage /AV Supply voltage Input “H” voltage Other than CMOS input IH CMOS input External clock input (XOUT) VIL Input “L” voltage Other than CMOS input CMOS input External clock input (XOUT) I Peak sum output “ ...

Page 28

... R8C/32C Group Figure 5.1 Ports P1, P3, P4 Timing Measurement Circuit R01DS0009EJ0100 Rev 1.00 Aug. 24, 2010 30pF 5. Electrical Characteristics Page ...

Page 29

... R8C/32C Group Table 5.3 A/D Converter Characteristics Symbol Parameter − Resolution − Absolute accuracy φAD A/D conversion clock − Tolerance level impedance t Conversion time CONV t Sampling time SAMP IV V current ref ref V Reference voltage ref V (3) Analog input voltage IA OCVREF On-chip reference voltage Notes: 1 ...

Page 30

... R8C/32C Group Table 5.5 Flash Memory (Program ROM) Electrical Characteristics Symbol Parameter − Program/erase endurance − Byte program time − Block erase time t Time delay from suspend request until d(SR-SUS) suspend − Interval from erase start/restart until following suspend request − Time from suspend until erase restart ...

Page 31

... R8C/32C Group Table 5.6 Flash Memory (Data flash Block A to Block D) Electrical Characteristics Symbol Parameter − Program/erase endurance − Byte program time (program/erase endurance ≤ 1,000 times) − Byte program time (program/erase endurance > 1,000 times) − Block erase time (program/erase endurance ≤ 1,000 times) − ...

Page 32

... R8C/32C Group Table 5.7 Voltage Detection 0 Circuit Electrical Characteristics Symbol Parameter V Voltage detection level Vdet0_0 det0 Voltage detection level Vdet0_1 Voltage detection level Vdet0_2 Voltage detection level Vdet0_3 − Voltage detection 0 circuit response time − Voltage detection circuit self power consumption t Waiting time until voltage detection circuit ...

Page 33

... R8C/32C Group Table 5.9 Voltage Detection 2 Circuit Electrical Characteristics Symbol V Voltage detection level Vdet2_0 det2 − Hysteresis width at the rising of Vcc in voltage detection 2 circuit − Voltage detection 2 circuit response time − Voltage detection circuit self power consumption t Waiting time until voltage detection circuit operation ...

Page 34

... R8C/32C Group Table 5.11 High-speed On-Chip Oscillator Circuit Electrical Characteristics Symbol Parameter − High-speed on-chip oscillator frequency after reset High-speed on-chip oscillator frequency when the FRA4 register correction value is written into the FRA1 register and the FRA5 register correction value into the FRA3 register ...

Page 35

... R8C/32C Group Table 5.14 Timing Requirements of Synchronous Serial Communication Unit (SSU) Symbol Parameter t SSCK clock cycle time SUCYC t SSCK clock “H” width HI t SSCK clock “L” width LO t SSCK clock rising RISE time t SSCK clock falling FALL time t SSO, SSI data input setup time ...

Page 36

... R8C/32C Group 4-Wire Bus Communication Mode, Master, CPHS = SCS (output) SSCK (output) (CPOS = 1) SSCK (output) (CPOS = 0) SSO (output) SSI (input 4-Wire Bus Communication Mode, Master, CPHS = SCS (output) SSCK (output) (CPOS = 1) SSCK (output) (CPOS = 0) SSO (output) SSI (input) CPHS, CPOS: Bits in SSMR register Figure 5 ...

Page 37

... R8C/32C Group 4-Wire Bus Communication Mode, Slave, CPHS = 1 SCS (input) SSCK (input) (CPOS = 1) SSCK (input) (CPOS = 0) SSO (input) SSI (output) 4-Wire Bus Communication Mode, Slave, CPHS = 0 SCS (input) SSCK (input) (CPOS = 1) SSCK (input) (CPOS = 0) SSO (input) SSI (output CPHS, CPOS: Bits in SSMR register Figure 5 ...

Page 38

... R8C/32C Group SSCK SSO (output) SSI (input) Figure 5.6 I/O Timing of Synchronous Serial Communication Unit (SSU) (Clock Synchronous Communication Mode) R01DS0009EJ0100 Rev 1.00 Aug. 24, 2010 SUCYC Electrical Characteristics Page ...

Page 39

... R8C/32C Group Table 5.15 Timing Requirements of I Symbol Parameter t SCL input cycle time SCL t SCL input “H” width SCLH t SCL input “L” width SCLL t SCL, SDA input fall time sf t SCL, SDA input spike pulse rejection time SP t SDA input bus-free time ...

Page 40

... R8C/32C Group Electrical Characteristics (1) [4.2 V ≤ Vcc ≤ 5.5 V] Table 5.16 Symbol Parameter V Output “H” Other than XOUT OH voltage XOUT V Output “L” Other than XOUT OL voltage XOUT V V Hysteresis T+- T- INT0, INT1, INT3, KI0, KI1, KI2, KI3, TRAIO, TRBO, TRCIOA, TRCIOB, ...

Page 41

... R8C/32C Group Electrical Characteristics (2) [3.3 V ≤ Vcc ≤ 5.5 V] Table 5.17 = −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified.) (T opr Symbol Parameter I Power supply High-speed CC current clock mode (V = 3 Single-chip mode, output pins are open, other pins are V SS ...

Page 42

... R8C/32C Group Timing Requirements (Unless Otherwise Specified: V Table 5.18 External Clock Input (XOUT, XCIN) Symbol t XOUT input cycle time c(XOUT) t XOUT input “H” width WH(XOUT) t XOUT input “L” width WL(XOUT) t XCIN input cycle time c(XCIN) t XCIN input “H” width ...

Page 43

... R8C/32C Group Table 5.20 Serial Interface Symbol t CLKi input cycle time c(CK) t CLKi input “H” width W(CKH) t CLKi input “L” width W(CKL) t TXDi output delay time d(C-Q) t TXDi hold time h(C-Q) t RXDi input setup time su(D-C) t RXDi input hold time h(C- CLKi TXDi RXDi Figure 5 ...

Page 44

... R8C/32C Group Electrical Characteristics (3) [2.7 V ≤ Vcc < 4.2 V] Table 5.22 Symbol Parameter V Output “H” voltage Other than XOUT OH XOUT V Output “L” voltage Other than XOUT OL XOUT V V Hysteresis T+- T- INT0, INT1, INT3, KI0, KI1, KI2, KI3, TRAIO, TRBO, TRCIOA, TRCIOB, ...

Page 45

... R8C/32C Group Electrical Characteristics (4) [2.7 V ≤ Vcc < 3.3 V] Table 5.23 = −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified.) (T opr Symbol Parameter I Power supply current High-speed 2.7 to 3.3 V) clock mode CC Single-chip mode, output pins are open, other pins are V SS ...

Page 46

... R8C/32C Group Timing requirements (Unless Otherwise Specified: V Table 5.24 External Clock Input (XOUT, XCIN) Symbol t XOUT input cycle time c(XOUT) t XOUT input “H” width WH(XOUT) t XOUT input “L” width WL(XOUT) t XCIN input cycle time c(XCIN) t XCIN input “H” width ...

Page 47

... R8C/32C Group Table 5.26 Serial Interface Symbol t CLKi input cycle time c(CK) t CLKi input “H” width W(CKH) t CLKi Input “L” width W(CKL) t TXDi output delay time d(C-Q) t TXDi hold time h(C-Q) t RXDi input setup time su(D-C) t RXDi input hold time h(C- CLKi TXDi RXDi Figure 5 ...

Page 48

... R8C/32C Group Electrical Characteristics (5) [1.8 V ≤ Vcc < 2.7 V] Table 5.28 Symbol Parameter V Output “H” voltage Other than XOUT OH XOUT V Output “L” voltage Other than XOUT OL XOUT V V Hysteresis T+- T- INT0, INT1, INT3, KI0, KI1, KI2, KI3, TRAIO, TRBO, TRCIOA, TRCIOB, ...

Page 49

... R8C/32C Group Electrical Characteristics (6) [1.8 V ≤ Vcc < 2.7 V] Table 5.29 = −20 to 85°C (N version) / −40 to 85°C (D version), unless otherwise specified.) (T opr Symbol Parameter I Power supply current High-speed 1.8 to 2.7 V) clock mode CC Single-chip mode, output pins are open, other pins are V SS ...

Page 50

... R8C/32C Group Timing requirements (Unless Otherwise Specified: V Table 5.30 External Clock Input (XOUT, XCIN) Symbol t XOUT input cycle time c(XOUT) t XOUT input “H” width WH(XOUT) t XOUT input “L” width WL(XOUT) t XCIN input cycle time c(XCIN) t XCIN input “H” width ...

Page 51

... R8C/32C Group Table 5.32 Serial Interface Symbol t CLKi input cycle time c(CK) t CLKi input “H” width W(CKH) t CLKi input “L” width W(CKL) t TXDi output delay time d(C-Q) t TXDi hold time h(C-Q) t RXDi input setup time su(D-C) t RXDi input hold time h(C- CLKi TXDi RXDi Figure 5 ...

Page 52

... R8C/32C Group 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 RENESAS Code P-LSSOP20-4.4x6.5-0.65 PLSP0020JB Index mark R01DS0009EJ0100 Rev 1.00 Aug. 24, 2010 Previous Code MASS[Typ ...

Page 53

... Aug. 24, 2010 All “5. Electrical Characteristics” added All trademarks and registered trademarks are the property of their respective owners. R8C/32C Group Datasheet R8C/32C Group Datasheet Description Summary First Edition issued “Preliminary” and “Under development” deleted Table1.3 revised ...

Page 54

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

Page 55

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

Related keywords