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

- Shipping:

Inventory:595
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104LHGFA#30 from Renesas is a 64-pin LFQFP, 0.5 mm pitch, industrial-grade (G: −40°C to +105°C) RL78/G14 16-bit MCU with 512 KB flash, 8 KB data flash, 48 KB RAM, and integrated RTC, 10-bit ADC (20 channels), UART/LIN, I²C, SPI, and ultra-low-power operation (0.60 μA in STOP mode). It targets battery-powered industrial control and sensor interface applications requiring long runtime and high integration.
For engineers reviewing the R5F104LHGFA#30 datasheet, R5F104LHGFA#30 pinout, R5F104LHGFA#30 application, or R5F104LHGFA#30 equivalent, key selection criteria include its 512 KB code flash capacity, 64-pin LFQFP-0.5 mm package, −40°C to +105°C industrial temperature rating, integrated LIN-capable UARTs, and real-time clock with calendar function - all critical for deterministic embedded control in harsh environments.
Technical Context
The R5F104LHGFA#30 implements the RL78 CPU core with CISC architecture, 3-stage pipeline, and configurable instruction timing (0.03125 µs min @ 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 power architecture supports HALT, STOP, and SNOOZE modes, with on-chip LVD (14-level selectable) and POR. The high-accuracy ±1.0% on-chip oscillator (64–1 MHz options) eliminates external crystal dependency for many timing-critical functions, while the 10-bit ADC includes internal reference (1.45 V) and temperature sensor.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/accumulate instructions |
| Flash Memory | 512 KB code flash with 1 KB block size, security lock, and self-programming with boot swap |
| Data Flash | 8 KB data flash supporting background operation (BGO) and 1,000,000 write cycles |
| RAM | 48 KB on-chip RAM, including dedicated areas for flash library execution |
| ADC | 10-bit resolution, 20-channel analog input, internal 1.45 V reference, and integrated temperature sensor |
| Operating Temp | −40°C to +105°C (industrial G-grade), enabling deployment in extended-temperature industrial enclosures |
| Power Modes | STOP mode draws 0.60 μA (RTC + LVD active); HALT mode consumes 66 μA/MHz at 32 MHz |
Pinout & Package
Package: 64-pin LFQFP, 10 × 10 mm body, 0.5 mm pitch, exposed thermal pad (not electrically connected per datasheet), RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P121 / X1 | Crystal input | Primary low-speed crystal oscillator connection (32.768 kHz) for RTC accuracy |
| P122 / X2 / EXCLK | Crystal output / external clock input | Drives external crystal; also accepts external clock source up to 20 MHz |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; debounced by on-chip POR/LVD circuitry |
| VDD / VSS | Power supply / ground | Single 1.6–5.5 V supply; dual VDD/VSS pairs ensure noise immunity for analog/digital domains |
| P14 / RxD2 / SI20 / SDA20 | Multi-function serial input | Configurable as UART receive, SPI slave-in, or I²C data line - assigned via PIOR registers |
| P13 / TxD2 / SO20 / TRDIOA1 | Multi-function serial output | Supports UART transmit, SPI slave-out, or LIN transceiver output; enables mixed-protocol peripherals |
| P120 / ANI19 / VCOUT0 | Analog output / comparator output | Provides voltage-controlled output or comparator result; usable for analog feedback or level-shifting |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power STOP mode | 0.60 μA current draw with RTC and LVD active - enables multi-year battery life in metering applications |
| Background data flash rewrite | Executes application code from flash while rewriting data flash - no interrupt latency or firmware stalls |
| Event Link Controller (ELC) | Hardware links 19–26 peripheral events (e.g., timer overflow → ADC trigger → DTC transfer) without CPU overhead |
| LIN-capable UART | UART channels support LIN 2.2 protocol framing and checksum generation - simplifies automotive body electronics integration |
| Peripheral I/O redirection | PIOR0/1 registers remap up to 12 peripheral functions to alternate pins - increases PCB layout flexibility and reduces routing congestion |
Applications
| Industrial Sensor Node | Smart Energy Meter |
|---|---|
Use Scenario: Remote environmental monitoring unit with temperature, humidity, and pressure sensors, powered by coin-cell battery. IC Role / Device Role / Timing Role: Main controller executing sensor acquisition, calibration, LIN-based data aggregation, and RTC-scheduled wake-up. Use Value: 0.60 μA STOP mode extends battery life beyond 10 years; integrated 10-bit ADC with internal reference eliminates external precision references. |
Use Scenario: DIN-rail mounted electricity meter with tamper detection, pulse counting, and RS-485/LIN communication. IC Role / Device Role / Timing Role: System-on-chip managing metrology calculations, real-time tariff switching, secure data logging, and time-stamped event capture. Use Value: 512 KB flash stores multiple firmware versions and encrypted billing logs; 8 KB data flash endures >1M writes for lifetime energy accumulation. |
| Programmable Logic Controller (PLC) I/O Module | Motor Control Interface Board |
Use Scenario: Compact 16-channel digital I/O expansion module for distributed PLC systems with fieldbus connectivity. IC Role / Device Role / Timing Role: Real-time I/O scheduler coordinating GPIO reads/writes, PWM outputs, and CAN/LIN gateway functions. Use Value: ELC enables deterministic response to input edge events (<100 ns jitter); DTC handles burst I/O register updates without CPU load. |
Use Scenario: Brushless DC motor driver board with Hall-effect commutation, overcurrent protection, and closed-loop speed control. IC Role / Device Role / Timing Role: Motion controller generating 3-phase PWM, sampling current sensors, and executing PID loop at 20 kHz. Use Value: 32 MHz max CPU speed delivers 44 DMIPS for real-time control; 16-bit timers with dead-time insertion prevent shoot-through in gate drivers. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104LJGFA#30 | Same 64-pin LFQFP-0.5 mm package, identical 512 KB flash/8 KB data flash/48 KB RAM, but rated for −40°C to +85°C (A-grade) | Targeted at consumer or commercial equipment where ambient temperature stays below 85°C | Select when full industrial temperature range is not required and cost optimization is prioritized |
| R5F104LLGFB#30 | Same 512 KB flash/8 KB data flash/48 KB RAM, but in 64-pin LQFP-0.65 mm (12×12 mm) package - larger footprint, no exposed pad | Suitable for legacy PCB designs using standard LQFP footprints or where thermal pad assembly is impractical | Choose when board rework for LFQFP-0.5 mm is prohibitive or thermal management relies on top-side convection |
Compared with R5F104LHGFA#30, R5F104LJGFA#30 trades extended temperature capability for lower cost in milder environments, while R5F104LLGFB#30 retains full functionality in a more manufacturable but less space-efficient LQFP package - enabling design continuity without sacrificing performance.
Availability
R5F104LHGFA#30 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart energy meters, and programmable logic controller I/O modules requiring stable component supply across extended temperature ranges and long product lifecycles.
Supply support for R5F104LHGFA#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 industrial, automotive, and infrastructure markets.
The RL78/G14 family is designed for cost-sensitive, ultra-low-power general-purpose embedded control - balancing high integration, robust peripheral sets, and energy efficiency for industrial automation and sensing.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating of the R5F104LHGFA#30?
The R5F104LHGFA#30 operates at up to 32 MHz with a measured performance of 44 DMIPS. This is achieved using the high-speed on-chip oscillator (±1.0% accuracy) without requiring external crystals, making it suitable for timing-critical control loops in industrial applications where board space and BOM count are constrained.
Does the R5F104LHGFA#30 support LIN bus communication, and which UART channels provide this capability?
Yes, the R5F104LHGFA#30 supports LIN 2.2 protocol on UART channels 0, 1, and 2. Each channel includes dedicated LIN-mode control bits and automatic checksum generation, enabling direct connection to LIN transceivers without external protocol handling - verified in the R01DS0053EJ0370 datasheet Section 1.1 "Features" and Section 23 "UART".
What is the guaranteed endurance and data retention specification for the data flash memory in the R5F104LHGFA#30?
The R5F104LHGFA#30 features 8 KB of data flash memory rated for 1,000,000 write/erase cycles (typical) and 20-year data retention at +85°C. These specifications are guaranteed under VDD = 1.8–5.5 V operation and are documented in Section 1.1 "Data Flash Memory" of the R01DS0053EJ0370 datasheet.
How does the R5F104LHGFA#30 manage power during deep sleep, and what peripherals remain active in STOP mode?
In STOP mode, the R5F104LHGFA#30 draws only 0.60 μA while maintaining operation of the real-time clock (RTC), low-voltage detector (LVD), and independent watchdog timer (IWDT). All other clocks and peripherals are halted, but RTC calendar and alarm functions continue - enabling precise wake-up scheduling for periodic sensor sampling in battery-powered systems.
Is the R5F104LHGFA#30 pin-compatible with other RL78/G14 variants in the same 64-pin LFQFP package?
Yes, all RL78/G14 devices in the 64-pin LFQFP-0.5 mm package (e.g., R5F104LJGFA#30, R5F104LLGFB#30) share identical pinouts and electrical characteristics. Pin compatibility is confirmed in Section 1.3.6 "48-pin products" and Table 1-1 of the R01DS0053EJ0370 datasheet, ensuring drop-in replacement within the same package family for memory or temperature grade changes.
R5F104LHGFA#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 64-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:
- 48
- 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):
- 2.4V ~ 5.5V
- Data Converters:
- A/D 12x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104LHGFA#30 FAQ
1.How can I place an order for R5F104LHGFA#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104LHGFA#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 R5F104LHGFA#30 reliable?
The price and inventory of R5F104LHGFA#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104LHGFA#30 is usually 5 days.
3.What payment methods are accepted for R5F104LHGFA#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104LHGFA#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104LHGFA#30?
R5F104LHGFA#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104LHGFA#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 R5F104LHGFA#30?
For technical support, including R5F104LHGFA#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104LHGFA#30 requirements.
6.How does Aetrix verify that R5F104LHGFA#30 is sourced from the original manufacturer or authorized distributors?
All R5F104LHGFA#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 R5F104LHGFA#30 meets industry standards.
7.What is the process for return or replacement of R5F104LHGFA#30?
All R5F104LHGFA#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104LHGFA#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 R5F104LHGFA#30 part is unused and in its original packaging.
Return procedure for R5F104LHGFA#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104LHGFA#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…

