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

- Shipping:

Inventory:1,029
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 with 4 KB program ROM, 512-byte RAM, and 1 KB × 4 data flash supporting background operation (BGO). It operates at up to 20 MHz (VCC = 2.7–5.5 V), integrates 10-bit ADC (8 channels), dual 8-bit DACs, LIN hardware module, and real-time clock (Timer RE), targeting cost-sensitive embedded control in consumer appliances.
For engineers reviewing the R5F213G1CNSP datasheet, R5F213G1CNSP pinout, R5F213G1CNSP application, or R5F213G1CNSP equivalent, key selection considerations 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 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.
Peripheral integration includes UART0/UART2 (with I²C mode), SSU, hardware LIN (using UART0 and Timer RA), 14-bit watchdog timer, DTC with 23 activation sources, and four independent timers (RA/RB/RC/RE) supporting PWM, input capture, and real-time calendar functions.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions and 16×16→32-bit hardware multiplier |
| Memory | 4 KB program ROM, 512-byte RAM, 4 KB data flash (1 KB × 4 blocks) with BGO |
| Operating Frequency | 20 MHz max (VCC = 2.7–5.5 V); 5 MHz min (VCC = 1.8–5.5 V) |
| Analog Peripherals | 10-bit ADC (8 channels, sample-and-hold, sweep mode), dual 8-bit DACs (DA0/DA1) |
| Timers | Timer RA (8-bit, PWM/output compare), RB (8-bit, programmable waveform), RC (16-bit, 4 capture/compare), RE (8-bit real-time clock) |
| Communication | UART0 (LIN-capable), UART2 (I²C mode), SSU, hardware LIN module (UART0 + Timer RA) |
| Package & Temp | LSSOP-24 (PLSP0024JB-A, 0.65 mm pitch), industrial grade (-20°C to +85°C) |
Pinout & Package
Package: 24-pin LSSOP (PLSP0024JB-A), 0.65 mm pin pitch, surface-mount, JEDEC-standard footprint.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_2 | A/D input | Analog channel AN5; configurable as TRCIOA/TRCTRG for Timer RC |
| P0_1 | A/D input | Analog channel AN6; configurable as TRCIOA/TRCTRG for Timer RC |
| P4_2 | Reference voltage input | VREF pin for A/D and D/A converters; external reference source |
| MODE | Boot mode select | Must be pulled high (VCC) to enable single-chip mode operation |
| RESET | Active-low reset input | Hardware reset trigger; synchronous with internal clock domain |
| XOUT | Crystal oscillator output | Drives external crystal/resonator connected to XIN; supports 32 kHz XCIN clock |
| VSS/AVSS | Ground | Digital and analog ground pins; require separate low-impedance connection |
| XIN | Crystal oscillator input | Accepts ceramic resonator or crystal (1–20 MHz); enables high-speed system clock |
| VCC/AVCC | Power supply | 1.8–5.5 V digital/analog supply; AVCC requires local decoupling capacitor |
| P3_7 | Serial interface I/O | SDA/SSO/TRAO - shared I²C data, SSU output, Timer RA output |
| P3_5 | Serial interface I/O | SCL/SSCK - shared I²C clock, SSU clock |
| P3_4 | Serial interface I/O | SSI/IVREF3 - SSU data input, comparator reference input |
| P3_3 | Interrupt/serial I/O | INT3/SCS/CTS2/RTS2 - key interrupt, chip select, UART2 flow control |
| P4_5 | Interrupt/analog trigger | INT0/ADTRG - external interrupt source and A/D conversion trigger |
| P1_7 | Interrupt/comparator input | INT1/IVCMP1 - external interrupt and Comparator B input 1 |
| P1_6 | Reference/clock I/O | IVREF1/CLK0 - comparator reference and serial clock I/O |
| P1_5 | Serial interface I/O | INT1/RXD0/TRAIO - UART0 receive, Timer RA I/O |
| P1_4 | Serial interface I/O | TXD0/TRCCLK - UART0 transmit, Timer RC clock input |
| P1_3 | A/D input/key interrupt | AN11/KI3/TRBO - analog channel 11, key interrupt 3, Timer RB output |
| P1_2 | A/D input/key interrupt | AN10/KI2/TRCIOB - analog channel 10, key interrupt 2, Timer RC I/O B |
| P1_1 | A/D input/key interrupt | AN9/KI1/TRCIOA/TRCTRG - analog channel 9, key interrupt 1, Timer RC I/O A/trigger |
| P1_0 | A/D input/key interrupt | AN8/KI0/TRCIOD - analog channel 8, key interrupt 0, Timer RC I/O D |
| P0_7 | A/D input/DAC output | AN0/DA1 - analog channel 0 and DAC1 output |
| P0_6 | A/D input/DAC output | AN1/DA0 - analog channel 1 and DAC0 output |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Enables concurrent program execution and data flash erase/write without CPU stall |
| Hardware LIN Module | Integrated LIN 2.0/2.1 support via UART0 and Timer RA; no external transceiver required |
| Low-Power Operating Modes | Wait mode (3.5 µA @ 3.0 V, 32 kHz XCIN) and stop mode (2.0 µA @ 3.0 V) |
| Programmable Voltage Detection | Three-level voltage monitor with selectable detection thresholds for power-on reset and brownout protection |
| Real-Time Clock (Timer RE) | 8-bit timer with dedicated registers for seconds, minutes, hours, and day-of-week; runs independently in low-power modes |
Applications
| Home Appliance Control | Audio System Interface |
|---|---|
Use Scenario: Motor speed control and sensor feedback in washing machine drum drive systems. IC Role / Device Role / Timing Role: Primary MCU executing PID loop, reading hall-effect sensors via ADC, generating PWM on Timer RB, and managing LIN communication with display panel. Use Value: Integrated LIN and dual DACs eliminate external level shifters and audio DAC ICs, reducing BOM count by two components. | Use Scenario: Volume control, tone adjustment, and source selection in compact stereo receivers. IC Role / Device Role / Timing Role: System controller interfacing rotary encoders (KI0–KI3), driving LED displays (CMOS I/O ports), and generating analog bias voltages via DA0/DA1. Use Value: On-chip 10-bit ADC reads potentiometer wipers directly; 8-bit DACs provide precise analog gain control without external op-amps. |
| Office Equipment UI | Consumer IoT Sensor Hub |
Use Scenario: Keypad scanning, LCD backlight dimming, and paper jam detection in multifunction printers. IC Role / Device Role / Timing Role: Dedicated UI controller using key input interrupts (KI0–KI3), PWM-driven LED backlight (Timer RA), and analog sensing (AN0–AN11) for paper path IR sensors. Use Value: 19 high-current CMOS I/O ports drive LEDs directly; built-in pull-up resistors simplify keypad wiring. | Use Scenario: Environmental monitoring node aggregating temperature, humidity, and light data for cloud upload. IC Role / Device Role / Timing Role: Edge processor sampling analog sensors (ADC), storing calibrated values in data flash (BGO), and transmitting via UART2 to ESP32 host. Use Value: Data flash endurance (10,000 write cycles) ensures 5+ years of daily calibration log storage without wear leveling. |
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 RAM, same package and peripheral set | Supports larger firmware images and deeper nested interrupt handling | Select when firmware exceeds 4 KB or requires additional RAM for buffer-intensive protocols |
| R5F213G1CDSP | Identical memory and peripherals, but extended temperature range (-40°C to +85°C) | Qualified for automotive cabin modules and outdoor industrial enclosures | Select when operating ambient exceeds 85°C or requires industrial-grade thermal reliability |
Compared with R5F213G1CNSP, the R5F213G2CNSP offers double ROM capacity for complex control algorithms, while the R5F213G1CDSP maintains identical functionality with enhanced thermal robustness-neither requires PCB redesign due to identical LSSOP-24 pinout and footprint.
Availability
R5F213G1CNSP is available at Aetrix Electronics and suitable for home appliance control, audio system interfaces, and office equipment UIs 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 Corporation is a global semiconductor leader specializing in microcontrollers, analog, power, and SoC solutions for automotive, industrial, and enterprise applications.
The R8C/3GC Group targets cost-optimized, low-power embedded control in consumer electronics, emphasizing integrated peripherals (LIN, ADC, DAC), flash flexibility (BGO), and thermal resilience in compact packages.
FAQ
What is the maximum operating frequency of the R5F213G1CNSP and under what supply conditions?
The R5F213G1CNSP achieves a maximum operating frequency of 20 MHz when powered at VCC = 2.7–5.5 V using the XIN clock source. At lower supply voltages (1.8–5.5 V), the guaranteed maximum frequency reduces to 5 MHz per Renesas specification R01DS0036EJ0100. The high-speed on-chip oscillator supports adjustable frequencies but does not exceed 20 MHz in this variant.
Does the R5F213G1CNSP support in-application programming (IAP) of its data flash memory?
Yes, the R5F213G1CNSP supports background operation (BGO) for data flash, enabling R5F213G1CNSP to execute application code while simultaneously erasing or programming data flash blocks. This allows real-time firmware parameter updates, calibration storage, or event logging without halting CPU operation or requiring external programming hardware.
What peripheral resources does the R5F213G1CNSP provide for LIN bus communication?
The R5F213G1CNSP integrates a hardware LIN module that combines UART0 and Timer RA to implement full LIN 2.0/2.1 protocol handling. This eliminates the need for external LIN transceivers in slave-node designs. The R5F213G1CNSP supports automatic sync field detection, checksum calculation, and frame timing control-all managed in hardware without CPU intervention.
How many analog input channels does the R5F213G1CNSP's ADC support, and what is its resolution?
The R5F213G1CNSP features a 10-bit successive-approximation ADC with eight analog input channels (AN0 through AN11, with AN2–AN4 omitted in this package variant). It includes sample-and-hold circuitry and sweep mode for automatic sequential conversion across selected channels, delivering 10-bit precision for sensor signal acquisition in consumer-grade applications.
What is the purpose of the VREF pin (P4_2) on the R5F213G1CNSP, and how is it used?
The VREF pin (P4_2) on the R5F213G1CNSP serves as an external reference voltage input for both the 10-bit ADC and dual 8-bit DACs. When driven by a stable voltage source (e.g., precision bandgap or filtered supply), it defines the full-scale range for analog conversions and outputs. Using VREF instead of AVCC improves measurement accuracy and DAC linearity, especially in noisy or variable-supply environments.
R5F213G1CNSP#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:
- 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#W4 FAQ
1.How can I place an order for R5F213G1CNSP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G1CNSP#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 R5F213G1CNSP#W4 reliable?
The price and inventory of R5F213G1CNSP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G1CNSP#W4 is usually 5 days.
3.What payment methods are accepted for R5F213G1CNSP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G1CNSP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G1CNSP#W4?
R5F213G1CNSP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G1CNSP#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 R5F213G1CNSP#W4?
For technical support, including R5F213G1CNSP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G1CNSP#W4 requirements.
6.How does Aetrix verify that R5F213G1CNSP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F213G1CNSP#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 R5F213G1CNSP#W4 meets industry standards.
7.What is the process for return or replacement of R5F213G1CNSP#W4?
All R5F213G1CNSP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G1CNSP#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 R5F213G1CNSP#W4 part is unused and in its original packaging.
Return procedure for R5F213G1CNSP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G1CNSP#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…

