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

- Shipping:

Inventory:714
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104LGAFA#30 from Renesas is a 64-pin LQFP (0.65 mm pitch), 512 KB flash, 48 KB RAM RL78/G14 16-bit microcontroller with ultra-low-power operation (66 μA/MHz active, 0.60 μA RTC+LVD mode), 1.6–5.5 V supply, and integrated peripherals including 20-channel 10-bit ADC, dual DAC, RTC, and multiple serial interfaces (UART, I²C, CSI). It targets battery-powered industrial control and sensor nodes.
For engineers reviewing the R5F104LGAFA#30 datasheet, R5F104LGAFA#30 pinout, R5F104LGAFA#30 application, or R5F104LGAFA#30 equivalent, key selection criteria include its 64-pin LQFP-0.65mm package, industrial-grade −40°C to +105°C temperature rating (G-grade), 512 KB code flash with 8 KB data flash, and support for background data flash rewriting (BGO) at full VDD range (1.8–5.5 V).
Technical Context
The R5F104LGAFA#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 integrates a Data Transfer Controller (DTC) with chain transfer capability and an Event Link Controller (ELC) enabling direct peripheral-to-peripheral event routing without CPU intervention.
Its power management includes HALT, STOP, and SNOOZE modes, on-chip POR and 14-level LVD, and a high-accuracy ±1.0% on-chip oscillator (selectable from 1–64 MHz). The device supports self-programming with boot swapping and flash shield window protection for secure firmware updates.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/divide/accumulate instructions |
| Flash Memory | 512 KB code flash with 1 KB block size; supports erase/write prohibition and on-chip debug |
| Data Flash | 8 KB data flash with background operation (BGO), 1,000,000 rewrite cycles, 1.8–5.5 V programming voltage |
| RAM | 48 KB on-chip RAM, including areas reserved for flash library (start address F3F00H) |
| ADC | 10-bit resolution A/D converter with 20 analog inputs, internal 1.45 V reference, and integrated temperature sensor |
| DAC | Two 8-bit D/A converters, each outputting 0 V to VDD with real-time update capability |
| Operating Temp | −40°C to +105°C (G-grade industrial qualification) |
| Package | 64-pin LQFP, 12 × 12 mm, 0.65 mm pitch (PLQP0064JA-A / PLQP0064JB-A) |
Pinout & Package
64-pin plastic LQFP (12 × 12 mm, 0.65 mm pitch), compliant with JEDEC MS-026, with exposed thermal pad option (not present in this variant). Pin 1 marked by index notch; pin 32 = VSS, pin 33 = VDD, pin 64 = RESET, pin 12 = X1, pin 13 = X2/EXCLK.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P121/X1 | Crystal input | Primary external clock input for 32.768 kHz crystal or ceramic resonator; enables precise RTC operation |
| P122/X2/EXCLK | Crystal output / external clock | Secondary crystal terminal or external clock source input up to 20 MHz; supports EXCLK mode for asynchronous timing |
| P137/INTP0 | Interrupt input | Edge-triggered external interrupt pin with configurable pull-up; used for wake-up from STOP/HALT modes |
| P60/SCLA0 | I²C bus clock | Open-drain SCL line for I²C interface channel 0; supports standard/fast-mode (100/400 kHz) and SMBus |
| P61/SDAA0 | I²C bus data | Open-drain SDA line for I²C interface channel 0; shares same bus with P60 and supports multi-master arbitration |
| P31/TI03/TO03/INTP4 | Timer I/O / interrupt | Configurable 16-bit timer channel with input capture (TI03), output compare (TO03), and external interrupt (INTP4) functions |
| REGC | Regulator capacitor | Connects to VSS via 0.47–1 µF capacitor to stabilize internal voltage regulator; mandatory for reliable operation |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power operation | 66 μA/MHz active current and 0.60 μA in RTC+LVD-only mode enable multi-year battery life in sensor nodes |
| Background data flash rewriting | BGO allows concurrent program execution and data flash updates-critical for over-the-air firmware patches without system interruption |
| Event Link Controller (ELC) | Direct hardware linking of 19–26 peripheral events eliminates CPU polling overhead and reduces latency in time-critical control loops |
| On-chip debug & security | Integrated on-chip debug interface with flash shield window and block erase/write prohibition prevents unauthorized firmware access or modification |
| Flexible clocking | High-accuracy ±1.0% on-chip oscillator (1–64 MHz) plus external crystal support enables robust timing without external clock components |
Applications
| Industrial Sensor Node | Smart Metering Interface |
|---|---|
Use Scenario: Battery-powered environmental monitoring unit measuring temperature, humidity, and pressure with wireless telemetry. IC Role / Device Role / Timing Role: Main controller executing sensor acquisition, calibration, data logging, and low-power wireless transmission scheduling. Use Value: 0.60 μA RTC+LVD mode extends battery life beyond 10 years; 20-channel ADC supports simultaneous multi-sensor reads without external mux. | Use Scenario: Communication interface module in electricity/water meters handling pulse counting, tamper detection, and RS-485/IR communication. IC Role / Device Role / Timing Role: Dedicated metering co-processor managing metrology peripherals, secure data storage, and protocol stack offload. Use Value: 8 KB data flash with 1M-cycle endurance stores lifetime consumption logs; BGO enables seamless firmware updates during meter operation. |
| Programmable Logic Controller (PLC) I/O Module | Home Appliance Motor Control |
Use Scenario: DIN-rail mounted digital I/O expansion module with isolated inputs/outputs and Modbus RTU connectivity. IC Role / Device Role / Timing Role: Real-time I/O manager coordinating discrete input sampling, output state updates, and fieldbus communication timing. Use Value: ELC links timer events directly to GPIO toggling-enabling deterministic 1 ms I/O scan cycles without CPU jitter; 64-pin package accommodates isolation and interface circuitry. | Use Scenario: Brushless DC motor driver in HVAC blowers or washing machines requiring closed-loop speed control and fault monitoring. IC Role / Device Role / Timing Role: Motion controller generating PWM signals, reading hall sensors, and managing thermal/current protection logic. Use Value: Dual 8-bit DACs provide precise analog references for current sensing; 16-bit TAU timers deliver sub-microsecond PWM resolution for smooth torque control. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104LGAFB#30 | Same core, flash, RAM, and peripherals; differs only in package-LFQFP (0.5 mm pitch, 10 × 10 mm) instead of LQFP (0.65 mm pitch, 12 × 12 mm) | Requires PCB layout change due to different footprint and pitch; better suited for space-constrained designs with fine-pitch assembly capability | Select when board area is critical and LFQFP reflow process is established |
| R5F104LLAFA#30 | Identical package and pinout; reduced flash (384 KB) and RAM (32 KB); same 8 KB data flash and G-grade temp rating | Lower memory configuration meets cost-sensitive industrial controls where full 512 KB is unnecessary | Select when application firmware fits within 384 KB and BOM cost optimization is prioritized |
Compared with R5F104LGAFB#30 and R5F104LLAFA#30, the R5F104LGAFA#30 provides maximum code density and largest RAM in the 64-pin LQFP-0.65mm form factor-ideal for complex firmware with real-time OS, communication stacks, and data buffering requirements.
Availability
R5F104LGAFA#30 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart metering interfaces, and programmable logic controller I/O modules requiring stable component supply across extended product lifecycles.
Supply support for R5F104LGAFA#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, battery-operated industrial and consumer equipment requiring long service life and robust peripheral integration.
FAQ
What is the operating temperature range for R5F104LGAFA#30?
The R5F104LGAFA#30 is rated for industrial operation from −40°C to +105°C (G-grade), validated per JEDEC JESD22-A108. This specification applies across the full 1.6–5.5 V supply range and all supported clock configurations, making it suitable for under-hood automotive ancillaries and factory-floor controllers where ambient heat exceeds 85°C.
Does R5F104LGAFA#30 support background data flash rewriting (BGO)?
Yes, R5F104LGAFA#30 supports background data flash rewriting (BGO), allowing CPU code execution from program memory while simultaneously erasing or writing to the 8 KB data flash. This feature enables non-disruptive firmware updates and real-time parameter logging without halting application logic-critical for fail-safe industrial systems.
What is the flash memory organization of R5F104LGAFA#30?
R5F104LGAFA#30 contains 512 KB of code flash memory organized in 1 KB blocks, with dedicated 8 KB data flash. The flash library uses RAM starting at address F3F00H. Block erase/write prohibition and flash shield window features provide hardware-enforced security against unauthorized firmware modification.
Which serial interfaces are available on R5F104LGAFA#30?
R5F104LGAFA#30 integrates up to 10 serial channels: 4–10 I²C/simplified I²C, 3–4 UART/LIN, and 3–8 CSI (SPI-compatible) interfaces. Specifically, it supports 4 I²C channels (including P60/P61 for channel 0), 4 UART channels (with LIN support), and 8 CSI channels-enabling concurrent connectivity to displays, sensors, and communication transceivers.
Is R5F104LGAFA#30 pin-compatible with other RL78/G14 64-pin variants?
Yes, R5F104LGAFA#30 shares identical pinout and electrical characteristics with all RL78/G14 64-pin LQFP-0.65mm variants (e.g., R5F104LCAFA#30, R5F104LLAFA#30), differing only in flash/RAM capacity and grade. This allows drop-in replacement during design iteration or cost optimization without PCB changes.
R5F104LGAFA#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:
- 128KB (128K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 16K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 12x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104LGAFA#30 FAQ
1.How can I place an order for R5F104LGAFA#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104LGAFA#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 R5F104LGAFA#30 reliable?
The price and inventory of R5F104LGAFA#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104LGAFA#30 is usually 5 days.
3.What payment methods are accepted for R5F104LGAFA#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104LGAFA#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104LGAFA#30?
R5F104LGAFA#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104LGAFA#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 R5F104LGAFA#30?
For technical support, including R5F104LGAFA#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104LGAFA#30 requirements.
6.How does Aetrix verify that R5F104LGAFA#30 is sourced from the original manufacturer or authorized distributors?
All R5F104LGAFA#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 R5F104LGAFA#30 meets industry standards.
7.What is the process for return or replacement of R5F104LGAFA#30?
All R5F104LGAFA#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104LGAFA#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 R5F104LGAFA#30 part is unused and in its original packaging.
Return procedure for R5F104LGAFA#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104LGAFA#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…

