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

- Shipping:

Inventory:650
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104EHGNA#20 from Renesas is a 40-pin HWQFN-packaged RL78/G14 16-bit microcontroller with 128 KB flash, 16 KB RAM, and 8 KB data flash, operating from 1.6–5.5 V at -40 to +105°C (industrial G-grade). It delivers 44 DMIPS at 32 MHz, features ultra-low-power HALT/STOP/SNOOZE modes (66 μA/MHz active, 0.60 μA RTC+LVD), and integrates A/D, D/A, timers, UART/I²C/CSI interfaces, and on-chip oscillators for embedded control in motor drives and sensor nodes.
For engineers reviewing the R5F104EHGNA#20 datasheet, R5F104EHGNA#20 pinout, R5F104EHGNA#20 application, or R5F104EHGNA#20 equivalent, key selection criteria include industrial temperature support (−40°C to +105°C), 40-pin HWQFN (6 × 6 mm, 0.5 mm pitch) footprint compatibility, integrated 12-bit RTC with calendar/alarm, and background data flash rewriting capability (1M write cycles).
Technical Context
The R5F104EHGNA#20 implements the RL78 CPU core with CISC architecture and 3-stage pipeline, supporting instruction execution times from 0.03125 µs (32 MHz high-speed mode) to 30.5 µs (32.768 kHz low-speed mode). It includes a Data Transfer Controller (DTC) with chain transfer and an Event Link Controller (ELC) enabling direct peripheral-to-peripheral event routing without CPU intervention.
Its mixed-signal subsystem comprises an 8/10-bit A/D converter (up to 20 channels, internal 1.45 V reference, temperature sensor), dual-channel 8-bit D/A with real-time output, and up to two comparators with window/high-speed/low-speed modes. Power management includes on-chip POR, 14-level LVD with interrupt/reset options, and REGC capacitor-based voltage regulation.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/divide/accumulate instructions |
| Max Clock Speed | 32 MHz (44 DMIPS); high-accuracy on-chip oscillator selectable from 1–64 MHz ±1.0% over full voltage/temperature range |
| Memory | 128 KB code flash (1 KB block size), 8 KB data flash (1M rewrite cycles), 16 KB RAM |
| Power Consumption | 66 μA/MHz active current; 0.60 μA in STOP mode with RTC + LVD enabled |
| Analog Peripherals | 8/10-bit A/D (20 ch, internal 1.45 V ref, temp sensor), 8-bit D/A (2 ch, 0–VDD output), 2 comparator channels |
| Timers & RTC | 12× 16-bit timers (TAU/Timer RJ/RD/RG), 12-bit interval timer, calendar RTC (99-year, alarm, clock correction) |
| Serial Interfaces | 3–4 UART/LIN channels, 4–10 I²C/simplified I²C channels, 3–8 CSI (SPI-compatible) channels |
Pinout & Package
Package: 40-pin HWQFN (6 × 6 mm, 0.5 mm pitch), exposed die pad recommended to be connected to VSS. Industrial-grade (G) operation from −40°C to +105°C.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00/P01 | TxD1/RxD1/TO00/TI00 | UART1 transceiver + 16-bit timer input/output for motor phase timing or serial comms |
| P10–P17 | SCK11/SI11/SO11/UART2/INTP5/TRDIOx | Multiplexed CSI/I²C/UART2 pins with programmable peripheral redirection via PIOR registers |
| P20–P27 | ANI0–ANI7/AVREFP/AVREFM/ANO0/ANO1 | 8-channel analog input bank with dedicated reference voltage inputs and analog outputs |
| P30/P31 | RTC1HZ/SCK00/INTP3/TI03/TO03 | Real-time clock output + SPI master clock + 16-bit timer I/O for encoder or PWM sync |
| P50/P51 | SI00/SO00/RxD0/TxD0/TOOLRxD/TOOLTxD | UART0 debug interface with on-chip debugger support and tool communication path |
| P60–P62 | SCLA0/SDAA0/SSI00 | I²C master/slave interface + synchronous serial interface for EEPROM or sensor comms |
| P70–P73 | KR0–KR3/SCK21/SI21/SO21 | Keypad interrupt inputs + secondary CSI interface for auxiliary peripherals |
| RESET/REGC/VDD/VSS | Reset, regulator capacitor, supply rails | REGC requires 0.47–1 µF capacitor to VSS; VDD operates 1.6–5.5 V; RESET is active-low |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power STOP mode | 0.60 μA consumption with RTC and LVD active-enables battery-powered operation for >10 years |
| Background data flash rewrite | Execute code from flash while rewriting data flash (BGO), enabling firmware updates without interruption |
| Event Link Controller (ELC) | Direct hardware linking of 19–26 peripheral events eliminates CPU polling overhead and reduces latency |
| On-chip debug with flash shield | Secure boot swapping and flash shield window prevent unauthorized access during development and field updates |
| Dual-voltage I/O capability | Interface directly with 1.8 V, 2.5 V, or 3 V external logic without level shifters |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Closed-loop BLDC motor control in HVAC blowers with thermal monitoring and LIN communication. IC Role / Device Role / Timing Role: Main system controller executing FOC algorithm, managing 3-phase PWM generation via TAU timers, and sampling current/voltage via 10-bit A/D. Use Value: Integrated 128 KB flash stores complex control firmware; 0.60 μA STOP mode enables standby during idle periods without external wake-up circuitry. | Use Scenario: Battery-powered environmental sensor node measuring temperature, humidity, and CO₂ with wireless upload. IC Role / Device Role / Timing Role: Sensor hub aggregating data via I²C, performing local calibration using internal temperature sensor and 1.45 V reference, and scheduling transmissions via RTC alarm. Use Value: 66 μA/MHz active current extends battery life; background data flash rewrite allows over-the-air configuration updates without halting sensor acquisition. |
| Home Appliance UI | Industrial PLC I/O Module |
Use Scenario: Touchless keypad and display driver in microwave oven with safety interlock monitoring. IC Role / Device Role / Timing Role: Keypad scan controller (KR0–KR3), buzzer output (PCLBUZ0/1), and safety-critical GPIO monitoring via INTP0–INTP5 with fast response. Use Value: Hardware keypad interrupt capability reduces CPU load; dual comparator channels validate door switch thresholds independently of software timing. | Use Scenario: DIN-rail mounted digital I/O expansion module with isolated inputs and relay drivers. IC Role / Device Role / Timing Role: Protocol bridge between Modbus RTU (UART2) and local GPIO/timer-controlled relay timing (TO03/TO00). Use Value: 40-pin HWQFN provides sufficient I/O (26–92 total) for discrete signal handling; industrial G-grade rating ensures reliability in factory ambient conditions. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104EGGNA#20 | 96 KB flash, 12 KB RAM, 8 KB data flash; identical package, pinout, and peripheral set | Lower memory capacity suits simpler control tasks without firmware expansion headroom | Select when application firmware fits within 96 KB and cost sensitivity outweighs future scalability needs |
| R5F104FHGNA#20 | 192 KB flash, 20 KB RAM, 8 KB data flash; same 40-pin HWQFN package and G-grade temperature range | Higher memory supports larger protocol stacks (e.g., full Modbus TCP offload) or dual-application partitioning | Choose for designs requiring firmware growth margin or concurrent real-time + connectivity tasks |
Compared with R5F104EGGNA#20, the R5F104EHGNA#20 provides 32 KB additional flash and 4 KB more RAM for enhanced feature integration, while R5F104FHGNA#20 further extends memory headroom-making the R5F104EHGNA#20 the optimal balance of capacity, cost, and industrial robustness for mid-complexity embedded control.
Availability
R5F104EHGNA#20 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, home appliance UIs, and PLC I/O modules requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F104EHGNA#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, power, and SoC solutions for automotive, industrial, and IoT markets.
The RL78/G14 product line delivers true low-power 16-bit MCUs optimized for cost-sensitive, energy-constrained industrial and consumer applications requiring high integration and long-term reliability.
FAQ
What is the operating temperature range for the R5F104EHGNA#20?
The R5F104EHGNA#20 is rated for industrial applications with an operating ambient temperature range of −40°C to +105°C (G-grade), validated across its full 1.6–5.5 V supply range and all specified peripheral functions including RTC, A/D, and oscillators.
Does the R5F104EHGNA#20 support in-system programming via standard interfaces?
Yes, the R5F104EHGNA#20 supports on-chip debugging and self-programming via its built-in UART0 interface (P50/P51) using the Renesas Flash Programmer or E2 studio tools. It includes boot swapping and flash shield window protection to secure firmware updates.
How many analog input channels does the R5F104EHGNA#20 provide, and what reference options are available?
The R5F104EHGNA#20 provides up to 20 analog input channels (ANI0–ANI19) with selectable reference voltages: external AVREFP/AVREFM pins or internal 1.45 V reference. The A/D converter supports both 8-bit and 10-bit resolution modes across the full 1.6–5.5 V supply range.
Is the R5F104EHGNA#20 pin-compatible with other RL78/G14 variants in the 40-pin HWQFN package?
Yes, all RL78/G14 devices in the 40-pin HWQFN package-including R5F104EHGNA#20, R5F104EGGNA#20, and R5F104FHGNA#20-share identical pinouts, electrical characteristics, and peripheral mappings, enabling drop-in memory-scaling upgrades without PCB changes.
What power-saving modes are available on the R5F104EHGNA#20, and what peripherals remain active in each?
The R5F104EHGNA#20 offers HALT (CPU stopped, peripherals active), STOP (CPU/peripherals halted except RTC, LVD, and reset circuit), and SNOOZE (selected peripherals like UART or A/D operate while CPU sleeps). In STOP mode, only RTC, LVD, and reset logic consume 0.60 μA-critical for battery longevity.
R5F104EHGNA#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):
- 2.4V ~ 5.5V
- Data Converters:
- A/D 9x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104EHGNA#20 FAQ
1.How can I place an order for R5F104EHGNA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104EHGNA#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 R5F104EHGNA#20 reliable?
The price and inventory of R5F104EHGNA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104EHGNA#20 is usually 5 days.
3.What payment methods are accepted for R5F104EHGNA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104EHGNA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104EHGNA#20?
R5F104EHGNA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104EHGNA#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 R5F104EHGNA#20?
For technical support, including R5F104EHGNA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104EHGNA#20 requirements.
6.How does Aetrix verify that R5F104EHGNA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104EHGNA#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 R5F104EHGNA#20 meets industry standards.
7.What is the process for return or replacement of R5F104EHGNA#20?
All R5F104EHGNA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104EHGNA#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 R5F104EHGNA#20 part is unused and in its original packaging.
Return procedure for R5F104EHGNA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104EHGNA#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…

