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

- Shipping:

Inventory:2,744
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213G1CDSP#W4 from Renesas Electronics is a 16-bit R8C CPU core microcontroller with 4 KB program flash, 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), features 10-bit ADC (8 channels), dual 8-bit DACs, LIN hardware module, and real-time clock (Timer RE) - deployed in consumer audio equipment and office automation control systems.
For engineers reviewing the R5F213G1CDSP#W4 datasheet, R5F213G1CDSP#W4 pinout, R5F213G1CDSP#W4 application, or R5F213G1CDSP#W4 equivalent, key selection criteria include its -40°C to +85°C industrial temperature grade, LSSOP-24 package with 19 CMOS I/O ports, integrated voltage detection circuitry, and hardware LIN support for automotive body electronics interfaces.
Technical Context
The R5F213G1CDSP#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 address space, with fixed interrupt vector table at 0FFDCh–0FFFFh and data flash blocks at 03000h–03FFFh.
It integrates 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 - enabling flexible power mode management including 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 signal processing tasks |
| Memory | 4 KB program flash, 512-byte RAM, 4 KB data flash (1 KB × 4 blocks) with BGO for firmware updates without halting execution |
| Operating Voltage | 1.8–5.5 V supply range; supports dual-voltage operation down to 1.8 V at 5 MHz for low-power designs |
| Temperature Grade | -40°C to +85°C (D version), qualified for industrial and extended-temperature embedded applications |
| Analog Peripherals | 10-bit ADC (8 channels, sample-and-hold, sweep mode), dual 8-bit DACs (DA0/DA1), and two comparator B inputs (IVCMP1/IVCMP3) |
| Communication | UART0 + UART2 (with I²C mode), SSU (shared with I²C), hardware LIN module (using Timer RA + UART0), and 7 interrupt vectors |
| Timers | Timer RA (8-bit), RB (8-bit PWM), RC (16-bit with 4 capture/compare registers), and RE (real-time clock with sec/min/hr/day-of-week) |
Pinout & Package
Package: 24-pin LSSOP (PLSP0024JB-A), 0.65 mm 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 TRCIOA/TRCTRG timer functions |
| P4_2 / VREF | Analog reference input | External reference voltage source for A/D and D/A converters; critical for precision analog measurement |
| MODE | Boot configuration input | Must be pulled high via resistor to enable single-chip mode; determines reset behavior and memory mapping |
| RESET | Active-low reset input | Hardware reset assertion resets CPU, peripherals, and registers; synchronous with internal clock domain |
| XIN / XCIN | Crystal/oscillator input | Dual-function pin: primary XIN clock (20 MHz max) or secondary 32 kHz XCIN crystal input |
| AN0 / DA1 | Analog input / DAC output | Shared pin for ADC channel 0 or DAC1 output; requires software-controlled function selection |
| INT0 / RXD2 / SCL2 | Interrupt / serial input / I²C clock | Multi-function pin supporting external interrupt trigger, UART2 receive, or I²C bus clock signaling |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming proceeds concurrently with CPU code execution - enables seamless field firmware updates |
| Hardware LIN Module | Full LIN 2.0/2.1 protocol support via dedicated logic using Timer RA and UART0 - eliminates software protocol stack overhead |
| Real-Time Clock (Timer RE) | Independent 8-bit timer with calendar functionality (seconds, minutes, hours, day-of-week) - operates in stop/wait modes using 32 kHz XCIN |
| Voltage Detection Circuit | Three-level voltage monitor (VDD detect, VD0, VD1) with selectable thresholds - ensures reliable power-on reset and brown-out protection |
| Low-Power Operating Modes | Wait mode (3.5 µA @ 3.0 V, 32 kHz) and stop mode (2.0 µA) - optimized for battery-powered remote controls and sensor nodes |
Applications
| Audio Equipment Control | Office Automation Devices |
|---|---|
Use Scenario: Volume, tone, and source selection control in portable CD players and digital audio receivers. IC Role / Device Role / Timing Role: Main system controller executing UI logic, reading rotary encoder inputs, driving LED displays, and managing audio codec communication via UART/I²C. Use Value: Integrated 10-bit ADC reads potentiometer positions; dual DACs generate analog bias voltages; LIN interface enables subsystem communication in multi-board audio chassis. | Use Scenario: Paper jam detection, motor timing, and user button response in compact laser printers and multifunction peripherals. IC Role / Device Role / Timing Role: Real-time motion controller coordinating stepper motor phases, monitoring optical sensors, and servicing USB host commands via UART0. Use Value: Hardware LIN module synchronizes with print head carriage subsystems; Timer RC's 4 capture/compare registers precisely time motor commutation edges. |
| Consumer Appliance UI | Industrial Sensor Interface |
Use Scenario: Keypad scanning, display backlight control, and temperature regulation feedback in microwave ovens and induction cooktops. IC Role / Device Role / Timing Role: Human-machine interface processor handling key input interrupts (KI0–KI3), driving 7-segment displays, and modulating heater power via PWM outputs. Use Value: 19 high-current drive I/O ports directly sink LED segments; 8-bit PWM on Timer RB delivers precise thermal duty-cycle control without external timers. | Use Scenario: Analog signal conditioning and local decision-making in distributed HVAC temperature nodes and smart lighting controllers. IC Role / Device Role / Timing Role: Signal acquisition node converting thermistor/PT100 readings via ADC, applying calibration coefficients in flash, and transmitting results over LIN bus. Use Value: Data flash BGO allows over-the-air calibration updates; 10-bit ADC with sample-and-hold captures fast transients from airflow sensors. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213G1CNSP | Same core, memory, and peripherals but rated for -20°C to +85°C (N version); lacks industrial temperature qualification | Suitable for commercial-grade consumer devices where ambient temperature remains above -20°C | Select R5F213G1CNSP only if operating environment stays within commercial temperature range and cost sensitivity outweighs reliability margin |
| R5F213G2CDSP | 8 KB program flash, 1 KB RAM, identical package and temperature grade - direct upgrade path with no PCB changes | Required when firmware complexity exceeds 4 KB or additional RAM is needed for buffering serial protocols | Choose R5F213G2CDSP when future firmware expansion or larger data buffers are anticipated; maintains full pin and code compatibility |
Compared with R5F213G1CNSP, the R5F213G1CDSP#W4 provides guaranteed operation down to -40°C - essential for outdoor or uncontrolled-environment deployments; versus R5F213G2CDSP, it trades flash/RAM capacity for lower cost and smaller memory footprint in resource-constrained designs.
Availability
R5F213G1CDSP#W4 is available at Aetrix Electronics and suitable for audio equipment control, office automation devices, consumer appliance UI, and industrial sensor interface applications requiring stable component supply across extended temperature ranges.
Supply support for R5F213G1CDSP#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 R5F213G1CDSP#W4, was designed for cost-sensitive, low-power embedded control in consumer electronics - emphasizing integration of analog peripherals, LIN connectivity, and robust flash programming capabilities.
FAQ
What is the maximum operating frequency of the R5F213G1CDSP#W4 and under what conditions?
The R5F213G1CDSP#W4 achieves a maximum operating frequency of 20 MHz when powered at VCC = 2.7–5.5 V using the XIN clock source. At reduced supply voltages (1.8–5.5 V), the maximum frequency drops to 5 MHz. The high-speed on-chip oscillator supports adjustable frequencies but does not exceed the 20 MHz external clock limit. All timing specifications in the R5F213G1CDSP#W4 datasheet assume these voltage-frequency correlations.
Does the R5F213G1CDSP#W4 support in-circuit debugging and flash reprogramming?
Yes, the R5F213G1CDSP#W4 includes on-chip debug capability and supports on-board flash rewrite via dedicated debug interface pins. It enables full breakpoint, step-through, and memory inspection during development. The data flash supports background operation (BGO), allowing R5F213G1CDSP#W4 firmware updates while application code continues executing - critical for field-deployed devices requiring zero-downtime maintenance.
What peripheral modules are shared on I/O pins of the R5F213G1CDSP#W4?
The R5F213G1CDSP#W4 uses function multiplexing extensively: P0_7 serves as both AN0 (ADC input) and DA1 (DAC output); P3_7 supports SDA (I²C data), SSO (SSU output), and TRAO (Timer RA output); P3_5 combines SCL (I²C clock), SSCK (SSU clock), and CLK2 (serial interface clock). Pin function selection is controlled by SFR settings - users must configure peripheral enable bits before assigning shared pins to avoid conflicts in the R5F213G1CDSP#W4 design.
How does the hardware LIN module in the R5F213G1CDSP#W4 operate?
The R5F213G1CDSP#W4 implements LIN 2.0/2.1 protocol in hardware using Timer RA for baud rate generation and UART0 for data framing - eliminating CPU overhead for bit-level timing and checksum calculation. The LINCR and LINST registers manage node addressing, sleep/wake detection, and error status. This dedicated logic ensures deterministic latency and frees the R8C CPU core for application tasks, making R5F213G1CDSP#W4 ideal for automotive body electronics slave nodes.
What are the power consumption characteristics of the R5F213G1CDSP#W4 in low-power modes?
In wait mode with 32 kHz XCIN active, the R5F213G1CDSP#W4 draws 3.5 µA at VCC = 3.0 V; in stop mode, consumption drops to 2.0 µA. These values exclude external circuit loading. The voltage detection circuit remains active in both modes, enabling wake-up on supply threshold violation. For battery-powered R5F213G1CDSP#W4 applications, combining stop mode with periodic RTC-triggered wake-ups achieves optimal energy efficiency per sensing cycle.
R5F213G1CDSP#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:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F213G1CDSP#W4 FAQ
1.How can I place an order for R5F213G1CDSP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G1CDSP#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 R5F213G1CDSP#W4 reliable?
The price and inventory of R5F213G1CDSP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G1CDSP#W4 is usually 5 days.
3.What payment methods are accepted for R5F213G1CDSP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G1CDSP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G1CDSP#W4?
R5F213G1CDSP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G1CDSP#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 R5F213G1CDSP#W4?
For technical support, including R5F213G1CDSP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G1CDSP#W4 requirements.
6.How does Aetrix verify that R5F213G1CDSP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F213G1CDSP#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 R5F213G1CDSP#W4 meets industry standards.
7.What is the process for return or replacement of R5F213G1CDSP#W4?
All R5F213G1CDSP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G1CDSP#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 R5F213G1CDSP#W4 part is unused and in its original packaging.
Return procedure for R5F213G1CDSP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G1CDSP#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…

