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

- Shipping:

Inventory:625
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GHGNA#20 from Renesas Electronics is a 48-pin LFQFP, 128 KB flash, 16 KB RAM, 8 KB data flash RL78/G14 16-bit microcontroller operating at up to 32 MHz with 44 DMIPS, ultra-low power consumption (66 μA/MHz active, 0.60 μA RTC+LVD), and industrial-grade −40°C to +105°C operation for embedded control in motor drives, sensor nodes, and industrial HMI.
For engineers reviewing the R5F104GHGNA#20 datasheet, R5F104GHGNA#20 pinout, R5F104GHGNA#20 application, or R5F104GHGNA#20 equivalent, key selection criteria include its 48-pin LFQFP-0.5 mm package, integrated 10-bit 20-channel ADC, dual UART/LIN support, real-time clock with calendar, and hardware DTC/ELC for deterministic peripheral event handling without CPU intervention.
Technical Context
The R5F104GHGNA#20 implements the RL78 CPU core with 3-stage pipeline CISC architecture, supporting instruction execution times from 0.03125 µs (32 MHz) to 30.5 µs (32.768 kHz), multiply/divide/accumulate instructions, and 1 MB address space. It integrates a high-accuracy ±1.0% on-chip oscillator (1–64 MHz selectable) and supports HALT/STOP/SNOOZE low-power modes.
Peripheral integration includes Timer Array Unit (TAU) with 8 channels, 12-bit interval timer, RTC with alarm/calendar, watchdog timer, 8-bit DAC (2-channel), two comparators, and serial interfaces: 3–4 UART/LIN, 3–8 CSI, and 4–10 I²C channels - all configurable via Event Link Controller (ELC) for autonomous event chaining.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline, 44 DMIPS @ 32 MHz |
| Flash / Data Flash / RAM | 128 KB code flash, 8 KB data flash (1M rewrite cycles), 16 KB SRAM |
| Operating Voltage / Temp | 1.6 V to 5.5 V supply; −40°C to +105°C ambient (G-grade industrial) |
| Power Consumption | 66 μA/MHz active current; 0.60 μA in STOP mode with RTC + LVD active |
| Analog Peripherals | 10-bit 20-channel ADC (VDD-referenced), 8-bit dual-channel DAC, two comparators |
| Timers & Clock | 8× 16-bit TAU timers, 1× 12-bit interval timer, RTC with calendar/alarm/correction |
| Serial Interfaces | 4× UART/LIN, 3× CSI, 4× I²C; all support ELC-triggered autonomous operation |
Pinout & Package
Package: 48-pin LFQFP (7 × 7 mm, 0.5 mm pitch), RoHS-compliant, moisture sensitivity level 3.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P10–P17 | Multi-function I/O (UART, CSI, I²C, timer I/O, comparator) | Configurable peripheral interface pins supporting LIN bus, SPI-like CSI, and hardware event linking via ELC |
| P20–P27 | Analog input group (ANI0–ANI7, AVREFP/M, VCOUT0/1) | Dedicated ADC input channels with internal reference and temperature sensor support |
| P30–P31 | RTC1HZ, INT, timer I/O, buzzer output | Real-time clock output and interrupt-capable general-purpose I/O with programmable pull-up |
| P40–P41 | Debug/programming (TOOL0, TRJIO0) | On-chip debug interface pins for flash programming and real-time trace without external emulator |
| P50–P51 | UART0 (RxD0/TxD0), tool interface (TOOLRxD/TOOLTxD) | Primary asynchronous serial channel with dedicated debug UART functionality |
| P60–P62 | I²C (SCLA0/SDAA0), SSI00, KR0–KR2 | Hardware I²C master/slave interface and synchronous serial I/O for sensor or memory expansion |
| P70–P75 | Key return inputs (KR0–KR5), UART1/SPI1 | Low-power key wake-up inputs with built-in debounce and dedicated serial peripheral functions |
| RESET, REGC, VDD, VSS, X1/X2 | Reset control, regulator capacitor, power, crystal | Standard MCU power/reset/clock infrastructure; REGC requires 0.47–1 µF capacitor to VSS |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power architecture | 0.60 μA STOP mode with RTC + LVD enables decade-scale battery life in metering and sensor applications |
| Self-programmable flash | Boot swapping and flash shield window enable secure firmware updates without external programmer |
| Background data flash rewrite | BGO allows full CPU execution from program memory during 1M-cycle data flash writes - no runtime interruption |
| Event Link Controller (ELC) | Links 19–26 peripheral events (e.g., ADC end → DMA trigger → GPIO toggle) without CPU involvement |
| Hardware Data Transfer Controller | DTC handles memory-to-peripheral transfers autonomously, reducing CPU load by >30% in sensor acquisition loops |
| Integrated LIN transceiver support | UART peripherals meet ISO 17987-4 electrical specs with automatic sync-break detection and checksum generation |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
|
Use Scenario: Closed-loop BLDC motor control in HVAC blowers and pump drivers requiring precise timing, analog sensing, and LIN communication. IC Role / Device Role / Timing Role: Main system controller executing FOC algorithms, sampling current/voltage via 10-bit ADC, generating PWM via TAU, and reporting status over LIN. Use Value: Integrated 16-bit timers with dead-time insertion and 66 μA/MHz efficiency reduce thermal load and extend inverter lifespan. |
Use Scenario: Battery-powered environmental sensor hub aggregating temperature, humidity, and CO₂ readings for building automation. IC Role / Device Role / Timing Role: Low-power host managing I²C sensors, logging data to data flash, waking on interrupt or RTC alarm, and transmitting via UART to gateway. Use Value: 0.60 μA STOP mode with RTC calendar enables scheduled wake-ups every 10 minutes for 10+ years on CR2032. |
| Industrial HMI Panel | Factory Asset Monitor |
|
Use Scenario: Touch-enabled local operator interface for PLC-connected machinery with LED indicators and buzzer alerts. IC Role / Device Role / Timing Role: UI processor driving segment LCD/buzzer, scanning capacitive keys, communicating with main controller via UART/I²C, and managing power states. Use Value: On-chip key interrupt and PCLBUZ0/1 outputs eliminate external key scan ICs and audio drivers. |
Use Scenario: Vibration and temperature monitor mounted on rotating equipment, performing edge analytics before sending alerts wirelessly. IC Role / Device Role / Timing Role: Real-time data acquisition engine using ADC + DTC + ELC to capture and pre-process sensor streams autonomously. Use Value: Hardware DTC offloads 100% of ADC→RAM transfer; ELC chains ADC completion → DMA → GPIO flag, enabling sub-10 µs response. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GLGNA#20 | 512 KB flash, 48 KB RAM, same 48-pin LFQFP package and peripheral set | Supports larger firmware (e.g., OTA stacks, multi-protocol stacks) without layout change | Select when future firmware growth or dual-bank secure boot is required |
| R5F104GHANA#20 | Same 128 KB flash, 16 KB RAM, but A-grade (−40°C to +85°C) and LQFP-0.8 mm pitch | Suitable for consumer-grade cost-sensitive designs where extended temperature is not needed | Choose for lower-cost assembly and non-industrial environments |
Compared with R5F104GHGNA#20, R5F104GLGNA#20 provides 4× more flash for complex firmware while maintaining identical pinout and peripherals, whereas R5F104GHANA#20 trades industrial temperature rating for lower PCB assembly cost and wider pitch tolerance.
Availability
R5F104GHGNA#20 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, and factory asset monitoring requiring stable component supply across long-lifecycle production programs.
Supply support for R5F104GHGNA#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 industrial and consumer applications requiring robust analog integration, LIN/UART connectivity, and ultra-low standby current.
FAQ
What is the maximum operating frequency and corresponding DMIPS performance of the R5F104GHGNA#20?
The R5F104GHGNA#20 operates at up to 32 MHz with a measured performance of 44 DMIPS. This is achieved using the RL78 CPU core's 3-stage pipeline and optimized instruction set, including hardware multiply/divide. The high-speed on-chip oscillator supports ±1.0% accuracy across 1.8–5.5 V and −40°C to +105°C, eliminating need for external crystal in many applications.
Does the R5F104GHGNA#20 support LIN bus communication, and which UART channels are compliant?
Yes, the R5F104GHGNA#20 supports LIN 2.2 and SAE J2602 via its UART peripherals - specifically UART0 (P50/P51) and UART2 (P13/P14) - with built-in sync-break detection, checksum generation, and auto-wake capabilities. No external LIN transceiver is required for basic node functionality, though an external driver is needed for bus physical layer compliance.
What are the data flash endurance and voltage requirements for rewriting the R5F104GHGNA#20?
The R5F104GHGNA#20 features 8 KB of data flash rated for 1,000,000 write/erase cycles (typical) with background operation (BGO) enabled. Rewrites are supported across the full operating voltage range of 1.8 V to 5.5 V, allowing in-system updates without power sequencing constraints. The flash library reserves RAM starting at address FE900H for self-programming operations.
How does the Event Link Controller (ELC) enhance real-time responsiveness in the R5F104GHGNA#20?
The ELC in the R5F104GHGNA#20 enables up to 26 peripheral events (e.g., ADC conversion complete, timer match, UART receive) to trigger other peripherals directly - such as initiating a DTC transfer or toggling a GPIO - without CPU intervention. This reduces interrupt latency to <100 ns and frees the CPU for higher-layer tasks, critical in deterministic control loops.
What is the pin-compatible upgrade path from the R5F104GHGNA#20 within the RL78/G14 family?
The R5F104GLGNA#20 is a direct pin-compatible upgrade offering 512 KB flash and 48 KB RAM in the same 48-pin LFQFP-0.5 mm package. All peripherals, pin functions, and register maps remain identical - only flash/RAM capacities increase. No PCB or firmware changes are required beyond recompilation and linker script update to utilize expanded memory.
R5F104GHGNA#20 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-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:
- 34
- 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 10x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104GHGNA#20 FAQ
1.How can I place an order for R5F104GHGNA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GHGNA#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 R5F104GHGNA#20 reliable?
The price and inventory of R5F104GHGNA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GHGNA#20 is usually 5 days.
3.What payment methods are accepted for R5F104GHGNA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GHGNA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GHGNA#20?
R5F104GHGNA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GHGNA#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 R5F104GHGNA#20?
For technical support, including R5F104GHGNA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GHGNA#20 requirements.
6.How does Aetrix verify that R5F104GHGNA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104GHGNA#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 R5F104GHGNA#20 meets industry standards.
7.What is the process for return or replacement of R5F104GHGNA#20?
All R5F104GHGNA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GHGNA#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 R5F104GHGNA#20 part is unused and in its original packaging.
Return procedure for R5F104GHGNA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GHGNA#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…

