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

- Shipping:

Inventory:2,396
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GAGFB#V0 from Renesas is a 48-pin LFQFP, 128 KB flash, 12 KB RAM RL78/G14 16-bit MCU with ultra-low-power operation (66 μA/MHz), integrated 10-bit ADC (20-channel), RTC, and dual UART/SPI/I²C interfaces - deployed in industrial sensor nodes and battery-powered control modules.
For engineers reviewing the R5F104GAGFB#V0 datasheet, R5F104GAGFB#V0 pinout, R5F104GAGFB#V0 application, or R5F104GAGFB#V0 equivalent, key selection criteria include its -40°C to +105°C industrial temperature grade (G), 0.5 mm pitch LFQFP-48 package, 128 KB code flash with data flash shield, and hardware event linking via ELC for deterministic peripheral coordination.
Technical Context
The R5F104GAGFB#V0 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), and includes multiply/divide/accumulate instructions. Its memory map spans 1 MB address space with four register banks.
Power management integrates HALT, STOP, and SNOOZE modes; real-time clock operates independently with calendar, alarm, and correction functions; and the Event Link Controller (ELC) enables direct hardware-triggered peripheral activation without CPU intervention across 19–26 event sources.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and 1 MB address space |
| Flash / Data Flash | 128 KB code flash (1 KB block size) + 8 KB data flash with background operation (BGO) |
| RAM | 12 KB on-chip RAM, including dedicated areas for flash library self-programming |
| Operating Voltage | 1.6 V to 5.5 V - supports direct interface with 1.8 V, 2.5 V, and 3 V logic systems |
| Temp Range | -40°C to +105°C (industrial G-grade), qualified for extended thermal cycling in motor drives and HVAC controls |
| ADC | 10-bit resolution, 20-channel SAR ADC with internal 1.45 V reference and temperature sensor |
| Timers | 12 × 16-bit timers (TAU/Timer RJ/RD/RG), 1 × 12-bit interval timer, 1 × RTC, 1 × watchdog |
| Serial Interfaces | 3 × UART/LIN, 3–8 × CSI (SPI-compatible), 4–10 × I²C/simplified I²C |
Pinout & Package
Package: 48-pin LFQFP (7 mm × 7 mm, 0.5 mm pitch), lead-free, RoHS-compliant, industrial-grade moisture sensitivity level (MSL3).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; input capture timer channel 0; trace clock A for debug synchronization |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output channel 0; trace clock B for debug synchronization |
| P10–P17 | CSI1/SPI1, I²C1, UART2, TRDIOx, IVREF/IVCMP | Multi-function group supporting SPI master/slave, I²C master/slave, UART2, and analog comparator/reference routing |
| P120–P147 | VCOUT0/1, ANI19/18, PCLBUZ0/1 | Dedicated voltage-controlled oscillator outputs, auxiliary analog inputs, and programmable buzzer generators |
| P30–P31 | RTC1HZ / SCK00 / INTP3/4 / PCLBUZ0 | Real-time clock 1 Hz output, SPI0 clock, external interrupt inputs, and secondary buzzer control |
| P50–P51 | RxD0/TxD0 / SO00/SI00 / TOOLRxD/TOOLTxD | On-chip debug UART (SWD-compatible), primary SPI0 data lines, and JTAG/SWD tool interface |
| P60–P62 | SCLA0 / SDAA0 / SSI00 | I²C bus A clock/data and synchronous serial interface (SSI) for daisy-chain sensor communication |
| RESET / REGC / VDD / VSS | Reset input / regulator capacitor / power / ground | Hard reset assertion; external capacitor required on REGC for internal LDO stability; dual power/ground pairs for noise isolation |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power HALT/STOP/SNOOZE modes | Reduces active current to 66 μA/MHz and standby to 0.60 μA (RTC+LVD only), extending battery life in remote sensors |
| Event Link Controller (ELC) | Enables zero-latency hardware-to-peripheral triggering (e.g., ADC conversion start on timer match), eliminating CPU polling overhead |
| Data flash BGO + 1M rewrite cycles | Allows firmware parameter updates during runtime without halting program execution; rated for 1 million rewrites at full VDD range |
| Peripheral I/O redirection (PIOR0/1) | Reassigns up to 16 peripheral functions to alternate pins via register settings - simplifies PCB layout and avoids signal congestion |
| Integrated voltage detector (LVD) | 14-level selectable reset/interrupt threshold (1.6–4.2 V) ensures reliable brown-out detection across wide supply ranges |
| Hardware CRC calculator | Accelerates checksum computation for firmware integrity verification and secure boot without CPU load |
Applications
| Industrial Motor Control | Smart Building Sensor Hub |
|---|---|
Use Scenario: Closed-loop speed regulation of 3-phase BLDC fans in HVAC systems using hall-effect feedback and PWM-driven gate drivers. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, managing 3× PWM outputs, sampling 6× ADC channels (current/voltage/temp), and synchronizing commutation via ELC-linked timer events. Use Value: 128 KB flash stores complex motor control firmware; 10-bit ADC provides sufficient resolution for current sensing; SNOOZE mode reduces idle power during low-load periods. | Use Scenario: Multi-sensor node aggregating temperature, humidity, CO₂, and occupancy data for楼宇 automation dashboards. IC Role / Device Role / Timing Role: Central aggregator with UART-to-Modbus gateway, I²C sensor interface, RTC-based logging, and low-power wake-on-event for battery operation. Use Value: Dual UARTs enable Modbus RTU master/slave; 20-channel ADC supports simultaneous analog sensor reads; -40°C to +105°C rating ensures reliability in attic-mounted enclosures. |
| Programmable Logic Relay | Industrial IoT Edge Gateway |
Use Scenario: DIN-rail mounted relay module replacing electromechanical units with configurable digital I/O, timing, and logic functions. IC Role / Device Role / Timing Role: Real-time sequencer executing ladder logic via RL78's fast interrupt response (<1.5 µs), driving 8× isolated outputs and monitoring 12× opto-isolated inputs. Use Value: 12 KB RAM accommodates runtime logic state tables; hardware CRC validates configuration updates; LVD prevents erratic behavior during brownouts. | Use Scenario: Protocol translator connecting legacy RS-485 field devices to cloud MQTT brokers via Wi-Fi/Ethernet bridge. IC Role / Device Role / Timing Role: Protocol stack processor handling Modbus/KNX parsing, time-stamped event buffering, and secure TLS handshake offload coordination. Use Value: 8 KB data flash stores device certificates and encrypted keys; ELC synchronizes ADC sampling with network transmit interrupts; 32 MHz max clock enables real-time packet processing. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GHGFB#V0 | 192 KB flash, 20 KB RAM, same package and peripherals; higher memory for larger protocol stacks | Better suited for applications requiring embedded web server or multi-protocol coexistence (e.g., Modbus + BACnet) | Select when firmware footprint exceeds 128 KB or additional RAM is needed for dynamic buffer allocation |
| R5F104GGGFB#V0 | 96 KB flash, 12 KB RAM, identical pinout and feature set except reduced code memory | Cost-optimized variant for fixed-function controllers where firmware size is stable and <96 KB | Choose for price-sensitive volume production where memory headroom is not required |
Compared with R5F104GAGFB#V0, the R5F104GHGFB#V0 adds 64 KB flash and 8 KB RAM for scalable firmware growth, while the R5F104GGGFB#V0 reduces flash by 32 KB to lower unit cost - all retain identical timing, I/O, and industrial temperature qualification.
Availability
R5F104GAGFB#V0 is available at Aetrix Electronics and suitable for industrial motor control, smart building sensor hubs, and programmable logic relays requiring stable component supply across extended temperature and long product lifecycles.
Supply support for R5F104GAGFB#V0 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 enterprise markets.
The RL78/G14 product line delivers ultra-low-power 16-bit MCUs optimized for cost-sensitive industrial control, home appliances, and sensor-edge applications - balancing performance, integration, and energy efficiency.
FAQ
What is the maximum operating frequency and corresponding power consumption of the R5F104GAGFB#V0?
The R5F104GAGFB#V0 operates up to 32 MHz with a typical active current of 66 μA per MHz at VDD = 3.3 V and TA = 25°C. At 32 MHz, total active current is approximately 2.1 mA. In STOP mode with RTC and LVD enabled, it draws just 0.60 μA - verified per R01DS0053EJ0370 Rev. 3.70 Section 1.1.
Does the R5F104GAGFB#V0 support hardware debugging, and what interface is used?
Yes, the R5F104GAGFB#V0 supports on-chip debugging via its dedicated SWD/JTAG-compatible interface using pins P50 (TOOLRxD) and P51 (TOOLTxD). It also supports flash programming through the same interface, enabling full development, test, and field firmware updates without external programmers.
How many analog input channels does the R5F104GAGFB#V0 ADC support, and what reference options are available?
The R5F104GAGFB#V0 integrates a 10-bit SAR ADC with up to 20 analog input channels (ANI0–ANI19). It supports both external reference (AVREFP/AVREFM pins) and internal 1.45 V reference voltage, allowing flexible measurement ranges from rail-to-rail or precision low-voltage sensing.
Is the R5F104GAGFB#V0 pin-compatible with other RL78/G14 variants in the same package?
Yes, all RL78/G14 devices in the 48-pin LFQFP-48 package (e.g., R5F104GHGFB#V0, R5F104GGGFB#V0) share identical pinout, electrical characteristics, and peripheral mapping - enabling memory-size-based scalability without PCB redesign.
What industrial certifications or qualifications apply to the R5F104GAGFB#V0?
The R5F104GAGFB#V0 is qualified per AEC-Q100 Grade 3 (−40°C to +105°C) for industrial applications and meets JEDEC J-STD-020 moisture sensitivity level 3. It is RoHS-compliant and supports Renesas' 15-year longevity program for sustained industrial supply.
R5F104GAGFB#V0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-LQFP
- Series:
- RL78/G14
- Packaging:
- Tray
- Product Status:
- Discontinued at Digi-Key
- 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:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 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#V0 FAQ
1.How can I place an order for R5F104GAGFB#V0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GAGFB#V0 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#V0 reliable?
The price and inventory of R5F104GAGFB#V0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GAGFB#V0 is usually 5 days.
3.What payment methods are accepted for R5F104GAGFB#V0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GAGFB#V0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GAGFB#V0?
R5F104GAGFB#V0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GAGFB#V0 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#V0?
For technical support, including R5F104GAGFB#V0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GAGFB#V0 requirements.
6.How does Aetrix verify that R5F104GAGFB#V0 is sourced from the original manufacturer or authorized distributors?
All R5F104GAGFB#V0 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#V0 meets industry standards.
7.What is the process for return or replacement of R5F104GAGFB#V0?
All R5F104GAGFB#V0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GAGFB#V0, 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#V0 part is unused and in its original packaging.
Return procedure for R5F104GAGFB#V0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GAGFB#V0 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…

