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

- Shipping:

Inventory:750
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104EHANA#20 from Renesas is a 40-pin HWQFN-packaged 16-bit RL78/G14 microcontroller with 128 KB flash, 16 KB RAM, and 8 KB data flash, operating from 1.6–5.5 V at -40°C to +85°C (A-grade). It delivers 44 DMIPS at 32 MHz, features ultra-low power consumption (66 μA/MHz active, 0.60 μA in RTC+LVD mode), and integrates 12-bit ADC (16 channels), UART/SCI/I²C interfaces, and real-time clock with calendar support - deployed in battery-powered industrial sensors and smart metering endpoints.
For engineers reviewing the R5F104EHANA#20 datasheet, R5F104EHANA#20 pinout, R5F104EHANA#20 application, or R5F104EHANA#20 equivalent, key selection criteria include its 40-pin HWQFN-0.5 mm pitch package, 128 KB code flash with self-programming and security lock, integrated 12-bit RTC with alarm/calendar, and dual-voltage I/O compatibility (1.8/2.5/3.0 V interface support).
Technical Context
The RL78 CPU core uses a 3-stage pipeline CISC architecture with configurable instruction timing (0.03125 µs @ 32 MHz to 30.5 µs @ 32.768 kHz), supporting multiply/divide/accumulate operations and 1 MB address space. It includes dedicated low-power modes (HALT, STOP, SNOOZE) and on-chip voltage detector (LVD) with 14 interrupt/reset levels.
Peripheral integration includes Event Link Controller (ELC) for hardware-triggered peripheral chaining, Data Transfer Controller (DTC) with block/repeat transfer and chain function, and background operation (BGO) for concurrent data flash rewriting while executing program code - enabling deterministic real-time response in resource-constrained embedded control.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and 44 DMIPS @ 32 MHz |
| Flash Memory | 128 KB code flash with 1 KB block erase, security lock, and boot swapping |
| Data Flash | 8 KB with 1,000,000 write cycles, BGO support, and 1.8–5.5 V rewrite voltage |
| RAM | 16 KB on-chip SRAM, including dedicated areas for flash library execution |
| ADC | 12-bit resolution, 16-channel analog input, internal 1.45 V reference and temperature sensor |
| RTC | Real-time clock with calendar (99-year range), alarm, and clock correction function |
| Supply Range | 1.6–5.5 V single supply; operates at 1.8 V minimum for low-voltage systems |
| Operating Temp | -40°C to +85°C (A-grade consumer/industrial ambient) |
Pinout & Package
Package: 40-pin HWQFN (6 × 6 mm, 0.5 mm pitch), exposed die pad recommended to be connected to VSS. Pin count and footprint match JEDEC MO-220WEED.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; timer input; trace clock A - supports debug and serial comms |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output; trace clock B - enables full-duplex UART + timing output |
| P10–P17 | SCI/SPI/I²C multi-function ports | Configurable serial interfaces (CSI, UART, I²C) with peripheral I/O redirection - reduces PCB routing complexity |
| P20–P27 | ANI0–ANI7 / AVREFP/M | 8-channel analog input with dedicated reference pins - supports ratiometric sensing without external references |
| P30 | INTP3 / RTC1HZ / SCK00 | RTC 1 Hz output + SPI clock - enables time-stamped data logging and synchronous peripheral control |
| P31 | TI03 / TO03 / INTP4 / PCLBUZ0 | Timer input/output with interrupt and buzzer drive - supports motor commutation or audible alerts |
| P50/P51 | SI00/RxD0/SDA00 & SO00/TxD0 | Secondary UART/I²C/SPI channel with tool interface - enables firmware update via debug port |
| RESET | Active-low reset input | Asynchronous reset with internal POR and LVD - ensures reliable startup under brown-out conditions |
| REGC | Regulator bypass capacitor | Requires 0.47–1 µF capacitor to VSS - critical for internal LDO stability and low-noise operation |
| VDD/VSS | Power supply pins | Single 1.6–5.5 V supply; VSS must connect to exposed die pad - defines operating voltage range and thermal path |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power HALT/STOP modes | 0.60 μA RTC+LVD retention current enables >10-year battery life in coin-cell applications |
| On-chip high-accuracy oscillator | ±1.0% over 1.8–5.5 V and -20–+85°C - eliminates external crystal for cost-sensitive designs |
| Background data flash rewrite | Execute code from flash while updating data flash - enables field firmware updates without interruption |
| Dual-voltage I/O interface | Direct connection to 1.8 V, 2.5 V, or 3.0 V peripherals - avoids level shifters in mixed-voltage systems |
| Event Link Controller (ELC) | Hardware-triggered peripheral chaining (e.g., ADC conversion → DMA transfer → interrupt) - reduces CPU load and jitter |
| Peripheral I/O redirection | Dynamic remapping of SCI/I²C/UART functions to alternate pins - improves PCB layout flexibility |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Residential electricity/water/gas meter with tamper detection, pulse counting, and wireless reporting. IC Role / Device Role / Timing Role: Main system controller managing metrology ADC sampling, RTC-based billing intervals, and secure data flash storage. Use Value: 128 KB flash stores encryption keys and firmware; RTC calendar enables accurate time-of-use billing; low-power STOP mode extends battery life to 15 years. |
Use Scenario: Wireless temperature/humidity/pressure node in factory automation with local data buffering. IC Role / Device Role / Timing Role: Sensor hub aggregating analog inputs, performing calibration, and scheduling BLE/Wi-Fi transmission bursts. Use Value: 16-channel 12-bit ADC captures multi-sensor data; BGO allows logging to data flash during active comms; 0.60 μA RTC mode enables long sleep between readings. |
| Home Appliance Control | Medical Wearable Monitor |
Use Scenario: Washing machine/microwave with motor control, user interface, and safety monitoring. IC Role / Device Role / Timing Role: Real-time motor timing (TO03), touch-key scanning (KR0–KR3), and fault detection via LVD/ADC. Use Value: Timer array unit (TAU) provides precise PWM for BLDC drives; N-ch open-drain I/O interfaces directly with 5 V display drivers; HALT mode reduces standby power. |
Use Scenario: Portable ECG/SpO₂ monitor with analog front-end, motion compensation, and Bluetooth LE upload. IC Role / Device Role / Timing Role: Analog signal acquisition (ANI0–ANI7), real-time digital filtering, and secure data flash storage of patient history. Use Value: Internal 1.45 V reference ensures stable ADC accuracy across battery discharge; 8 KB data flash retains 72 hrs of waveform data; ±1.0% oscillator meets medical timing requirements. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GHANA#20 | 192 KB flash, 20 KB RAM, same 40-pin HWQFN package and peripheral set | Higher code density for complex protocol stacks (e.g., Zigbee SE, DLMS) | Select when firmware exceeds 128 KB or requires larger RAM buffers for network stack |
| R5F104EGANA#20 | 64 KB flash, 5.5 KB RAM, identical package and core architecture | Lower memory footprint for simple control-only tasks (e.g., LED driver, basic timer) | Choose for cost-sensitive, minimal-feature applications where 128 KB is unnecessary |
Compared with R5F104EHANA#20, R5F104GHANA#20 offers scalable code space for future firmware expansion without PCB change, while R5F104EGANA#20 reduces BOM cost where memory headroom is not required - both share identical pinout, timing, and peripheral configuration.
Availability
R5F104EHANA#20 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, and home appliance control requiring stable component supply, long-term lifecycle assurance, and Renesas-authorized traceability.
Supply support for R5F104EHANA#20 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 solutions for automotive, industrial, and IoT markets.
The RL78/G14 family targets general-purpose embedded control with emphasis on ultra-low power, integrated analog, and secure firmware execution - designed for cost-sensitive, battery-operated, and safety-aware applications.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104EHANA#20?
The R5F104EHANA#20 operates up to 32 MHz with a maximum performance of 44 DMIPS. Its RL78 CPU core achieves this using a 3-stage pipeline and supports high-speed on-chip oscillator options including 32 MHz with ±1.0% accuracy across 1.8–5.5 V supply and -20°C to +85°C ambient - enabling deterministic real-time control without external clock components. The R5F104EHANA#20 maintains full peripheral functionality at all supported frequencies.
Does the R5F104EHANA#20 support in-system programming and secure firmware updates?
Yes, the R5F104EHANA#20 supports full in-system programming via its on-chip debug interface and includes flash shield window, block erase prohibition, and boot swapping capabilities. These features allow secure field firmware updates while protecting intellectual property and preventing unauthorized reprogramming - critical for certified smart metering and industrial control deployments using the R5F104EHANA#20.
How many analog input channels does the R5F104EHANA#20 provide, and what ADC resolution is supported?
The R5F104EHANA#20 integrates a 12-bit successive approximation ADC with up to 16 analog input channels (ANI0–ANI15, plus ANI16–ANI19 on specific pins). It includes an internal 1.45 V reference voltage and on-die temperature sensor, enabling accurate ratiometric measurements without external references - a key capability confirmed in the R5F104EHANA#20 datasheet for sensor interface applications.
What low-power modes are available on the R5F104EHANA#20, and what is the lowest achievable current draw?
The R5F104EHANA#20 supports HALT, STOP, and SNOOZE low-power modes. In STOP mode with only RTC and LVD active, it draws just 0.60 μA typical - verified in the RL78/G14 datasheet under TA = 25°C, VDD = 3.0 V. This enables decade-long battery operation in applications such as utility meters and remote sensors using the R5F104EHANA#20.
Is the R5F104EHANA#20 pin-compatible with other RL78/G14 variants in the same package?
Yes, the R5F104EHANA#20 is fully pin-compatible with all other 40-pin HWQFN RL78/G14 variants (e.g., R5F104GHANA#20, R5F104EGANA#20) sharing the NA package code. Pin functions, electrical characteristics, and mechanical footprint are identical - allowing direct substitution within the same memory/feature tier without PCB revision, as confirmed by Renesas' ordering information and pin configuration documentation for the R5F104EHANA#20.
R5F104EHANA#20 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 40-WFQFN Exposed Pad
- Series:
- RL78/G14
- Packaging:
- Tray
- Product Status:
- Last Time Buy
- Programmable:
- Not Verified
- Core Processor:
- RL78
- Core Size:
- 16-Bit
- Speed:
- 32MHz
- Connectivity:
- CSI, I2C, LINbus, UART/USART
- Peripherals:
- DMA, LVD, POR, PWM, WDT
- Number of I/O:
- 28
- Program Memory Size:
- 192KB (192K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 20K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 9x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104EHANA#20 FAQ
1.How can I place an order for R5F104EHANA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104EHANA#20 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 R5F104EHANA#20 reliable?
The price and inventory of R5F104EHANA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104EHANA#20 is usually 5 days.
3.What payment methods are accepted for R5F104EHANA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104EHANA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104EHANA#20?
R5F104EHANA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104EHANA#20 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 R5F104EHANA#20?
For technical support, including R5F104EHANA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104EHANA#20 requirements.
6.How does Aetrix verify that R5F104EHANA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104EHANA#20 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 R5F104EHANA#20 meets industry standards.
7.What is the process for return or replacement of R5F104EHANA#20?
All R5F104EHANA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104EHANA#20, 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 R5F104EHANA#20 part is unused and in its original packaging.
Return procedure for R5F104EHANA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104EHANA#20 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…

