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

- Shipping:

Inventory:4,713
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104LHAFP#30 from Renesas is a 64-pin LQFP-0.65mm-pitch, 128 KB flash, 8 KB data flash, 16 KB RAM RL78/G14 16-bit microcontroller operating from 1.6–5.5 V, delivering 44 DMIPS at 32 MHz with ultra-low-power HALT/STOP/SNOOZE modes (66 μA/MHz active, 0.60 μA RTC+LVD), used in industrial sensor nodes and battery-powered HMI control.
For engineers reviewing the R5F104LHAFP#30 datasheet, R5F104LHAFP#30 pinout, R5F104LHAFP#30 application, or R5F104LHAFP#30 equivalent, key selection criteria include its 64-pin LQFP package, 128 KB code flash with self-programming and flash shield window, integrated 10-bit 20-channel ADC, real-time clock with calendar/alarm, and UART/I²C/CSI serial interfaces for embedded control systems requiring long-term power efficiency and functional safety support.
Technical Context
The R5F104LHAFP#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 Event Link Controller (ELC) for hardware-triggered peripheral chaining and Data Transfer Controller (DTC) supporting normal, repeat, and block transfer modes activated by interrupts.
Its mixed-signal subsystem includes an 8/10-bit ADC with internal 1.45 V reference and temperature sensor, dual 8-bit DACs (0–VDD output), two comparators with window/high-speed/low-speed modes, and programmable I/O with N-ch open-drain, TTL input, and pull-up options-enabling direct interfacing with 1.8/2.5/3.0 V logic without level shifters.
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 | 32 MHz (44 DMIPS); high-accuracy on-chip oscillator selectable from 1–64 MHz ±1.0% over -40°C to +85°C |
| Memory | 128 KB code flash (1 KB blocks), 8 KB data flash (1M rewrite cycles), 16 KB RAM |
| Power | 1.6–5.5 V operation; 66 μA/MHz active current; 0.60 μA in STOP mode with RTC + LVD active |
| Analog | 10-bit 20-channel ADC (VDD-referenced), dual 8-bit DACs (0–VDD output), two comparators with internal/external reference selection |
| Peripherals | 4× UART/LIN, 4–10× I²C/simplified I²C, 3–8× CSI, 8–12× 16-bit timers including RTC and watchdog |
| I/O | 64-pin LQFP package with 52 general-purpose I/O pins, N-ch open-drain (6 V tolerant), TTL input, and on-chip pull-up |
Pinout & Package
Package: 64-pin LQFP, 12 × 12 mm body, 0.65 mm pitch, lead-free, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00–P01 | ANI17/TI00/TxD1 & ANI16/TO00/RxD1 | 10-bit analog inputs with timer/clock I/O and UART channel 1 interface |
| P10–P17 | SCK11/SI11/SO11 through TRDIOA0/TRDCLK | Multi-function serial interface group supporting CSI, I²C, UART, and touch sensing (TRD) |
| P20–P27 | ANI0–ANI7/AVREFP/AVREFM/ANO0/ANO1 | Dedicated analog front-end with differential reference inputs and 2-channel output capability |
| P30–P31 | INTP3/RTC1HZ/SCK00/SCL00 & TI03/TO03/INTP4/PCLBUZ0 | Real-time clock output and primary I²C master interface with buzzer timer function |
| P60–P62 | SCLA0/SDAA0/SSI00 | Secondary I²C bus (SCLA0/SDAA0) and synchronous serial interface (SSI) for external memory or sensors |
| P120–P124 | ANI19/VCOUT0, X1/X2/EXCLK, XT1/XT2/EXCLKS | Crystal oscillator support (32.768 kHz RTC + 1–20 MHz main), VCOUT for voltage-controlled output |
| RESET, REGC, VDD, VSS | Reset input, regulator capacitor, supply, ground | Hard reset pin; REGC requires 0.47–1 µF capacitor to VSS; dual power domains enable low-noise analog operation |
Key Features
| Feature | Design Value |
|---|---|
| Self-programming flash | Boot swapping and flash shield window enable secure firmware updates without external programmer |
| Background data flash | BGO allows CPU execution from program memory while rewriting 4–8 KB data flash (1M cycle endurance) |
| Event Link Controller | Hardware event chaining eliminates CPU overhead for time-critical peripheral sequences (e.g., ADC→DMA→UART) |
| Ultra-low-power STOP mode | 0.60 μA retention with RTC calendar, alarm, and LVD interrupt wake-up-ideal for battery life extension |
| Dual-voltage I/O | Direct interface with 1.8/2.5/3.0 V peripherals via configurable I/O voltage thresholds and open-drain drive |
| On-chip debug | Fully integrated debug interface supports real-time trace, breakpoints, and flash programming via single-wire SWD |
Applications
| Industrial Sensor Node | Smart Thermostat Control |
|---|---|
Use Scenario: Battery-powered environmental monitoring node measuring temperature, humidity, and CO₂ with wireless reporting every 5 minutes. IC Role / Device Role / Timing Role: Main system controller executing sensor acquisition, calibration, RTC-based scheduling, and UART-to-Bluetooth bridge. Use Value: 0.60 μA STOP mode extends 2xAA battery life beyond 5 years; integrated 10-bit ADC and temperature sensor eliminate external components. | Use Scenario: Residential HVAC controller with LCD display, push-button UI, and relay-driven valve actuation. IC Role / Device Role / Timing Role: Real-time system manager handling button debouncing, PWM fan control, LCD refresh, and 1-wire temperature polling. Use Value: 44 DMIPS at 32 MHz ensures responsive UI rendering; on-chip buzzer output (PCLBUZ0/PCLBUZ1) drives audible feedback without external driver. |
| Programmable Logic Controller (PLC) I/O Module | Energy Meter Communication Hub |
Use Scenario: DIN-rail mounted digital I/O expansion module with 8 isolated inputs and 8 relay outputs for factory automation. IC Role / Device Role / Timing Role: Isolation interface coordinator managing opto-coupler status reads, relay timing, Modbus RTU over RS-485, and watchdog supervision. Use Value: Dual UARTs support simultaneous Modbus master/slave; ELC enables deterministic response to input edge events within 1 µs. | Use Scenario: Two-way communication hub aggregating data from 16 smart meters via M-Bus and forwarding via NB-IoT to utility cloud. IC Role / Device Role / Timing Role: Protocol translation engine performing M-Bus physical layer timing, CRC calculation, and UART-to-SPI bridging to cellular modem. Use Value: Hardware CRC accelerator and DTC reduce CPU load by 35%; 1.6 V minimum supply enables brownout resilience during grid fluctuations. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104LGAFP#30 | 96 KB flash, 8 KB data flash, 12 KB RAM; identical 64-pin LQFP-0.65mm package and peripheral set | Lower memory footprint suits simpler control tasks with reduced firmware size and BOM cost | Select when application firmware fits ≤96 KB and no additional RAM or data flash is required |
| R5F104LJAFP#30 | 192 KB flash, 8 KB data flash, 20 KB RAM; same package, clock, and peripheral configuration | Supports larger firmware images, OTA updates, and complex protocol stacks (e.g., DLMS/COSEM) | Choose for future-proofing, field-upgradable designs, or applications requiring >128 KB code space |
Compared with R5F104LGAFP#30 and R5F104LJAFP#30, the R5F104LHAFP#30 provides optimal balance of memory headroom (128 KB flash) and cost for mid-complexity industrial controllers-avoiding under-provisioning while eliminating premium for unused capacity.
Availability
R5F104LHAFP#30 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart thermostat control, PLC I/O modules, and energy meter communication hubs requiring stable component supply across multi-year production cycles.
Supply support for R5F104LHAFP#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, and industrial control applications demanding high integration, robustness, and long-term supply stability.
FAQ
What is the maximum operating frequency and power consumption of the R5F104LHAFP#30?
The R5F104LHAFP#30 operates up to 32 MHz with 44 DMIPS performance and achieves 66 μA per MHz active current. In STOP mode with only RTC and LVD active, it draws just 0.60 μA-enabling multi-year battery life in sensor applications. Its 1.6–5.5 V supply range supports wide-input industrial power rails and coin-cell operation.
Does the R5F104LHAFP#30 support in-system programming and secure firmware updates?
Yes, the R5F104LHAFP#30 supports full in-system programming via on-chip debug interface and includes boot swapping and flash shield window features. These capabilities allow secure firmware updates in the field without external programmers, preventing unauthorized reprogramming and enabling safe dual-bank update mechanisms for mission-critical applications.
How many analog-to-digital converter channels does the R5F104LHAFP#30 provide, and what is their resolution?
The R5F104LHAFP#30 integrates a 10-bit successive-approximation ADC with up to 20 input channels (ANI0–ANI19), supporting both single-ended and differential measurements. It includes internal 1.45 V reference voltage and on-die temperature sensor, enabling accurate environmental monitoring without external references or calibration components.
What serial communication interfaces are available on the R5F104LHAFP#30?
The R5F104LHAFP#30 provides four UART/LIN channels, four to ten I²C/simplified I²C channels, and three to eight CSI (SPI-compatible) channels. All interfaces support multi-master operation, clock stretching, and hardware address matching-making it suitable for complex sensor networks, display drivers, and industrial fieldbus gateways.
Is the R5F104LHAFP#30 pin-compatible with other RL78/G14 variants in the same package?
Yes, all RL78/G14 devices in the 64-pin LQFP-0.65mm package-including R5F104LHAFP#30, R5F104LGAFP#30, and R5F104LJAFP#30-share identical pinouts and electrical characteristics. This enables seamless memory-scaling upgrades within the same PCB layout, reducing design iteration time and inventory complexity for families of related products.
R5F104LHAFP#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):
- 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:
R5F104LHAFP#30 FAQ
1.How can I place an order for R5F104LHAFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104LHAFP#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 R5F104LHAFP#30 reliable?
The price and inventory of R5F104LHAFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104LHAFP#30 is usually 5 days.
3.What payment methods are accepted for R5F104LHAFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104LHAFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104LHAFP#30?
R5F104LHAFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104LHAFP#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 R5F104LHAFP#30?
For technical support, including R5F104LHAFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104LHAFP#30 requirements.
6.How does Aetrix verify that R5F104LHAFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F104LHAFP#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 R5F104LHAFP#30 meets industry standards.
7.What is the process for return or replacement of R5F104LHAFP#30?
All R5F104LHAFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104LHAFP#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 R5F104LHAFP#30 part is unused and in its original packaging.
Return procedure for R5F104LHAFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104LHAFP#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…

