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

- Shipping:

Inventory:471
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104LKGFA#30 from Renesas is a 64-pin LQFP-0.65 mm pitch, industrial-grade (G: −40°C to +105°C) RL78/G14 16-bit MCU with 512 KB flash, 8 KB data flash, 24 KB RAM, 48 MHz max CPU speed, and integrated peripherals including 12-channel 10-bit ADC, dual DAC, RTC, and multiple serial interfaces (UART, I²C, CSI). It targets battery-powered industrial control and sensor nodes requiring ultra-low power operation (0.60 μA in STOP mode).
For engineers reviewing the R5F104LKGFA#30 datasheet, R5F104LKGFA#30 pinout, R5F104LKGFA#30 application, or R5F104LKGFA#30 equivalent, key selection criteria include its 512 KB code flash capacity, 64-pin LQFP-0.65 mm package with full peripheral I/O remapping, industrial temperature rating, and support for background data flash rewriting (BGO) at VDD = 1.8–5.5 V.
Technical Context
The R5F104LKGFA#30 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), and includes multiply/divide/accumulate instructions. Its memory subsystem integrates 512 KB on-chip flash with 1 KB block erase granularity and security lock, plus 8 KB data flash rated for 1,000,000 rewrite cycles.
Peripherals include a 12-channel 10-bit ADC with internal 1.45 V reference and temperature sensor, two 8-bit DACs with real-time output, 12× 16-bit timers (including TAU, Timer RJ/RD/RG), RTC with calendar/alarm/correction, and 7 serial interface channels (3× UART/LIN, 4× I²C/CSI). Event Link Controller (ELC) enables hardware-triggered peripheral chaining without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 16-bit CISC with 3-stage pipeline; supports 0.03125 µs min instruction time @32 MHz |
| Flash Memory | 512 KB code flash with 1 KB erase blocks, security lock, and self-programming with boot swap |
| Data Flash | 8 KB with background operation (BGO), 1M rewrite cycles, VDD = 1.8–5.5 V programming voltage |
| RAM | 24 KB on-chip RAM; includes dedicated areas for flash library use (start address F3F00H) |
| ADC | 10-bit resolution, 12 analog inputs, internal 1.45 V reference, integrated temperature sensor |
| DAC | Two independent 8-bit DACs; output range 0 V to VDD; real-time output capability |
| Operating Temp | −40°C to +105°C (industrial G-grade); qualified for extended thermal cycling in harsh environments |
| Supply Voltage | 1.6 V to 5.5 V single supply; enables direct interfacing with 1.8 V, 2.5 V, 3.3 V, and 5 V systems |
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 | General-purpose I/O / UART1 TX/RX | Primary debug/communication interface; supports TTL-level UART1 with TRGCLKA/B clocking |
| P10–P17 | Multi-function serial I/O (CSI/I²C/UART) | Configurable as SCK11/SDA11/SO11/SI11 etc.; supports up to 4 UART, 10 I²C, or 8 CSI channels via peripheral redirection |
| P20–P27 | Analog input / AVREFP/AVREFM / ANI0–ANI7 | 8-channel analog front-end with differential reference inputs; enables precision sensor signal acquisition |
| P30/P31 | RTC1HZ / INT interrupt / PCLBUZ0 | Real-time clock output and external interrupt trigger; supports buzzer tone generation without CPU load |
| P60/P61 | I²C bus (SCLA0/SDAA0) | Dedicated hardware I²C master/slave interface; supports standard/fast-mode (100/400 kHz) communication |
| P121/P122 | Crystal oscillator inputs (X1/X2) | Supports 32.768 kHz crystal for RTC accuracy or high-speed crystal up to 20 MHz for main clock |
| RESET / REGC / VDD / VSS | Power and reset management | On-chip POR and LVD; REGC requires 0.47–1 µF capacitor to VSS for stable internal regulator operation |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power STOP mode | 0.60 μA current draw with only RTC and LVD active-enables multi-year battery life in sensor nodes |
| Background Data Flash Rewrite (BGO) | Execute program code from flash while simultaneously rewriting data flash-no runtime interruption required |
| Peripheral I/O Redirection (PIOR) | Reassign up to 19 peripheral functions across multiple pins via software register-maximizes PCB layout flexibility |
| Event Link Controller (ELC) | Hardware-triggered peripheral chaining (e.g., ADC conversion → DMA transfer → timer compare) eliminates CPU polling overhead |
| Integrated temperature sensor | Calibrated on-die sensor with ±2°C accuracy over −40°C to +105°C-enables system thermal monitoring without external components |
| High-accuracy on-chip oscillator | ±1.0% frequency tolerance (1.8–5.5 V, −20°C to +85°C)-reduces BOM cost by eliminating external crystal in non-RTC applications |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Closed-loop control of BLDC fans and pumps in HVAC and factory automation systems. IC Role / Device Role / Timing Role: Main controller executing PID algorithms, driving gate drivers via PWM outputs, and monitoring current/voltage/temperature via ADC/DAC. Use Value: Integrated 12-channel 10-bit ADC and dual DAC enable precise analog feedback and actuator control; ELC reduces latency between sensing and response. | Use Scenario: Battery-powered environmental monitor measuring temperature, humidity, and CO₂ in building management systems. IC Role / Device Role / Timing Role: Low-power host MCU managing sensor interfaces, data logging to data flash, and wireless transmission via UART-to-LoRa bridge. Use Value: 0.60 μA STOP mode extends battery life to >5 years; BGO allows seamless firmware updates and sensor calibration storage during operation. |
| Programmable Logic Controller (PLC) I/O Module | Energy Metering Front-End |
Use Scenario: DIN-rail mounted I/O expansion module with digital input/output, analog input, and isolated communication. IC Role / Device Role / Timing Role: Interface processor handling opto-isolated DI/DO, 12-bit ADC sampling, and RS-485 Modbus RTU communication. Use Value: 64-pin LQFP provides ample I/O (up to 92 pins total) and peripheral remapping for flexible board design; industrial temp grade ensures reliability in control cabinets. | Use Scenario: Residential smart meter measuring voltage, current, and power factor using shunt/CT sensors. IC Role / Device Role / Timing Role: Precision analog acquisition engine with simultaneous sampling, real-time energy calculation, and secure flash-based tariff storage. Use Value: Internal 1.45 V reference and temperature sensor enable drift compensation; 512 KB flash supports complex metrology algorithms and firmware encryption. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104LLGFA#30 | Same 64-pin LQFP-0.65 mm package, identical 512 KB flash/8 KB data flash/24 KB RAM, but rated for −40°C to +85°C (D-grade) | Targeted at commercial/industrial ambient environments without extended thermal requirements | Select when operating temperature does not exceed +85°C and cost optimization is prioritized over extended temp qualification |
| R5F104LKAFB#30 | Same 512 KB/8 KB/24 KB configuration but in 64-pin LFQFP-0.5 mm pitch (10 × 10 mm) package-smaller footprint, finer pitch | Suitable for space-constrained designs where PCB real estate is limited and fine-pitch assembly is available | Choose for compact industrial modules where 10 × 10 mm footprint and 0.5 mm pitch are acceptable in manufacturing process |
Compared with R5F104LLGFA#30, the R5F104LKGFA#30 offers guaranteed operation up to +105°C for demanding thermal environments; compared with R5F104LKAFB#30, it provides easier hand-soldering and test access due to larger 0.65 mm pitch and 12 × 12 mm body, improving yield in medium-volume production.
Availability
R5F104LKGFA#30 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, PLC I/O modules, and energy metering front-ends requiring stable component supply, long-term lifecycle support, and guaranteed industrial temperature performance.
Supply support for R5F104LKGFA#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 thermally demanding industrial applications-balancing performance, integration, and energy efficiency.
FAQ
What is the maximum operating frequency and corresponding instruction timing for the R5F104LKGFA#30?
The R5F104LKGFA#30 supports a maximum CPU clock of 32 MHz (with high-speed on-chip oscillator) and 48 MHz (via PLL from 8 MHz external source). At 32 MHz, the minimum instruction execution time is 0.03125 µs. The RL78 core allows dynamic switching between high-speed and ultra-low-speed modes (e.g., 32.768 kHz for RTC), enabling adaptive power/performance trade-offs in the R5F104LKGFA#30.
Does the R5F104LKGFA#30 support background data flash rewriting (BGO), and what are the voltage requirements?
Yes, the R5F104LKGFA#30 supports Background Operation (BGO) for data flash rewriting, allowing program execution from code flash while concurrently writing to data flash. Rewriting is supported across the full VDD range of 1.8 V to 5.5 V, and the data flash is rated for 1,000,000 write/erase cycles. This capability is essential for reliable firmware updates and parameter storage in the R5F104LKGFA#30 without halting application logic.
How many analog input channels and what ADC resolution does the R5F104LKGFA#30 provide?
The R5F104LKGFA#30 integrates a 10-bit successive approximation ADC with up to 12 analog input channels (ANI0–ANI11, plus ANI16–ANI19 depending on pin mapping). It includes an internal 1.45 V reference voltage and an on-die temperature sensor, enabling accurate sensor signal acquisition and thermal compensation without external components in the R5F104LKGFA#30.
What is the purpose of the REGC pin on the R5F104LKGFA#30, and how must it be connected?
The REGC pin on the R5F104LKGFA#30 connects to the internal voltage regulator's stabilization capacitor. It must be connected to VSS via a 0.47 µF to 1.0 µF ceramic capacitor placed as close as possible to the pin. Failure to properly decouple REGC risks unstable internal regulation, leading to erratic reset behavior or flash programming errors in the R5F104LKGFA#30.
Can the R5F104LKGFA#30 operate without an external crystal, and what is the accuracy of its on-chip oscillator?
Yes, the R5F104LKGFA#30 can operate entirely from its high-accuracy on-chip oscillator, selectable from 1 MHz to 64 MHz. At 32 MHz, the oscillator achieves ±1.0% accuracy across VDD = 1.8–5.5 V and TA = −20°C to +85°C. For RTC-critical applications, a 32.768 kHz crystal is still recommended on X1/X2, but general-purpose timing and communication (e.g., UART baud generation) function reliably using the on-chip oscillator in the R5F104LKGFA#30.
R5F104LKGFA#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:
- 384KB (384K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 32K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.4V ~ 5.5V
- Data Converters:
- A/D 12x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104LKGFA#30 FAQ
1.How can I place an order for R5F104LKGFA#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104LKGFA#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 R5F104LKGFA#30 reliable?
The price and inventory of R5F104LKGFA#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104LKGFA#30 is usually 5 days.
3.What payment methods are accepted for R5F104LKGFA#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104LKGFA#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104LKGFA#30?
R5F104LKGFA#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104LKGFA#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 R5F104LKGFA#30?
For technical support, including R5F104LKGFA#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104LKGFA#30 requirements.
6.How does Aetrix verify that R5F104LKGFA#30 is sourced from the original manufacturer or authorized distributors?
All R5F104LKGFA#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 R5F104LKGFA#30 meets industry standards.
7.What is the process for return or replacement of R5F104LKGFA#30?
All R5F104LKGFA#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104LKGFA#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 R5F104LKGFA#30 part is unused and in its original packaging.
Return procedure for R5F104LKGFA#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104LKGFA#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…

