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

- Shipping:

Inventory:3,508
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104LEAFB#X0 from Renesas is a 64-pin LFQFP (10 × 10 mm, 0.5 mm pitch), industrial-grade RL78/G14 16-bit MCU with 48 KB code flash, 5.5 KB RAM, and 4 KB data flash. It operates from 1.6–5.5 V, delivers 44 DMIPS at 32 MHz, and supports ultra-low-power modes (66 μA/MHz active, 0.60 μA RTC+LVD). It targets battery-powered industrial sensors and smart metering interfaces requiring integrated analog peripherals and secure firmware updates.
For engineers reviewing the R5F104LEAFB#X0 datasheet, R5F104LEAFB#X0 pinout, R5F104LEAFB#X0 application, or R5F104LEAFB#X0 equivalent, key selection criteria include its 64-pin LFQFP-0.5mm package, 48 KB flash/5.5 KB RAM allocation, dual UART + I²C + CSI serial support, 12-channel 10-bit ADC, and hardware-based flash self-programming with boot swap.
Technical Context
The R5F104LEAFB#X0 implements the RL78 CPU core with 3-stage pipeline CISC architecture, supporting instruction execution times from 0.03125 μs (32 MHz) to 30.5 μs (32.768 kHz). Its power management includes HALT, STOP, and SNOOZE modes, plus on-chip LVD with 14 selectable voltage thresholds and POR circuitry.
Peripheral integration includes Timer Array Unit (TAU) with 8 channels, 12-bit interval timer, calendar-capable RTC, watchdog timer, and Event Link Controller (ELC) enabling direct peripheral-to-peripheral event triggering without CPU intervention-reducing latency and wake-up overhead in deterministic real-time tasks.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 16-bit CISC with 3-stage pipeline; enables deterministic timing for real-time control loops. |
| Max Operating Frequency | 32 MHz; delivers 44 DMIPS for mid-complexity sensor fusion and communication stack execution. |
| Flash Memory | 48 KB code flash + 4 KB data flash; supports background operation (BGO) and 1M rewrite cycles for robust firmware/data logging. |
| RAM Size | 5.5 KB on-chip RAM; sufficient for RTOS context switching and buffered UART/I²C message handling. |
| ADC Resolution & Channels | 10-bit SAR ADC with up to 20 input channels; includes internal 1.45 V reference and temperature sensor for calibration-free sensing. |
| Serial Interfaces | 3 UART (1 LIN-capable), 4–10 I²C, 3–8 CSI; enables concurrent RS-485 gateway, sensor I²C bus, and debug SPI interface. |
| Operating Voltage Range | 1.6–5.5 V; allows direct connection to Li-ion, 3.3 V, or 5 V rails without external regulators in mixed-voltage systems. |
| Low-Power Modes | HALT (66 μA/MHz), STOP (0.60 μA), SNOOZE; extends battery life in wireless sensor nodes with periodic wake-up via RTC alarm. |
Pinout & Package
Package: 64-pin LFQFP (10 × 10 mm, 0.5 mm pitch), RoHS-compliant, industrial temperature grade (−40°C to +85°C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00/P01 | TxD1/RxD1, TI00/TO00 | Dual-function UART channel with timer capture/compare for pulse-width measurement in motor feedback. |
| P10–P17 | SPI/I²C/UART peripheral multiplexing | Configurable CSI/SCL/SDA pins enable flexible interface mapping to match PCB layout constraints. |
| P20–P27 | ANI0–ANI7, AVREFP/AVREFM | 8-channel analog input bank with dedicated reference pins for ratiometric sensor measurements. |
| P30/P31 | INTP3/RTC1HZ, TI03/TO03 | Hardware RTC interrupt output and general-purpose timer I/O for time-stamped event capture. |
| P50/P51 | RxD0/TxD0, TOOLRxD/TOOLTxD | Dedicated debug UART with tool interface signals simplifies in-system programming and trace debugging. |
| P121/P122 | X1/X2 crystal oscillator inputs | Supports 32.768 kHz crystal for RTC accuracy and optional high-frequency crystal for system clock stability. |
| RESET, REGC, VDD, VSS | Reset control, regulator capacitor, supply rails | REGC requires 0.47–1 μF capacitor to VSS for stable internal voltage regulation during low-power transitions. |
Key Features
| Feature | Design Value |
|---|---|
| Self-programming with boot swap | Enables safe over-the-air firmware updates by validating new image in inactive bank before atomic swap-no risk of bricking. |
| Event Link Controller (ELC) | Eliminates CPU polling by routing 19–26 peripheral events (e.g., ADC EOC → DMA trigger) directly in hardware for sub-μs response. |
| Real-time clock with calendar | 99-year calendar, alarm, and clock correction support accurate timestamping for data loggers without external RTC IC. |
| On-chip voltage detector (LVD) | 14-level programmable reset/interrupt threshold ensures graceful shutdown or brown-out recovery across varying battery discharge curves. |
| Hardware CRC calculator | Accelerates firmware integrity checks and secure bootloader validation without consuming CPU cycles or RAM buffers. |
| Dual DAC outputs (optional) | Up to two 8-bit voltage-output DACs (0–VDD range) support analog actuator control or calibration signal generation. |
Applications
| Industrial Sensor Node | Smart Energy Meter Interface |
|---|---|
Use Scenario: Battery-powered temperature/humidity node transmitting data hourly via LoRaWAN. IC Role / Device Role / Timing Role: Main controller managing ADC sampling, RTC wake-up, LoRa transceiver UART, and flash-based data buffering. Use Value: 0.60 μA STOP mode + BGO data flash writes extend 2-AA battery life beyond 10 years; integrated LVD prevents corruption during end-of-life voltage drop. | Use Scenario: DIN-rail mounted electricity meter with isolated RS-485 communication and tamper detection. IC Role / Device Role / Timing Role: System manager coordinating metrology IC SPI reads, tariff scheduling via RTC, and secure firmware updates over HAN. Use Value: Boot-swap self-programming ensures zero-downtime field upgrades; 14-level LVD detects grid sags and triggers backup power handover. |
| Programmable Logic Controller (PLC) I/O Module | Home Appliance Motor Control |
Use Scenario: Compact 8-channel digital input module with opto-isolated inputs and Modbus RTU over RS-485. IC Role / Device Role / Timing Role: Real-time I/O scanner using ELC-triggered GPIO reads and UART-modulated Modbus framing. Use Value: ELC eliminates CPU overhead in scanning loop-guarantees <1 ms cycle time even under full interrupt load; 48 KB flash hosts dual Modbus stacks. | Use Scenario: Brushless DC motor driver in HVAC blower with Hall-effect commutation and thermal protection. IC Role / Device Role / Timing Role: Motion controller executing FOC algorithm, reading Hall sensors via GPIO, and driving gate drivers via PWM timers. Use Value: TAU's 8-channel 16-bit timers provide precise complementary PWM with dead-time insertion; on-chip temperature sensor enables closed-loop thermal derating. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104LGAFB#X0 | Same 64-pin LFQFP package, but 128 KB flash / 16 KB RAM; identical peripheral set and pinout. | Targets designs requiring larger firmware (e.g., embedded web server, multi-protocol stacks) without PCB redesign. | Select when future firmware growth headroom or dual-application partitioning (secure/non-secure) is required. |
| R5F104LEAFP#V0 | Same flash/RAM configuration (48 KB/5.5 KB), but 64-pin LQFP (0.65 mm pitch); functionally identical core/peripherals. | Suitable for legacy LQFP-0.65mm footprint designs or where larger pad pitch eases assembly/test. | Choose for compatibility with existing LQFP-0.65mm layouts or simplified reflow profiling. |
Compared with R5F104LGAFB#X0, the R5F104LEAFB#X0 trades flash/RAM capacity for cost-sensitive deployments, while versus R5F104LEAFP#V0 it offers finer-pitch packaging for higher board density-both retain identical peripheral functionality and industrial temperature rating.
Availability
R5F104LEAFB#X0 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart energy meter interfaces, and PLC I/O modules requiring stable component supply, long-term lifecycle assurance, and RoHS-compliant sourcing.
Supply support for R5F104LEAFB#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 automotive, industrial, and IoT markets.
The RL78/G14 product line delivers true low-power 16-bit MCUs optimized for cost-sensitive industrial and consumer applications requiring rich analog integration, secure firmware update capability, and extended battery life.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104LEAFB#X0?
The R5F104LEAFB#X0 operates at up to 32 MHz, delivering 44 DMIPS of processing performance. This is achieved using the RL78 CPU core with a 3-stage pipeline and high-speed on-chip oscillator. The device maintains this performance across its full 1.6–5.5 V supply range and −40°C to +85°C industrial temperature grade, making R5F104LEAFB#X0 suitable for real-time control tasks in resource-constrained embedded systems.
Does the R5F104LEAFB#X0 support hardware-accelerated firmware updates?
Yes, the R5F104LEAFB#X0 supports hardware-accelerated firmware updates via its on-chip flash self-programming with boot swap functionality. This allows validated firmware images to be written to an inactive flash bank while the system runs from the active bank, then atomically switched at runtime-ensuring zero downtime and eliminating risk of corruption during power loss. R5F104LEAFB#X0 implements this without external memory or host intervention.
How many analog input channels and what ADC resolution does the R5F104LEAFB#X0 provide?
The R5F104LEAFB#X0 integrates a 10-bit successive approximation register (SAR) ADC with up to 20 analog input channels (ANI0–ANI19), including dedicated AVREFP/AVREFM pins for precision ratiometric measurements. It also features an internal 1.45 V reference voltage and on-die temperature sensor, enabling calibrated sensor readings without external components. This ADC capability is fully supported in the R5F104LEAFB#X0's 64-pin LFQFP package.
What low-power modes are available on the R5F104LEAFB#X0 and their typical current consumption?
The R5F104LEAFB#X0 offers HALT mode (66 μA/MHz), STOP mode (0.60 μA), and SNOOZE mode-each optimized for different trade-offs between wake-up latency and power savings. STOP mode retains RTC and LVD operation with minimal current draw, ideal for battery-powered devices requiring periodic wake-up. All modes are accessible via software control and supported across the full industrial temperature range of the R5F104LEAFB#X0.
Is the R5F104LEAFB#X0 pin-compatible with other RL78/G14 variants in the same package?
Yes, the R5F104LEAFB#X0 is pin-compatible with all other RL78/G14 MCUs in the 64-pin LFQFP (0.5 mm pitch) package, including R5F104LGAFB#X0 and R5F104LHAFB#X0. Pin functions, power/ground locations, and debug interface (TOOL0/TOOLRxD/TOOLTxD) are identical across this package group. This enables direct substitution for memory scaling or feature expansion without PCB revision-provided firmware accommodates differences in flash/RAM size or peripheral enablement.
R5F104LEAFB#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:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 5.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 12x8/10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104LEAFB#X0 FAQ
1.How can I place an order for R5F104LEAFB#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104LEAFB#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 R5F104LEAFB#X0 reliable?
The price and inventory of R5F104LEAFB#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104LEAFB#X0 is usually 5 days.
3.What payment methods are accepted for R5F104LEAFB#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104LEAFB#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104LEAFB#X0?
R5F104LEAFB#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104LEAFB#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 R5F104LEAFB#X0?
For technical support, including R5F104LEAFB#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104LEAFB#X0 requirements.
6.How does Aetrix verify that R5F104LEAFB#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104LEAFB#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 R5F104LEAFB#X0 meets industry standards.
7.What is the process for return or replacement of R5F104LEAFB#X0?
All R5F104LEAFB#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104LEAFB#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 R5F104LEAFB#X0 part is unused and in its original packaging.
Return procedure for R5F104LEAFB#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104LEAFB#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…

