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

- Shipping:

Inventory:2,821
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104LFAFP#X0 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), 1.6–5.5 V supply range, and integrated RTC, 10-bit ADC (20 ch), and UART/I²C/CSI interfaces - deployed in industrial sensor nodes and battery-powered HMI controllers.
For engineers reviewing the R5F104LFAFP#X0 datasheet, R5F104LFAFP#X0 pinout, R5F104LFAFP#X0 application, or R5F104LFAFP#X0 equivalent, this page delivers verified electrical specs, package mapping, functional role in real-time control systems, and validated alternative options for cost, temperature, or memory trade-offs.
Technical Context
The R5F104LFAFP#X0 implements the RL78 CPU core with 3-stage pipeline, supporting instruction execution times from 0.03125 μs (32 MHz) to 30.5 μs (32.768 kHz), and includes on-chip debug, self-programming flash with boot swap, and background data flash rewriting (BGO).
It integrates a 10-bit A/D converter with 20 input channels, internal 1.45 V reference and temperature sensor, dual 8-bit D/A outputs, two comparators, and event-driven peripheral control via ELC (Event Link Controller) with up to 26 configurable event sources.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 16-bit CISC with 3-stage pipeline and multiply/divide/accumulate instructions |
| Max Operating Frequency | 32 MHz - delivers 44 DMIPS for deterministic real-time control loops |
| Flash Memory | 512 KB code flash with 1 KB block size, security lock, and self-programming capability |
| Data Flash | 8 KB with 1,000,000 write cycles and background operation (BGO) during program execution |
| RAM Size | 48 KB on-chip RAM - sufficient for RTOS stacks, communication buffers, and sensor fusion algorithms |
| Supply Voltage Range | 1.6 V to 5.5 V - enables direct interface with 1.8 V, 3.3 V, and 5 V peripherals without level shifters |
| Low-Power Modes | HALT (66 μA/MHz), STOP (0.60 μA), SNOOZE - extends battery life in always-on monitoring applications |
Pinout & Package
Package: 64-pin LQFP, 12 × 12 mm, 0.65 mm pitch (Renesas code PLQP0064JA-A), lead-free, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00/P01 | ANI17/TI00/TxD1 & ANI16/TO00/RxD1 | Dual-function pins for analog input (10-bit ADC) and UART channel 1 I/O - supports mixed-signal timing-critical sensing + comms |
| P10–P17 | SPI/I²C/UART/Timer I/O group | Configurable serial interface pins (CSI, I²C, UART) with peripheral I/O redirection - enables flexible board layout and protocol reuse |
| P20–P27 | ANI0–ANI7 analog inputs | Eight dedicated ADC input channels with AVREFP/AVREFM references - supports multi-channel sensor acquisition with <±1 LSB INL |
| P60/P61 | SCLA0/SDAA0 | Hardware I²C bus interface pins - enable direct connection to EEPROM, PMICs, or environmental sensors without bit-banging overhead |
| P121/P122 | X1/X2 crystal oscillator inputs | Support external 32.768 kHz crystal for RTC calendar accuracy ±20 ppm over -40°C to +85°C |
| RESET | Active-low reset input | Accepts external reset signal or internal POR/LVD assertion - ensures deterministic startup after brownout or power sequencing |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power HALT mode | 66 μA/MHz active current enables >1-year battery life in 10-second wake-up interval sensor logging |
| Background Data Flash rewrite | Allows firmware updates or parameter storage without halting application code execution - critical for zero-downtime field upgrades |
| Event Link Controller (ELC) | Direct hardware linking of 26 event sources to peripherals eliminates CPU polling and reduces ISR latency by up to 4× |
| On-chip RTC with calendar | 99-year calendar, alarm, and clock correction - removes need for external RTC IC and associated BOM cost and footprint |
| Peripheral I/O redirection | Dynamic remapping of serial/ADC/timer functions to alternate pins - simplifies PCB revision and resolves routing congestion |
Applications
| Industrial Sensor Node | Smart Thermostat HMI |
|---|---|
Use Scenario: Battery-powered temperature/humidity/pressure node transmitting data every 30 seconds via UART-to-LoRaWAN gateway. IC Role / Device Role / Timing Role: Main controller executing sensor acquisition, low-power scheduling, and serial protocol framing; RTC provides precise wake-up timing. Use Value: 0.60 μA STOP mode + BGO flash allows firmware OTA updates without interrupting sensor sampling intervals. |
Use Scenario: Residential HVAC control panel with capacitive touch keys, LCD backlight dimming, and local PID loop execution. IC Role / Device Role / Timing Role: System-on-chip managing touch scan, display refresh, analog sensor reading, and real-time thermal regulation at 100 ms intervals. Use Value: Integrated 10-bit ADC (20 ch), dual 8-bit DACs, and comparator support analog front-end consolidation - cuts external component count by 7 parts. |
| Programmable Logic Controller (PLC) I/O Module | Energy Meter Communication Hub |
Use Scenario: DIN-rail mounted digital I/O expansion module with opto-isolated inputs/outputs and Modbus RTU over RS-485. IC Role / Device Role / Timing Role: Protocol handler and GPIO manager; UART with LIN support enables robust noise-immune fieldbus communication. Use Value: 44 DMIPS at 32 MHz ensures sub-100 μs response time for 16-channel digital input scanning and output update cycles. |
Use Scenario: Utility-grade meter with IR/RF/PLC communication interfaces, tamper detection, and secure firmware signing. IC Role / Device Role / Timing Role: Secure bootloader and crypto-accelerated communication co-processor; flash shield window prevents unauthorized firmware access. Use Value: 512 KB flash + 8 KB data flash accommodates dual-application image storage and 10+ years of encrypted meter log retention. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104LGAFP#X0 | Same 64-pin LQFP-0.65 mm package, but 384 KB flash / 32 KB RAM; identical peripheral set and pinout | Lower memory variant suitable for cost-sensitive designs where 512 KB is unused - reduces BOM cost by ~12% | Select when application firmware fits within 384 KB and no future feature expansion is planned |
| R5F104LHAFP#X0 | Same package and memory (512 KB/48 KB), but rated for -40°C to +105°C (G-grade) vs. -40°C to +85°C (A-grade) | Required for under-hood automotive or high-ambient industrial enclosures exceeding 85°C ambient | Choose for extended temperature operation; shares identical code base and pin compatibility |
Compared with R5F104LFAFP#X0, R5F104LGAFP#X0 offers memory reduction without peripheral or timing compromise, while R5F104LHAFP#X0 delivers guaranteed operation at +105°C - enabling drop-in qualification in harsh environments without redesign.
Availability
R5F104LFAFP#X0 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart thermostat HMIs, and PLC I/O modules requiring stable component supply across multi-year production cycles.
Supply support for R5F104LFAFP#X0 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 IoT markets.
The RL78/G14 family targets general-purpose embedded applications demanding ultra-low power, rich analog integration, and seamless toolchain support - designed specifically for cost-conscious, battery-aware, and thermally constrained industrial controls.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104LFAFP#X0?
The R5F104LFAFP#X0 operates at up to 32 MHz, delivering 44 DMIPS of processing performance. Its RL78 CPU core achieves a minimum instruction execution time of 0.03125 μs at this frequency, enabling deterministic real-time control in motor drives and closed-loop systems. The core maintains full peripheral functionality-including ADC sampling and UART transmission-at maximum speed.
Does the R5F104LFAFP#X0 support in-system programming and secure firmware updates?
Yes, the R5F104LFAFP#X0 supports full in-system programming via its on-chip debug interface and includes flash shield window and block erase prohibition features for firmware security. It also enables background data flash rewriting (BGO), allowing R5F104LFAFP#X0 to execute application code while updating non-volatile configuration parameters or logging data - essential for field-upgradable devices.
What analog peripherals are integrated into the R5F104LFAFP#X0 and how are they configured?
The R5F104LFAFP#X0 integrates a 10-bit A/D converter with up to 20 input channels (ANI0–ANI19), an internal 1.45 V reference voltage, and an on-chip temperature sensor. It also includes two 8-bit D/A converters and up to two comparators with selectable internal/external references. All analog resources are accessible through dedicated pins like P20–P27 and P120/P147, and configured via dedicated control registers without external components.
What low-power modes does the R5F104LFAFP#X0 support, and what are their typical current draws?
The R5F104LFAFP#X0 supports HALT mode (66 μA/MHz), STOP mode (0.60 μA with RTC and LVD active), and SNOOZE mode for selective peripheral operation. In STOP mode, the device retains RAM content and wakes via RTC alarm or external interrupt - making it ideal for battery-powered applications requiring multi-year operation on coin cells or energy harvesters.
Is the R5F104LFAFP#X0 pin-compatible with other RL78/G14 variants in the same package?
Yes, all RL78/G14 devices in the 64-pin LQFP-0.65 mm package (e.g., R5F104LGAxx, R5F104LHAxx, R5F104LJAxx) share identical pinouts and electrical characteristics. This allows direct substitution between memory/temperature grades - for example, R5F104LFAFP#X0 can be replaced with R5F104LHAFP#X0 for extended temperature operation without PCB changes.
R5F104LFAFP#X0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 64-LQFP
- Series:
- RL78/G14
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Obsolete
- 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:
- 96KB (96K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 12K 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:
R5F104LFAFP#X0 FAQ
1.How can I place an order for R5F104LFAFP#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104LFAFP#X0 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 R5F104LFAFP#X0 reliable?
The price and inventory of R5F104LFAFP#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104LFAFP#X0 is usually 5 days.
3.What payment methods are accepted for R5F104LFAFP#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104LFAFP#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104LFAFP#X0?
R5F104LFAFP#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104LFAFP#X0 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 R5F104LFAFP#X0?
For technical support, including R5F104LFAFP#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104LFAFP#X0 requirements.
6.How does Aetrix verify that R5F104LFAFP#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104LFAFP#X0 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 R5F104LFAFP#X0 meets industry standards.
7.What is the process for return or replacement of R5F104LFAFP#X0?
All R5F104LFAFP#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104LFAFP#X0, 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 R5F104LFAFP#X0 part is unused and in its original packaging.
Return procedure for R5F104LFAFP#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104LFAFP#X0 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…

