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

- Shipping:

Inventory:2,103
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213M8KNNP from Renesas is a 16-bit R8C/3MK Group microcontroller featuring 64 KB flash ROM, 8 KB RAM, and integrated USB 2.0 full-speed device controller with 448-byte FIFO, 10-bit A/D converter (10 channels), and DTC with 26 activation sources. It operates at up to 20 MHz (5.5 V) and supports −20°C to +85°C ambient temperature in industrial control and embedded USB peripheral applications.
For engineers reviewing the R5F213M8KNNP datasheet, R5F213M8KNNP pinout, R5F213M8KNNP application, or R5F213M8KNNP equivalent, key selection criteria include USB device controller integration, on-chip A/D conversion capability, DTC support for efficient data transfers, low-power operating modes (wait/stop), and QFN-40 package compatibility with space-constrained PCB layouts.
Technical Context
The R5F213M8KNNP 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 fixed interrupt vector table at 0FFDCh–0FFFFh and data flash (4 × 1 KB blocks) mapped at 03000h–03FFFh.
Peripheral integration includes three UARTs (UART0/1/3), one UART2 with multiprocessor mode, I²C/SSU shared interface, LIN module (using Timer RA and UART0), watchdog timer (14-bit), and voltage detection circuit with selectable levels. The USB function controller supports control, bulk, and interrupt transfers across five pipes with programmable endpoint assignment.
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 | 64 KB program flash ROM, 8 KB RAM, 4 KB data flash (1 KB × 4 blocks) with background operation (BGO) |
| USB Interface | USB 2.0 full-speed (12 Mbps) device controller with transceiver, 448-byte FIFO, 5-pipe architecture |
| A/D Converter | 10-bit resolution, 10 input channels (AN0–AN11), sample-and-hold, sweep mode, external trigger (ADTRG) |
| Operating Range | VCC = 1.8–5.5 V; f(XIN) = 5 MHz (1.8 V) or 20 MHz (2.7–5.5 V); ambient temperature −20°C to +85°C (N version) |
| Power Modes | Standard, wait (4.0 µA @ 3.0 V), stop (2.0 µA @ 3.0 V); low-power clock options include high/low-speed on-chip oscillators and PLL |
| Interrupt System | 69 interrupt vectors, 7 priority levels, 9 external sources (INT0–INT4, KI0–KI3), DTC activation from 26 sources |
Pinout & Package
Packaged in a 40-pin QFN (PWQN0040KB-B, formerly 40PJS-B), the R5F213M8KNNP features exposed thermal pad, 0.5 mm pitch, and 6.0 × 6.0 mm body size. Pin 1 marked by dot; NC pins (e.g., Pin 3) must be connected to VCC.
| 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 ports with selectable pull-up resistors; high-current drive capability |
| USB_DP / USB_DM | D+/D− differential I/O | Direct connection to USB bus; integrated transceiver eliminates external PHY requirement |
| USB_VBUS | VBUS monitor input | Detects USB cable insertion/removal during runtime without external comparator |
| USB_VBUSEN / USB_OVRCURA | VBUS enable / overcurrent sense | Controls external 5 V power switch and monitors host-side overcurrent condition |
| AN0–AN11 | Analog inputs | 10 dedicated A/D channels (AN0–AN7, AN9–AN11); AN8–AN11 also serve as key input pins KI0–KI3 |
| ADTRG | A/D external trigger | Hardware-synchronized sampling initiation via external signal or peripheral event |
Key Features
| Feature | Design Value |
|---|---|
| Integrated USB Device Controller | Eliminates need for external USB PHY and reduces BOM count in embedded peripherals requiring host enumeration |
| Data Transfer Controller (DTC) | Offloads CPU during memory-to-peripheral transfers using 26 activation sources including A/D completion and UART events |
| Background Operation (BGO) | Enables concurrent flash programming/erasure (10,000 cycles) while executing application code from other memory regions |
| Multi-mode Clock System | Combines XIN crystal, high-speed/low-speed on-chip oscillators, and PLL for dynamic frequency scaling and power optimization |
| Hardware LIN Module | Uses Timer RA and UART0 to implement LIN 2.0 protocol without software bit-banging, reducing CPU overhead in automotive subsystems |
Applications
| Industrial HMI Panel | USB-Capable Consumer Audio |
|---|---|
Use Scenario: Touch-enabled control panel for HVAC or PLC interface with local display and USB firmware update capability. IC Role / Device Role / Timing Role: Main system controller managing touch I/O, display driver timing, and USB device enumeration as CDC or DFU class. Use Value: Integrated USB device controller and 10-channel A/D enable direct sensor monitoring and field-upgradable firmware without external USB bridge IC. | Use Scenario: Portable speaker or headphone amplifier with USB audio class (UAC) support and analog input mixing. IC Role / Device Role / Timing Role: USB audio endpoint processor handling isochronous IN/OUT transfers, sample rate conversion, and analog input conditioning. Use Value: On-chip 10-bit A/D and full-speed USB device controller allow direct microphone/line-in digitization and streaming without external codec or PHY. |
| Smart Home Sensor Hub | Embedded Camera Module |
Use Scenario: Battery-powered multi-sensor node aggregating temperature, humidity, and motion data, uploading via USB mass storage emulation. IC Role / Device Role / Timing Role: Low-power sensor concentrator with USB device stack supporting MSC class and wake-on-USB functionality. Use Value: Wait mode current of 4.0 µA and stop mode current of 2.0 µA extend battery life; BGO enables background logging to data flash during USB transfer. | Use Scenario: Compact USB camera module for video conferencing, integrating image sensor interface, JPEG compression offload, and USB video class (UVC) streaming. IC Role / Device Role / Timing Role: USB video device controller coordinating sensor frame capture, DMA-based pixel transfer, and isochronous USB packet scheduling. Use Value: DTC with 26 activation sources synchronizes A/D sampling (for sensor biasing) and UART-based sensor configuration while USB handles real-time video payload. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213M8UNNP | R8C/3MU Group; no A/D converter, no DTC activation from A/D interrupt, USB peripheral-only (no host mode) | Suitable for USB-only peripherals without analog sensing or high-efficiency DMA transfers | Select when A/D and DTC-driven sensor acquisition are unnecessary and cost reduction is prioritized |
| R5F213MCKNNP | R8C/3MK Group; 128 KB ROM, 10 KB RAM, same USB/A/D/DTC features but higher memory capacity | Required for larger firmware images, extended USB descriptors, or complex real-time algorithms | Choose when application code size exceeds 64 KB or additional RAM is needed for USB buffer management |
Compared with R5F213M8UNNP, the R5F213M8KNNP adds essential analog front-end and DTC capabilities for sensor-rich USB devices; compared with R5F213MCKNNP, it offers identical peripheral functionality at lower memory cost-ideal for optimized firmware deployments where 64 KB ROM suffices.
Availability
R5F213M8KNNP is available at Aetrix Electronics and suitable for industrial HMI panels, USB audio endpoints, smart home sensor hubs, and embedded camera modules requiring stable component supply across production lifecycles.
Supply support for R5F213M8KNNP 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, power, and SoC solutions for industrial, automotive, and IoT markets.
The R8C/3MK Group targets cost-sensitive, USB-integrated embedded systems requiring analog sensing, low-power operation, and robust peripheral integration without external support ICs.
FAQ
What USB device classes does the R5F213M8KNNP support natively?
The R5F213M8KNNP supports USB device classes requiring control, bulk, and interrupt transfers-including CDC (communication device class), HID (human interface device), MSC (mass storage class), and DFU (device firmware upgrade). Its 5-pipe architecture with configurable endpoints enables simultaneous implementation of multiple class interfaces, and the on-chip transceiver eliminates external PHY requirements. All USB functionality is managed by the integrated USB function controller in the R5F213M8KNNP.
Does the R5F213M8KNNP support USB host functionality?
No, the R5F213M8KNNP implements only USB device controller functionality compliant with USB 2.0 full-speed specification. It lacks USB host controller logic, OTG support, or VBUS powering capability required for host operation. The R5F213M8KNNP is designed exclusively for peripheral roles such as USB audio devices, HID controllers, or firmware update targets-not for enumerating other USB peripherals.
How is the A/D converter triggered in the R5F213M8KNNP?
The R5F213M8KNNP A/D converter supports software start, internal timer triggers (e.g., Timer RC output compare), and external hardware trigger via the ADTRG pin (Pin 24). This allows precise synchronization with system events like PWM edges or sensor excitation pulses. Conversion results are accessible via dedicated SFRs, and the 10-bit result can be read in single or sweep mode across all 10 channels. The A/D function is fully integrated into the R5F213M8KNNP's peripheral set without external components.
What low-power modes are available on the R5F213M8KNNP and how do they differ?
The R5F213M8KNNP provides standard operating mode, wait mode (CPU halted, peripherals active, 4.0 µA @ 3.0 V), and stop mode (all clocks stopped except low-speed oscillator, 2.0 µA @ 3.0 V). Wake-up sources include external interrupts, key inputs, A/D completion, and USB resume. These modes are controlled via system clock registers and are implemented in silicon within the R5F213M8KNNP-no external circuitry is needed to achieve sub-µA standby operation.
Is the R5F213M8KNNP pin-compatible with other R8C/3M series MCUs?
Yes, the R5F213M8KNNP shares the PWQN0040KB-B (40-pin QFN) package and identical pinout with R5F213M8UNNP, R5F213M6UNNP, and R5F213MCKNNP. Signal assignments-including USB_DP/DM, A/D inputs (AN0–AN11), and I/O port mappings-are consistent across these variants. This allows hardware reuse across different memory configurations and feature sets, simplifying design scalability for the R5F213M8KNNP and its family members.
R5F213M8KNNP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 40-WFQFN Exposed Pad
- Series:
- R8C/3x/3MK
- Packaging:
- Tray
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 16MHz
- 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:
- A/D 10x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F213M8KNNP#U0 FAQ
1.How can I place an order for R5F213M8KNNP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213M8KNNP#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 R5F213M8KNNP#U0 reliable?
The price and inventory of R5F213M8KNNP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213M8KNNP#U0 is usually 5 days.
3.What payment methods are accepted for R5F213M8KNNP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213M8KNNP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213M8KNNP#U0?
R5F213M8KNNP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213M8KNNP#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 R5F213M8KNNP#U0?
For technical support, including R5F213M8KNNP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213M8KNNP#U0 requirements.
6.How does Aetrix verify that R5F213M8KNNP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F213M8KNNP#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 R5F213M8KNNP#U0 meets industry standards.
7.What is the process for return or replacement of R5F213M8KNNP#U0?
All R5F213M8KNNP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213M8KNNP#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 R5F213M8KNNP#U0 part is unused and in its original packaging.
Return procedure for R5F213M8KNNP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213M8KNNP#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…

