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

- Shipping:

Inventory:476
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104MKGFB#30 from Renesas is an RL78/G14 8-bit MCU with 384 KB flash, 32 KB RAM, and 80-pin LFQFP (0.5 mm pitch) package, operating from 1.6–5.5 V at -40 to +105°C (industrial G-grade). It delivers 44 DMIPS at 32 MHz, features a 12-bit RTC with calendar, 16-bit timers (12 channels), 10-bit ADC (16 channels), and ultra-low power consumption (66 μA/MHz active, 0.60 μA in RTC+LVD mode), targeting industrial control and sensor interface applications.
For engineers reviewing the R5F104MKGFB#30 datasheet, R5F104MKGFB#30 pinout, R5F104MKGFB#30 application, or R5F104MKGFB#30 equivalent, key selection considerations include its G-grade temperature rating, integrated event link controller (ELC), background data flash rewriting capability, and support for LIN-bus UART - all critical for robust, low-power embedded systems requiring long-term reliability and real-time peripheral coordination.
Technical Context
The R5F104MKGFB#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) supporting normal, repeat, and block transfer modes triggered by 19–26 event sources via the Event Link Controller (ELC), enabling deterministic peripheral-to-peripheral data movement 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 outputs (0–VDD), two comparators with window/high-speed/low-speed modes, and a real-time clock with alarm and calendar functions - all designed for autonomous analog monitoring and time-stamped control in resource-constrained industrial nodes.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 8-bit CISC CPU with 3-stage pipeline and multiply/divide/accumulate instructions |
| Flash Memory | 384 KB code flash with 1 KB block size, security lock, and self-programming with boot swap |
| Data Flash | 8 KB with background operation (BGO), 1,000,000 rewrite cycles, 1.8–5.5 V programming voltage |
| RAM | 32 KB on-chip RAM, including dedicated areas for flash library execution (start address F3F00H) |
| Operating Voltage | 1.6–5.5 V supply range supports direct interfacing with 1.8/2.5/3.0 V logic and battery-powered operation |
| Temperature Range | -40 to +105°C (G-grade industrial qualification per JESD22-A104) |
| Power Modes | HALT (66 μA/MHz), STOP (0.60 μA with RTC+LVD only), SNOOZE (low-latency wake-up from peripheral events) |
Pinout & Package
Package: 80-pin LFQFP, 12 × 12 mm body, 0.5 mm pitch, lead-free, RoHS-compliant. Thermal pad recommended to be connected to ground for thermal management.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P121/X1 | Crystal input | Connects to 32.768 kHz crystal for RTC and low-power subsystem clock |
| P122/X2/EXCLK | Crystal output / external clock input | Drives 32.768 kHz crystal; also accepts external clock up to 10 MHz |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; debounced by on-chip POR/LVD circuitry |
| REGC | Regulator capacitor terminal | Must connect 0.47–1 µF capacitor to VSS for internal LDO stability |
| P137/INTP0 | Interrupt input 0 | Dedicated edge-triggered interrupt pin with programmable sensitivity |
| P40/TOOL0 | On-chip debug interface | Used for single-wire debug (SWD) communication and flash programming |
Key Features
| Feature | Design Value |
|---|---|
| Event Link Controller (ELC) | Links 19–26 peripheral event signals directly to target functions (e.g., ADC trigger → timer start), eliminating CPU polling overhead |
| Background Data Flash Rewrite (BGO) | Enables concurrent program execution from flash while updating data flash - essential for firmware-over-the-air (FOTA) and logging without system freeze |
| Real-Time Clock (RTC) | Full calendar (year/month/day/hour/min/sec), alarm, and ±1 ppm correction via 32.768 kHz crystal - supports time-critical scheduling in unattended systems |
| Low-Power Modes | HALT, STOP, and SNOOZE modes reduce current to sub-μA levels while retaining RAM and RTC state - extends battery life in remote sensors |
| LIN-bus UART Support | Hardware LIN protocol compliance (ISO 17987) on UART channels enables cost-effective automotive body electronics integration |
| Peripheral I/O Redirection | PIOR0/PIOR1 registers allow dynamic remapping of serial interfaces (CSI, UART, I²C) to alternate pins - improves PCB layout flexibility and reuse |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Compact motor driver board for HVAC blowers and pump controllers requiring precise speed regulation and fault detection. IC Role / Device Role / Timing Role: Main system controller executing PID loops, managing PWM generation via Timer Array Unit (TAU), and monitoring current/voltage via 10-bit ADC. Use Value: Integrated ELC synchronizes ADC sampling with PWM edges, reducing jitter and improving current measurement accuracy without CPU load. |
Use Scenario: Battery-powered environmental sensor node measuring temperature, humidity, and air quality over multi-year deployments. IC Role / Device Role / Timing Role: System-on-chip managing sensor acquisition, data preprocessing, RTC-timed wake-ups, and low-power wireless transmission. Use Value: 0.60 μA STOP mode with RTC and LVD active enables >5-year battery life using standard CR2032 cells. |
| Automotive Body Electronics | Programmable Power Supply Monitor |
Use Scenario: Door module controlling window lift, mirror adjustment, and interior lighting with LIN bus communication to central gateway. IC Role / Device Role / Timing Role: LIN-compliant UART handles diagnostics and command reception; GPIO and timers drive H-bridge drivers and LED dimming. Use Value: Hardware LIN support ensures ISO 17987 compliance and eliminates software stack overhead, reducing BOM cost and certification risk. |
Use Scenario: Industrial power supply unit requiring real-time voltage/current monitoring, overvoltage protection, and event logging. IC Role / Device Role / Timing Role: Analog front-end supervisor using internal 1.45 V reference and temperature sensor to calibrate ADC readings and detect thermal drift. Use Value: On-chip temperature sensor and internal reference enable drift-compensated measurements without external components, improving long-term accuracy. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104MLGFB#30 | Same 80-pin LFQFP package and G-grade temp range, but 256 KB flash and 24 KB RAM | Suitable for less complex firmware with smaller memory footprint; lower cost where 384 KB is unnecessary | Select when application firmware fits within 256 KB and BOM cost optimization is prioritized over future scalability |
| R5F104PKGFB#30 | 100-pin LFQFP, same 384 KB flash and 32 KB RAM, adds 4 more I/O pins and 2 additional UART channels | Better suited for systems requiring expanded serial connectivity or higher I/O count (e.g., multi-sensor hubs) | Choose when design requires >80 I/Os or additional UART/LIN interfaces beyond R5F104MKGFB#30's 4 UARTs |
Compared with R5F104MLGFB#30, the R5F104MKGFB#30 provides 128 KB more flash and 8 KB more RAM for larger firmware or data buffering, while compared with R5F104PKGFB#30, it offers identical processing capability in a smaller, lower-cost 80-pin footprint - ideal for space-constrained industrial modules where I/O expansion is not required.
Availability
R5F104MKGFB#30 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, automotive body electronics, programmable power supply monitors, and battery-backed RTC applications requiring stable component supply across extended product lifecycles.
Supply support for R5F104MKGFB#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 family is engineered for ultra-low-power general-purpose embedded control, emphasizing energy efficiency, integrated analog peripherals, and seamless toolchain support - targeting cost-sensitive, high-reliability industrial and consumer applications.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104MKGFB#30?
The R5F104MKGFB#30 operates up to 32 MHz with a high-speed on-chip oscillator accurate to ±1.0% over -20 to +85°C. At this frequency, it achieves 44 DMIPS (Dhrystone 2.1), supported by its 3-stage pipeline RL78 core and optimized instruction set including hardware multiply/divide. This performance level enables real-time control tasks such as motor commutation and sensor fusion in compact industrial designs.
Does the R5F104MKGFB#30 support LIN bus communication, and how is it implemented?
Yes, the R5F104MKGFB#30 supports LIN bus communication through its UART peripherals, which include hardware LIN protocol features compliant with ISO 17987. The UART can generate and decode LIN headers, handle checksum calculation, and manage automatic baud rate detection - all without CPU intervention. This capability is confirmed in the RL78/G14 datasheet section "Serial Interfaces" and applies directly to the R5F104MKGFB#30 variant.
What are the flash memory configuration details for the R5F104MKGFB#30?
The R5F104MKGFB#30 contains 384 KB of on-chip code flash memory organized in 1 KB blocks, with security features to prohibit block erase and rewriting. It also includes 8 KB of data flash memory supporting background operation (BGO), allowing program execution during write/erase cycles. The flash library uses RAM starting at address F3F00H, as specified in the RL78/G14 datasheet for R5F104xL variants like the R5F104MKGFB#30.
How does the R5F104MKGFB#30 achieve ultra-low power consumption in STOP mode?
The R5F104MKGFB#30 achieves 0.60 μA typical current in STOP mode by powering down the CPU, flash, RAM, and most peripherals while retaining operation of the real-time clock (RTC) and low-voltage detector (LVD). This mode is enabled via software control and maintains calendar functionality and voltage monitoring - critical for battery-backed applications where periodic wake-up or fault detection must persist without significant drain.
What is the purpose of the REGC pin on the R5F104MKGFB#30, and how must it be connected?
The REGC pin on the R5F104MKGFB#30 connects to the internal LDO regulator's stabilization capacitor. Per the RL78/G14 datasheet, it must be connected to VSS via a 0.47–1 µF ceramic capacitor placed as close as possible to the pin. Failure to do so risks unstable internal voltage regulation, leading to erratic operation or failure to enter low-power modes reliably - a mandatory design requirement for all R5F104MKGFB#30 implementations.
R5F104MKGFB#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-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:
- 64
- 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 17x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104MKGFB#30 FAQ
1.How can I place an order for R5F104MKGFB#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104MKGFB#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 R5F104MKGFB#30 reliable?
The price and inventory of R5F104MKGFB#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104MKGFB#30 is usually 5 days.
3.What payment methods are accepted for R5F104MKGFB#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104MKGFB#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104MKGFB#30?
R5F104MKGFB#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104MKGFB#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 R5F104MKGFB#30?
For technical support, including R5F104MKGFB#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104MKGFB#30 requirements.
6.How does Aetrix verify that R5F104MKGFB#30 is sourced from the original manufacturer or authorized distributors?
All R5F104MKGFB#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 R5F104MKGFB#30 meets industry standards.
7.What is the process for return or replacement of R5F104MKGFB#30?
All R5F104MKGFB#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104MKGFB#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 R5F104MKGFB#30 part is unused and in its original packaging.
Return procedure for R5F104MKGFB#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104MKGFB#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…

