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

- Shipping:

Inventory:3,435
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213G2MNNP from Renesas Electronics is an 8-bit R8C CPU core microcontroller in a 24-pin HWQFN package, featuring 8 KB program flash, 1 KB RAM, and 4 × 1 KB data flash blocks 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 R5F213G2MNNP datasheet, R5F213G2MNNP pinout, R5F213G2MNNP application, or R5F213G2MNNP equivalent, key selection considerations include its 24-pin PWQN0024KC-A package, -20°C to +85°C operating range (N version), integrated LIN transceiver support via UART0/Timer RA, and BGO-enabled in-system reprogramming of data flash without halting CPU execution.
Technical Context
The R5F213G2MNNP 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 (00000h–FFFFFh), with fixed interrupt vector table at 0FFDCh–0FFFFh and data flash allocated at 03000h–03FFFh across four independent 1 KB blocks.
Peripheral integration includes three independent timers (RA/RB/RC), Timer RE for RTC, UART0/UART2 with I²C mode, SSU, LIN module, 10-bit A/D converter with sweep mode, two 8-bit D/A converters, dual comparators (A/B), voltage detection circuits (VDET0/VDET1), and DTC for autonomous data transfers - all managed via dedicated SFRs mapped to 0000h–02FFFh address space.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 8-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC support - enables efficient motor control and sensor signal processing. |
| Memory | 8 KB program flash, 1 KB RAM, 4 × 1 KB data flash with BGO - allows firmware updates and parameter storage during active operation. |
| Operating Frequency | 20 MHz max (VCC = 2.7–5.5 V); 5 MHz min (VCC = 1.8–5.5 V) - supports high-speed control loops while retaining low-voltage compatibility. |
| A/D Converter | 10-bit resolution × 8 channels with sample-and-hold and sweep mode - captures analog sensor inputs (e.g., temperature, audio level) with minimal CPU overhead. |
| D/A Converter | 8-bit × 2 channels (DA0/DA1) - provides programmable analog output for biasing, calibration, or audio DAC interface. |
| Package | PWQN0024KC-A: 24-pin HWQFN, 4 mm × 4 mm, 0.5 mm pitch - enables compact PCB layout in space-constrained consumer devices. |
| Temperature Range | -20°C to +85°C (N version) - certified for reliable operation in office equipment and home appliance environments. |
Pinout & Package
PWQN0024KC-A is a 24-pin HWQFN package with exposed thermal pad, 0.5 mm pin pitch, and 4 mm × 4 mm body size. Pin 1 is marked by a dot; thermal pad must be soldered to ground plane for thermal and EMI performance.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (MODE) | Mode configuration input | Must be pulled high to VCC via resistor to enable single-chip mode - determines boot behavior and memory mapping. |
| 2 (RESET) | Active-low reset input | Drives full system reset on logic low; internal pull-up ensures safe startup if left unconnected. |
| 3 (XOUT/XCOUT) | Crystal oscillator output | Drives external crystal (XIN/XOUT) or 32 kHz watch crystal (XCIN/XCOUT) - selects main or real-time clock source. |
| 4 (VSS/AVSS) | Digital/analog ground | Common reference for digital logic and A/D converter - requires separate low-impedance connection to minimize noise coupling. |
| 5 (XIN/XCIN) | Crystal oscillator input | Accepts ceramic resonator (XIN) or 32 kHz crystal (XCIN) - enables precise timing for UART baud rates and RTC accuracy. |
| 6 (VCC/AVCC) | Digital/analog supply | 1.8–5.5 V supply powering core, I/O, and A/D converter - AVCC requires local decoupling for ADC SNR. |
| 7 (P3_7) | Multi-function I/O | Configurable as SDA2 (I²C), TRAO (Timer RA output), or SSO (SSU) - supports mixed-protocol peripheral interfacing. |
| 11 (P4_5) | Interrupt/trigger input | Serves as INT0 and ADTRG - triggers A/D conversion externally or initiates timer-based event handling. |
| 20 (P0_7) | Analog/DAC output | AN0 input or DA1 output - enables simultaneous analog sensing and calibrated analog output on same pin. |
| 24 (P4_2) | Reference voltage input | VREF pin for A/D and D/A converters - accepts external precision reference or internal bandgap for improved linearity. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Enables concurrent CPU execution and data flash erase/write - eliminates system stalls during field firmware updates. |
| Hardware LIN Module | Integrated LIN 2.0 support via UART0 + Timer RA - reduces external component count for automotive body electronics and appliance sub-networks. |
| Real-Time Clock (Timer RE) | 8-bit timer with dedicated registers for seconds/minutes/hours/day-of-week - provides battery-backed timekeeping without external RTC IC. |
| Dual Comparators (A/B) | Four total comparator inputs (LVCMP1/2, IVCMP1/3) with selectable references - supports overvoltage protection, zero-crossing detection, and threshold monitoring. |
| Low-Power Operating Modes | Wait mode (3.5 µA @ 3.0 V, 32 kHz XCIN) and stop mode (2.0 µA) - extends battery life in portable consumer devices. |
Applications
| Audio Equipment Control | Office Equipment Motor Drive |
|---|---|
Use Scenario: Volume control, tone adjustment, and source selection in compact stereo receivers and Bluetooth speakers. IC Role / Device Role / Timing Role: Main system controller executing UI logic, managing I²C-connected DACs/ADCs, and generating PWM for LED indicators. Use Value: Integrated 10-bit A/D and dual 8-bit D/A eliminate external converters; BGO enables silent firmware updates during playback. |
Use Scenario: Paper feed, scanner lamp intensity, and duplex mechanism control in multifunction printers. IC Role / Device Role / Timing Role: Real-time motion controller using Timer RC PWM outputs and A/D feedback from current sensors. Use Value: Hardware LIN interface communicates with power supply and paper path modules; low-power modes reduce standby consumption. |
| Home Appliance User Interface | Consumer Equipment Power Management |
Use Scenario: Keypad scanning, display backlight dimming, and temperature regulation in microwave ovens and air purifiers. IC Role / Device Role / Timing Role: Embedded controller managing key input interrupts (KI0–KI3), driving LED segments via high-current I/O ports, and reading thermistor ADC inputs. Use Value: Four-key interrupt inputs simplify mechanical keypad design; 19 high-current drive ports directly sink LED loads without external drivers. |
Use Scenario: Adaptive power sequencing and voltage monitoring in smart power strips and USB-C PD accessories. IC Role / Device Role / Timing Role: System supervisor monitoring VCC with dual voltage detection circuits (VDET0/VDET1) and controlling MOSFET gate drivers via PWM outputs. Use Value: On-chip voltage detection replaces discrete supervisor ICs; programmable detection levels (e.g., 2.7 V, 3.3 V) support multi-rail designs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213G4MNNP | 16 KB program ROM, 1.5 KB RAM, same package/peripherals | Supports larger firmware images and more complex state machines | Select when application code exceeds 8 KB or requires additional RAM for buffer-intensive protocols. |
| RL78/G13 R5F100LEANA#U0 | RL78 core, 32 KB flash, 4 KB RAM, 24-pin QFN, lower active current (120 µA/MHz) | Higher code density, enhanced low-power modes, and built-in debug interface | Choose for new designs requiring longer lifecycle support, lower power, or toolchain modernization. |
Compared with R5F213G2MNNP, the R5F213G4MNNP offers scalable memory within identical pinout and peripheral set, while the RL78/G13 provides architectural upgrades including reduced power per MHz and expanded debug capabilities - both retain compatibility with existing R8C software tools but differ in long-term roadmap alignment.
Availability
R5F213G2MNNP is available at Aetrix Electronics and suitable for audio equipment control, office equipment motor drive, home appliance user interface, and consumer equipment power management requiring stable component supply throughout product lifecycles.
Supply support for R5F213G2MNNP 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 consumer markets.
The R8C/3GM Group, including R5F213G2MNNP, was designed for cost-sensitive, space-constrained embedded control in consumer electronics - emphasizing EMI/EMS robustness, integrated analog peripherals, and low-power operation without sacrificing real-time responsiveness.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F213G2MNNP?
The R5F213G2MNNP operates up to 20 MHz at VCC = 2.7–5.5 V, and down to 5 MHz at VCC = 1.8–5.5 V. This dual-frequency capability allows flexible system design: high-speed execution for control loops at nominal voltage, and extended low-voltage operation for brown-out resilience. The R5F213G2MNNP maintains full peripheral functionality across this entire range, including A/D conversion and UART communication.
Does the R5F213G2MNNP support in-application programming of its data flash memory?
Yes, the R5F213G2MNNP supports Background Operation (BGO) for data flash, enabling CPU execution to continue uninterrupted during erase or write cycles. This feature is critical for applications requiring runtime parameter storage or firmware patching - for example, saving user preferences in audio equipment without disrupting playback. The R5F213G2MNNP's four independent 1 KB data flash blocks allow wear-leveling and atomic updates.
How many analog-to-digital converter channels does the R5F213G2MNNP provide, and what is their resolution?
The R5F213G2MNNP integrates a single 10-bit A/D converter with eight input channels (AN0–AN11, with some shared pins). It supports sweep mode for automatic sequential conversion and includes sample-and-hold circuitry to maintain signal integrity during conversion. This capability meets requirements for sensor monitoring in appliances and audio level detection - all without external signal conditioning components.
Can the R5F213G2MNNP generate PWM signals, and which timers support this function?
Yes, the R5F213G2MNNP generates PWM via Timer RB (programmable waveform generation mode) and Timer RC (PWM and PWM2 modes, supporting up to three simultaneous outputs). Timer RB provides single-channel variable-duty-cycle output ideal for LED dimming, while Timer RC enables multi-phase motor control or synchronized actuator drive. Both timers use dedicated prescalers and capture/compare registers for precise duty-cycle and frequency control - essential for R5F213G2MNNP-based motor and lighting applications.
What is the purpose of the MODE pin on the R5F213G2MNNP, and how should it be configured?
The MODE pin on the R5F213G2MNNP must be externally pulled high to VCC via a resistor to select single-chip mode - the only supported configuration for normal operation. In this mode, the R5F213G2MNNP uses internal program ROM and executes from its 1 Mbyte address space. Leaving MODE floating or pulling it low may cause undefined boot behavior or failure to initialize, so proper pull-up is mandatory for reliable R5F213G2MNNP deployment.
R5F213G2MNNP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 24-WFQFN Exposed Pad
- Series:
- R8C/3x/3GM
- Packaging:
- Tray
- 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:
- 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:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F213G2MNNP#U0 FAQ
1.How can I place an order for R5F213G2MNNP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G2MNNP#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 R5F213G2MNNP#U0 reliable?
The price and inventory of R5F213G2MNNP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G2MNNP#U0 is usually 5 days.
3.What payment methods are accepted for R5F213G2MNNP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G2MNNP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G2MNNP#U0?
R5F213G2MNNP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G2MNNP#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 R5F213G2MNNP#U0?
For technical support, including R5F213G2MNNP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G2MNNP#U0 requirements.
6.How does Aetrix verify that R5F213G2MNNP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F213G2MNNP#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 R5F213G2MNNP#U0 meets industry standards.
7.What is the process for return or replacement of R5F213G2MNNP#U0?
All R5F213G2MNNP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G2MNNP#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 R5F213G2MNNP#U0 part is unused and in its original packaging.
Return procedure for R5F213G2MNNP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G2MNNP#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…

