Renesas R5F104GGAFB#X0
- Part No.:
- R5F104GGAFB#X0
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 48-LQFP
- Datasheet:
-
R5F104GGAFB#X0.pdf
- Description:
- IC MCU 16BIT 128KB FLASH 48LFQFP
- Quantity:
- Payment:

- Shipping:

Inventory:2,122
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GGAFB#X0 from Renesas is a 48-pin LFQFP, 0.5 mm pitch, industrial-grade (G) 16-bit RL78/G14 microcontroller with 96 KB flash, 12 KB RAM, and 8 KB data flash. It delivers 44 DMIPS at 32 MHz, operates from 1.6–5.5 V, and supports ultra-low-power modes (0.60 μA in RTC+LVD mode), targeting battery-powered industrial sensors and motor control interfaces.
For engineers reviewing the R5F104GGAFB#X0 datasheet, R5F104GGAFB#X0 pinout, R5F104GGAFB#X0 application, or R5F104GGAFB#X0 equivalent, key selection criteria include its 48-pin LFQFP-0.5 mm package, integrated 10-bit 20-channel ADC, dual UART/LIN support, and -40°C to +105°C industrial temperature rating.
Technical Context
The R5F104GGAFB#X0 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). It integrates a Data Transfer Controller (DTC) for autonomous memory transfers and an Event Link Controller (ELC) enabling hardware-triggered peripheral chaining without CPU intervention.
Its mixed-signal subsystem includes a 10-bit ADC with internal 1.45 V reference and temperature sensor, dual 8-bit DAC channels (0–VDD output), two comparators with window mode, and real-time clock with calendar and alarm functions-enabling self-contained timing and analog monitoring in compact industrial nodes.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/accumulate instructions |
| Max Clock | 32 MHz (44 DMIPS); high-accuracy on-chip oscillator ±1.0% over -20 to +85°C |
| Memory | 96 KB code flash (1 KB blocks), 12 KB RAM, 8 KB data flash (1M rewrite cycles) |
| Power Modes | HALT (66 μA/MHz), STOP (0.60 μA with RTC+LVD active), SNOOZE (low-latency wake-up) |
| Analog Peripherals | 10-bit 20-channel ADC (VDD-referenced, internal 1.45 V ref, temp sensor), dual 8-bit DACs (0–VDD) |
| Serial Interfaces | 3× UART/LIN, 3–8× CSI (SPI-compatible), 4–10× I²C/simplified I²C |
| Timers | 8–12× 16-bit timers (TAU, RJ, RD, RG), 12-bit interval timer, RTC with calendar/alarm |
Pinout & Package
Package: 48-pin LFQFP (7 × 7 mm, 0.5 mm pitch), RoHS-compliant, industrial-grade (G) temperature range (-40°C to +105°C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00/P01 | GPIO / UART1 TX/RX | Dual-function pins supporting serial communication or general-purpose I/O with TTL input buffers and pull-up resistors |
| P10–P17 | Multi-function peripheral I/O | Support CSI, UART, I²C, timer I/O, comparator inputs, and interrupt sources via PIOR register remapping |
| P20–P27 | Analog input / AVREFP/AVREFM | 20-channel ADC inputs with dedicated analog reference pins (AVREFP/AVREFM) and voltage monitor capability |
| P30/P31 | RTC1HZ / Timer I/O | Real-time clock output and timer capture/compare functions with interrupt capability (INTP3/INTP4) |
| P50/P51 | UART0 RX/TX / Debug interface | Primary debug and programming interface (TOOLRxD/TOOLTxD) compatible with E1/E20 emulators |
| RESET / REGC / VDD / VSS | Power & reset management | On-chip POR and LVD with 14-level selectable reset threshold; REGC requires 0.47–1 μF capacitor to VSS |
Key Features
| Feature | Design Value |
|---|---|
| Self-programming flash | Boot swap and flash shield window enable secure firmware updates without external programmer |
| Background data flash write | BGO allows full CPU operation during 8 KB data flash rewrites at VDD = 1.8–5.5 V |
| Event-driven peripheral control | ELC links 19–26 event sources (e.g., timer overflow, ADC end-of-conversion) directly to peripherals without CPU overhead |
| Low-voltage operation | Full functionality down to 1.6 V enables direct use with single Li-ion or 2-cell alkaline batteries |
| Hardware DTC | Autonomous memory-to-peripheral transfers reduce CPU load and improve deterministic response in sensor acquisition loops |
Applications
| Industrial Sensor Node | Smart Motor Control Interface |
|---|---|
Use Scenario: Standalone environmental sensor (temperature/humidity/pressure) with wireless telemetry and local logging. IC Role / Device Role / Timing Role: Main controller managing ADC sampling, RTC-timestamped data storage to data flash, and UART-based BLE/Wi-Fi module interface. Use Value: Ultra-low STOP-mode current (0.60 μA) extends battery life; integrated 10-bit ADC and temperature sensor eliminate external components. | Use Scenario: Brushless DC motor drive with hall-effect feedback, current sensing, and closed-loop speed control. IC Role / Device Role / Timing Role: Real-time motor commutation controller using TAU timers for precise PWM generation and ADC for phase current sampling. Use Value: 44 DMIPS at 32 MHz ensures sub-10 μs control loop execution; dual UART supports LIN diagnostics and host command interface. |
| Programmable Logic Controller (PLC) I/O Module | Energy Metering Front-End |
Use Scenario: DIN-rail mounted digital I/O expansion module with isolated inputs/outputs and Modbus RTU communication. IC Role / Device Role / Timing Role: Protocol handler and GPIO manager interfacing with optocouplers and RS-485 transceivers via UART and GPIO. Use Value: 48-pin LFQFP provides sufficient I/O (up to 92 pins across variants) and robust industrial temp rating (-40°C to +105°C). | Use Scenario: Residential smart meter measuring voltage, current, and power factor with tamper detection and time-of-use billing. IC Role / Device Role / Timing Role: Analog front-end controller performing simultaneous 10-bit ADC sampling on multiple channels and RTC-based tariff switching. Use Value: Integrated 1.45 V internal reference and temperature sensor enable accurate calibration drift compensation without external references. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GHAFB#X0 | 128 KB flash, 16 KB RAM, same 48-pin LFQFP-0.5 mm package and peripheral set | Supports larger firmware (e.g., embedded TCP/IP stack or advanced motor algorithms) | Select when >96 KB code space or >12 KB RAM is required; pin-compatible upgrade path |
| R5F104GJAFB#X0 | 192 KB flash, 20 KB RAM, identical package and temperature grade | Enables complex HMI integration or multi-protocol connectivity (e.g., UART + I²C + LIN simultaneously) | Choose for future-proofing or applications requiring extended data logging or dual-interface concurrency |
Compared with R5F104GGAFB#X0, the R5F104GHAFB#X0 and R5F104GJAFB#X0 offer scalable flash/RAM while retaining identical pinout, peripheral configuration, and industrial temperature support-making them drop-in capacity upgrades for evolving firmware requirements.
Availability
R5F104GGAFB#X0 is available at Aetrix Electronics and suitable for industrial sensor nodes, motor control interfaces, PLC I/O modules, and energy metering front-ends requiring stable component supply and long-term lifecycle assurance.
Supply support for R5F104GGAFB#X0 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 management solutions for industrial, automotive, and IoT markets.
The RL78/G14 product line delivers true low-power performance (66 μA/MHz, 0.60 μA STOP mode) with rich analog and communication peripherals for cost-sensitive, battery-operated industrial control applications.
FAQ
What is the operating temperature range of the R5F104GGAFB#X0?
The R5F104GGAFB#X0 is rated for industrial applications with an operating ambient temperature range of -40°C to +105°C, as indicated by the 'G' suffix in the part number. This makes it suitable for deployment in harsh environments such as factory automation equipment, outdoor metering, and motor drives where extended thermal stability is required. The device maintains full specification compliance-including flash write endurance and ADC accuracy-across this entire range.
Does the R5F104GGAFB#X0 support in-circuit debugging and programming?
Yes, the R5F104GGAFB#X0 supports full in-circuit debugging and programming via its on-chip debug interface. Pins P50 (TOOLRxD) and P51 (TOOLTxD) provide UART-based connection to Renesas E1 or E20 emulators. The device also supports self-programming of both code and data flash memory, including boot swap functionality and flash shield window protection-enabling secure field firmware updates without removing the R5F104GGAFB#X0 from the target board.
How many analog-to-digital converter (ADC) channels does the R5F104GGAFB#X0 have, and what is their resolution?
The R5F104GGAFB#X0 integrates a 10-bit successive-approximation ADC with up to 20 input channels (ANI0–ANI19), supporting single-ended and differential measurements. It includes an internal 1.45 V reference voltage and an on-chip temperature sensor, allowing fully self-contained analog monitoring. The ADC operates across the full 1.6–5.5 V supply range and supports programmable sample-and-hold timing, making it suitable for precision sensor interfacing in industrial applications.
What serial communication interfaces are available on the R5F104GGAFB#X0?
The R5F104GGAFB#X0 provides three UART/LIN channels, three to eight CSI (SPI-compatible) channels, and four to ten I²C/simplified I²C channels. All interfaces support flexible pin assignment via the Peripheral I/O Redirection (PIOR) registers, enabling layout-optimized routing. UART channels include LIN bus physical layer compliance, supporting automotive diagnostic and control networks without external transceivers in basic configurations.
Is the R5F104GGAFB#X0 pin-compatible with other RL78/G14 variants in the same package?
Yes, the R5F104GGAFB#X0 is pin-compatible with all other RL78/G14 devices in the 48-pin LFQFP-0.5 mm package (e.g., R5F104GHAFB#X0, R5F104GJAFB#X0), sharing identical pin count, pitch, mechanical footprint, and core peripheral mapping. Differences are limited to flash/RAM size and minor feature enablement-allowing hardware design reuse and firmware scalability across the family without PCB revision.
R5F104GGAFB#X0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-LQFP
- Series:
- RL78/G14
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Obsolete
- 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:
- 128KB (128K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 16K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 10x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104GGAFB#X0 FAQ
1.How can I place an order for R5F104GGAFB#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GGAFB#X0 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 R5F104GGAFB#X0 reliable?
The price and inventory of R5F104GGAFB#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GGAFB#X0 is usually 5 days.
3.What payment methods are accepted for R5F104GGAFB#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GGAFB#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GGAFB#X0?
R5F104GGAFB#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GGAFB#X0 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 R5F104GGAFB#X0?
For technical support, including R5F104GGAFB#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GGAFB#X0 requirements.
6.How does Aetrix verify that R5F104GGAFB#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104GGAFB#X0 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 R5F104GGAFB#X0 meets industry standards.
7.What is the process for return or replacement of R5F104GGAFB#X0?
All R5F104GGAFB#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GGAFB#X0, 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 R5F104GGAFB#X0 part is unused and in its original packaging.
Return procedure for R5F104GGAFB#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GGAFB#X0 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…

