Renesas R5F213G4CNSP#U0
- Part No.:
- R5F213G4CNSP#U0
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 24-LSSOP (0.220", 5.60mm Width)
- Datasheet:
-
R5F213G4CNSP#U0.pdf
- Description:
- IC MCU 16BIT 16KB FLASH 24LSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:2,865
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213G4CNSP#U0 from Renesas Electronics is a 16-bit R8C CPU core MCU with 16 KB program flash, 1.5 KB RAM, and 4 KB data flash (1 KB × 4 blocks) supporting background operation (BGO). It operates at up to 20 MHz (VCC = 2.7–5.5 V), integrates 10-bit × 8-channel ADC, dual 8-bit DACs, LIN hardware module, and real-time clock (Timer RE), targeting embedded control in consumer audio and office equipment.
For engineers reviewing the R5F213G4CNSP#U0 datasheet, R5F213G4CNSP#U0 pinout, R5F213G4CNSP#U0 application, or R5F213G4CNSP#U0 equivalent, key selection criteria include its LSSOP-24 package (PLSP0024JB-A), -20°C to +85°C temperature grade (N version), integrated LIN transceiver support via UART0/Timer RA, and BGO-enabled in-system reprogramming of data flash without halting execution.
Technical Context
The R5F213G4CNSP#U0 implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit multiplier, and multiply-accumulate capability. Its memory map spans 1 Mbyte (00000h–FFFFFh), with program ROM starting at 0C000h, data flash at 03000h–03FFFh, and RAM at 00400h–009FFh.
It features four independent clock sources - XIN/XOUT (up to 20 MHz), XCIN/XCOUT (32 kHz), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator - with selectable frequency dividers (1/2/4/8/16) and oscillation stop detection. Power management includes wait mode (3.5 µA @ 3.0 V, 32 kHz) and stop mode (2.0 µA).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC support for efficient signal processing. |
| Memory | 16 KB program flash (ROM), 1.5 KB RAM, 4 KB data flash (1 KB × 4 blocks) with BGO for concurrent read/write. |
| Operating Frequency | 20 MHz max (VCC = 2.7–5.5 V); 5 MHz min (VCC = 1.8–5.5 V) - enables deterministic timing in cost-sensitive appliances. |
| Analog Peripherals | 10-bit ADC × 8 channels with sample-and-hold and sweep mode; dual 8-bit DACs (DA0/DA1) for analog output generation. |
| Timers & RTC | Timer RA (8-bit), RB (8-bit PWM), RC (16-bit with 4 capture/compare), and Timer RE (8-bit real-time clock counting sec/min/hr/day). |
| Communication | UART0 + UART2 (with I²C mode), SSU, hardware LIN (using UART0 + Timer RA), and 2-wire I²C bus - supports multi-protocol sensor/actuator interfacing. |
| Package & Temp | LSSOP-24 (PLSP0024JB-A, 0.65 mm pitch), industrial-grade N version (-20°C to +85°C). |
Pinout & Package
Package: 24-pin LSSOP (PLSP0024JB-A), 0.65 mm pin pitch, surface-mount, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_2 / AN5 | Analog input / I/O port | Configurable as ADC channel 5 or general-purpose CMOS I/O with programmable pull-up. |
| P0_1 / AN6 | Analog input / I/O port | ADC channel 6 input or bidirectional I/O; supports key interrupt (KI) function when assigned. |
| P4_2 / VREF | Analog reference input | External reference voltage source for ADC and DAC circuits - sets full-scale conversion range. |
| MODE | Boot mode select | Must be pulled high via resistor to enable single-chip mode; determines reset vector and memory mapping. |
| RESET | Active-low reset input | Hardware reset assertion resets CPU, peripherals, and registers; debounced internally for noise immunity. |
| XIN / XCIN | Clock input (main / sub) | XIN accepts 1–20 MHz crystal/resonator; XCIN accepts 32.768 kHz crystal for RTC accuracy and low-power timing. |
| P3_7 / SDA / TRAO | I²C data / Timer RA output | Shared pin: functions as I²C bus data line or Timer RA pulse output - software-configurable multiplexing. |
| P1_6 / IVREF1 / CLK0 | Comparator ref / serial clock | Provides reference voltage for Comparator B Channel 1 or serves as external clock input for serial interfaces. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Enables real-time data flash programming/erasure (10,000 cycles) while CPU executes code - critical for firmware updates and parameter logging. |
| Hardware LIN Module | Integrated LIN 2.0/2.1 support via UART0 + Timer RA eliminates need for external transceiver in automotive body electronics and appliance networks. |
| Low-Power Modes | Wait mode (3.5 µA @ 3.0 V, 32 kHz) and stop mode (2.0 µA) extend battery life in portable or energy-conscious designs. |
| Dual 8-bit DAC Outputs | DA0 and DA1 provide simultaneous analog voltage outputs - useful for audio tone generation, sensor calibration, or actuator biasing. |
| Real-Time Clock (Timer RE) | Independent 8-bit timer with dedicated registers for seconds, minutes, hours, and day-of-week - requires no CPU overhead for timekeeping. |
Applications
| Audio Equipment Control | Office Equipment Motor Control |
|---|---|
Use Scenario: Volume leveling, equalizer tuning, and power-on sequence management in compact stereo receivers and Bluetooth speakers. IC Role / Device Role / Timing Role: Main system controller executing audio processing algorithms, managing user interface inputs, and driving DACs for analog output stages. Use Value: Integrated 10-bit ADC monitors potentiometer positions; dual DACs generate bias voltages for op-amp gain stages; BGO allows seamless firmware updates during playback. | Use Scenario: Precision speed regulation and jam detection in laser printer paper feed mechanisms and document scanners. IC Role / Device Role / Timing Role: Real-time motor driver supervisor using PWM from Timer RB and encoder feedback via Timer RC capture inputs. Use Value: Hardware LIN interface communicates with main controller over shared bus; 16-bit Timer RC provides microsecond-resolution pulse width measurement for encoder edge timing. |
| Consumer Appliance UI Panel | Home Automation Sensor Hub |
Use Scenario: Touchless button scanning, LED backlight dimming, and fault reporting in microwave ovens and induction cooktops. IC Role / Device Role / Timing Role: Dedicated UI processor handling capacitive sensing (via ADC), driving high-current LED segments, and managing thermal shutdown alerts. Use Value: 19 high-current drive ports directly sink/source 20 mA per pin; comparator B monitors thermistor voltage for overtemperature cutoff without CPU polling. | Use Scenario: Aggregating temperature, humidity, and motion data from multiple sensors before forwarding via UART to gateway MCU. IC Role / Device Role / Timing Role: Low-power sensor concentrator using ADC sweep mode to cycle through 8 analog sensors and I²C to communicate with digital sensors. Use Value: Wait mode current of 3.5 µA enables multi-year battery life; data flash stores calibration coefficients and event logs with BGO preserving runtime integrity. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213G4CNNP | Same core, memory, and peripherals but in 24-pin HWQFN (PWQN0024KC-A) package with 0.5 mm pitch. | Preferred for space-constrained PCBs requiring finer pitch and better thermal dissipation. | Select when board layout favors QFN over LSSOP and thermal performance is prioritized over hand-solderability. |
| R5F213G5CNSP | Upgraded to 24 KB program flash and 2 KB RAM; identical package, pinout, and peripheral set. | Suitable for applications needing larger firmware footprint or extended data buffering without hardware change. | Choose when future firmware expansion or additional feature sets require more nonvolatile storage and RAM headroom. |
Compared with R5F213G4CNNP, the R5F213G4CNSP#U0 offers easier manual assembly and higher moisture resistance due to LSSOP's gull-wing leads; versus R5F213G5CNSP, it trades flash/RAM capacity for lower unit cost in stable, mature designs where code size is fixed.
Availability
R5F213G4CNSP#U0 is available at Aetrix Electronics and suitable for audio equipment control, office equipment motor control, consumer appliance UI panels, and home automation sensor hubs requiring stable component supply across long-lifecycle production programs.
Supply support for R5F213G4CNSP#U0 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
Renesas Electronics Corporation is a global semiconductor leader specializing in microcontrollers, analog, power, and SoC solutions for industrial, automotive, and IoT markets.
The R8C/3GC Group was designed for cost-sensitive, low-power embedded control in consumer electronics - emphasizing integration of analog peripherals, LIN connectivity, and robust flash reliability in compact packages.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F213G4CNSP#U0?
The R5F213G4CNSP#U0 supports a maximum operating frequency of 20 MHz at a supply voltage of 2.7–5.5 V. At lower frequencies (e.g., 5 MHz), it operates down to 1.8 V, enabling flexible power design for battery-powered or mixed-voltage systems. This dual-voltage/frequency capability ensures compatibility with legacy 3.3 V and modern 1.8 V logic domains while maintaining real-time responsiveness.
Does the R5F213G4CNSP#U0 support in-system programming of its data flash memory?
Yes, the R5F213G4CNSP#U0 supports background operation (BGO) for data flash, allowing erase and write operations to proceed concurrently with CPU program execution. Its 4 KB data flash is organized into four 1 KB blocks, each rated for 10,000 write/erase cycles - ideal for logging runtime parameters or field-upgrading configuration data without interrupting system operation.
How many analog-to-digital converter channels does the R5F213G4CNSP#U0 include, and what is their resolution?
The R5F213G4CNSP#U0 integrates a 10-bit successive-approximation ADC with eight input channels (AN0–AN11, with some shared pins). It supports sample-and-hold functionality and automatic sweep mode, enabling rapid sequential conversion across all active channels - essential for monitoring multiple sensors in appliances or audio front-ends.
Is the R5F213G4CNSP#U0 pin-compatible with other members of the R8C/3GC Group?
Yes, all R8C/3GC Group MCUs in the PLSP0024JB-A (LSSOP-24) package - including R5F213G1CNSP, R5F213G2CNSP, R5F213G4CNSP#U0, R5F213G5CNSP, and R5F213G6CNSP - share identical pinouts and electrical characteristics. This enables scalable memory upgrades (e.g., from 8 KB to 16 KB flash) without PCB redesign.
What clock sources are available on the R5F213G4CNSP#U0, and how are they used?
The R5F213G4CNSP#U0 provides four clock sources: XIN/XOUT (up to 20 MHz crystal), XCIN/XCOUT (32.768 kHz crystal for RTC), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator. These feed the system clock generator, which routes selected clocks to CPU, peripherals, and watchdog - enabling precise timing control, low-power sleep modes, and fail-safe oscillation monitoring.
R5F213G4CNSP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 24-LSSOP (0.220", 5.60mm Width)
- Series:
- R8C/3x/3GC
- Packaging:
- Tray
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- I2C, LINbus, SIO, SSU, UART/USART
- Peripherals:
- POR, PWM, Voltage Detect, WDT
- Number of I/O:
- 19
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 1.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 5.5V
- Data Converters:
- A/D 8x10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F213G4CNSP#U0 FAQ
1.How can I place an order for R5F213G4CNSP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G4CNSP#U0 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for R5F213G4CNSP#U0 reliable?
The price and inventory of R5F213G4CNSP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G4CNSP#U0 is usually 5 days.
3.What payment methods are accepted for R5F213G4CNSP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G4CNSP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G4CNSP#U0?
R5F213G4CNSP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G4CNSP#U0 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for R5F213G4CNSP#U0?
For technical support, including R5F213G4CNSP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G4CNSP#U0 requirements.
6.How does Aetrix verify that R5F213G4CNSP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F213G4CNSP#U0 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that R5F213G4CNSP#U0 meets industry standards.
7.What is the process for return or replacement of R5F213G4CNSP#U0?
All R5F213G4CNSP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G4CNSP#U0, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The R5F213G4CNSP#U0 part is unused and in its original packaging.
Return procedure for R5F213G4CNSP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G4CNSP#U0 Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering and sourcing framework covering lifecycle verification, lifetime-buy calculations, replacement qualification, supplier checks and counterfeit-risk controls.
TTL and CMOS logic families differ in thresholds, loading, output drive, power and timing. This engineering guide compares 74HC and 74HCT, calculates noise margins and checks 3.3 V/5 V compatibility.
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…

