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

- Shipping:

Inventory:775
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GFGNA#20 from Renesas is a 48-pin HWQFN-packaged 16-bit RL78/G14 microcontroller with 96 KB flash, 12 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 (0.60 μA RTC+LVD), and integrates 10-bit ADC (16 ch), UART/SCI/I²C interfaces, RTC, and on-chip debug.
For engineers reviewing the R5F104GFGNA#20 datasheet, R5F104GFGNA#20 pinout, R5F104GFGNA#20 application, or R5F104GFGNA#20 equivalent, key selection criteria include industrial temperature support, integrated data flash rewrite capability (1M cycles), low-voltage operation down to 1.6 V, and hardware event linking via ELC for deterministic peripheral coordination.
Technical Context
The R5F104GFGNA#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). Its Event Link Controller (ELC) enables direct hardware-triggered peripheral activation without CPU intervention across up to 26 event sources.
Power management includes on-chip POR, 14-level LVD with interrupt/reset options, and multiple low-power modes coordinated by dedicated clock control logic. The high-accuracy ±1.0% on-chip oscillator (64–1 MHz selectable) eliminates external crystal requirements for many timing-critical embedded applications.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC with 3-stage pipeline, 44 DMIPS @ 32 MHz |
| Flash Memory | 96 KB code flash + 8 KB data flash; supports background rewriting (BGO) and 1M write cycles |
| RAM | 12 KB on-chip RAM; used by flash library starting at F9F00H address |
| Operating Voltage | 1.6–5.5 V; enables single-supply operation in battery-powered and wide-input industrial systems |
| Temperature Range | -40 to +105°C (G-grade); qualified for industrial ambient environments |
| ADC | 10-bit resolution, 16 analog input channels, internal 1.45 V reference and temperature sensor |
| Package | 48-pin HWQFN (7 × 7 mm, 0.5 mm pitch); exposed die pad recommended for thermal performance |
Pinout & Package
48-pin HWQFN (7 × 7 mm, 0.5 mm pitch) with exposed die pad recommended to be connected to VSS for thermal and electrical stability. REGC requires 0.47–1 µF capacitor to VSS.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; timer input; trace clock A - configurable I/O for serial comms or timing |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output; trace clock B - supports full-duplex SCI communication |
| P10–P17 | SCI/I²C/UART/Timer/Comparator I/O | Multiplexed serial and timing functions (e.g., P13 = TxD2/SO20/TRDIOA1/IVCMP1) - enables flexible peripheral mapping via PIOR registers |
| P20–P27 | ANI0–ANI7 / AVREFP/M / ANO0/1 | 8-channel analog input group with dedicated reference pins; supports simultaneous sampling and internal temp sensing |
| P30–P31 | INTP3/RTC1HZ/SCK00 & INTP4/TI03/TO03/PCLBUZ0 | Real-time clock output and buzzer-capable timer outputs - enables low-power timekeeping and audible feedback |
| P50–P51 | SI00/RxD0/SDA00 & SO00/TxD0/TOOLTxD | On-chip debug interface (TOOLRxD/TOOLTxD) + primary UART channel - allows in-system programming and debugging |
| P121–P122 | X1 / X2 / EXCLK | Crystal oscillator inputs or external clock source - supports precise timing with optional 32.768 kHz RTC crystal |
| RESET / REGC / VDD / VSS | Reset control / regulator capacitor / power rails | REGC decoupling ensures stable internal voltage regulation; RESET is active-low with built-in debouncing |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power operation | 0.60 μA in STOP mode with RTC + LVD active - extends battery life in always-on monitoring nodes |
| Hardware event linking (ELC) | Direct peripheral-to-peripheral triggering without CPU wake-up - reduces latency and power in sensor fusion |
| Data flash BGO | Background rewriting while executing code from main flash - enables seamless firmware updates and logging |
| On-chip debug & self-programming | Full in-circuit debug via TOOL pins; boot swapping and flash shield window protect firmware integrity |
| Different-potential interface | I/O supports 1.8/2.5/3.0 V logic levels - simplifies interfacing with mixed-voltage peripherals |
Applications
| Industrial Motor Control | Smart Energy Metering |
|---|---|
Use Scenario: Compact BLDC motor driver with current sensing, commutation timing, and CAN/UART telemetry. IC Role / Device Role / Timing Role: Main system controller managing PWM generation (TAU timers), ADC sampling (16 ch), and real-time fault response via ELC-linked interrupts. Use Value: 0.60 μA STOP mode enables rapid wake-on-event; 10-bit ADC with internal reference ensures accurate current measurement without external components. | Use Scenario: DIN-rail mounted electricity meter requiring metrology accuracy, tamper detection, and secure firmware updates. IC Role / Device Role / Timing Role: System MCU handling pulse counting (TI0x), RTC calendar, secure data logging to 8 KB data flash, and isolated UART communication. Use Value: 1M-cycle data flash endurance supports >10 years of hourly energy logging; ±1.0% oscillator accuracy meets IEC 62053-21 Class 0.5S timing requirements. |
| Building Automation Sensor Node | Medical Portable Monitor |
Use Scenario: Battery-powered CO₂/temperature/humidity sensor node with BLE gateway interface and local display. IC Role / Device Role / Timing Role: Low-power host MCU acquiring analog sensor data (ADC), driving segment LCD (PCLBUZ), and managing UART-to-BLE bridge. Use Value: SNOOZE mode reduces average current during sensor polling; 1.6 V minimum supply enables operation until primary battery reaches 1.8 V cutoff. | Use Scenario: Handheld pulse oximeter requiring analog front-end control, LED drive timing, and clinical data storage. IC Role / Device Role / Timing Role: Signal processor coordinating synchronized red/IR LED timing (TO0x), ADC sampling (ANI0–ANI7), and nonvolatile parameter storage. Use Value: On-chip temperature sensor calibrates LED drive current; 8 KB data flash stores calibration coefficients with BGO for zero-interrupt logging. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GGFNA#20 | 128 KB flash, 16 KB RAM, same package/temp grade | Supports larger firmware images and more complex protocol stacks (e.g., Modbus TCP + TLS) | Select when additional code space or RAM is required for feature-rich industrial firmware |
| R5F104GJFNA#20 | 192 KB flash, 20 KB RAM, same package/temp grade | Enables dual-bank firmware updates and extended data buffering for edge analytics | Choose for applications needing field-upgradable code with no downtime or enhanced local processing |
Compared with R5F104GFGNA#20, R5F104GGFNA#20 offers 33% more flash for protocol stack expansion, while R5F104GJFNA#20 adds 67% more RAM for real-time signal buffers - both retain identical pinout, peripherals, and low-power behavior, enabling scalable design reuse.
Availability
R5F104GFGNA#20 is available at Aetrix Electronics and suitable for industrial motor control, smart energy metering, building automation sensor nodes, and portable medical monitors requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F104GFGNA#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 targets cost-sensitive, ultra-low-power general-purpose embedded applications requiring robust industrial qualification, integrated analog peripherals, and simplified development with scalable memory options.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104GFGNA#20?
The R5F104GFGNA#20 operates at up to 32 MHz with a measured performance of 44 DMIPS. This rating is achieved using the RL78 CPU core's 3-stage pipeline and optimized instruction set, including multiply/divide operations. The high-speed on-chip oscillator supports this frequency without external components, and the device maintains full functionality across its entire 1.6–5.5 V supply range and -40 to +105°C temperature envelope.
Does the R5F104GFGNA#20 support background data flash rewriting while executing application code?
Yes, the R5F104GFGNA#20 supports Background Operation (BGO) for data flash rewriting. While the 8 KB data flash is being rewritten, the CPU can continue executing instructions from code flash memory. This capability enables seamless firmware parameter updates, event logging, or calibration storage without interrupting real-time tasks - critical for industrial controllers and medical devices requiring continuous operation.
What are the key low-power modes available on the R5F104GFGNA#20 and their typical current consumption?
The R5F104GFGNA#20 provides HALT, STOP, and SNOOZE modes. In STOP mode with only RTC and LVD active, it draws 0.60 μA (typical); HALT mode consumes 66 μA/MHz (e.g., ~2.1 μA at 32 MHz). SNOOZE mode allows selected peripherals (e.g., ADC, UART) to operate while CPU sleeps, reducing average power in duty-cycled sensor applications. All modes retain RAM content and support fast wake-up via interrupts or RTC alarm.
How many analog input channels and what ADC resolution does the R5F104GFGNA#20 provide?
The R5F104GFGNA#20 integrates a 10-bit successive-approximation ADC with up to 16 analog input channels (ANI0–ANI15 mapped across P20–P27 and other pins). It includes an internal 1.45 V reference voltage and on-die temperature sensor, enabling accurate voltage and thermal measurements without external references. Conversion time is programmable, and results are accessible via DMA or CPU read for real-time control loops.
Is the R5F104GFGNA#20 pin-compatible with other RL78/G14 variants in the same 48-pin HWQFN package?
Yes, all RL78/G14 devices in the 48-pin HWQFN package (including R5F104GFGNA#20, R5F104GGFNA#20, and R5F104GJFNA#20) share identical pinouts, electrical characteristics, and peripheral mappings. Differences are limited to flash/RAM capacity and factory-programmed features - enabling drop-in upgrades during design iteration or production ramp without PCB changes.
R5F104GFGNA#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:
- 96KB (96K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 12K 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:
R5F104GFGNA#20 FAQ
1.How can I place an order for R5F104GFGNA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GFGNA#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 R5F104GFGNA#20 reliable?
The price and inventory of R5F104GFGNA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GFGNA#20 is usually 5 days.
3.What payment methods are accepted for R5F104GFGNA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GFGNA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GFGNA#20?
R5F104GFGNA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GFGNA#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 R5F104GFGNA#20?
For technical support, including R5F104GFGNA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GFGNA#20 requirements.
6.How does Aetrix verify that R5F104GFGNA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104GFGNA#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 R5F104GFGNA#20 meets industry standards.
7.What is the process for return or replacement of R5F104GFGNA#20?
All R5F104GFGNA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GFGNA#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 R5F104GFGNA#20 part is unused and in its original packaging.
Return procedure for R5F104GFGNA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GFGNA#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…

