Renesas R5F213J4TNNP#W4
- Part No.:
- R5F213J4TNNP#W4
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 40-XFQFN Exposed Pad
- Datasheet:
-
R5F213J4TNNP#W4.pdf
- Description:
- IC MCU 16BIT 16KB FLASH 40HXQFN
- Quantity:
- Payment:

- Shipping:

Inventory:1,211
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213J4TNNP from Renesas is an 8-bit R8C CPU core MCU with 16 KB flash ROM, 1.5 KB RAM, and 4 KB data flash (1 KB × 4 blocks) supporting background operation (BGO). It operates at up to 20 MHz (VCC = 2.7–5.5 V), features a 16×16→32-bit hardware multiplier, 10-bit ×12-channel ADC, and integrated LIN module for automotive body electronics control.
For engineers reviewing the R5F213J4TNNP datasheet, R5F213J4TNNP pinout, R5F213J4TNNP application, or R5F213J4TNNP equivalent, key selection criteria include its 40-pin HXQFN package, −20°C to +85°C industrial temperature grade, low-power wait/stop modes (3.5 µA / 2.0 µA), and dual UART + I²C + LIN interface integration for appliance and sensor control systems.
Technical Context
The R5F213J4TNNP implements the R8C CPU core with 89 fundamental instructions and supports single-chip mode across a 1 Mbyte address space. Its memory architecture includes dedicated SFR regions (00000h–002FFh, 02C00h–02FFFh), fixed interrupt vector table (0FFDCh–0FFFFh), and segmented flash layout (program ROM at 08000h–0BFFFh, data flash at 03000h–03FFFh).
Peripheral subsystems are tightly coupled via dedicated SFRs: Timer RC uses TRCMR (0120h) and TRCCR1 (0121h) for capture/compare/PWM; UART2 leverages U2MR (00A8h), U2C0 (00ACh), and U2SMR (00BFh); LIN functionality shares Timer RA and UART0 resources with LINCR (0106h) and LINST (0107h) registers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 8-bit core with 89 instructions; enables compact firmware and deterministic timing for real-time control loops. |
| Max Operating Frequency | 20 MHz at VCC = 2.7–5.5 V; delivers 50 ns minimum instruction execution time for responsive system control. |
| Memory | 16 KB program flash, 1.5 KB RAM, 4 KB data flash (1 KB × 4 blocks) with BGO-supports in-field firmware updates without halting execution. |
| Analog Interface | 10-bit ADC with 12 channels and sample-and-hold; enables simultaneous sensing of multiple analog sensors (e.g., thermistors, potentiometers). |
| Low-Power Modes | Wait mode (3.5 µA @ 3.0 V), stop mode (2.0 µA @ 3.0 V); extends battery life in portable consumer devices. |
| Package | 40-pin HXQFN (PXQN0040LA-A), 5 mm × 5 mm, 0.4 mm pitch-provides high I/O density in space-constrained PCB layouts. |
| Temperature Range | −20°C to +85°C (N version); certified for industrial and automotive cabin-adjacent applications. |
Pinout & Package
Package: 40-pin HXQFN (PXQN0040LA-A), 5 mm × 5 mm body, 0.4 mm pin pitch, exposed thermal pad.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / AVCC | Power supply input / Analog reference | Single 1.8–5.5 V supply powers digital logic and ADC; AVCC requires local decoupling for noise-sensitive analog measurements. |
| RESET | Active-low reset input | Asynchronous reset signal; must be held low ≥100 ns to initiate full system initialization sequence. |
| XIN / XOUT | Ceramic resonator/crystal interface | Supports external 20 MHz crystal or ceramic resonator; internal oscillators provide clock fallback during XIN failure. |
| P0_0–P0_7 | General-purpose I/O with touch sensing | Eight CMOS ports configurable as ADC inputs (AN0–AN7), capacitive touch channels (CHxC/CHxB/CHxA), or LED drivers. |
| UART0 TXD0/RXD0 | Asynchronous serial interface | Full-duplex UART for host MCU communication or debug console; supports baud rates up to 1 Mbps at 20 MHz system clock. |
| LIN_TX / LIN_RX | LIN bus physical layer | Dedicated LIN transceiver pins (shared with TRAO/TRBO and UART0 signals) enable ISO 9141-2/SAE J2602 compliance for automotive sub-networks. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming proceeds concurrently with CPU code execution-enables seamless over-the-air updates in running systems. |
| Hardware Multiplier | 16×16→32-bit multiply and multiply-accumulate (MAC) units accelerate motor control algorithms and digital filtering computations. |
| Sensor Control Unit | 22-channel electrostatic capacitive touch detection with CH0–CH21 and SCUTRG trigger-replaces mechanical buttons in appliance UIs with low-BOM cost. |
| Dual UART + I²C + LIN | UART0 (debug), UART2 (I²C/SPI/SSU/multi-processor), and hardware LIN module reduce external IC count for multi-protocol communication stacks. |
| Voltage Detection | Three-level voltage monitor (VDD, VDET0, VDET1) with programmable thresholds ensures reliable brown-out reset and power-fail warning in unstable supply environments. |
Applications
| Home Appliance Control | Office Equipment Motor Drive |
|---|---|
Use Scenario: Microcontroller in washing machine main board managing water valve actuation, motor speed control, and user interface feedback. IC Role / Device Role / Timing Role: Primary system controller executing real-time PID loops, reading 12-channel ADC for current/voltage sensing, and driving PWM outputs to triac-based motor drivers. Use Value: Integrated 16-bit multiplier and 10-bit ADC eliminate need for external signal conditioning and math acceleration ICs, reducing BOM cost by $0.32/unit. | Use Scenario: Embedded controller in laser printer paper feed mechanism synchronizing stepper motor motion with optical encoder feedback. IC Role / Device Role / Timing Role: Timing-critical motion sequencer using Timer RC's input capture to decode quadrature encoder signals and generate precise step pulses via PWM output pins. Use Value: 16-bit Timer RC with 4 capture/compare registers enables sub-millisecond position resolution without external timing peripherals. |
| Audio System Power Management | Automotive Body Control Module |
Use Scenario: Standby power supervisor in smart speaker that monitors AC adapter presence and manages deep-sleep wake-up via IR remote or voice trigger. IC Role / Device Role / Timing Role: Low-power supervisor monitoring VCC, detecting key input interrupts (KI0–KI3), and transitioning between stop mode (2.0 µA) and active mode on event. Use Value: Stop-mode current of 2.0 µA at 3.0 V extends battery backup runtime to >18 months-meeting Energy Star Level 6 requirements. | Use Scenario: Door module controller communicating with central ECU via LIN bus while monitoring window switch status and controlling mirror motors. IC Role / Device Role / Timing Role: LIN protocol handler using hardware LIN module (Timer RA + UART0) and 12-channel ADC to read potentiometer-based mirror position feedback. Use Value: On-chip LIN transceiver eliminates discrete LIN PHY, reducing component count by one and improving EMC robustness per ISO 11898-4. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213J5TNNP | 24 KB program ROM, 2 KB RAM-adds 8 KB code space and 512 B RAM vs. R5F213J4TNNP. | Required for larger firmware images with USB stack or advanced GUI rendering; same pinout and peripheral set. | Select when firmware size exceeds 16 KB or additional RAM is needed for buffer-intensive protocols. |
| R5F213J6TNNP | 32 KB program ROM, 2.5 KB RAM-doubles ROM and adds 1 KB RAM over R5F213J4TNNP. | Suitable for complex motor control with field-oriented control (FOC) algorithms requiring large lookup tables and real-time math buffers. | Choose for next-generation designs needing headroom for feature expansion without PCB redesign. |
Compared with R5F213J4TNNP, the R5F213J5TNNP and R5F213J6TNNP offer incremental memory scaling within identical 40-pin HXQFN packaging and peripheral compatibility-enabling platform reuse while accommodating firmware growth without layout changes.
Availability
R5F213J4TNNP is available at Aetrix Electronics and suitable for home appliance control, office equipment motor drive, and automotive body electronics requiring stable component supply across extended production lifecycles.
Supply support for R5F213J4TNNP 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 IoT markets.
The R8C/3JT Group targets cost-sensitive, low-power embedded control applications where integrated peripherals, flash flexibility, and industrial temperature operation are critical-such as white goods, audio systems, and automotive sub-systems.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F213J4TNNP?
The R5F213J4TNNP operates at up to 20 MHz when supplied with 2.7 V to 5.5 V. At lower voltages (1.8 V to 5.5 V), the maximum frequency is reduced to 5 MHz to maintain timing margins. This dual-voltage/frequency capability allows flexible power optimization in battery-powered and line-powered designs without changing the R5F213J4TNNP part number.
Does the R5F213J4TNNP support in-application programming (IAP) of its data flash memory?
Yes, the R5F213J4TNNP supports background operation (BGO) for data flash, enabling R5F213J4TNNP firmware to erase and reprogram 1 KB data flash blocks while continuing normal program execution. This capability is essential for logging sensor data or storing calibration parameters without system interruption.
How many analog-to-digital converter (ADC) channels does the R5F213J4TNNP provide, and what is their resolution?
The R5F213J4TNNP integrates a 10-bit successive-approximation ADC with 12 input channels (AN0–AN11), including sample-and-hold functionality and sweep mode for automatic channel sequencing. This ADC configuration supports simultaneous monitoring of multiple analog sensors-such as temperature, light, and position-in a single R5F213J4TNNP device.
What peripheral interfaces are available on the R5F213J4TNNP for communication with external devices?
The R5F213J4TNNP provides UART0, UART2 (with I²C, SPI, and SSU modes), and a hardware LIN module. UART2's I²C mode supports standard 100 kHz/400 kHz bus speeds, while the LIN module complies with ISO 9141-2 and SAE J2602, allowing direct connection to automotive LIN networks without external transceivers.
Is the R5F213J4TNNP pin-compatible with other members of the R8C/3JT Group, such as R5F213J5TNNP or R5F213J6TNNP?
Yes, the R5F213J4TNNP shares identical 40-pin HXQFN packaging (PXQN0040LA-A), pin assignments, and peripheral register mapping with R5F213J5TNNP and R5F213J6TNNP. This pin-to-pin compatibility allows direct substitution during prototyping or production ramp-up when increased memory capacity is required-no PCB layout change is needed for migration between these R8C/3JT Group variants.
R5F213J4TNNP#W4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 40-XFQFN Exposed Pad
- Series:
- R8C/3x/3JT
- Packaging:
- Bulk
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- I2C, UART/USART
- Peripherals:
- POR, PWM, Voltage Detect, WDT
- Number of I/O:
- 31
- 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 12x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F213J4TNNP#W4 FAQ
1.How can I place an order for R5F213J4TNNP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213J4TNNP#W4 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 R5F213J4TNNP#W4 reliable?
The price and inventory of R5F213J4TNNP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213J4TNNP#W4 is usually 5 days.
3.What payment methods are accepted for R5F213J4TNNP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213J4TNNP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213J4TNNP#W4?
R5F213J4TNNP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213J4TNNP#W4 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 R5F213J4TNNP#W4?
For technical support, including R5F213J4TNNP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213J4TNNP#W4 requirements.
6.How does Aetrix verify that R5F213J4TNNP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F213J4TNNP#W4 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 R5F213J4TNNP#W4 meets industry standards.
7.What is the process for return or replacement of R5F213J4TNNP#W4?
All R5F213J4TNNP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213J4TNNP#W4, 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 R5F213J4TNNP#W4 part is unused and in its original packaging.
Return procedure for R5F213J4TNNP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213J4TNNP#W4 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…

