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

- Shipping:

Inventory:4,674
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213G2CDSP#W4 from Renesas Electronics is an 8 KB flash, 1 KB RAM, D-version (−40°C to +85°C) 24-pin LSSOP MCU based on the R8C CPU core, featuring 10-bit ADC (8 channels), dual 8-bit DAC outputs, hardware LIN interface, and background operation data flash (1 KB × 4 blocks). It targets cost-sensitive industrial control and appliance timing-critical subsystems.
For engineers reviewing the R5F213G2CDSP#W4 datasheet, R5F213G2CDSP#W4 pinout, R5F213G2CDSP#W4 application, or R5F213G2CDSP#W4 equivalent, key selection criteria include its −40°C operating range, integrated LIN module (using Timer RA and UART0), 24-pin PLSP0024JB-A package, and BGO-capable data flash for firmware updates without halting execution.
Technical Context
The R5F213G2CDSP#W4 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 program ROM at 08000h–0FFFFh and data flash 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 - supporting standard, wait, and stop modes with typical current as low as 2.0 µA in stop mode (VCC = 3.0 V).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C core with 89 instructions, 16×16→32-bit multiplier, and MAC support for real-time math |
| Flash Memory | 8 KB program ROM + 4 KB data flash (1 KB × 4 blocks) with background operation (BGO) |
| RAM | 1 KB on-chip RAM used for variables, stack, and interrupt handling |
| ADC/DAC | 10-bit resolution × 8-channel SAR ADC with sample-and-hold; dual 8-bit voltage-output DACs (DA0/DA1) |
| Timers | Timer RA (8-bit), RB (8-bit PWM), RC (16-bit with 4 capture/compare), RE (real-time clock) |
| Serial Interfaces | UART0 (LIN-capable), UART2 (I²C mode + multiprocessor), SSU/I²C-bus (shared), hardware LIN module |
| Operating Range | −40°C to +85°C (D version), 1.8–5.5 V supply, with voltage detection and power-on reset |
Pinout & Package
Package: 24-pin LSSOP (PLSP0024JB-A), 0.65 mm pitch, surface-mount, RoHS-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 waveform generation |
| P1_0–P1_7 | CMOS I/O ports | 19 total CMOS I/O pins (including P0/P1/P3/P4); all support pull-up resistors and LED drive capability |
| P3_7 / SDA / SSO / TRAO | I²C data / SSU output / Timer RA output | Multi-function pin enabling I²C slave communication, synchronous serial output, or PWM signal generation |
| RESET | Active-low reset input | Asynchronous reset trigger; internal pull-up ensures reliable startup without external components |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation Data Flash | Enables firmware update or parameter storage during active program execution without CPU stall |
| Hardware LIN Module | Dedicated LIN 2.1 physical layer support via UART0 + Timer RA, reducing host CPU overhead in automotive body electronics |
| Low-Power Operating Modes | Wait mode (3.5 µA @ 32 kHz XCIN) and stop mode (2.0 µA) extend battery life in portable appliances |
| Integrated Voltage Detection | Voltage monitor with selectable thresholds (VDD detect + VDD/VLVD options) prevents erratic behavior during brownout |
| Real-Time Clock (Timer RE) | 8-bit timer with dedicated registers for seconds/minutes/hours/weekdays-no external RTC required |
Applications
| Home Appliance Motor Control | Industrial Sensor Node |
|---|---|
Use Scenario: Precise speed regulation of BLDC fans in air purifiers using PWM-driven gate drivers. IC Role / Device Role / Timing Role: MCU executing closed-loop PID control, generating 16-kHz PWM via Timer RB, sampling motor current via ADC channel AN1. Use Value: Dual DAC outputs (DA0/DA1) provide reference voltages for current-sense amplifiers, eliminating external precision references. | Use Scenario: Battery-powered temperature/humidity sensor node transmitting data over LIN bus to central controller. IC Role / Device Role / Timing Role: System controller managing sensor acquisition, LIN frame formatting, and ultra-low-power sleep/wake cycles. Use Value: Hardware LIN module reduces firmware size by 30% vs. bit-banged implementation; stop-mode current <2.0 µA enables multi-year battery life. |
| Audio Equipment Power Sequencing | Office Equipment Keypad Interface |
Use Scenario: Controlled ramp-up of amplifier rails and digital logic supplies in active speakers to prevent pop noise. IC Role / Device Role / Timing Role: Sequencer coordinating delayed enable signals using Timer RE for millisecond-accurate delays and DAC outputs for analog biasing. Use Value: On-chip 10-bit ADC monitors rail voltages in real time; BGO data flash stores calibration offsets per unit. | Use Scenario: Debounced matrix keypad scanning in multifunction printers with wake-on-keypress capability. IC Role / Device Role / Timing Role: Dedicated key-input interrupt (KI0–KI3) with built-in debounce logic and wake-from-stop functionality. Use Value: Four hardware key-interrupt inputs eliminate polling overhead; low-power stop mode (<2.0 µA) minimizes standby consumption. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213G2CNSP | N-version (−20°C to +85°C); identical flash/RAM/peripherals; same PLSP0024JB-A package | Suitable only for commercial-temperature environments; no extended cold tolerance | Select when ambient operating temperature stays above −20°C and cost sensitivity outweighs industrial-grade reliability |
| R5F213G4CDSP | D-version with 16 KB program ROM, 1.5 KB RAM; otherwise identical peripheral set and pinout | Required for larger firmware images or additional data buffers; same thermal and LIN capabilities | Choose when application firmware exceeds 8 KB or requires expanded variable space without changing PCB layout |
Compared with R5F213G2CNSP, the R5F213G2CDSP#W4 adds −40°C operation for harsh environments; compared with R5F213G4CDSP, it trades ROM capacity for lower cost and footprint in resource-constrained designs.
Availability
R5F213G2CDSP#W4 is available at Aetrix Electronics and suitable for home appliance motor control, industrial sensor nodes, audio equipment power sequencing, and office equipment keypad interfaces requiring stable component supply across extended temperature ranges.
Supply support for R5F213G2CDSP#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, power, and SoC solutions for automotive, industrial, and IoT markets.
The R8C/3GC Group, including R5F213G2CDSP#W4, was designed for cost-optimized, low-power embedded control in consumer and industrial equipment where integration, reliability, and extended temperature operation are critical.
FAQ
What is the maximum operating frequency of the R5F213G2CDSP#W4?
The R5F213G2CDSP#W4 supports up to 20 MHz operation when powered at 2.7–5.5 V using an external crystal on XIN/XOUT. At lower supply voltages (1.8–5.5 V), the maximum frequency is 5 MHz. The on-chip oscillators provide additional clock flexibility without external components.
Does the R5F213G2CDSP#W4 support in-circuit debugging?
Yes, the R5F213G2CDSP#W4 includes on-chip debug functionality compatible with Renesas E8/E8a debuggers. It supports full breakpoint control, register inspection, and flash programming during development-enabling rapid firmware iteration without requiring external debug hardware beyond the standard interface.
How many analog input channels does the R5F213G2CDSP#W4 ADC support?
The R5F213G2CDSP#W4 integrates a 10-bit successive-approximation ADC with eight analog input channels (AN0–AN11, with AN2–AN4 omitted in this variant), supporting sweep mode and sample-and-hold for accurate multi-channel acquisition in noisy environments.
Can the R5F213G2CDSP#W4 generate PWM signals independently of CPU intervention?
Yes, Timer RB provides programmable waveform generation mode (PWM output) with automatic reload and polarity control. Once configured, it generates continuous PWM on designated pins (e.g., TRBO) without CPU involvement-freeing the R8C core for higher-level tasks like communication or sensor processing.
Is the data flash on the R5F213G2CDSP#W4 truly background-operable?
Yes, the R5F213G2CDSP#W4's 4 KB data flash (1 KB × 4 blocks) supports true background operation (BGO): erase and write operations execute concurrently with main program execution, enabling seamless field firmware updates or parameter logging without system interruption.
R5F213G2CDSP#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:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 1K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 5.5V
- Data Converters:
- A/D 8x10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F213G2CDSP#W4 FAQ
1.How can I place an order for R5F213G2CDSP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G2CDSP#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 R5F213G2CDSP#W4 reliable?
The price and inventory of R5F213G2CDSP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G2CDSP#W4 is usually 5 days.
3.What payment methods are accepted for R5F213G2CDSP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G2CDSP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G2CDSP#W4?
R5F213G2CDSP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G2CDSP#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 R5F213G2CDSP#W4?
For technical support, including R5F213G2CDSP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G2CDSP#W4 requirements.
6.How does Aetrix verify that R5F213G2CDSP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F213G2CDSP#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 R5F213G2CDSP#W4 meets industry standards.
7.What is the process for return or replacement of R5F213G2CDSP#W4?
All R5F213G2CDSP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G2CDSP#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 R5F213G2CDSP#W4 part is unused and in its original packaging.
Return procedure for R5F213G2CDSP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G2CDSP#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…

