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

- Shipping:

Inventory:1,866
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213M6UNNP#U0 from Renesas Electronics is a 16-bit R8C/3MU Group microcontroller featuring the R8C CPU core, 32 KB program ROM, 4 KB RAM, and 4 KB data flash (1 KB × 4 blocks) with background operation (BGO). It operates at up to 20 MHz (50 ns min instruction time), supports USB 2.0 Full Speed (12 Mbps) with integrated transceiver and 448-byte FIFO, and targets embedded control in consumer audio, cameras, and office equipment.
For engineers reviewing the R5F213M6UNNP#U0 datasheet, R5F213M6UNNP#U0 pinout, R5F213M6UNNP#U0 application, or R5F213M6UNNP#U0 equivalent, key selection criteria include USB device controller integration, 40-pin QFN package (PWQN0040KB-B), 10-bit A/D converter absence (R8C/3MU-specific), DTC support with 25 activation sources, and operating ambient temperature range of −20°C to +85°C (N version).
Technical Context
The R5F213M6UNNP#U0 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 at 03000h–03FFFh.
Clock generation includes XIN/XOUT crystal interface, high-speed on-chip oscillator (frequency-adjustable), low-speed on-chip oscillator, PLL frequency synthesizer, and oscillation stop detection. Power management supports standard, wait (4.0 µA typ), and stop (2.0 µA typ) modes with voltage detection circuit (VDD = 1.8–5.5 V).
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, 16×16→32-bit multiplier |
| Memory | 32 KB program ROM, 4 KB RAM, 4 KB data flash (1 KB × 4 blocks) with BGO for concurrent execution/erase |
| USB Interface | USB 2.0 Full Speed (12 Mbps) device controller + transceiver; 5-pipe FIFO (448 bytes total) |
| Timers | Timer RA (8-bit ×1), Timer RB (8-bit ×1), Timer RC (16-bit ×1 with 4 capture/compare registers) |
| Serial Interfaces | UART0/1/3 (×3), UART2 (multiprocessor mode), SSU/I²C (shared), hardware LIN (via Timer RA + UART0) |
| Power & Temp | 1.8–5.5 V supply; −20°C to +85°C operating ambient (N version); 7.0 mA typical active current at 5 V/20 MHz |
Pinout & Package
Package: 40-pin QFN (PWQN0040KB-B, formerly 40PJS-B), 6 mm × 6 mm, 0.5 mm pitch, exposed thermal pad.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_0–P0_7, P1_0–P1_7, P3_0, P3_3–P3_5, P3_7, P4_5–P4_7, P6_5–P6_7, P7_6–P7_7, P8_1–P8_3 | CMOS I/O ports | 30 programmable bidirectional pins with selectable pull-up resistors; high-current drive capability |
| USB_DP / USB_DM | D+/D− differential I/O | Integrated USB 2.0 Full Speed transceiver interface; no external PHY required |
| USB_VBUS | VBUS monitor input | Detects USB cable connection status during operation for dynamic power management |
| USB_DPUPE | D+ pull-up enable output | Controls internal 1.5 kΩ pull-up resistor on D+ for USB device enumeration |
| XIN / XOUT | Crystal oscillator interface | Supports external crystal/resonator (1–20 MHz) or external clock input on XOUT |
| RESET | Active-low reset input | Hardware reset assertion; synchronous deassertion ensures reliable initialization |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Enables code execution from program ROM while erasing/writing data flash-no interrupt latency penalty |
| USB Device Controller | Fully integrated USB 2.0 FS controller + transceiver with 5 configurable pipes and 448-byte FIFO |
| DTC with 25 Activation Sources | Offloads CPU for data transfers triggered by UART, timer, A/D (not present), or external events |
| Hardware LIN Module | Combines Timer RA and UART0 to implement LIN 2.0/2.1 protocol without software bit-banging overhead |
| Voltage Detection Circuit | Configurable reset and detection levels (VDD monitor) with programmable hysteresis for robust brown-out handling |
Applications
| USB-Enabled Consumer Audio | Digital Camera Control Unit |
|---|---|
Use Scenario: Embedded audio subsystem in USB-powered speakers or headsets requiring host enumeration and firmware updates. IC Role / Device Role / Timing Role: USB device controller managing descriptor responses, control/bulk transfers, and real-time audio streaming via UART or timer-driven DAC interfaces. Use Value: Integrated USB transceiver eliminates external PHY; BGO enables seamless firmware updates without halting audio playback. | Use Scenario: Main control MCU in compact digital cameras managing lens actuation, image sensor timing, and USB mass storage class connectivity. IC Role / Device Role / Timing Role: Real-time coordinator of sensor exposure timing (via Timer RC capture), motor control (PWM from Timer RB), and USB bulk transfers for photo retrieval. Use Value: 16-bit R8C core delivers deterministic timing for sensor sync; 40-pin QFN fits space-constrained camera modules. |
| Smart Office Equipment | Industrial Human-Machine Interface |
Use Scenario: Control unit in multifunction printers/scanners handling button inputs, display backlight PWM, and USB host-to-device job submission. IC Role / Device Role / Timing Role: Key input interrupt handler (KI0–KI3), PWM generator for LED/backlight control, and USB device endpoint manager. Use Value: Dedicated key input interrupts reduce polling overhead; hardware LIN supports optional panel communication with external displays. | Use Scenario: Front-panel controller in industrial PLCs or test equipment requiring EMI-robust operation and long-term supply stability. IC Role / Device Role / Timing Role: Isolated I/O supervisor using voltage detection and watchdog timer, with UART-based diagnostics and USB firmware recovery. Use Value: −20°C to +85°C rating and Renesas' industrial qualification ensure reliability in factory environments; low-power stop mode extends battery backup life. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213M8UNNP#U0 | 64 KB program ROM, 8 KB RAM, same package and peripheral set | Higher firmware complexity, larger bootloader or feature-rich applications | Select when >32 KB code space is required; identical pinout and USB/DTC functionality |
| R5F213M8KNNP#U0 | R8C/3MK Group: adds 10-bit A/D converter (10 ch), DTC with 26 sources, USB host capability | Applications requiring analog sensing (e.g., sensor hubs) or USB host-peripheral dual-role | Choose only if A/D or USB host is mandatory; not pin-compatible due to added ANx/ADTRG pins and different USB_OVRCURA/USB_VBUSEN assignment |
Compared with R5F213M6UNNP#U0, R5F213M8UNNP#U0 offers double ROM/RAM without peripheral trade-offs, while R5F213M8KNNP#U0 introduces analog and host capabilities at the cost of functional divergence-making R5F213M6UNNP#U0 optimal for cost-sensitive, USB-centric embedded control where A/D is unnecessary.
Availability
R5F213M6UNNP#U0 is available at Aetrix Electronics and suitable for USB peripheral design, consumer audio subsystems, and office equipment control requiring stable component supply across multi-year production cycles.
Supply support for R5F213M6UNNP#U0 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/3MU Group, including R5F213M6UNNP#U0, was engineered for cost-effective, USB-integrated embedded control in consumer electronics-emphasizing low EMI/EMS, integrated peripherals, and flash flexibility for field-upgradable devices.
FAQ
What is the maximum operating frequency and corresponding supply voltage range for R5F213M6UNNP#U0?
The R5F213M6UNNP#U0 achieves a maximum operating frequency of 20 MHz at VCC = 2.7–5.5 V when USB is not used. At lower frequencies (e.g., 5 MHz), it supports extended voltage range down to 1.8 V. Minimum instruction execution time is 50 ns under 20 MHz/2.7–5.5 V conditions, confirmed in the R01DS0112EJ0110 datasheet Section 1.1.3.
Does R5F213M6UNNP#U0 include an analog-to-digital converter (A/D)?
No, R5F213M6UNNP#U0 does not include an A/D converter. As specified in Table 1.1 (Differences between Groups) and Figure 1.3 (Block Diagram), the R8C/3MU Group-unlike the R8C/3MK Group-omits the 10-bit A/D converter. This distinguishes R5F213M6UNNP#U0 from R5F213M8KNNP#U0 and confirms its role in purely digital USB/peripheral control applications.
What USB transfer types and pipe configurations are supported by R5F213M6UNNP#U0?
R5F213M6UNNP#U0 supports Control (DCP), Bulk (PIPE4/5), and Interrupt (PIPE6/7) transfers across five individually configurable pipes. Total FIFO is 448 bytes: DCP = 64 bytes, PIPE4/5 = 128 bytes (64-byte double buffer), PIPE6/7 = 64 bytes. These capabilities are documented in Table 1.3 and apply specifically to the R8C/3MU Group per R01DS0112EJ0110 Rev.1.10.
Is R5F213M6UNNP#U0 pin-compatible with other members of the R8C/3MU or R8C/3MK families?
R5F213M6UNNP#U0 shares the 40-pin QFN (PWQN0040KB-B) package and identical pin assignment with R5F213M8UNNP#U0 (same group), enabling drop-in replacement for ROM/RAM upgrades. However, it is not pin-compatible with R8C/3MK parts (e.g., R5F213M8KNNP#U0) due to added A/D input pins (AN0–AN11) and USB signal reassignments (USB_OVRCURA, USB_VBUSEN) shown in Figures 1.5–1.6.
What debug and programming interfaces are available on R5F213M6UNNP#U0?
R5F213M6UNNP#U0 supports on-chip debug via dedicated debug interface pins and on-board flash rewrite functionality. The device includes ROM code protection and ID code check for secure programming. Debug access is enabled through Renesas' standard E8/E8a emulators and compatible flash programmers, as detailed in Section 1.1.3 and "Debug Functions" of the R01DS0112EJ0110 datasheet.
R5F213M6UNNP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 40-WFQFN Exposed Pad
- Series:
- R8C/3x/3MU
- Packaging:
- Tray
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- I2C, LINbus, SIO, SSU, UART/USART, USB
- Peripherals:
- POR, PWM, Voltage Detect, WDT
- Number of I/O:
- 30
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 4K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 5.5V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F213M6UNNP#U0 FAQ
1.How can I place an order for R5F213M6UNNP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213M6UNNP#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 R5F213M6UNNP#U0 reliable?
The price and inventory of R5F213M6UNNP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213M6UNNP#U0 is usually 5 days.
3.What payment methods are accepted for R5F213M6UNNP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213M6UNNP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213M6UNNP#U0?
R5F213M6UNNP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213M6UNNP#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 R5F213M6UNNP#U0?
For technical support, including R5F213M6UNNP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213M6UNNP#U0 requirements.
6.How does Aetrix verify that R5F213M6UNNP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F213M6UNNP#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 R5F213M6UNNP#U0 meets industry standards.
7.What is the process for return or replacement of R5F213M6UNNP#U0?
All R5F213M6UNNP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213M6UNNP#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 R5F213M6UNNP#U0 part is unused and in its original packaging.
Return procedure for R5F213M6UNNP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213M6UNNP#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…

