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

- Shipping:

Inventory:1,265
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GAGFB#30 from Renesas is a 48-pin LFQFP-packaged RL78/G14 16-bit microcontroller with 128 KB flash, 12 KB RAM, and industrial-grade operation up 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 10-bit ADC (16 channels), UART/SPI/I²C interfaces, and real-time clock - deployed in motor control and sensor-based industrial HMI systems.
For engineers reviewing the R5F104GAGFB#30 datasheet, R5F104GAGFB#30 pinout, R5F104GAGFB#30 application, or R5F104GAGFB#30 equivalent, key selection criteria include its G-grade temperature rating (−40°C to +105°C), LFQFP-48 0.5 mm pitch package, 128 KB code flash with data flash shield, and support for background data flash rewriting (BGO) without CPU stall.
Technical Context
The R5F104GAGFB#30 implements the RL78 CPU core with 3-stage pipeline, supporting instruction execution times from 0.03125 µs (32 MHz high-speed mode) to 30.5 µs (32.768 kHz low-power mode). It includes on-chip debug, self-programming with boot swapping, and flash shield window protection.
Peripheral integration includes Timer Array Unit (TAU) with 8 channels, 1-channel real-time clock with calendar and alarm, 1-channel watchdog timer, and Event Link Controller (ELC) enabling direct peripheral-to-peripheral event triggering without CPU intervention - reducing latency and power in deterministic control loops.
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; supports block erase, boot swapping, and flash shield window |
| Data Flash | 8 KB; background operation (BGO) enabled; 1M rewrite cycles (TYP) |
| RAM | 12 KB on-chip SRAM; used by flash library starting at F9F00H |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD active |
| Operating Voltage | 1.6 V to 5.5 V single supply; supports 1.8 V low-voltage operation |
| Temperature Range | −40°C to +105°C (G-grade industrial qualification) |
| Package | LFQFP-48, 7 × 7 mm, 0.5 mm pitch, lead-free, RoHS compliant |
Pinout & Package
48-pin Low-profile Quad Flat Package (LFQFP), 7 × 7 mm body, 0.5 mm lead pitch, exposed pad not present (non-HWQFN variant). Pin 1 marked by corner notch; pin 24 = VSS, pin 25 = VDD, pin 23 = REGC (requires 0.47–1 µF capacitor to VSS).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; 16-bit timer input; trace clock A - configurable via PIOR registers |
| P16 | RxD0 / TI01 / TO01 / INTP5 | UART receive; timer I/O; external interrupt - enables synchronous serial comms with hardware timing |
| P60 | SCLA0 | I²C bus clock line for channel 0; supports standard/fast-mode; internal pull-up available |
| P121/P122 | X1 / X2 | Crystal oscillator inputs for main system clock (1–20 MHz); supports high-accuracy timing reference |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; accepts external debounced signal or POR/LVD assertion |
| REGC | Regulator bypass capacitor terminal | Must connect 0.47–1 µF ceramic cap to VSS; critical for internal voltage regulator stability |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power STOP mode | 0.60 μA retention with RTC + LVD active - enables battery-backed timekeeping for >10 years on coin cell |
| Background Data Flash Rewrite (BGO) | Execute code from flash while rewriting data flash - eliminates firmware stalls during field updates |
| Event Link Controller (ELC) | Direct hardware linking of 19–26 peripheral events (e.g., ADC end → DMA trigger) - removes CPU polling overhead |
| On-chip debug & self-programming | Firmware update via single-wire debug (SWD); boot swapping ensures fail-safe OTA upgrades |
| Dual-voltage I/O capability | Interface with 1.8 V/2.5 V/3.3 V peripherals without level shifters - simplifies mixed-voltage board design |
| Hardware CRC calculator | Accelerates checksum computation for firmware integrity verification - reduces CPU load in safety-critical routines |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Closed-loop BLDC motor drive in HVAC blowers with thermal monitoring and fault logging. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, managing PWM timers (TAU), reading current/voltage ADCs, and storing error logs in data flash. Use Value: 128 KB flash accommodates complex motor control firmware + safety diagnostics; BGO allows runtime parameter updates without interrupting motion control. | Use Scenario: Battery-powered environmental sensor node measuring temperature, humidity, and CO₂ with wireless reporting. IC Role / Device Role / Timing Role: System-on-chip managing sensor acquisition (10-bit ADC), RTC-based wake-up scheduling, and low-power UART communication. Use Value: 0.60 μA STOP mode extends 10-year battery life; integrated LVD detects brown-out before data corruption occurs. |
| Industrial HMI Panel | PLC I/O Module |
Use Scenario: Touch-enabled operator interface for factory floor equipment with local display and button feedback. IC Role / Device Role / Timing Role: UI processor handling capacitive touch scanning, buzzer output (PCLBUZ), GPIO-driven LED indicators, and serial comms to host PLC. Use Value: On-chip PCLBUZ and key interrupt logic reduce external components; 48-pin LFQFP fits compact front-panel PCB layouts. | Use Scenario: DIN-rail mounted digital input module converting 24 V DC field signals to Modbus RTU over RS-485. IC Role / Device Role / Timing Role: Isolation-aware controller reading opto-isolated inputs, performing debounce filtering, and driving RS-485 transceiver via UART. Use Value: G-grade temp rating ensures reliable operation in uncooled control cabinets; multiple UART channels support dual-port diagnostics and fieldbus comms. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GGGFB#30 | Same package and pinout; 96 KB flash, 12 KB RAM, identical peripherals and G-grade rating | Suitable where firmware size < 96 KB; lower cost for simpler control tasks | Select when full 128 KB flash is unnecessary and BOM cost optimization is prioritized |
| R5F104GLGFB#30 | Same package and pinout; 384 KB flash, 32 KB RAM, same G-grade rating and peripheral set | Required for complex protocol stacks (e.g., CAN FD + TLS) or large GUI assets | Choose when future firmware expansion, secure boot, or multi-protocol support demands larger memory |
Compared with R5F104GGGFB#30 and R5F104GLGFB#30, the R5F104GAGFB#30 provides optimal balance of memory headroom (128 KB), industrial temperature resilience, and cost - making it ideal for mid-complexity embedded controllers where scalability beyond 96 KB is needed but 384 KB is excessive.
Availability
R5F104GAGFB#30 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, HMI panels, and PLC I/O modules requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F104GAGFB#30 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 operation, integrated peripherals, and long-term supply assurance.
FAQ
What is the maximum operating frequency and corresponding DMIPS performance of the R5F104GAGFB#30?
The R5F104GAGFB#30 operates at up to 32 MHz with an RL78 CPU core delivering 44 DMIPS. This performance is achieved using the high-speed on-chip oscillator (±1.0% accuracy) or external crystal. The core's 3-stage pipeline and optimized instruction set enable deterministic real-time execution critical for motor control and sensor sampling loops in the R5F104GAGFB#30.
Does the R5F104GAGFB#30 support in-system programming and debug interfaces?
Yes, the R5F104GAGFB#30 supports single-wire debug (SWD) via the TOOL0 pin (P40) and optional TRJIO0/TRJO0 pins. It includes on-chip debug circuitry enabling full read/write/erase access, breakpoint setting, and real-time variable monitoring. Self-programming with boot swapping is supported, allowing safe firmware updates without external programmers - a key capability built into the R5F104GAGFB#30 architecture.
What are the flash memory configuration and security features of the R5F104GAGFB#30?
The R5F104GAGFB#30 contains 128 KB of code flash organized in 1 KB blocks, with programmable block erase prohibition and flash shield window for IP protection. Data flash is 8 KB with background operation (BGO) support. Security features include flash lock bits, prohibition of block erase/rewrite, and boot swapping with validation - all implemented in hardware to prevent unauthorized access or tampering in the R5F104GAGFB#30.
How does the R5F104GAGFB#30 achieve ultra-low power consumption in STOP mode?
The R5F104GAGFB#30 achieves 0.60 μA STOP mode current by powering down the CPU, flash, and most peripherals while retaining RTC operation, LVD monitoring, and RAM contents. The internal low-voltage regulator remains active only for these essential circuits. Wake-up sources include RTC alarm, LVD interrupt, or external pins - enabling precise, energy-efficient duty-cycled operation in battery-powered applications using the R5F104GAGFB#30.
What peripheral interfaces are available on the R5F104GAGFB#30 for industrial connectivity?
The R5F104GAGFB#30 provides three UART channels (one with LIN support), up to ten I²C/simplified I²C channels, and three to eight CSI (SPI-compatible) channels. It also includes a 16-bit Timer Array Unit (TAU) with 8 channels, real-time clock with calendar, and Event Link Controller (ELC) for hardware-triggered peripheral chaining - collectively enabling robust serial communication, precise timing, and deterministic event handling in industrial systems built around the R5F104GAGFB#30.
R5F104GAGFB#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-LQFP
- 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:
- 58
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.4V ~ 5.5V
- Data Converters:
- A/D 10x8/10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104GAGFB#30 FAQ
1.How can I place an order for R5F104GAGFB#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GAGFB#30 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 R5F104GAGFB#30 reliable?
The price and inventory of R5F104GAGFB#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GAGFB#30 is usually 5 days.
3.What payment methods are accepted for R5F104GAGFB#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GAGFB#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GAGFB#30?
R5F104GAGFB#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GAGFB#30 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 R5F104GAGFB#30?
For technical support, including R5F104GAGFB#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GAGFB#30 requirements.
6.How does Aetrix verify that R5F104GAGFB#30 is sourced from the original manufacturer or authorized distributors?
All R5F104GAGFB#30 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 R5F104GAGFB#30 meets industry standards.
7.What is the process for return or replacement of R5F104GAGFB#30?
All R5F104GAGFB#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GAGFB#30, 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 R5F104GAGFB#30 part is unused and in its original packaging.
Return procedure for R5F104GAGFB#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GAGFB#30 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…

