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

- Shipping:

Inventory:1,066
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GHAFB#30 from Renesas is a 48-pin LFQFP, 0.5 mm pitch, industrial-grade (G) RL78/G14 16-bit MCU with 128 KB flash, 8 KB data flash, 16 KB RAM, and operation up to 32 MHz delivering 44 DMIPS. It integrates RTC, 10-bit ADC (16 channels), UART/SPI/I²C interfaces, and ultra-low-power modes (0.60 μA in STOP with RTC+LVD) for embedded control in space-constrained industrial sensors and motor drives.
For engineers reviewing the R5F104GHAFB#30 datasheet, R5F104GHAFB#30 pinout, R5F104GHAFB#30 application, or R5F104GHAFB#30 equivalent, key selection criteria include its 48-pin LFQFP-0.5 mm package, -40°C to +105°C industrial temperature rating, integrated event link controller (ELC), and support for background data flash rewriting during program execution.
Technical Context
The R5F104GHAFB#30 implements the RL78 CPU core with 3-stage pipeline CISC architecture, supporting instruction execution times from 0.03125 µs (32 MHz high-speed mode) to 30.5 µs (32.768 kHz ultra-low-speed mode). It features on-chip high-accuracy oscillator (±1.0% over VDD=1.8–5.5 V, TA=−20 to +85°C) and dual-clock domain operation for independent peripheral timing.
Its peripheral set includes Timer Array Unit (TAU) with 8 channels, Real-time Clock with calendar and alarm, 19–26 configurable event signals routed via Event Link Controller (ELC), and Data Transfer Controller (DTC) supporting chain transfer for efficient memory-to-peripheral movement without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 16-bit CISC with 3-stage pipeline; enables deterministic real-time response and low-power interrupt latency. |
| Max Operating Frequency | 32 MHz; delivers 44 DMIPS for mid-complexity control tasks like closed-loop motor commutation. |
| Memory Configuration | 128 KB code flash + 8 KB data flash + 16 KB RAM; supports self-programming with boot swap and flash shield window. |
| Low-Power Performance | 0.60 μA in STOP mode (RTC + LVD active); enables battery-powered operation for >10 years in sensor nodes. |
| Analog Peripherals | 10-bit ADC (16 input channels, internal 1.45 V reference), 8-bit DAC (2 channels, 0–VDD output), and 2-channel comparator with window mode. |
| Serial Interfaces | 3–4 UART/LIN channels, 3–8 CSI (SPI-compatible) channels, 4–10 I²C/simplified I²C channels; supports mixed-protocol communication stacks. |
| Package & Temp Range | 48-pin LFQFP, 7 × 7 mm, 0.5 mm pitch; rated for industrial operation from −40°C to +105°C (G grade). |
Pinout & Package
48-pin LFQFP (7 × 7 mm, 0.5 mm pitch), RoHS-compliant, with exposed thermal pad recommended to be connected to VSS for thermal management.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P121 / X1 | Crystal oscillator input | Connects to 32.768 kHz crystal for RTC accuracy; requires external load capacitors. |
| P122 / X2 / EXCLK | Crystal oscillator output / external clock input | Drives 32.768 kHz crystal; alternatively accepts external clock source for system synchronization. |
| RESET | Active-low reset input | Asynchronous reset signal; internally pulled up; compatible with open-drain reset supervisors. |
| REGC | Internal regulator bypass capacitor terminal | Must connect 0.47–1 µF capacitor to VSS to stabilize on-chip voltage regulator for analog/RTC domains. |
| P16 / TI01 / TO01 / INTP5 / TRDIOC0 / IVREF0 | Multi-function I/O pin | Configurable as timer I/O, interrupt input, or internal voltage reference output-enables flexible signal routing without PCB redesign. |
| P60 / SCLA0 | I²C bus clock line | Dedicated hardware I²C clock pin; supports standard/fast-mode speeds up to 400 kHz with automatic arbitration. |
Key Features
| Feature | Design Value |
|---|---|
| Event Link Controller (ELC) | Routes 19–26 peripheral events directly to target functions (e.g., ADC trigger → timer start), eliminating CPU polling and reducing latency to <100 ns. |
| Background Operation (BGO) | Enables full CPU execution from flash while rewriting data flash-critical for firmware-over-the-air (FOTA) updates without service interruption. |
| SNOOZE Mode | Permits selective peripheral operation (e.g., UART receive, ADC scan) while CPU remains halted, cutting active power by >70% vs. HALT mode. |
| On-chip Voltage Detector (LVD) | 14-level programmable reset/interrupt threshold (1.6–4.2 V); protects against brown-out during battery discharge or supply transients. |
| Peripheral I/O Redirection | Allows dynamic remapping of up to 16 peripheral functions across multiple pins via PIOR registers-simplifies layout and enables pin reuse across variants. |
Applications
| Industrial Sensor Node | Smart Motor Drive |
|---|---|
Use Scenario: Battery-powered environmental monitor with temperature/humidity/pressure sensing and wireless telemetry. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-timed wake-up, low-power UART transmission, and data flash logging. Use Value: 0.60 μA STOP current extends 2× AA battery life beyond 10 years; BGO allows seamless firmware updates during field deployment. | Use Scenario: Compact BLDC motor controller for HVAC blowers with Hall-effect feedback and PWM-driven gate drivers. IC Role / Device Role / Timing Role: Real-time motion controller executing commutation logic, current sensing, fault protection, and LIN bus diagnostics. Use Value: ELC-triggered ADC sampling synchronized to PWM edges ensures precise current measurement; TAU timers deliver jitter-free 20 kHz PWM generation. |
| Programmable Logic Controller (PLC) I/O Module | Energy Metering Front-End |
Use Scenario: DIN-rail mounted digital I/O expansion module with opto-isolated inputs/outputs and Modbus RTU communication. IC Role / Device Role / Timing Role: Protocol handler and GPIO manager interfacing with isolation barriers and RS-485 transceivers. Use Value: Multi-channel UART with LIN support enables dual-port Modbus master/slave operation; 48-pin LFQFP fits tight board spacing requirements. | Use Scenario: Residential smart meter measuring voltage/current/energy using shunt-based sensing and metrology algorithms. IC Role / Device Role / Timing Role: Metrology co-processor handling ADC oversampling, RMS calculation, and tamper detection via comparator window mode. Use Value: 10-bit ADC with internal 1.45 V reference provides stable scaling across temperature; comparator window mode detects neutral-wire disconnection in <10 µs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GHAFB#50 | Identical silicon; differs only in packaging specification (embossed tape vs. tray). | No functional or electrical difference; intended for automated SMT assembly lines requiring tape-and-reel feed. | Select #50 for high-volume pick-and-place production; #30 is optimized for manual prototyping and small-batch evaluation. |
| R5F104GLAFB#30 | Same package and temp grade, but 384 KB flash, 32 KB RAM, and enhanced peripheral count (e.g., +2 UART, +4 ADC channels). | Required for applications needing larger firmware footprint, more complex communication stacks, or higher channel-count analog acquisition. | Choose R5F104GLAFB#30 when future firmware scalability or additional peripherals (e.g., dual UART + LIN) are mandatory; R5F104GHAFB#30 suffices for fixed-feature deployments. |
Compared with R5F104GHAFB#30, the #50 variant offers identical functionality in tape-and-reel format for automated manufacturing, while R5F104GLAFB#30 provides scalable memory and peripherals for feature-rich upgrades-neither is pin-compatible with unrelated families like RL78/G13 or RX100.
Availability
R5F104GHAFB#30 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart motor drives, PLC I/O modules, and energy metering front-ends requiring stable component supply across extended product lifecycles.
Supply support for R5F104GHAFB#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 targets cost-sensitive, ultra-low-power general-purpose embedded applications-designed to replace legacy 8-bit MCUs while delivering 16-bit performance, robust peripheral integration, and simplified migration paths.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104GHAFB#30?
The R5F104GHAFB#30 operates at up to 32 MHz and delivers 44 DMIPS (Dhrystone MIPS) under benchmark conditions. This performance level supports real-time control loops, protocol stack processing (e.g., Modbus, LIN), and sensor fusion algorithms without requiring external accelerators. The RL78 core achieves this efficiency through its 3-stage pipeline and optimized instruction set, making the R5F104GHAFB#30 suitable for applications where deterministic timing and low power are both critical.
Does the R5F104GHAFB#30 support background data flash rewriting while executing code from main flash memory?
Yes, the R5F104GHAFB#30 supports Background Operation (BGO) for data flash, allowing the CPU to execute instructions from program memory while simultaneously rewriting the 8 KB data flash. This capability is essential for firmware-over-the-air (FOTA) updates, parameter logging, and calibration storage without system interruption. The R5F104GHAFB#30 guarantees 1,000,000 rewrite cycles (typical) at VDD = 1.8–5.5 V, and the flash library reserves RAM starting at address FE900H for this function.
What industrial temperature range does the R5F104GHAFB#30 support, and how is it indicated in the part number?
The R5F104GHAFB#30 supports an industrial ambient temperature range of −40°C to +105°C, denoted by the "G" in the fourth character position of the part number (R5F104GHAFB#30). This grade ensures reliable operation in demanding environments such as factory automation controllers, outdoor metering equipment, and motor drive enclosures. The device maintains specified timing, analog accuracy, and low-power mode behavior across this full range, validated per JEDEC JESD22-A104.
How many analog input channels does the 10-bit ADC in the R5F104GHAFB#30 support, and what reference options are available?
The R5F104GHAFB#30 integrates a 10-bit successive-approximation ADC with up to 16 analog input channels (ANI0–ANI19, excluding reserved pins). It supports two reference voltage sources: externally applied AVREFP/AVREFM differential pair or internal 1.45 V reference (VREF). The internal reference provides stable scaling across temperature and supply voltage variations, enabling accurate sensor measurements in battery-operated or unregulated systems-key for consistent performance in the R5F104GHAFB#30's target applications.
What is the purpose of the REGC pin on the R5F104GHAFB#30, and how must it be connected?
The REGC pin on the R5F104GHAFB#30 is the bypass terminal for the on-chip voltage regulator that powers the analog and RTC domains. It must be connected to VSS via a 0.47 µF to 1.0 µF ceramic capacitor placed as close as possible to the pin. Failure to properly decouple REGC risks unstable RTC operation, inaccurate ADC readings, and erratic LVD behavior. This requirement is explicitly mandated in the datasheet (R01DS0053EJ0370) and applies universally across all RL78/G14 variants, including the R5F104GHAFB#30.
R5F104GHAFB#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:
- 34
- Program Memory Size:
- 192KB (192K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 20K 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:
R5F104GHAFB#30 FAQ
1.How can I place an order for R5F104GHAFB#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GHAFB#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 R5F104GHAFB#30 reliable?
The price and inventory of R5F104GHAFB#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GHAFB#30 is usually 5 days.
3.What payment methods are accepted for R5F104GHAFB#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GHAFB#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GHAFB#30?
R5F104GHAFB#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GHAFB#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 R5F104GHAFB#30?
For technical support, including R5F104GHAFB#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GHAFB#30 requirements.
6.How does Aetrix verify that R5F104GHAFB#30 is sourced from the original manufacturer or authorized distributors?
All R5F104GHAFB#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 R5F104GHAFB#30 meets industry standards.
7.What is the process for return or replacement of R5F104GHAFB#30?
All R5F104GHAFB#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GHAFB#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 R5F104GHAFB#30 part is unused and in its original packaging.
Return procedure for R5F104GHAFB#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GHAFB#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…

