Renesas R5F213G6CNNP#W4
- Part No.:
- R5F213G6CNNP#W4
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 24-WFQFN Exposed Pad
- Datasheet:
-
R5F213G6CNNP#W4.pdf
- Description:
- IC MCU 16BIT 32KB FLASH 24HWQFN
- Quantity:
- Payment:

- Shipping:

Inventory:2,916
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213G6CNNP#W4 from Renesas Electronics is a 16-bit R8C CPU core microcontroller with 32 KB program flash, 2.5 KB RAM, and 4 KB data flash (1 KB × 4 blocks) supporting background operation (BGO). It operates at up to 20 MHz (VCC = 2.7–5.5 V), features an integrated 10-bit ADC (8 channels), dual 8-bit DACs, LIN hardware module, and real-time clock (Timer RE). It targets cost-sensitive embedded control in consumer audio and office equipment.
For engineers reviewing the R5F213G6CNNP#W4 datasheet, R5F213G6CNNP#W4 pinout, R5F213G6CNNP#W4 application, or R5F213G6CNNP#W4 equivalent, key selection criteria include its 24-pin HWQFN (PWQN0024KC-A) package, -20°C to +85°C temperature grade (N version), low-power wait/stop modes (3.5 µA / 2.0 µA), and integrated LIN physical layer support via UART0 and Timer RA.
Technical Context
The R5F213G6CNNP#W4 implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit hardware multiplier, and multiply-accumulate capability. Its memory map spans 1 Mbyte, with program ROM mapped from 08000h–0FFFFh and data flash 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 - with selectable frequency dividers (1/2/4/8/16) and oscillation stop detection. Peripheral control uses dedicated SFRs across address ranges 0000h–002Fh and 02C00h–02FFFh.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 50 ns min instruction time at 20 MHz |
| Memory | 32 KB program flash, 2.5 KB RAM, 4 KB data flash (1 KB × 4 blocks) with BGO |
| ADC/DAC | 10-bit resolution × 8-channel ADC with sample-and-hold; dual 8-bit DAC outputs (DA0/DA1) |
| Timers | Timer RA (8-bit), RB (8-bit PWM), RC (16-bit w/ 4 capture/compare), RE (real-time clock) |
| Serial Interfaces | UART0 (LIN-capable), UART2 (I²C mode), SSU (shared I²C/SSU), hardware LIN module |
| Power & Temp | 1.8–5.5 V supply; -20°C to +85°C ambient; 6.5 mA typical active current @ 5 V/20 MHz |
| Package | 24-pin HWQFN (PWQN0024KC-A), 4 mm × 4 mm, 0.5 mm pitch, exposed thermal pad |
Pinout & Package
Package: 24-pin HWQFN (PWQN0024KC-A), 4 mm × 4 mm body, 0.5 mm pin pitch, thermally enhanced with exposed pad.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (MODE) | Mode configuration input | Must be pulled high via resistor to enable single-chip mode; determines boot behavior |
| 2 (RESET) | Active-low reset input | Asynchronous reset signal; initiates power-on reset and voltage-detection-triggered reset |
| 3 (XOUT/XCOUT) | Clock output / crystal drive | Drives external crystal/resonator for XIN or XCIN oscillator circuits |
| 4 (VSS/AVSS) | Digital/analog ground | Common reference for digital logic and analog peripherals; requires separate AVSS decoupling |
| 5 (XIN/XCIN) | Clock input / crystal terminal | Accepts 20 MHz crystal (XIN) or 32 kHz crystal (XCIN); supports external clock injection |
| 6 (VCC/AVCC) | Digital/analog supply | 1.8–5.5 V main supply; AVCC powers ADC/DAC/comparators and requires local filtering |
| 7 (P3_7) | Multi-function I/O | Configurable as SDA (I²C), SSO (SSU), TRAO (Timer RA output), or RXD2/TXD2/SCL2 |
| 24 (P4_2) | Analog reference input | VREF pin for ADC and DAC; sets full-scale conversion range; accepts 0–VCC voltage |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming while CPU executes code - enables seamless firmware updates |
| Hardware LIN Module | Full LIN 2.0/2.1 physical layer implementation using UART0 + Timer RA - no software bit-banging required |
| Low-Power Operating Modes | Wait mode (3.5 µA @ 3 V/32 kHz) and stop mode (2.0 µA) - ideal for battery-backed RTC and sensor polling |
| Integrated Analog Peripherals | 10-bit ADC with sweep mode and sample-and-hold; dual 8-bit DACs with independent output pins (DA0/DA1) |
| Voltage Detection System | Three-level voltage monitor (VDD detect + two configurable VD levels) with interrupt and reset options |
Applications
| Audio Signal Processing | Office Equipment Control |
|---|---|
|
Use Scenario: Volume leveling, tone adjustment, and source switching in compact stereo receivers and soundbars. IC Role / Device Role / Timing Role: Main system controller executing audio DSP routines, managing user interface, and driving DAC outputs. Use Value: Integrated 10-bit ADC samples front-panel controls; dual DACs generate analog audio outputs; LIN enables remote subwoofer sync. |
Use Scenario: Paper jam detection, motor speed regulation, and status LED sequencing in entry-level laser printers. IC Role / Device Role / Timing Role: Real-time motion controller interfacing with stepper drivers, optical sensors, and thermal head. Use Value: Timer RC's 16-bit PWM drives precision motor control; 8-channel ADC monitors thermistor and photo-interrupter feedback. |
| Consumer Appliance UI | Home Automation Sensor Hub |
|
Use Scenario: Keypad scanning, display backlight dimming, and buzzer tone generation in microwave ovens and washing machines. IC Role / Device Role / Timing Role: Dedicated UI manager handling KI0–KI3 key interrupts, PWM-driven LED dimming, and real-time countdown. Use Value: Key input interrupt circuit reduces CPU polling overhead; Timer RE maintains accurate cooking timers without external RTC. |
Use Scenario: Multi-sensor aggregation (temperature, humidity, occupancy) with wireless gateway handoff in smart thermostats. IC Role / Device Role / Timing Role: Local sensor fusion node preprocessing analog inputs and scheduling low-power BLE wake-ups. Use Value: 2.5 KB RAM buffers sensor logs; data flash BGO allows over-the-air parameter updates without service interruption. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213G6CNSP#W4 | Same core, memory, and peripherals; differs only in PLSP0024JB-A (24-pin LSSOP) package with 0.65 mm pitch | LSSOP offers easier manual soldering and legacy PCB compatibility; HWQFN provides better thermal performance and smaller footprint | Select R5F213G6CNSP#W4 for through-hole prototyping or space-constrained designs requiring wider pitch |
| R5F213G5CNNP#W4 | Identical package and peripherals but reduced memory: 24 KB program flash and 2 KB RAM (vs. 32 KB/2.5 KB) | Suitable for simpler control tasks where code size and RAM usage remain under 24 KB/2 KB thresholds | Choose R5F213G5CNNP#W4 when firmware footprint is verified ≤24 KB and BOM cost optimization is critical |
Compared with R5F213G6CNSP#W4, the HWQFN package of R5F213G6CNNP#W4 enables higher board density and improved thermal dissipation; versus R5F213G5CNNP#W4, the extra 8 KB flash and 512-byte RAM support larger feature sets and future firmware expansion without hardware revision.
Availability
R5F213G6CNNP#W4 is available at Aetrix Electronics and suitable for audio equipment, office automation, and home appliance applications requiring stable component supply, long-term industrial availability, and qualified automotive-grade alternatives.
Supply support for R5F213G6CNNP#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 is a global semiconductor leader specializing in microcontrollers, analog, and power solutions for industrial, automotive, and IoT markets.
The R8C/3GC Group, including R5F213G6CNNP#W4, was designed for cost-optimized 16-bit embedded control in consumer electronics - emphasizing low power, integrated analog peripherals, and LIN connectivity without external transceivers.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F213G6CNNP#W4?
The R5F213G6CNNP#W4 supports a maximum operating frequency of 20 MHz when supplied at 2.7–5.5 V. At lower voltages (1.8–5.5 V), the maximum frequency is 5 MHz. These ratings are specified in the electrical characteristics section of the R01DS0036EJ0100 datasheet and validated across the -20°C to +85°C ambient temperature range for the N-version device.
Does the R5F213G6CNNP#W4 include hardware LIN support, and how is it implemented?
Yes, the R5F213G6CNNP#W4 integrates a dedicated hardware LIN module compliant with LIN 2.0/2.1. It combines UART0 for serial framing and Timer RA for precise baud rate timing and synchronization, eliminating software-based bit-banging. This implementation reduces CPU load and ensures deterministic timing for automotive body electronics and appliance sub-networks.
What are the data flash capabilities of the R5F213G6CNNP#W4, and does it support background operation?
The R5F213G6CNNP#W4 includes 4 KB of data flash organized as four 1 KB blocks, rated for 10,000 erase/write cycles. It fully supports Background Operation (BGO), allowing the CPU to execute application code from program flash while simultaneously erasing or programming data flash - essential for robust firmware update and parameter storage functions.
Which package type and pin count does the R5F213G6CNNP#W4 use, and what is its thermal pad configuration?
The R5F213G6CNNP#W4 uses the PWQN0024KC-A package: a 24-pin HWQFN with 4 mm × 4 mm body, 0.5 mm pin pitch, and an exposed thermal pad on the underside. This pad must be soldered to a PCB thermal plane to meet junction temperature specifications under sustained 20 MHz operation.
How does the R5F213G6CNNP#W4 handle power management in low-power applications?
The R5F213G6CNNP#W4 offers three low-power modes: standard operating mode (with selectable clocks), wait mode (3.5 µA @ 3 V/32 kHz), and stop mode (2.0 µA). Wake-up sources include external interrupts, key inputs, timer events, and AD conversion completion - enabling responsive yet energy-efficient operation in battery-powered consumer devices.
R5F213G6CNNP#W4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 24-WFQFN Exposed Pad
- Series:
- R8C/3x/3GC
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Last Time Buy
- 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:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2.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:
R5F213G6CNNP#W4 FAQ
1.How can I place an order for R5F213G6CNNP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G6CNNP#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 R5F213G6CNNP#W4 reliable?
The price and inventory of R5F213G6CNNP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G6CNNP#W4 is usually 5 days.
3.What payment methods are accepted for R5F213G6CNNP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G6CNNP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G6CNNP#W4?
R5F213G6CNNP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G6CNNP#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 R5F213G6CNNP#W4?
For technical support, including R5F213G6CNNP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G6CNNP#W4 requirements.
6.How does Aetrix verify that R5F213G6CNNP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F213G6CNNP#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 R5F213G6CNNP#W4 meets industry standards.
7.What is the process for return or replacement of R5F213G6CNNP#W4?
All R5F213G6CNNP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G6CNNP#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 R5F213G6CNNP#W4 part is unused and in its original packaging.
Return procedure for R5F213G6CNNP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G6CNNP#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…

