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

- Shipping:

Inventory:400
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GLGNA#20 from Renesas is a 48-pin HWQFN-packaged 16-bit RL78/G14 microcontroller with 128 KB code flash, 8 KB data flash, and 12 KB RAM, operating from 1.6–5.5 V at up to 32 MHz (44 DMIPS), featuring ultra-low-power HALT/STOP/SNOOZE modes, integrated RTC, 10-bit ADC (16 channels), and UART/I²C/CSI interfaces for industrial sensor control and motor drive applications.
For engineers reviewing the R5F104GLGNA#20 datasheet, R5F104GLGNA#20 pinout, R5F104GLGNA#20 application, or R5F104GLGNA#20 equivalent, key selection criteria include its -40°C to +105°C industrial temperature grade (G), 48-pin 0.5 mm pitch HWQFN package, 128 KB flash/12 KB RAM memory configuration, and support for background data flash rewriting with 1M-cycle endurance.
Technical Context
The R5F104GLGNA#20 implements the RL78 CPU core with 3-stage pipeline, 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 event-link controller (ELC) for hardware-triggered peripheral chaining without CPU intervention.
Power management includes on-chip POR and LVD with 14-level voltage detection, while peripheral subsystems feature Data Transfer Controller (DTC) with chain transfer, 16-bit Timer Array Unit (TAU) with 8 channels, real-time clock with calendar/alarm, and 10-bit A/D converter with internal 1.45 V reference and temperature sensor.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC with 3-stage pipeline, 44 DMIPS @ 32 MHz |
| Flash Memory | 128 KB code flash + 8 KB data flash; 1 KB block size; self-programming with boot swap |
| RAM | 12 KB on-chip RAM; supports flash library operation starting at F3F00H |
| Operating Voltage | 1.6 V to 5.5 V; enables direct interface with 1.8/2.5/3.3 V peripherals |
| Temperature Range | -40°C to +105°C (industrial G-grade); qualified for extended thermal environments |
| Low-Power Modes | HALT (66 μA/MHz), STOP (0.60 μA with RTC+LVD active), SNOOZE for selective peripheral wake-up |
| Analog Peripherals | 10-bit ADC (16 channels, internal 1.45 V ref, temp sensor), 8-bit DAC (2 ch, 0–VDD output) |
Pinout & Package
Package: 48-pin HWQFN (7 × 7 mm, 0.5 mm pitch), exposed die pad recommended to be connected to VSS. Industrial-grade G-suffix confirms extended temperature qualification.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P121/X1 | Crystal input | Connects to 32.768 kHz crystal for RTC and low-speed subsystem clock |
| P122/X2/EXCLK | Crystal output / external clock input | Drives crystal; also accepts external clock up to 20 MHz for precise timing source |
| REGC | Regulator bypass capacitor terminal | Requires 0.47–1 µF capacitor to VSS for internal voltage regulator stability |
| P50/INTP1/SI00/RxD0 | Serial interface input / interrupt pin | Configurable as UART receive, SPI master/slave input, or general-purpose interrupt source |
| P16/TI01/TO01/INTP5 | Timer I/O / interrupt | Supports input capture, PWM output, or external interrupt triggering with priority level 5 |
| P20/ANI0/AVREFP | Analog input / ADC reference positive | Serves as primary analog input channel or positive reference for ADC measurements |
Key Features
| Feature | Design Value |
|---|---|
| Background Data Flash Rewrite | Enables concurrent program execution and flash updates-critical for field firmware upgrades without system halt |
| Event Link Controller (ELC) | Hardware-based peripheral triggering eliminates CPU polling overhead and reduces latency for time-critical tasks |
| Real-Time Clock with Calendar | 99-year calendar, alarm, and clock correction support enables accurate timestamping in energy-metering and logging systems |
| Ultra-Low-Power STOP Mode | 0.60 μA current draw with RTC and LVD active allows multi-year battery life in remote sensor nodes |
| Peripheral I/O Redirection | Dynamic assignment of functions (e.g., UART, CSI, timer) to multiple pins via PIOR registers-simplifies PCB layout reuse |
Applications
| Industrial Motor Control | Smart Energy Metering |
|---|---|
Use Scenario: Closed-loop BLDC motor control in HVAC blowers and pump drives requiring precise timing and analog sensing. IC Role / Device Role / Timing Role: Main system controller executing FOC algorithms, sampling current/voltage via 10-bit ADC, generating PWM via TAU timers, and managing communication via UART/I²C. Use Value: Integrated 128 KB flash stores complex motor control firmware; STOP mode extends runtime in battery-backed fail-safe logic. | Use Scenario: Residential/utility smart meters measuring voltage, current, and power factor with tamper detection and time-of-use billing. IC Role / Device Role / Timing Role: System-on-chip handling metrology ADC sampling, RTC-based tariff switching, secure data logging to data flash, and PLC/RF communication interface. Use Value: 8 KB data flash with 1M rewrite cycles stores decades of metering logs; ±1.0% oscillator accuracy ensures compliant timekeeping. |
| Factory Automation I/O Module | Medical Sensor Hub |
Use Scenario: DIN-rail-mounted digital I/O module converting fieldbus signals (Modbus RTU) to local sensor/actuator control. IC Role / Device Role / Timing Role: Protocol handler and GPIO manager using UART for Modbus, DTC for efficient register mapping, and ELC for deterministic response to input edge events. Use Value: 48-pin HWQFN provides sufficient I/O (up to 42 usable ports) while meeting industrial EMC and thermal requirements. | Use Scenario: Portable patient monitor aggregating ECG, temperature, and SpO₂ signals with local display and Bluetooth LE upload. IC Role / Device Role / Timing Role: Signal acquisition hub performing ADC sampling, temperature compensation via on-chip sensor, RTC-stamped data buffering, and low-power BLE coexistence. Use Value: 0.60 μA STOP mode enables >5-year coin-cell operation; integrated 1.45 V ADC reference improves measurement consistency across supply variation. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GLGFB#30 | Same core, memory, and peripherals; differs only in packaging specification (#30 = embossed tape vs #20 = tray) | Identical functional use; selected for automated SMT line feed compatibility | Preferred for high-volume pick-and-place assembly where tape-and-reel is required |
| R5F104GHGNA#20 | Lower memory config: 96 KB flash, 8 KB data flash, 12 KB RAM; otherwise identical peripheral set and pinout | Suitable for cost-sensitive designs with reduced firmware footprint and data logging depth | Select when application firmware fits within 96 KB and no additional code margin is needed |
Compared with R5F104GLGNA#20, R5F104GLGFB#30 offers identical electrical and functional behavior with tape-and-reel packaging for production lines, while R5F104GHGNA#20 reduces flash capacity by 32 KB-lowering unit cost without altering pin compatibility or peripheral capability.
Availability
R5F104GLGNA#20 is available at Aetrix Electronics and suitable for industrial motor control, smart energy metering, factory automation I/O modules, and medical sensor hubs requiring stable component supply across extended temperature ranges and long product lifecycles.
Supply support for R5F104GLGNA#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 delivering microcontrollers, analog, power, and SoC solutions for automotive, industrial, and IoT markets.
The RL78/G14 family targets cost-sensitive, ultra-low-power industrial and consumer applications requiring robust analog integration, extended temperature operation, and seamless migration from legacy 8/16-bit platforms.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104GLGNA#20?
The R5F104GLGNA#20 operates at up to 32 MHz with the high-speed on-chip oscillator, delivering 44 DMIPS of processing performance. Its RL78 CPU core supports variable instruction execution times-from 0.03125 µs at full speed to 30.5 µs in ultra-low-speed 32.768 kHz mode-enabling dynamic power/performance scaling. This makes the R5F104GLGNA#20 suitable for both responsive real-time control and extended battery-life applications.
Does the R5F104GLGNA#20 support in-system programming and secure firmware updates?
Yes, the R5F104GLGNA#20 supports full in-system programming via its on-chip debug interface and self-programming capability with boot swapping. It includes flash shield window protection and block erase prohibition to prevent unauthorized rewriting. Background operation (BGO) allows code execution from flash while data flash is being rewritten-enabling safe, atomic firmware updates without halting system operation. This functionality is fully implemented in the R5F104GLGNA#20's 128 KB code flash and 8 KB data flash.
What analog features are integrated into the R5F104GLGNA#20, and how are they applied in sensor systems?
The R5F104GLGNA#20 integrates a 10-bit A/D converter with up to 16 input channels, internal 1.45 V reference voltage, and an on-chip temperature sensor. It also includes an 8-bit D/A converter with two output channels and a programmable comparator. In sensor systems, these features enable direct acquisition of thermistor, pressure transducer, or current-sense amplifier outputs-with temperature compensation applied in real time using the on-die sensor. The R5F104GLGNA#20's analog subsystem eliminates need for external references or signal-conditioning ICs in many industrial monitoring designs.
How does the R5F104GLGNA#20 achieve ultra-low power consumption, and what are the key low-power modes?
The R5F104GLGNA#20 achieves ultra-low power via multiple hardware-optimized states: HALT mode draws 66 μA/MHz during active processing; STOP mode consumes just 0.60 μA while maintaining RTC and LVD operation; and SNOOZE mode allows selective peripheral activation (e.g., ADC conversion or UART receive) without waking the CPU. These modes are controlled by dedicated system registers and supported by automatic clock gating. The R5F104GLGNA#20's design enables multi-year operation on coin cells in wireless sensor nodes and battery-backed industrial controllers.
Is the R5F104GLGNA#20 pin-compatible with other RL78/G14 variants, and what package options exist?
The R5F104GLGNA#20 uses a 48-pin HWQFN (7 × 7 mm, 0.5 mm pitch) package with exposed die pad. Within the RL78/G14 family, all 48-pin HWQFN variants-including R5F104GAANA#20, R5F104GHGNA#20, and R5F104GLGNA#20-share identical pinouts and mechanical footprint. This enables hardware reuse across memory configurations. Other package options for this pin count include LFQFP (7 × 7 mm, 0.5 mm pitch), but those are not pin-compatible with the HWQFN variant of the R5F104GLGNA#20.
R5F104GLGNA#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:
- 512KB (512K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 48K 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:
R5F104GLGNA#20 FAQ
1.How can I place an order for R5F104GLGNA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GLGNA#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 R5F104GLGNA#20 reliable?
The price and inventory of R5F104GLGNA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GLGNA#20 is usually 5 days.
3.What payment methods are accepted for R5F104GLGNA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GLGNA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GLGNA#20?
R5F104GLGNA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GLGNA#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 R5F104GLGNA#20?
For technical support, including R5F104GLGNA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GLGNA#20 requirements.
6.How does Aetrix verify that R5F104GLGNA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104GLGNA#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 R5F104GLGNA#20 meets industry standards.
7.What is the process for return or replacement of R5F104GLGNA#20?
All R5F104GLGNA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GLGNA#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 R5F104GLGNA#20 part is unused and in its original packaging.
Return procedure for R5F104GLGNA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GLGNA#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…

