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

- Shipping:

Inventory:1,718
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213G4MNNP from Renesas Electronics is a 16-bit R8C CPU core microcontroller in a 24-pin HWQFN package (PWQN0024KC-A), featuring 16 KB flash ROM, 1.5 KB RAM, and 4 KB data flash with background operation (BGO). It delivers 50 ns minimum instruction execution at 20 MHz (VCC = 2.7–5.5 V), integrates dual 10-bit A/D converters (8 channels), dual 8-bit D/A outputs, LIN hardware module, and real-time clock (Timer RE) - deployed in consumer audio equipment and office automation control systems.
For engineers reviewing the R5F213G4MNNP datasheet, R5F213G4MNNP pinout, R5F213G4MNNP application, or R5F213G4MNNP equivalent, key selection criteria include its 24-pin QFN footprint, 1.8–5.5 V wide supply range, integrated LIN transceiver support via UART0 + Timer RA, low-power wait/stop modes (3.5 µA / 2.0 µA), and on-chip debug capability for embedded firmware development.
Technical Context
The R5F213G4MNNP implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit multiplier, and multiply-accumulate capability. Its memory map spans 1 Mbyte (00000h–FFFFFh), with program ROM at 0C000h–0FFFFh and RAM at 00400h–009FFh - enabling efficient code/data partitioning for real-time control tasks.
Peripheral integration includes UART0/UART2 (with I²C mode), SSU/I²C bus shared interface, hardware LIN (using UART0 and Timer RA), 16-bit Timer RC with 4 capture/compare registers and 3-PWM output, plus two independent comparators (A and B) with external reference inputs - all coordinated via a 69-vector interrupt system with 7 priority levels.
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 - enables deterministic motor control and signal processing loops. |
| Memory | 16 KB flash ROM (0C000h–0FFFFh), 1.5 KB RAM (00400h–009FFh), 4 KB data flash (1 KB × 4 blocks) with BGO - supports field firmware updates without halting execution. |
| Operating Voltage | 1.8–5.5 V supply range - allows direct interfacing with both 3.3 V logic and legacy 5 V peripherals without level shifters. |
| Speed & Timing | 50 ns min instruction time at 20 MHz (VCC ≥ 2.7 V); 200 ns at 5 MHz (VCC ≥ 1.8 V) - balances performance and ultra-low-power operation in battery-powered devices. |
| Analog Peripherals | 10-bit A/D converter (8 channels, sample-and-hold, sweep mode); 8-bit D/A (2 circuits); Comparator A (2 circuits, external ref input); Comparator B (2 circuits) - enables closed-loop sensor feedback and analog actuator control. |
| Low-Power Modes | Wait mode (3.5 µA @ 3.0 V, f(XCIN) = 32 kHz); Stop mode (2.0 µA @ 3.0 V); multiple clock sources (XIN, XCIN, high/low-speed on-chip oscillators) - extends battery life in portable consumer electronics. |
| Package & Temp | PWQN0024KC-A: 24-pin HWQFN, 4 mm × 4 mm, 0.5 mm pitch; operating ambient temperature −20 to +85°C (N version) - suitable for space-constrained industrial and consumer PCB layouts. |
Pinout & Package
Packaged in a 24-pin HWQFN (PWQN0024KC-A), the R5F213G4MNNP features a compact 4 mm × 4 mm body with 0.5 mm pin pitch and exposed thermal pad. Pin functions are fully programmable per peripheral module assignment, supporting flexible board-level routing and multi-role I/O reuse.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (MODE) | Configuration input | Must be pulled high to VCC via resistor to select single-chip mode - determines boot behavior and memory mapping. |
| 2 (RESET) | Active-low reset | Asynchronous reset input; asserts internal reset sequence and clears CPU registers and SFRs upon logic low. |
| 3 (P4_7/XOUT) | Crystal oscillator output / I/O | Drives external crystal/resonator for XIN clock circuit; configurable as general-purpose I/O when oscillator disabled. |
| 5 (P4_6/XIN) | Crystal oscillator input | Accepts resonator or external clock source; paired with P4_7 to establish main system clock up to 20 MHz. |
| 7 (P3_7) | Multi-function I/O | Configurable as TRAO (Timer RA output), RXD2/SCL2/TXD2/SDA2 - supports UART, I²C, and timer waveform generation on one pin. |
| 20 (P0_7) | Analog/digital I/O | AN0/DA1: selectable as 10-bit A/D input channel 0 or 8-bit D/A output 1 - enables simultaneous sensing and analog actuation. |
| 24 (P4_2) | Analog reference input | VREF: dedicated reference voltage input for A/D and D/A converters - improves conversion accuracy by decoupling from noisy VCC. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming proceeds concurrently with CPU execution - eliminates firmware update downtime in field-deployed devices. |
| Hardware LIN Module | Integrated LIN 2.0/2.1 support via UART0 + Timer RA - reduces BOM cost and design complexity for automotive body electronics and appliance sub-networks. |
| Real-Time Clock (Timer RE) | 8-bit timer with dedicated registers for seconds, minutes, hours, and day-of-week - provides calendar-aware timing without external RTC IC or software overhead. |
| Dual Independent Comparators | Comparator A (2 circuits, shared with voltage monitors) and Comparator B (2 circuits) with external reference inputs - enables precise threshold detection for battery monitoring and overvoltage protection. |
| On-Chip Debug Interface | Fully integrated on-chip debug circuit with flash rewrite capability - permits in-system programming and real-time breakpoint debugging without external JTAG emulator. |
Applications
| Audio System Control | Office Equipment Motor Control |
|---|---|
|
Use Scenario: Volume, tone, and input source management in portable Bluetooth speakers and desktop audio receivers. IC Role / Device Role / Timing Role: Main system controller executing audio DSP pre-processing, button/key scan, display driver, and IR/UART command parsing. Use Value: Integrated 10-bit A/D (for potentiometer inputs) and dual 8-bit D/A (for analog audio biasing) reduce external component count by 3+ ICs. |
Use Scenario: Paper feed, jam detection, and stepper motor sequencing in compact multifunction printers and scanners. IC Role / Device Role / Timing Role: Real-time motion controller coordinating PWM-driven motor drivers, optical sensor interrupts, and status LED sequencing. Use Value: 16-bit Timer RC with 4 capture/compare registers enables precise 3-phase stepper commutation and encoder position tracking in <100 µs latency. |
| Consumer Appliance UI Panel | Industrial Sensor Node |
|
Use Scenario: Touchless proximity sensing and LED dimming control in microwave ovens and induction cooktops. IC Role / Device Role / Timing Role: Human interface processor managing capacitive touch inputs, thermal monitoring, safety interlock logic, and display backlight PWM. Use Value: Low-power stop mode (2.0 µA) maintains real-time clock and wake-on-interrupt readiness during standby - extends battery backup life to >1 year. |
Use Scenario: Environmental monitoring node collecting temperature, humidity, and air quality data for smart building HVAC systems. IC Role / Device Role / Timing Role: Data acquisition engine performing synchronized 10-bit A/D sampling across 8 channels, storing results in RAM, and transmitting via UART2/I²C. Use Value: Built-in 32 kHz XCIN oscillator and Timer RE provide accurate time-stamped sensor logs without external crystal - cuts BOM and layout area by 20%. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213G5MNNP | 24 KB program ROM, 2 KB RAM, same package and peripheral set - adds 8 KB code space for larger firmware images. | Preferred for applications requiring bootloader + application partitioning or expanded communication protocol stacks (e.g., full USB HID + LIN). | Select when firmware size exceeds 16 KB but pin compatibility and power profile must be preserved. |
| R5F213G2MNNP | 8 KB program ROM, 1 KB RAM, identical architecture and peripherals - reduced memory footprint at lower cost. | Suitable for simpler control tasks like basic fan speed regulation or LED lighting sequences where code size < 8 KB. | Choose for cost-sensitive volume production where feature set matches minimal requirements and no future firmware expansion is planned. |
Compared with R5F213G5MNNP and R5F213G2MNNP, the R5F213G4MNNP offers optimal balance of memory headroom (16 KB ROM), peripheral richness (LIN, dual D/A, BGO), and unit cost - making it the default choice for mid-tier consumer control applications requiring field-upgradable firmware and analog interface flexibility.
Availability
R5F213G4MNNP is available at Aetrix Electronics and suitable for audio equipment, office automation, and consumer appliance designs requiring stable component supply, long-term lifecycle assurance, and RoHS-compliant manufacturing.
Supply support for R5F213G4MNNP 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/3GM Group, including the R5F213G4MNNP, was designed for cost-sensitive, low-power embedded control in consumer electronics - emphasizing EMI/EMS robustness, integrated analog peripherals, and seamless firmware update capability via data flash BGO.
FAQ
What is the maximum operating frequency and corresponding voltage range for the R5F213G4MNNP?
The R5F213G4MNNP achieves a maximum operating frequency of 20 MHz at VCC = 2.7–5.5 V, with minimum instruction execution time of 50 ns. At reduced voltage (1.8–5.5 V), it operates up to 5 MHz with 200 ns instruction time - enabling flexible power/performance trade-offs across battery and line-powered designs.
Does the R5F213G4MNNP support hardware LIN communication, and how is it implemented?
Yes, the R5F213G4MNNP includes a dedicated hardware LIN module compliant with LIN 2.0/2.1 standards. It uses UART0 for serial framing and Timer RA for precise baud rate generation and synchronization - eliminating software bit-banging and ensuring reliable slave-node timing in automotive and appliance networks.
How does the background operation (BGO) function work in the R5F213G4MNNP data flash?
The R5F213G4MNNP's data flash supports true background operation: while the CPU executes code from program ROM, the flash controller can simultaneously erase or program any of the four 1 KB blocks. This enables seamless firmware updates, parameter storage, or calibration data writes without halting real-time tasks.
What are the key low-power modes available on the R5F213G4MNNP, and what are their typical current draws?
The R5F213G4MNNP offers Wait mode (3.5 µA @ 3.0 V, 32 kHz XCIN clock active) and Stop mode (2.0 µA @ 3.0 V, all clocks halted except reset/watchdog). Both retain RAM content and allow wake-up via external interrupt, key input, or timer event - ideal for remote controls and sensor nodes requiring multi-year battery life.
Can the R5F213G4MNNP's A/D converter perform automatic channel scanning, and what is its resolution?
Yes, the R5F213G4MNNP's 10-bit A/D converter supports sweep mode, automatically scanning up to 8 input channels (AN0–AN11) in programmable sequence. Each conversion delivers true 10-bit resolution with sample-and-hold capability - suitable for precision thermistor readings and multi-sensor monitoring in consumer appliances.
R5F213G4MNNP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 24-WFQFN Exposed Pad
- Series:
- R8C/3x/3GM
- Packaging:
- Tray
- Product Status:
- Active
- 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:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 1.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:
R5F213G4MNNP#U0 FAQ
1.How can I place an order for R5F213G4MNNP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G4MNNP#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 R5F213G4MNNP#U0 reliable?
The price and inventory of R5F213G4MNNP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G4MNNP#U0 is usually 5 days.
3.What payment methods are accepted for R5F213G4MNNP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G4MNNP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G4MNNP#U0?
R5F213G4MNNP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G4MNNP#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 R5F213G4MNNP#U0?
For technical support, including R5F213G4MNNP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G4MNNP#U0 requirements.
6.How does Aetrix verify that R5F213G4MNNP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F213G4MNNP#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 R5F213G4MNNP#U0 meets industry standards.
7.What is the process for return or replacement of R5F213G4MNNP#U0?
All R5F213G4MNNP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G4MNNP#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 R5F213G4MNNP#U0 part is unused and in its original packaging.
Return procedure for R5F213G4MNNP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G4MNNP#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…

