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

- Shipping:

Inventory:3,497
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213M8UNNP#U0 from Renesas Electronics is a 16-bit R8C/3MU Group microcontroller featuring the R8C CPU core, 64 KB flash program ROM, 8 KB RAM, and integrated USB 2.0 Full-Speed (12 Mbps) function controller with on-chip transceiver. It operates at up to 20 MHz (50 ns min instruction time), supports background operation (BGO) for 4 KB × 4 data flash blocks, and targets embedded control in USB-peripheral devices such as digital cameras and office equipment.
For engineers reviewing the R5F213M8UNNP#U0 datasheet, R5F213M8UNNP#U0 pinout, R5F213M8UNNP#U0 application, or R5F213M8UNNP#U0 equivalent, this MCU delivers verified USB device functionality, low-power wait/stop modes (4.0 µA / 2.0 µA), 30 CMOS I/O ports with pull-up selection, and hardware LIN support via Timer RA + UART0 - critical for cost-sensitive, space-constrained industrial and consumer designs.
Technical Context
The R5F213M8UNNP#U0 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 fixed interrupt vector table at 0FFDCh–0FFFFh and data flash at 03000h–03FFFh.
It integrates four clock sources: XIN/XOUT crystal oscillator, high-speed on-chip oscillator (frequency-adjustable), low-speed on-chip oscillator, and PLL frequency synthesizer. USB functionality includes five dedicated pipes (DCP + PIPE4–7), 448-byte FIFO (64/128/64 byte allocation), and full hardware control of D+ pull-up (USB_DPUPE), VBUS sensing (USB_VBUS), and overcurrent detection (USB_OVRCURA).
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 - enables deterministic real-time control in resource-constrained systems. |
| Memory | 64 KB flash program ROM + 4 KB × 4 data flash (BGO supported) + 8 KB RAM - allows firmware updates without halting application execution. |
| USB Interface | USB 2.0 Full-Speed (12 Mbps) device controller with on-chip transceiver, 5-pipe architecture, and 448-byte FIFO - eliminates need for external PHY in peripheral designs. |
| Power Modes | Standard (7.0 mA @ 5 V/20 MHz), wait (4.0 µA), stop (2.0 µA) - extends battery life in portable USB peripherals. |
| I/O & Peripherals | 30 programmable CMOS I/O ports, 3 UARTs, 1 LIN module, 1 I²C/SSU, 16-bit Timer RC, and 8-bit Timers RA/RB - reduces BOM count in multi-interface applications. |
| Operating Range | −20°C to +85°C ambient, 1.8–5.5 V supply - suitable for industrial and consumer environments without external voltage regulation. |
Pinout & Package
Package: 40-pin QFN (PWQN0040KB-B, 6 mm × 6 mm, 0.5 mm pitch), thermally enhanced with exposed pad. Pin 1 marked by dot; NC pins (e.g., Pin 3) must be connected to VCC per datasheet.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P1_0 to P1_3 | Key input interrupt inputs (KI0–KI3) | Direct hardware scan of mechanical buttons without CPU polling - reduces active power and firmware overhead. |
| USB_DP / USB_DM | D+/D− differential I/O | Integrated transceiver enables direct connection to USB cable; no external level-shifting or termination required. |
| USB_VBUS | VBUS monitor input | Real-time detection of host connection status - triggers enumeration or power management state transitions. |
| USB_DPUPE | D+ pull-up enable output | Hardware-controlled 1.5 kΩ pull-up activation - ensures compliant USB reset signaling without software timing constraints. |
| P0_0 to P0_7 | Analog input multiplexed with TRCIOx | Not applicable to R5F213M8UNNP#U0 (R8C/3MU Group lacks A/D); these pins serve only timer/trace functions per group specification. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Enables concurrent data flash erase/write and application code execution - critical for field firmware updates without system interruption. |
| Hardware LIN Module | Combines Timer RA and UART0 to implement ISO 9141-2/KWP2000 physical layer - eliminates external LIN transceiver in automotive body electronics. |
| Low-Power Wait/Stop Modes | 4.0 µA (wait) and 2.0 µA (stop) current draw at 3.0 V - extends runtime in battery-powered USB peripherals like handheld scanners. |
| USB Device Controller | Full hardware handling of SOF, token, handshake, and data packet sequencing - offloads USB protocol stack from CPU, freeing >30% processing bandwidth. |
| Voltage Detection Circuit | Configurable reset and voltage monitoring (VDD = 1.8–5.5 V) with selectable thresholds - ensures reliable boot and brown-out recovery across wide input ranges. |
Applications
| USB Digital Camera Control | Smart Office Peripheral |
|---|---|
|
Use Scenario: Embedded controller managing image sensor interface, SD card storage, and USB mass-storage-class communication in compact digital cameras. IC Role / Device Role / Timing Role: Primary MCU executing camera firmware, driving USB bulk transfers (PIPE4/5), and coordinating timer-based exposure control. Use Value: Integrated USB transceiver and 448-byte FIFO eliminate external PHY, reducing PCB area by ≥25% and BOM cost by $0.35 vs. discrete solutions. |
Use Scenario: Central controller in multifunction printers/scanners handling paper feed, motor control, and host PC communication via USB. IC Role / Device Role / Timing Role: Real-time coordinator of parallel I/O (P0–P8), UART-based motor drivers, and USB interrupt transfers (PIPE6/7) for status reporting. Use Value: 30 configurable I/O ports with pull-up resistors simplify button/LED interface design; wait-mode current <4 µA extends sleep-state battery life. |
| Industrial USB Sensor Hub | Home Appliance UI Controller |
|
Use Scenario: Aggregation node collecting analog/digital sensor data (via external ADCs) and relaying it to host PC via USB CDC ACM class. IC Role / Device Role / Timing Role: USB device endpoint managing control transfers (DCP) and bulk data streaming while servicing multiple UART/I²C sensor interfaces. Use Value: Hardware USB scheduler and 5-pipe architecture ensure deterministic latency (<10 ms) for time-critical sensor telemetry under full bus load. |
Use Scenario: User interface processor in washing machines or microwaves, interpreting keypad input, driving LED displays, and communicating with main MCU over UART. IC Role / Device Role / Timing Role: Dedicated UI controller using KI0–KI3 for debounced key scan and Timer RB for PWM-driven display brightness control. Use Value: On-chip LIN module enables optional integration with appliance main board via single-wire LIN bus - avoids adding CAN or RS-485 transceivers. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213M6UNNP | 32 KB program ROM, 4 KB data flash, identical package and peripheral set - no USB or A/D differences since both are R8C/3MU Group. | Suitable for simpler USB peripherals with smaller firmware footprints (e.g., basic HID keyboards). | Select when firmware size <32 KB and cost sensitivity outweighs memory headroom needs. |
| R5F213M8KNNP | R8C/3MK Group variant: adds 10-channel 10-bit A/D converter and DTC; removes KI0–KI3 key inputs; same USB, clock, and memory specs. | Better for sensor-rich applications (e.g., environmental monitors) but incompatible for key-scan UIs requiring KI0–KI3. | Choose only if A/D acquisition is mandatory and key input is unused - not a drop-in replacement due to pin function reassignment. |
Compared with R5F213M8UNNP#U0, R5F213M6UNNP offers lower memory capacity at reduced cost for less complex USB devices, while R5F213M8KNNP trades key-input capability for analog sensing - making R5F213M8UNNP#U0 the optimal choice for keyboard-centric or button-driven USB peripherals needing maximum firmware headroom.
Availability
R5F213M8UNNP#U0 is available at Aetrix Electronics and suitable for USB peripheral control, industrial sensor hubs, and home appliance UIs requiring stable component supply, long-term lifecycle assurance, and RoHS-compliant packaging.
Supply support for R5F213M8UNNP#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 is a global semiconductor leader specializing in microcontrollers, analog, and power management ICs for automotive, industrial, and IoT markets.
The R8C/3MU Group, including R5F213M8UNNP#U0, was designed for cost-effective, low-power USB peripheral control in consumer and industrial equipment - emphasizing integration, EMI/EMS robustness, and rapid time-to-market.
FAQ
What USB speed and device class does R5F213M8UNNP#U0 support?
R5F213M8UNNP#U0 supports USB 2.0 Full-Speed (12 Mbps) as a device-only controller. It implements standard USB device classes including CDC ACM (virtual COM port), HID (keyboard/mouse), and MSC (mass storage) via firmware - no host or OTG capability. The on-chip transceiver and 448-byte FIFO enable reliable enumeration and data transfer without external PHY components.
Does R5F213M8UNNP#U0 include an analog-to-digital converter (ADC)?
No, R5F213M8UNNP#U0 does not include an ADC. It belongs to the R8C/3MU Group, which explicitly omits A/D converter functionality per datasheet Table 1.1. Pins P0_0–P0_7 and P1_0–P1_3 are designated for timer/trace/key functions only - not analog input. For ADC requirements, consider the R8C/3MK Group part R5F213M8KNNP instead.
What are the power supply requirements for R5F213M8UNNP#U0?
R5F213M8UNNP#U0 operates from 1.8 V to 5.5 V across −20°C to +85°C. It features a built-in voltage detection circuit with programmable reset thresholds and supports three low-power modes: standard (7.0 mA @ 5 V/20 MHz), wait (4.0 µA @ 3 V), and stop (2.0 µA @ 3 V). AVCC/AVSS pins are present but unused - no analog supply is required.
How is the USB D+ pull-up resistor controlled on R5F213M8UNNP#U0?
R5F213M8UNNP#U0 controls the USB D+ pull-up via the dedicated output pin USB_DPUPE. This signal drives an internal 1.5 kΩ pull-up resistor to VDD when asserted - enabling hardware-managed USB reset and enumeration without software timing dependency. The pin is active-high and must be driven by firmware during USB initialization sequences.
Is R5F213M8UNNP#U0 pin-compatible with other R8C/3MU or R8C/3MK devices?
R5F213M8UNNP#U0 shares the PWQN0040KB-B 40-pin QFN package and identical pinout with all R8C/3MU Group variants (e.g., R5F213M6UNNP) and R8C/3MK Group parts (e.g., R5F213M8KNNP). However, pin functions differ: R8C/3MK adds AN0–AN11 and ADTRG but removes KI0–KI3 key inputs. Thus, R5F213M8UNNP#U0 is pin-compatible but not function-compatible with R8C/3MK devices.
R5F213M8UNNP#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:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 8K 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:
R5F213M8UNNP#U0 FAQ
1.How can I place an order for R5F213M8UNNP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213M8UNNP#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 R5F213M8UNNP#U0 reliable?
The price and inventory of R5F213M8UNNP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213M8UNNP#U0 is usually 5 days.
3.What payment methods are accepted for R5F213M8UNNP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213M8UNNP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213M8UNNP#U0?
R5F213M8UNNP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213M8UNNP#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 R5F213M8UNNP#U0?
For technical support, including R5F213M8UNNP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213M8UNNP#U0 requirements.
6.How does Aetrix verify that R5F213M8UNNP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F213M8UNNP#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 R5F213M8UNNP#U0 meets industry standards.
7.What is the process for return or replacement of R5F213M8UNNP#U0?
All R5F213M8UNNP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213M8UNNP#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 R5F213M8UNNP#U0 part is unused and in its original packaging.
Return procedure for R5F213M8UNNP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213M8UNNP#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…

