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

- Shipping:

Inventory:2,160
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104LDAFP#30 from Renesas is a 64-pin LQFP-0.65 mm pitch, industrial-grade (D) 16-bit RL78/G14 microcontroller with 192 KB flash, 20 KB RAM, and 8 KB data flash. It operates from 1.6–5.5 V, delivers 44 DMIPS at 32 MHz, and supports ultra-low-power HALT/STOP/SNOOZE modes (0.60 μA RTC+LVD). Used in motor control, sensor hubs, and industrial HMI.
For engineers reviewing the R5F104LDAFP#30 datasheet, R5F104LDAFP#30 pinout, R5F104LDAFP#30 application, or R5F104LDAFP#30 equivalent, key selection criteria include its 64-pin LQFP package, 192 KB code flash with block erase security, integrated 10-bit 20-channel ADC, real-time clock with calendar, and dual UART/LIN support for deterministic serial communication in resource-constrained embedded systems.
Technical Context
The R5F104LDAFP#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 Data Transfer Controller (DTC) for autonomous memory transfers and an Event Link Controller (ELC) enabling hardware-triggered peripheral chaining without CPU intervention.
Its mixed-signal subsystem includes a 10-bit A/D converter with internal 1.45 V reference and temperature sensor, dual 8-bit D/A channels with real-time output, two comparators with window mode, and a 12-bit interval timer plus calendar-mode RTC - all operating across the full −40°C to +85°C industrial temperature range.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/divide instructions |
| Max Clock Speed | 32 MHz (44 DMIPS), supported by high-accuracy ±1.0% on-chip oscillator (1–64 MHz selectable) |
| Memory | 192 KB code flash (1 KB blocks), 20 KB RAM, 8 KB data flash with 1M rewrite cycles and background operation |
| Power Modes | HALT (66 μA/MHz), STOP (0.60 μA w/ RTC+LVD), SNOOZE - enabling battery-powered operation >10 years |
| Analog Peripherals | 10-bit 20-channel ADC (VDD-referenced, internal 1.45 V ref, temp sensor), dual 8-bit DACs (0–VDD output), two comparators |
| Serial Interfaces | 3× UART/LIN, 4× I²C/simplified I²C, 3–8× CSI (SPI-compatible), all configurable via ELC for event-driven operation |
| Timers | 12× 16-bit timers (TAU/Timer RJ/RD/RG), 1× 12-bit interval timer, 1× calendar RTC (99-year), 1× watchdog |
| Operating Range | −40°C to +85°C (industrial grade D), 1.6–5.5 V supply - suitable for unregulated 3.3 V or 4.2 V Li-ion systems |
Pinout & Package
Package: 64-pin LQFP, 12 × 12 mm, 0.65 mm pitch (PLQP0064JA-A / PLQP0064JB-A).
| Pin | Circuit Role | Design Meaning |
|---|---|---|
| P00–P01 | GPIO / Analog Input / UART TX/RX | Primary UART1 interface with TRGCLKA/B for trace clocking; also 10-bit ADC inputs ANI17/ANI16 |
| P10–P15 | Multi-function Serial I/O | Support CSI11/I²C11 (P10–P12), UART2/I²C20 (P13–P15); configurable via PIOR registers for pin remapping |
| P16–P17 | Timer I/O / UART0 Alternate | TI01/TO01 and TI02/TO02 for PWM generation; also serve as RxD0/TxD0 alternate pins with interrupt capability (INTP5/INTP4) |
| P20–P27 | Analog Input Bank | 8-channel 10-bit ADC input group (ANI0–ANI7), including AVREFP/AVREFM references and VCOUT0/VCOUT1 for comparator outputs |
| P30–P31 | RTC & Buzzer Control | INTP3 for RTC1HZ output; PCLBUZ0 for programmable buzzer drive - enables low-power timekeeping with audible feedback |
| P50–P51 | Debug & UART0 Primary | SI00/RxD0 and SO00/TxD0 for primary UART0; also TOOLRxD/TOOLTxD for on-chip debug interface |
| P60–P62 | I²C & Serial Interface | SCLA0/SDAA0 for I²C0; SSI00 for synchronous serial - supports multi-drop sensor networks and EEPROM interfacing |
| P121–P124 | Crystal & External Clock | X1/X2 for 32.768 kHz crystal (RTC), XT1/XT2 for high-speed crystal (up to 20 MHz) or EXCLKS for external clock input |
| RESET, REGC, VDD, VSS | Power & Reset | Active-low RESET with internal POR; REGC requires 0.47–1 µF capacitor to VSS for voltage regulator stability |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power operation | 0.60 μA in STOP mode with RTC + LVD active - enables decade-long battery life in metering applications |
| Self-programmable flash | Boot swapping and flash shield window enable secure firmware updates without external programmer or system halt |
| Event Link Controller (ELC) | Hardware chaining of 19–26 peripheral events eliminates CPU polling and ISR latency in real-time control loops |
| Background data flash rewrite | BGO allows full CPU execution from code flash while rewriting data flash - critical for logging without interrupting control tasks |
| Dual UART with LIN support | UART2 includes LIN bus physical layer compliance (ISO 17987) for automotive body electronics integration |
| On-chip temperature sensor | Calibrated 10-bit ADC channel provides ±2°C accuracy over −40°C to +85°C - eliminates external thermal monitoring ICs |
Applications
| Motor Control System | Industrial Sensor Hub |
|---|---|
Use Scenario: Brushless DC motor commutation with current sensing, speed regulation, and fault protection. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, managing PWM timers (TAU), sampling ADC channels (ANI0–ANI7), and communicating via UART/LIN to host MCU. Use Value: Integrated 16-bit timers with dead-time insertion, 10-bit ADC with simultaneous sampling, and 0.60 μA STOP mode reduce BOM cost and extend runtime in portable tools. | Use Scenario: Multi-sensor data aggregation (temperature, humidity, vibration) with local preprocessing and wireless uplink. IC Role / Device Role / Timing Role: Central sensor fusion node using ELC to trigger ADC conversions on timer events, store calibrated data in data flash, and transmit via UART to BLE module. Use Value: Background data flash writes (BGO) allow continuous logging during active sensing; on-chip temperature sensor eliminates calibration drift in environmental monitoring. |
| Smart Energy Meter | Factory HMI Panel |
Use Scenario: Electricity meter with real-time energy calculation, tamper detection, and optical/IR communication. IC Role / Device Role / Timing Role: RTC-driven billing engine with calendar mode, LVD-monitored power-fail detection, and UART-based DLMS/COSEM protocol stack. Use Value: Calendar-mode RTC ensures accurate time-of-use billing; 1M-cycle data flash stores 10+ years of consumption logs without wear leveling overhead. | Use Scenario: Local operator interface with LED indicators, push-button inputs, buzzer alerts, and display backlight control. IC Role / Device Role / Timing Role: GPIO manager with key interrupt (INTP0–INTP5), PCLBUZ0-driven audible feedback, and PWM-controlled LED dimming via TO00/TO01. Use Value: On-chip buzzer controller and programmable PWM eliminate external drivers; N-ch open-drain I/O supports direct 3.3 V/5 V logic interfacing with legacy displays. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104LEAFP#30 | Same 64-pin LQFP package, but 48 KB flash, 5.5 KB RAM, 4 KB data flash - lower memory capacity and no RTC calendar mode | Targeted at simpler control tasks without long-term timekeeping or large firmware; lacks calendar RTC and BGO data flash | Select when firmware size < 48 KB and calendar/time-stamping is unnecessary - reduces cost without sacrificing pin compatibility |
| R5F104LGAFP#30 | Same 64-pin LQFP, 128 KB flash, 16 KB RAM, 8 KB data flash - 64 KB less code flash than R5F104LDAFP#30 | Optimized for mid-complexity applications requiring RTC and BGO but not full 192 KB firmware footprint | Choose for balanced cost/performance where 128 KB flash suffices - retains all analog peripherals and ELC functionality |
Compared with R5F104LEAFP#30 and R5F104LGAFP#30, the R5F104LDAFP#30 provides 192 KB flash and 20 KB RAM for larger firmware (e.g., Modbus TCP stack + OTA), full calendar RTC for billing/metering, and higher ADC channel count - making it optimal for feature-rich industrial edge nodes where memory headroom and precision timekeeping are critical.
Availability
R5F104LDAFP#30 is available at Aetrix Electronics and suitable for motor control systems, smart meters, industrial sensor hubs, and factory HMI panels requiring stable component supply across extended product lifecycles.
Supply support for R5F104LDAFP#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, and power management solutions for industrial, automotive, 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 requiring robust analog integration and deterministic real-time performance.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104LDAFP#30?
The R5F104LDAFP#30 operates at up to 32 MHz with a measured performance of 44 DMIPS. This is achieved using the high-speed on-chip oscillator (±1.0% accuracy) and the RL78 CPU's 3-stage pipeline. The R5F104LDAFP#30 maintains this performance across its full industrial temperature range (−40°C to +85°C) and supply voltage (1.6–5.5 V), making it suitable for timing-critical control loops in motor drives and power converters.
Does the R5F104LDAFP#30 support real-time clock functionality with calendar mode?
Yes, the R5F104LDAFP#30 includes a dedicated real-time clock (RTC) peripheral with full calendar mode supporting year/month/day/hour/minute/second tracking for up to 99 years, alarm interrupts, and automatic clock correction. This RTC operates independently in STOP mode with only 0.60 μA current draw when paired with the on-chip LVD, enabling precise timekeeping in smart meters and data loggers powered by coin cells or energy harvesting.
What are the flash memory configuration details for the R5F104LDAFP#30?
The R5F104LDAFP#30 integrates 192 KB of on-chip code flash memory organized in 1 KB blocks, with security features including per-block erase/write prohibition. It also includes 8 KB of data flash supporting background operation (BGO), 1,000,000 write/erase cycles (typical), and reprogramming at VDD = 1.8–5.5 V. These features allow safe field firmware updates and persistent parameter storage without halting application execution - a key capability of the R5F104LDAFP#30 in industrial deployments.
How many analog-to-digital converter (ADC) channels does the R5F104LDAFP#30 provide, and what is their resolution?
The R5F104LDAFP#30 features a 10-bit successive approximation register (SAR) ADC with up to 20 input channels (ANI0–ANI19), selectable reference sources (VDD or internal 1.45 V), and integrated temperature sensor. It supports single- and continuous-conversion modes, scan sequences, and hardware triggering via the Event Link Controller (ELC). This ADC capability enables high-accuracy sensor interfacing in the R5F104LDAFP#30 for applications like motor phase current sensing and environmental monitoring.
Is the R5F104LDAFP#30 pin-compatible with other RL78/G14 variants in the same package?
Yes, the R5F104LDAFP#30 is pin-compatible with all other RL78/G14 devices in the 64-pin LQFP-0.65 mm package (e.g., R5F104LEAFP#30, R5F104LGAFP#30), sharing identical pin functions, electrical characteristics, and mechanical footprint (PLQP0064JA-A / PLQP0064JB-A). This allows direct substitution within the same PCB layout when adjusting flash/RAM requirements - a design flexibility confirmed in Renesas' official ordering information tables for the RL78/G14 family.
R5F104LDAFP#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:
- 48KB (48K 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:
R5F104LDAFP#30 FAQ
1.How can I place an order for R5F104LDAFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104LDAFP#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 R5F104LDAFP#30 reliable?
The price and inventory of R5F104LDAFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104LDAFP#30 is usually 5 days.
3.What payment methods are accepted for R5F104LDAFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104LDAFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104LDAFP#30?
R5F104LDAFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104LDAFP#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 R5F104LDAFP#30?
For technical support, including R5F104LDAFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104LDAFP#30 requirements.
6.How does Aetrix verify that R5F104LDAFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F104LDAFP#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 R5F104LDAFP#30 meets industry standards.
7.What is the process for return or replacement of R5F104LDAFP#30?
All R5F104LDAFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104LDAFP#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 R5F104LDAFP#30 part is unused and in its original packaging.
Return procedure for R5F104LDAFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104LDAFP#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…

