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

- Shipping:

Inventory:630
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104LGAFP#30 from Renesas is a 64-pin LQFP-0.65 mm pitch, 512 KB flash, 12 KB RAM RL78/G14 16-bit microcontroller with ultra-low power operation (66 μA/MHz), integrated RTC, 10-bit ADC (20 channels), and dual UART/SPI/I²C interfaces - deployed in industrial motor control and sensor hub applications.
For engineers reviewing the R5F104LGAFP#30 datasheet, R5F104LGAFP#30 pinout, R5F104LGAFP#30 application, or R5F104LGAFP#30 equivalent, key selection criteria include its -40°C to +85°C industrial temperature grade (D-grade), 1.6–5.5 V supply range, HALT/STOP/SNOOZE low-power modes, and on-chip debug support via TOOL0/TOOLRxD/TOOLTxD pins.
Technical Context
The R5F104LGAFP#30 implements the RL78 CPU core with CISC architecture, 3-stage pipeline, and configurable instruction timing (0.03125 µs @ 32 MHz to 30.5 µs @ 32.768 kHz). It integrates a 12-bit interval timer, calendar-mode real-time clock with alarm and correction, and watchdog timer driven by dedicated low-speed oscillator.
Peripheral integration includes 8-channel 16-bit Timer Array Unit (TAU), 1-channel 12-bit interval timer, 1-channel RTC, 1-channel watchdog timer, 20-channel 10-bit ADC with internal 1.45 V reference and temperature sensor, and up to 4 UART, 8 CSI (SPI-compatible), and 10 I²C channels - all managed via Event Link Controller (ELC) for hardware-triggered event chaining.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/divide/accumulate instructions |
| Max Clock Speed | 32 MHz (44 DMIPS), supported by high-accuracy ±1.0% on-chip oscillator (1–64 MHz selectable) |
| Memory | 512 KB code flash (1 KB block size), 8 KB data flash, 12 KB RAM - supports self-programming with boot swap |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD enabled |
| Analog Peripherals | 20-channel 10-bit ADC (VDD-referenced, internal 1.45 V ref, integrated temp sensor); no D/A or comparator |
| Serial Interfaces | 4 UART/LIN channels, 8 CSI (SPI-compatible) channels, 10 I²C/simplified I²C channels |
| Timers & RTC | 8× 16-bit TAU timers, 1× 12-bit interval timer, 1× calendar RTC (99-year range, alarm, correction), 1× WDT |
Pinout & Package
Package: 64-pin LQFP, 12 × 12 mm body, 0.65 mm pitch, plastic, lead-free, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P121 / X1 | Crystal input | Connects to 32.768 kHz crystal for RTC and subsystem clock; requires external load capacitor |
| P122 / X2 / EXCLK | Crystal output / external clock input | Drives 32.768 kHz crystal; alternatively accepts external clock signal up to 1 MHz |
| P137 / INTP0 | Interrupt input | Dedicated external interrupt pin with priority level 0; supports wake-up from STOP/HALT modes |
| P40 / TOOL0 | On-chip debug interface | Primary debug communication pin for Flash programming and real-time debugging via Renesas E2 emulator |
| P50 / INTP1 / SI00 / RxD0 | Multi-function I/O | Configurable as UART0 receive, SPI0 master/slave input, or external interrupt source (INTP1) |
| P51 / INTP2 / SO00 / TxD0 | Multi-function I/O | Configurable as UART0 transmit, SPI0 master/slave output, or external interrupt source (INTP2) |
| REGC | Regulator bypass | Must be connected to VSS via 0.47–1 µF capacitor to stabilize internal voltage regulator |
| VDD / VSS | Power supply | Single 1.6–5.5 V supply; VSS is analog/digital ground reference; decoupling required per layout guidelines |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power operation | 66 μA/MHz active current enables battery-powered operation >1 year on coin cell in duty-cycled sensor nodes |
| Hardware event linking (ELC) | 19–26 peripheral events directly chained without CPU intervention - reduces latency and firmware overhead |
| Data flash background operation (BGO) | Execute code from flash while rewriting 4–8 KB data flash - enables seamless firmware updates and logging |
| On-chip debug & self-programming | Full debug access via TOOL0/TOOLRxD/TOOLTxD; flash shield window prevents unauthorized reprogramming |
| Flexible clock system | Multiple clock sources (on-chip oscillator, crystal, external clock) with automatic failover and frequency monitoring |
| Industrial temperature grade | Rated for -40°C to +85°C (D-grade), qualified for motor drives, HVAC controls, and factory automation |
Applications
| Motor Control System | Smart Sensor Hub |
|---|---|
Use Scenario: Closed-loop BLDC motor control in HVAC blowers with thermal protection and speed regulation. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, reading hall sensors/ADC, driving gate drivers via PWM, and managing UART-based commissioning. Use Value: 32 MHz CPU + 8× 16-bit timers enable precise 20 kHz PWM generation and real-time current sampling at 100 kSPS. |
Use Scenario: Multi-sensor environmental node aggregating temperature, humidity, and CO₂ readings for building automation. IC Role / Device Role / Timing Role: Central aggregator with 20-channel ADC, RTC timestamping, and dual UART/I²C for sensor interfacing and RS-485 gateway communication. Use Value: 0.60 μA STOP mode with RTC allows 10-year battery life in 1-minute wake-up intervals; integrated temp sensor calibrates external sensors. |
| Industrial PLC I/O Module | Energy Metering Interface |
Use Scenario: DIN-rail mounted digital I/O expansion module with isolated inputs/outputs and Modbus RTU over RS-485. IC Role / Device Role / Timing Role: Protocol handler and GPIO manager - parses Modbus frames, debounces inputs, and drives opto-isolated outputs. Use Value: 4 UART channels support simultaneous Modbus RTU, debug console, and auxiliary serial comms; ELC links UART RX to DMA for zero-CPU frame capture. |
Use Scenario: Pulse-counting interface between utility meter mechanical registers and smart grid concentrator. IC Role / Device Role / Timing Role: High-reliability pulse accumulator with tamper detection, RTC-stamped event logging, and secure firmware update via UART. Use Value: 12-bit interval timer captures sub-millisecond pulse widths; 8 KB data flash stores 30 days of tamper logs with CRC; STOP mode preserves RTC during mains outage. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104LHAFP#30 | Same package and pinout; differs only in flash/RAM: 128 KB flash / 16 KB RAM vs. 512 KB / 12 KB | Targeted at cost-sensitive designs with smaller firmware footprint and higher RAM needs | Select when application code size <128 KB and runtime heap >12 KB is required |
| R5F104LGAFB#30 | Identical memory and peripherals; differs in package: 64-pin LFQFP (0.5 mm pitch) vs. LQFP (0.65 mm pitch) | Used where finer-pitch PCB assembly is available and board space is constrained | Choose for high-density layouts with compatible SMT capability; same firmware and schematic logic |
Compared with R5F104LHAFP#30 and R5F104LGAFB#30, the R5F104LGAFP#30 provides maximum code density (512 KB) in the most widely supported 0.65 mm pitch LQFP package - balancing firmware scalability, manufacturing accessibility, and industrial thermal performance.
Availability
R5F104LGAFP#30 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor hubs, PLC I/O modules, and energy metering interfaces requiring stable component supply across multi-year production cycles.
Supply support for R5F104LGAFP#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 family delivers true low-power 16-bit MCU performance for general-purpose industrial applications - optimized for cost-sensitive, battery-operated, and thermally constrained systems requiring robust peripheral integration and long-term supply stability.
FAQ
What is the operating temperature range for the R5F104LGAFP#30?
The R5F104LGAFP#30 is rated for industrial operation from -40°C to +85°C (D-grade), verified per Renesas qualification standards. This range supports deployment in motor drives, factory automation controllers, and outdoor sensor enclosures without external thermal management.
Does the R5F104LGAFP#30 support in-system programming via UART?
Yes, the R5F104LGAFP#30 supports UART-based bootloader programming using the on-chip UART0 (P50/P51) and built-in flash self-programming library. The process requires no external debugger and is enabled by configuring the flash shield window and boot swap functionality.
How many ADC channels does the R5F104LGAFP#30 provide, and what is their resolution?
The R5F104LGAFP#30 integrates a 10-bit successive approximation ADC with 20 analog input channels (ANI0–ANI19), supporting single-ended and differential measurements. It includes an internal 1.45 V reference and on-die temperature sensor - all operable across the full 1.6–5.5 V supply range.
Can the R5F104LGAFP#30 operate from a single 3.3 V supply?
Yes, the R5F104LGAFP#30 operates across 1.6 V to 5.5 V, making 3.3 V a fully supported and commonly used supply voltage. At 3.3 V, it achieves 32 MHz maximum clock speed, 66 μA/MHz active current, and full peripheral functionality including ADC, RTC, and serial interfaces.
What debug interface does the R5F104LGAFP#30 use, and which pins are required?
The R5F104LGAFP#30 uses Renesas' proprietary on-chip debug interface accessed via three dedicated pins: P40 (TOOL0), P50 (TOOLRxD), and P51 (TOOLTxD). These support full JTAG-equivalent functionality - including breakpoints, memory inspection, and flash programming - using the E2 or E2 Lite emulator.
R5F104LGAFP#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:
R5F104LGAFP#30 FAQ
1.How can I place an order for R5F104LGAFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104LGAFP#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 R5F104LGAFP#30 reliable?
The price and inventory of R5F104LGAFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104LGAFP#30 is usually 5 days.
3.What payment methods are accepted for R5F104LGAFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104LGAFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104LGAFP#30?
R5F104LGAFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104LGAFP#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 R5F104LGAFP#30?
For technical support, including R5F104LGAFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104LGAFP#30 requirements.
6.How does Aetrix verify that R5F104LGAFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F104LGAFP#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 R5F104LGAFP#30 meets industry standards.
7.What is the process for return or replacement of R5F104LGAFP#30?
All R5F104LGAFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104LGAFP#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 R5F104LGAFP#30 part is unused and in its original packaging.
Return procedure for R5F104LGAFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104LGAFP#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…

