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

- Shipping:

Inventory:3,013
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213G1CNSP from Renesas Electronics is a 16-bit R8C CPU core microcontroller in 24-pin LSSOP package (PLSP0024JB-A), featuring 4 KB program flash, 512-byte data flash with background operation (BGO), 10-bit A/D converter (8 channels), dual 8-bit D/A outputs, and hardware LIN interface. It operates from 1.8–5.5 V at up to 20 MHz (5 MHz at 1.8 V) and targets cost-sensitive embedded control in consumer appliances.
For engineers reviewing the R5F213G1CNSP datasheet, R5F213G1CNSP pinout, R5F213G1CNSP application, or R5F213G1CNSP equivalent, key selection criteria include its 24-pin LSSOP footprint, integrated LIN transceiver support via Timer RA + UART0, BGO-enabled data flash for firmware updates without halting execution, and ultra-low-power stop mode (2.0 µA).
Technical Context
The R5F213G1CNSP implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit multiplier, and multiply-accumulate capability. Its memory map spans 1 Mbyte, with fixed interrupt vector table at 0FFDCh–0FFFFh and data flash blocks at 03000h–03FFFh.
It integrates four 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 modes include standard, wait (3.5 µA @ 32 kHz), and stop (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 instruction |
| Program Memory | 4 KB flash ROM - sufficient for compact appliance control firmware with secure code protection |
| Data Flash | 1 KB × 4 blocks (4 KB total), BGO-enabled - allows real-time parameter logging or field firmware patching |
| A/D Converter | 10-bit resolution × 8 channels with sample-and-hold and sweep mode - supports multi-sensor analog monitoring |
| D/A Converter | 8-bit × 2 channels - enables analog output control (e.g., bias voltage, audio level, motor reference) |
| LIN Interface | Hardware LIN module using Timer RA and UART0 - eliminates external transceiver for automotive body electronics |
| Supply Voltage | 1.8–5.5 V - supports single-supply battery or rail-powered designs across consumer voltage ranges |
| Operating Temp | −20°C to +85°C (N version) - certified for indoor consumer equipment environments |
Pinout & Package
Package: 24-pin LSSOP (PLSP0024JB-A), 0.65 mm pitch, 8.6 × 3.9 mm body - compatible with standard surface-mount assembly and reflow profiles.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_2 / AN5 | Analog input / I/O port | Configurable as 10-bit A/D channel 5 or general-purpose CMOS I/O with pull-up |
| P0_1 / AN6 | Analog input / I/O port | Configurable as 10-bit A/D channel 6 or general-purpose CMOS I/O with pull-up |
| P4_2 / VREF | Analog reference input | External reference voltage source for A/D and D/A converters - improves measurement accuracy |
| MODE | Boot mode select | Must be pulled high to enable single-chip mode - determines reset vector and memory mapping |
| RESET | Active-low reset input | Asynchronous reset trigger - initiates power-on sequence and clears CPU registers and peripherals |
| XIN / XCIN | Crystal/external clock input | Primary (XIN) and secondary (XCIN) clock inputs - supports 20 MHz main clock and 32 kHz RTC crystal |
| XOUT / XCOUT | Crystal/external clock output | Drives external resonator or crystal - forms feedback loop for stable clock generation |
| VCC / AVCC | Power supply / analog supply | Dual power domains - AVCC requires local decoupling for noise-sensitive A/D/D/A operation |
| VSS / AVSS | GND / analog ground | Separate analog/digital ground pins - critical for minimizing A/D quantization noise |
| P3_7 / SDA / TRAO | I²C data / Timer RA output | Shared pin for I²C-bus communication and PWM/timer waveform output - requires software mux control |
| P1_5 / INT1 / RXD0 | Interrupt / UART0 receive | Combines external interrupt trigger and serial data input - supports wake-up on UART activity |
| P0_7 / AN0 / DA1 | Analog input / D/A output | Time-multiplexed pin - functions as A/D channel 0 or 8-bit D/A output 1, not simultaneously |
| P0_6 / AN1 / DA0 | Analog input / D/A output | Time-multiplexed pin - functions as A/D channel 1 or 8-bit D/A output 0, not simultaneously |
| P1_3 / AN11 / KI3 / TRBO | Analog input / key interrupt / timer output | Multi-function pin supporting sensor input, mechanical switch debounce, or PWM signal generation |
| P1_0 / AN8 / KI0 | Analog input / key interrupt | Supports both analog sensing and low-power key wake-up - ideal for front-panel user interfaces |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Enables concurrent program execution and data flash erase/write - essential for over-the-air updates in deployed devices |
| Hardware LIN Module | Integrates LIN protocol timing and framing logic using Timer RA and UART0 - reduces BOM count and software overhead vs. bit-banged solutions |
| Low-Power Stop Mode | 2.0 µA current draw at 3.0 V - extends battery life in always-on remote controls or sensor nodes |
| Multi-Source Clock System | Four independent clocks (XIN, XCIN, high-speed/low-speed on-chip) with automatic failover - ensures robust timing under varying environmental conditions |
| Configurable I/O Ports | 19 CMOS I/O ports with programmable pull-up resistors and high-current drive capability - simplifies LED driving and direct peripheral interfacing |
| Integrated Voltage Detection | Three-level voltage monitor with programmable thresholds - provides reliable brown-out reset and system health monitoring without external components |
Applications
| Home Appliance Control | Audio Equipment Interface |
|---|---|
Use Scenario: Microcontroller in washing machine main board managing motor control, water valve sequencing, and display driver. IC Role / Device Role / Timing Role: Central control unit executing state-machine logic, generating PWM for BLDC motor, and sampling temperature/pressure sensors. Use Value: Integrated 10-bit A/D (8 ch), dual D/A outputs, and LIN interface reduce external component count while enabling precise analog actuation and subsystem communication. |
Use Scenario: Signal routing and volume control in compact stereo receiver with digital input switching. IC Role / Device Role / Timing Role: Analog front-end controller handling potentiometer input, DAC-based volume adjustment, and I²C communication with DSP. Use Value: On-chip 8-bit D/A converters (DA0/DA1) provide smooth analog volume control; I²C bus (shared with SSU) enables seamless host communication. |
| Office Equipment Motor Drive | Consumer Remote Control Hub |
Use Scenario: Paper feed and scanning motor control in multifunction printer. IC Role / Device Role / Timing Role: Real-time motion controller using Timer RC for encoder counting and PWM generation for stepper/servo drivers. Use Value: 16-bit Timer RC with 4 capture/compare registers supports precise position feedback and multi-phase PWM output without external timers. |
Use Scenario: Universal IR remote hub aggregating commands from multiple remotes and relaying via RF or BLE. IC Role / Device Role / Timing Role: Low-power coordinator managing IR reception (INT0/INT1), button scan (KI0–KI3), and serial communication (UART0/UART2). Use Value: Key input interrupt (KI0–KI3) with built-in debounce and 3.5 µA wait mode enable long battery life in always-listening applications. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213G2CNSP | 8 KB program ROM, 1 KB data flash - double the code space and same BGO capability | Suitable for more complex firmware with larger RTOS or communication stacks | Select when firmware size exceeds 4 KB or future scalability is required; identical pinout and peripheral set |
| R5F213G1CDSP | Same memory and peripherals, but −40°C to +85°C operating range (D version) | Required for industrial or automotive cabin-adjacent environments with extended temperature exposure | Choose for deployments outside consumer ambient limits; otherwise, R5F213G1CNSP offers optimal cost/performance for indoor use |
Compared with R5F213G2CNSP and R5F213G1CDSP, the R5F213G1CNSP delivers the minimal viable feature set for cost-driven consumer control - retaining full peripheral compatibility and BGO while reducing flash size and qualifying only for standard temperature range.
Availability
R5F213G1CNSP is available at Aetrix Electronics and suitable for home appliance control, audio equipment interface, and office equipment motor drive requiring stable component supply and long-term production continuity.
Supply support for R5F213G1CNSP 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 is a global semiconductor leader specializing in microcontrollers, analog, and power solutions for automotive, industrial, and consumer markets.
The R8C/3GC Group, including the R5F213G1CNSP, was designed for cost-sensitive, low-power embedded control in consumer electronics - emphasizing integration of analog peripherals, LIN connectivity, and ultra-low-power operation without sacrificing real-time responsiveness.
FAQ
What is the maximum operating frequency of the R5F213G1CNSP and at what supply voltage?
The R5F213G1CNSP achieves a maximum operating frequency of 20 MHz at VCC = 2.7–5.5 V. At lower supply voltages down to 1.8 V, the maximum frequency is reduced to 5 MHz to maintain timing margin and stability - a key specification for battery-powered designs where voltage droop must be accommodated.
Does the R5F213G1CNSP support in-circuit debugging and flash programming?
Yes, the R5F213G1CNSP includes on-chip debug functionality and supports on-board flash rewrite via dedicated debug interface pins. This enables full firmware development, real-time variable inspection, and field updates without requiring external programmers - critical for rapid prototyping and post-deployment maintenance of the R5F213G1CNSP.
How does the Background Operation (BGO) function work in the R5F213G1CNSP data flash?
The R5F213G1CNSP's data flash supports Background Operation (BGO), allowing the CPU to execute code from program ROM while simultaneously erasing or writing to data flash blocks. This is implemented via dedicated flash control registers and interrupt flags - enabling non-disruptive firmware updates, parameter storage, or calibration data logging during normal R5F213G1CNSP operation.
Can the R5F213G1CNSP generate PWM signals, and which timers support this?
Yes, the R5F213G1CNSP supports PWM generation via Timer RB (8-bit, programmable waveform mode) and Timer RC (16-bit, PWM and PWM2 modes). Timer RC can output synchronized PWM on three pins, while Timer RB provides single-channel PWM with one-shot and wait-generation capabilities - all configurable without CPU intervention using the R5F213G1CNSP's peripheral registers.
What are the key differences between the R5F213G1CNSP and the R5F213G1CDSP variants?
The R5F213G1CNSP and R5F213G1CDSP share identical memory, peripherals, and pinout - differing only in operating temperature range: R5F213G1CNSP is rated for −20°C to +85°C (N version), while R5F213G1CDSP extends to −40°C to +85°C (D version). The D version undergoes additional screening and is selected when deployment environments exceed standard consumer ambient limits.
R5F213G1CNSP#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:
- 4KB (4K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 512 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:
R5F213G1CNSP#U0 FAQ
1.How can I place an order for R5F213G1CNSP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G1CNSP#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 R5F213G1CNSP#U0 reliable?
The price and inventory of R5F213G1CNSP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G1CNSP#U0 is usually 5 days.
3.What payment methods are accepted for R5F213G1CNSP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G1CNSP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G1CNSP#U0?
R5F213G1CNSP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G1CNSP#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 R5F213G1CNSP#U0?
For technical support, including R5F213G1CNSP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G1CNSP#U0 requirements.
6.How does Aetrix verify that R5F213G1CNSP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F213G1CNSP#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 R5F213G1CNSP#U0 meets industry standards.
7.What is the process for return or replacement of R5F213G1CNSP#U0?
All R5F213G1CNSP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G1CNSP#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 R5F213G1CNSP#U0 part is unused and in its original packaging.
Return procedure for R5F213G1CNSP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G1CNSP#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
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…

