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

- Shipping:

Inventory:2,977
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GFAFB#X0 from Renesas is a 48-pin LFQFP, 0.5 mm pitch, industrial-grade (G) RL78/G14 16-bit MCU with 96 KB flash, 12 KB RAM, and 8 KB data flash, operating from 1.6–5.5 V at −40 to +105°C. It delivers 44 DMIPS at 32 MHz, features ultra-low power consumption (66 μA/MHz active, 0.60 μA in RTC+LVD mode), and integrates UART, I²C, SPI, 16-bit timers, 10-bit ADC (16 ch), and RTC with calendar.
For engineers reviewing the R5F104GFAFB#X0 datasheet, R5F104GFAFB#X0 pinout, R5F104GFAFB#X0 application, or R5F104GFAFB#X0 equivalent, key selection criteria include its industrial temperature rating, LFQFP-48 package compatibility, integrated data flash with 1M rewrite cycles, low-power real-time clock operation, and peripheral flexibility for sensor interface, motor control, and battery-powered HMI designs.
Technical Context
The R5F104GFAFB#X0 implements the RL78 CPU core with CISC architecture, 3-stage pipeline, and configurable instruction timing (0.03125 μs @ 32 MHz to 30.5 μs @ 32.768 kHz). It supports on-chip debug, self-programming with boot swap, and background operation during data flash rewriting.
Its mixed-signal subsystem includes a 10-bit ADC with internal 1.45 V reference and temperature sensor, dual-channel 8-bit DAC with real-time output, two comparators (selectable reference), and event-driven peripherals coordinated via ELC and DTC-enabling deterministic low-latency response without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/accumulate instructions |
| Max Clock Speed | 32 MHz - enables 44 DMIPS performance for real-time control loops |
| Flash Memory | 96 KB code flash - sufficient for complex firmware with bootloader and OTA update space |
| Data Flash | 8 KB with 1,000,000 write cycles - supports robust parameter storage and field calibration |
| RAM | 12 KB on-chip RAM - accommodates stack, heap, and real-time buffers for multi-tasking |
| ADC | 10-bit resolution, 16 input channels, internal 1.45 V reference - eliminates external reference for precision sensor reads |
| Operating Temp | −40°C to +105°C (G grade) - qualified for under-hood automotive and industrial motor drives |
| Supply Voltage | 1.6 V to 5.5 V - enables direct battery operation (e.g., 2× Li-ion, 3× Alkaline) without regulators |
Pinout & Package
Package: 48-pin LFQFP, 7 mm × 7 mm, 0.5 mm pitch, exposed pad not present (non-HWQFN). Compliant with JEDEC MO-220, RoHS and MSL Level 3.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; timer input; debug clock source - enables dual-role pin for compact serial + timing design |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output; debug clock - supports full-duplex comms and synchronized peripheral triggering |
| P10–P17 | CSI/SPI/I²C/UART/Timer I/O | Multiplexed serial and timer interfaces - allows flexible peripheral assignment via PIOR registers |
| P20–P27 | ANI0–ANI7 / AVREFP / AVREFM | Analog inputs with dedicated reference pins - ensures stable ADC measurements across supply variation |
| P30–P31 | INTP3 / RTC1HZ / TI03 / TO03 | Real-time clock interrupt and timer I/O - enables precise timekeeping and periodic wake-up from STOP mode |
| P50–P51 | RxD0 / TxD0 / TOOLRxD / TOOLTxD | On-chip debug UART channel - provides non-intrusive programming and trace without external adapters |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up - ensures reliable initialization after brownout or power-up |
| VDD / VSS | Power supply / ground | Dual VDD/VSS pairs reduce noise coupling - improves ADC accuracy and oscillator stability |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power HALT/STOP/SNOOZE modes | 0.60 μA RTC+LVD operation extends battery life >10 years in coin-cell applications |
| Background data flash rewriting (BGO) | Allows concurrent program execution and non-volatile storage updates - critical for fail-safe firmware upgrades |
| Event Link Controller (ELC) | Direct hardware linking of 19–26 event sources to peripherals - eliminates ISR latency in time-critical signal chains |
| On-chip voltage detector (LVD) | 14-level programmable reset/interrupt threshold - enables adaptive brownout protection across varying battery states |
| Hardware CRC calculator | Accelerates checksum validation for secure boot and communication integrity - reduces CPU load by >95% vs software CRC |
| Peripheral I/O redirection (PIOR) | Runtime remapping of up to 8 peripheral functions to alternate pins - simplifies PCB layout and enables pin-compatible variants |
Applications
| Smart Sensor Node | Industrial Motor Control |
|---|---|
Use Scenario: Battery-powered environmental monitor with temperature, humidity, and CO₂ sensing, transmitting data via UART-to-LoRa gateway. IC Role / Device Role / Timing Role: Central controller managing ADC sampling, sensor calibration, low-power scheduling, and serial protocol framing. Use Value: 0.60 μA RTC+LVD mode enables >5-year operation on CR2032; integrated 10-bit ADC with internal reference eliminates external components. | Use Scenario: Closed-loop BLDC motor drive in HVAC blower, requiring PWM generation, current sensing, and thermal monitoring. IC Role / Device Role / Timing Role: Real-time motion controller executing FOC algorithms, capturing ADC samples synchronously with PWM, and managing fault shutdown. Use Value: ELC-triggered ADC sampling aligned to PWM center-aligned period ensures precise current measurement; 44 DMIPS handles vector math within 10 μs loop time. |
| Programmable Logic Controller (PLC) I/O Module | Medical Infusion Pump |
Use Scenario: DIN-rail mounted digital I/O expansion module with isolated inputs/outputs, communicating via RS-485 Modbus RTU. IC Role / Device Role / Timing Role: Protocol handler and GPIO manager interfacing with optocouplers and level shifters, with watchdog supervision. Use Value: Dual UART channels support simultaneous debug port and Modbus interface; 8 KB data flash stores device configuration and event logs with 1M-cycle endurance. | Use Scenario: Portable infusion pump with flow rate control, occlusion detection, battery management, and audible alerts. IC Role / Device Role / Timing Role: Safety-critical controller performing motor sequencing, pressure ADC reads, buzzer timing, and low-battery shutdown. Use Value: −40°C to +105°C rating ensures reliability in sterilization cycles; hardware CRC and LVD with 14 thresholds support IEC 62304 Class B compliance. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GGAFB#X0 | 128 KB flash, 16 KB RAM, same package/temp grade - higher memory headroom for larger firmware | Preferred when bootloader, crypto stack, or dual-application partitioning is required | Select if future firmware growth or secure boot requirements exceed 96 KB flash capacity |
| R5F104GHAFB#X0 | 192 KB flash, 20 KB RAM, same package/temp grade - adds 4 KB RAM for deeper buffers or RTOS stacks | Better suited for applications needing extended communication stacks (e.g., BLE + UART + USB CDC) | Choose when real-time task concurrency or protocol stack memory footprint exceeds 12 KB RAM |
Compared with R5F104GFAFB#X0, R5F104GGAFB#X0 offers 33% more flash for feature-rich firmware while maintaining identical pinout and power profile; R5F104GHAFB#X0 further increases RAM by 67%, enabling richer multitasking but with marginally higher active current.
Availability
R5F104GFAFB#X0 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, PLC I/O modules, and medical infusion pumps requiring stable component supply across extended product lifecycles.
Supply support for R5F104GFAFB#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, power, and SoC solutions for automotive, industrial, and IoT markets.
The RL78/G14 product line targets cost-sensitive, ultra-low-power general-purpose embedded systems - balancing performance, integration, and energy efficiency for battery-operated and thermally constrained applications.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104GFAFB#X0?
The R5F104GFAFB#X0 operates at up to 32 MHz, delivering 44 DMIPS of processing performance. This speed is achieved using the high-speed on-chip oscillator with ±1.0% accuracy across 1.8–5.5 V and −20 to +85°C. The R5F104GFAFB#X0 supports dynamic clock switching to lower frequencies (e.g., 32.768 kHz) for ultra-low-power RTC operation without sacrificing timing precision.
Does the R5F104GFAFB#X0 support in-system programming and secure firmware updates?
Yes, the R5F104GFAFB#X0 supports full in-system programming via its on-chip debug interface and includes flash shield window functionality to prevent unauthorized readout. It enables secure firmware updates through self-programming with boot swap capability - allowing validated new firmware to be written to a secondary bank while the primary bank remains operational, then atomically switching execution upon verification.
What analog peripherals are integrated into the R5F104GFAFB#X0, and how are they calibrated?
The R5F104GFAFB#X0 integrates a 10-bit ADC with 16 input channels, an 8-bit DAC with up to two outputs, two comparators, and an on-chip temperature sensor. ADC offset/gain calibration is supported via factory-trimmed values stored in ROM, accessible through the flash library API. The internal 1.45 V reference is used for both ADC and comparator operation, eliminating need for external references in most precision sensing applications.
How does the R5F104GFAFB#X0 manage power in battery-operated applications?
The R5F104GFAFB#X0 achieves industry-leading low-power operation: 66 μA/MHz in active mode and just 0.60 μA in STOP mode with RTC and LVD enabled. It supports three low-power modes - HALT (CPU stopped, peripherals active), STOP (all clocks halted except sub-system clock), and SNOOZE (selected peripherals active while CPU sleeps). Wake-up sources include RTC alarm, external interrupts, and serial reception - enabling responsive yet energy-efficient operation.
Is the R5F104GFAFB#X0 pin-compatible with other RL78/G14 variants in the same package?
Yes, all RL78/G14 devices in the 48-pin LFQFP-0.5 mm package - including R5F104GFAFB#X0, R5F104GGAFB#X0, and R5F104GHAFB#X0 - share identical pinouts and electrical characteristics. This allows direct hardware reuse across memory variants, simplifying design scalability and inventory management. Peripheral function assignment is managed via software-configurable PIOR registers, ensuring consistent layout across firmware versions.
R5F104GFAFB#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:
- 96KB (96K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 12K 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:
R5F104GFAFB#X0 FAQ
1.How can I place an order for R5F104GFAFB#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GFAFB#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 R5F104GFAFB#X0 reliable?
The price and inventory of R5F104GFAFB#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GFAFB#X0 is usually 5 days.
3.What payment methods are accepted for R5F104GFAFB#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GFAFB#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GFAFB#X0?
R5F104GFAFB#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GFAFB#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 R5F104GFAFB#X0?
For technical support, including R5F104GFAFB#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GFAFB#X0 requirements.
6.How does Aetrix verify that R5F104GFAFB#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104GFAFB#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 R5F104GFAFB#X0 meets industry standards.
7.What is the process for return or replacement of R5F104GFAFB#X0?
All R5F104GFAFB#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GFAFB#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 R5F104GFAFB#X0 part is unused and in its original packaging.
Return procedure for R5F104GFAFB#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GFAFB#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…

