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

- Shipping:

Inventory:4,985
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104MGDFB#X0 from Renesas is a 80-pin LFQFP, 0.5 mm pitch, industrial-grade (TA = −40 to +105°C) RL78/G14 16-bit MCU with 96 KB flash, 8 KB data flash, 12 KB RAM, and integrated RTC, 10-bit ADC (19 channels), and UART/SPI/I²C interfaces. It targets battery-powered industrial sensors and low-power HMI control units.
For engineers reviewing the R5F104MGDFB#X0 datasheet, R5F104MGDFB#X0 pinout, R5F104MGDFB#X0 application, or R5F104MGDFB#X0 equivalent, key selection criteria include its 0.60 μA STOP-mode current, 66 μA/MHz active power, 44 DMIPS @ 32 MHz performance, and support for background data flash rewriting (1M write cycles).
Technical Context
The R5F104MGDFB#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). It integrates an Event Link Controller (ELC) for hardware-triggered peripheral chaining and a Data Transfer Controller (DTC) enabling interrupt-driven memory transfers without CPU intervention.
Its clock system includes a high-accuracy ±1.0% on-chip oscillator (selectable from 1–64 MHz), dedicated low-speed oscillator for watchdog/RTC, and external crystal support (X1/X2, XT1/XT2). Power management features HALT, STOP, and SNOOZE modes with configurable voltage detector (LVD) and POR circuitry.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and 44 DMIPS @ 32 MHz |
| Flash Memory | 96 KB code flash with 1 KB block size, security lock, and self-programming |
| Data Flash | 8 KB with background operation (BGO), 1,000,000 write cycles, VDD = 1.8–5.5 V |
| RAM | 12 KB on-chip SRAM for program/data storage and flash library use |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD enabled |
| Analog Peripherals | 10-bit ADC (19 input channels, internal 1.45 V reference, temp sensor); no D/A or comparator |
| Operating Voltage | 1.6 V to 5.5 V single supply, enabling direct interface with 1.8/2.5/3.3 V logic |
| Temperature Range | −40°C to +105°C (industrial G-grade), qualified for extended thermal environments |
Pinout & Package
Package: 80-pin LFQFP (12 × 12 mm, 0.5 mm pitch), RoHS-compliant, industrial-grade thermal profile.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00/P01 | ANI17/TI00/TxD1 & ANI16/TO00/RxD1 | Dual-function pins for analog input (10-bit ADC), timer I/O, and UART channel 1 transceiver |
| P10–P17 | SPI/I²C/UART peripheral I/O group | Configurable CSI (SPI-like), I²C, and UART signals with peripheral I/O redirection (PIOR) |
| P20–P27 | ANI0–ANI7 analog inputs | Eight dedicated ADC input channels with AVREFP/AVREFM reference terminals |
| P30/P31 | INTP3/RTC1HZ/SCK00 & INTP4/TI03/TO03 | Real-time clock output (1 Hz), SPI master clock, and general-purpose timer I/O |
| P121/P122 | X1/X2 crystal oscillator inputs | Supports 32.768 kHz crystal for RTC and high-frequency crystals up to 20 MHz |
| P123/P124 | XT1/XT2/EXCLKS external clock inputs | Alternative high-speed clock source for main system clock or EXCLK synchronization |
| RESET/REGC/VDD/VSS | Reset, regulator capacitor, power rails | Hardware reset with debounced input; REGC requires 0.47–1 μF capacitor to VSS for stable LDO operation |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power STOP mode | 0.60 μA current draw while maintaining RTC and LVD functionality-enables multi-year battery life in sensor nodes |
| Background data flash rewrite | Execute code from flash while updating 8 KB data flash-no application interruption during firmware parameter updates |
| Event Link Controller (ELC) | Hardware routing of 19–26 event sources to peripherals-eliminates CPU polling and reduces latency for time-critical tasks |
| On-chip debug & self-programming | Fully supported via single-wire debug (SWD); boot swap and flash shield window enable secure field firmware upgrades |
| Multi-voltage I/O interface | IO pins tolerate 1.8/2.5/3.3 V logic levels-simplifies interconnection with mixed-voltage subsystems without level shifters |
| Integrated RTC with calendar | 99-year calendar, alarm, and clock correction-provides accurate timestamping without external real-time clock IC |
Applications
| Industrial Sensor Node | Smart Thermostat Controller |
|---|---|
Use Scenario: Battery-powered temperature/humidity/pressure sensor deployed in HVAC ducts or factory floors. IC Role / Device Role / Timing Role: Main controller executing sensor acquisition, local decision logic, and wireless transmission scheduling. Use Value: 0.60 μA STOP-mode current extends 2xAA battery life beyond 5 years; integrated RTC enables precise wake-up intervals. | Use Scenario: Residential/commercial thermostat with display, keypad, and relay control for HVAC actuation. IC Role / Device Role / Timing Role: System-on-chip managing UI responsiveness, environmental sensing, and timing-critical relay switching. Use Value: 12 KB RAM supports full UI stack; 19-channel ADC reads multiple thermistors and ambient sensors simultaneously. |
| Programmable Logic Controller (PLC) I/O Module | Energy Meter Communication Hub |
Use Scenario: DIN-rail mounted I/O expansion module interfacing with digital/analog field devices. IC Role / Device Role / Timing Role: Local intelligence layer handling signal conditioning, isolation supervision, and Modbus RTU protocol stack. Use Value: UART/SPI/I²C integration eliminates external bus interface ICs; 1.6–5.5 V operation tolerates wide industrial supply variance. | Use Scenario: Sub-metering gateway aggregating consumption data from smart meters via RS-485 and forwarding via Wi-Fi/Ethernet. IC Role / Device Role / Timing Role: Protocol translation engine and secure data buffer between legacy metering and cloud connectivity layers. Use Value: 8 KB data flash stores encryption keys and firmware update images; BGO allows seamless OTA updates without service interruption. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104MHDFB#X0 | 128 KB flash, 16 KB RAM, same 80-pin LFQFP package and peripheral set | Higher memory headroom for complex communication stacks or larger UI assets | Select when firmware exceeds 96 KB or requires >12 KB runtime RAM for buffers/cache |
| R5F104MGAFB#X0 | Same 96 KB flash/12 KB RAM, but 80-pin LQFP (0.65 mm pitch) instead of LFQFP (0.5 mm) | Larger pad pitch eases PCB assembly and rework; identical electrical/performance specs | Choose for simplified manufacturing or compatibility with existing LQFP footprint designs |
Compared with R5F104MGDFB#X0, R5F104MHDFB#X0 provides scalable memory for future firmware growth, while R5F104MGAFB#X0 offers identical functionality in a more manufacturable package-both retain full pin and software compatibility within the RL78/G14 family.
Availability
R5F104MGDFB#X0 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart thermostats, and PLC I/O modules requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F104MGDFB#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 demanding high integration, robustness, and energy efficiency.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104MGDFB#X0?
The R5F104MGDFB#X0 operates up to 32 MHz with a peak performance of 44 DMIPS. Its RL78 CPU core achieves this using a 3-stage pipeline and supports selectable clock sources including a high-accuracy ±1.0% on-chip oscillator. The R5F104MGDFB#X0 maintains full peripheral functionality-including ADC, UART, and timers-at all supported frequencies from 32.768 kHz to 32 MHz.
Does the R5F104MGDFB#X0 support in-system programming and secure firmware updates?
Yes, the R5F104MGDFB#X0 supports full in-system programming via its on-chip debug interface and includes flash shield window and boot swap functions. These features enable secure field firmware updates by protecting critical bootloader sections and allowing validated new firmware images to be written to alternate flash banks before atomic activation-ensuring zero-downtime upgrades for the R5F104MGDFB#X0.
How many analog input channels does the R5F104MGDFB#X0 provide, and what is their resolution?
The R5F104MGDFB#X0 integrates a 10-bit successive-approximation ADC with 19 analog input channels (ANI0–ANI19), including dedicated temperature sensor and internal 1.45 V reference. All channels operate across the full 1.6–5.5 V supply range, and the ADC supports programmable sampling time, scan mode, and interrupt-on-conversion-critical for deterministic sensor acquisition in the R5F104MGDFB#X0.
What low-power modes are available on the R5F104MGDFB#X0, and what is the lowest achievable current draw?
The R5F104MGDFB#X0 offers HALT, STOP, and SNOOZE low-power modes. In STOP mode with only RTC and LVD active, it draws just 0.60 μA-verified across −40°C to +105°C. This ultra-low quiescent current enables multi-year battery operation in always-on sensor applications, making the R5F104MGDFB#X0 ideal for energy-constrained industrial deployments.
Is the R5F104MGDFB#X0 pin-compatible with other RL78/G14 variants in the same package?
Yes, all RL78/G14 MCUs in the 80-pin LFQFP (FB) package-including R5F104MGDFB#X0, R5F104MHDFB#X0, and R5F104MJDFB#X0-share identical pinouts and electrical characteristics. Firmware and PCB designs are interchangeable across these variants, allowing memory-scaling upgrades without layout changes-ensuring long-term design flexibility for the R5F104MGDFB#X0.
R5F104MGDFB#X0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-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:
- 64
- Program Memory Size:
- 128KB (128K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 16K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 17x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104MGDFB#X0 FAQ
1.How can I place an order for R5F104MGDFB#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104MGDFB#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 R5F104MGDFB#X0 reliable?
The price and inventory of R5F104MGDFB#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104MGDFB#X0 is usually 5 days.
3.What payment methods are accepted for R5F104MGDFB#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104MGDFB#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104MGDFB#X0?
R5F104MGDFB#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104MGDFB#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 R5F104MGDFB#X0?
For technical support, including R5F104MGDFB#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104MGDFB#X0 requirements.
6.How does Aetrix verify that R5F104MGDFB#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104MGDFB#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 R5F104MGDFB#X0 meets industry standards.
7.What is the process for return or replacement of R5F104MGDFB#X0?
All R5F104MGDFB#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104MGDFB#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 R5F104MGDFB#X0 part is unused and in its original packaging.
Return procedure for R5F104MGDFB#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104MGDFB#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…

