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

- Shipping:

Inventory:3,019
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213G4CNSP#W4 from Renesas Electronics is a 16-bit R8C CPU core microcontroller in 24-pin LSSOP (PLSP0024JB-A) package, featuring 16 KB flash ROM, 1.5 KB RAM, and 4 KB data flash with background operation (BGO). It delivers 20 MHz max operation at 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#W4 datasheet, R5F213G4CNSP#W4 pinout, R5F213G4CNSP#W4 application, or R5F213G4CNSP#W4 equivalent, key selection criteria include its 24-pin LSSOP footprint, -20°C to +85°C N-version temperature grade, LIN-capable UART0, BGO-enabled data flash for firmware updates, and low-power stop mode (2.0 µA).
Technical Context
The R5F213G4CNSP#W4 implements the R8C CPU core with 89 fundamental instructions and a dedicated 16×16→32-bit multiplier supporting multiply-accumulate operations. Its memory map spans 1 Mbyte address space, with program ROM starting at 0xC000h and data flash at 0x3000h–0x3FFFh across four 1 KB blocks.
Peripheral integration includes three independent timers (RA/RB/RC), Timer RE for RTC, two UARTs (UART0 with LIN support, UART2 with I²C mode), SSU/I²C shared interface, DTC for autonomous transfers, and voltage detection circuitry with programmable reset and monitoring thresholds.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions and 16×16→32-bit hardware multiplier |
| Max Operating Frequency | 20 MHz at VCC = 2.7–5.5 V; enables deterministic real-time response in motor control loops |
| Memory | 16 KB flash ROM + 1.5 KB RAM + 4 KB data flash (1 KB × 4 blocks) with BGO for live firmware patching |
| Analog Peripherals | 10-bit ADC (8 channels, sample-and-hold, sweep mode) + dual 8-bit DACs (DA0/DA1) for sensor signal conditioning |
| Communication Interfaces | UART0 (LIN hardware support), UART2 (I²C-bus mode), SSU, and I²C bus (shared resource) |
| Power Management | Wait mode (3.5 µA @ 3.0 V, 32 kHz XCIN) and stop mode (2.0 µA @ 3.0 V) for battery-backed applications |
| Operating Temperature | -20°C to +85°C (N version), validated for consumer appliance environments |
Pinout & Package
Package: 24-pin LSSOP (PLSP0024JB-A), 0.65 mm pin pitch, surface-mount, JEDEC MS-013AC compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_6 / AN1 / DA0 | Analog input / DAC output | Shared pin for ADC channel 1 or DAC0 output; requires software configuration |
| P0_7 / AN0 / DA1 | Analog input / DAC output | Shared pin for ADC channel 0 or DAC1 output; supports simultaneous analog sensing and actuation |
| P1_0 to P1_7 | CMOS I/O ports | 19 total high-current drive I/O pins with programmable pull-up resistors; suitable for LED driving |
| P3_7 / SDA / SSO / TRAO | I²C data / SSU output / Timer RA output | Multiplexed pin enabling I²C slave communication, synchronous serial output, or PWM waveform generation |
| P4_5 / ADTRG / INT0 | ADC trigger / external interrupt | Hardware-synchronized ADC sampling initiation or edge-triggered interrupt source for event capture |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Enables concurrent code execution while erasing/programming data flash blocks - critical for field-upgradable firmware |
| Hardware LIN Module | Integrated LIN 2.0/2.1 protocol engine on UART0, eliminating external transceiver need in automotive body electronics |
| Real-Time Clock (Timer RE) | Dedicated 8-bit timer with calendar registers (seconds, minutes, hours, weekday) - no CPU overhead for timekeeping |
| Voltage Detection Circuit | Configurable power-on reset and dual-level voltage monitor (VDD detection 0/1) for robust brown-out protection |
| Low-Power Stop Mode | 2.0 µA typical current draw at 3.0 V enables multi-year battery life in always-on remote controls |
Applications
| Audio Equipment Control | Office Equipment Motor Control |
|---|---|
Use Scenario: Volume, tone, and input source management in compact stereo receivers and Bluetooth speakers. IC Role / Device Role / Timing Role: Main system controller executing UI logic, audio codec interfacing, and IR/UART command parsing. Use Value: Integrated 10-bit ADC reads potentiometer positions; dual DACs generate analog bias voltages for op-amp stages. | Use Scenario: Precision speed and position regulation of paper feed motors in multifunction printers. IC Role / Device Role / Timing Role: Real-time motion controller using Timer RC PWM outputs and quadrature encoder inputs via P1_2/P1_3. Use Value: Hardware LIN interface communicates with toner cartridge sensors; 20 MHz CPU ensures sub-millisecond loop timing. |
| Consumer Appliance UI Panel | Home Automation Sensor Hub |
Use Scenario: Touchless button scanning and display backlight dimming in microwave ovens and induction cooktops. IC Role / Device Role / Timing Role: Dedicated UI processor handling key scan interrupts (KI0–KI3), PWM-driven LED drivers, and buzzer tone generation. Use Value: 19 high-current I/O pins directly drive LEDs and relays; low-power wait mode extends standby battery life. | Use Scenario: Aggregating temperature, humidity, and occupancy data from multiple analog/digital sensors in smart thermostats. IC Role / Device Role / Timing Role: Sensor fusion hub with ADC reading thermistors, DAC calibrating reference voltages, and UART2 communicating with Wi-Fi module. Use Value: Data flash BGO allows over-the-air calibration updates without interrupting sensor polling cycles. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213G4CNNP | Same core, 16 KB ROM, 1.5 KB RAM, but in 24-pin HWQFN (PWQN0024KC-A) package | Requires PCB redesign due to 0.5 mm pitch vs. 0.65 mm LSSOP; better thermal performance in dense layouts | Select when board space is constrained and reflow capability supports QFN mounting |
| R5F213G5CNSP | 24 KB ROM, 2 KB RAM, identical LSSOP package and peripheral set | Provides headroom for larger firmware images and additional RTOS tasks without changing layout | Select when future feature expansion or safety certification (e.g., IEC 60730) demands extra code space |
Compared with R5F213G4CNSP#W4, the R5F213G4CNNP offers superior thermal dissipation in space-constrained designs, while the R5F213G5CNSP delivers immediate scalability for firmware growth - both retain identical peripheral functionality and instruction compatibility.
Availability
R5F213G4CNSP#W4 is available at Aetrix Electronics and suitable for consumer audio equipment, office automation systems, and home appliance control requiring stable component supply across extended production lifecycles.
Supply support for R5F213G4CNSP#W4 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, and power solutions for automotive, industrial, and IoT markets.
The R8C/3GC Group, including R5F213G4CNSP#W4, was engineered for cost-sensitive, low-power embedded control in consumer electronics - emphasizing integrated analog peripherals, LIN connectivity, and robust flash reliability.
FAQ
What is the maximum operating frequency of the R5F213G4CNSP#W4 and under what conditions?
The R5F213G4CNSP#W4 operates at up to 20 MHz when supplied with VCC = 2.7–5.5 V and using an external crystal or ceramic resonator on XIN/XOUT pins. At lower supply voltages (1.8–5.5 V), the maximum frequency reduces to 5 MHz per Renesas specification R01DS0036EJ0100.
Does the R5F213G4CNSP#W4 support in-system programming and how is it implemented?
Yes, the R5F213G4CNSP#W4 supports in-system programming via its on-chip debug interface and background operation (BGO) function. This allows rewriting of data flash blocks during normal program execution without halting the CPU, enabling field firmware updates through UART0 or other serial interfaces.
What peripheral resources does the R5F213G4CNSP#W4 provide for analog signal processing?
The R5F213G4CNSP#W4 provides a 10-bit resolution ADC with 8 input channels (AN0–AN11), sample-and-hold circuitry, and sweep mode for sequential conversion. It also includes two independent 8-bit DACs (DA0 and DA1) mapped to P0_6 and P0_7, supporting analog output generation for sensor calibration or biasing.
Is the R5F213G4CNSP#W4 pin-compatible with other members of the R8C/3GC Group?
Yes, all R8C/3GC Group devices in the PLSP0024JB-A (24-pin LSSOP) package - including R5F213G1CNSP, R5F213G2CNSP, R5F213G4CNSP#W4, R5F213G5CNSP, and R5F213G6CNSP - share identical pinouts and electrical characteristics, enabling memory-size-based scalability without PCB changes.
What is the purpose of the background operation (BGO) function in the R5F213G4CNSP#W4 data flash?
The background operation (BGO) function in the R5F213G4CNSP#W4 allows the CPU to continue executing code from program ROM while simultaneously erasing or programming data flash blocks. This enables seamless firmware updates, parameter storage, or calibration data writes without interrupting real-time control tasks.
R5F213G4CNSP#W4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 24-LSSOP (0.220", 5.60mm Width)
- Series:
- R8C/3x/3GC
- Packaging:
- Tape & Reel (TR)
- 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#W4 FAQ
1.How can I place an order for R5F213G4CNSP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G4CNSP#W4 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#W4 reliable?
The price and inventory of R5F213G4CNSP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G4CNSP#W4 is usually 5 days.
3.What payment methods are accepted for R5F213G4CNSP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G4CNSP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G4CNSP#W4?
R5F213G4CNSP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G4CNSP#W4 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#W4?
For technical support, including R5F213G4CNSP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G4CNSP#W4 requirements.
6.How does Aetrix verify that R5F213G4CNSP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F213G4CNSP#W4 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#W4 meets industry standards.
7.What is the process for return or replacement of R5F213G4CNSP#W4?
All R5F213G4CNSP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G4CNSP#W4, 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#W4 part is unused and in its original packaging.
Return procedure for R5F213G4CNSP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G4CNSP#W4 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
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…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…

