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

- Shipping:

Inventory:4,670
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104MFGFB#X0 from Renesas is an RL78/G14 8-bit microcontroller featuring a 32 MHz CPU, 256 KB flash memory, 8 KB data flash, and 24 KB RAM. It operates from 1.6–5.5 V, achieves 44 DMIPS, and delivers ultra-low power consumption (66 μA/MHz active, 0.60 μA in RTC+LVD mode), targeting battery-powered industrial control and sensor nodes.
For engineers reviewing the R5F104MFGFB#X0 datasheet, R5F104MFGFB#X0 pinout, R5F104MFGFB#X0 application, or R5F104MFGFB#X0 equivalent, key selection criteria include its LFQFP-80 package with 0.5 mm pitch, industrial-grade temperature range (−40 to +105°C), integrated RTC with calendar/alarm, and hardware DTC/ELC for deterministic peripheral coordination without CPU overhead.
Technical Context
The R5F104MFGFB#X0 implements the RL78 CPU core with a 3-stage pipeline, supporting instruction execution times from 0.03125 μs (32 MHz) to 30.5 μs (32.768 kHz). It integrates a high-accuracy ±1.0% on-chip oscillator (selectable from 1–64 MHz) and supports HALT/STOP/SNOOZE low-power modes.
Peripheral integration includes 10-channel 10-bit ADC (20 inputs), dual 8-bit DACs, up to 12× 16-bit timers (including TAU, Timer RJ/RD/RG), UART/LIN, I²C, CSI, and hardware event linking via ELC - enabling real-time signal processing and deterministic interrupt response in resource-constrained systems.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | RL78 8-bit CISC with 3-stage pipeline; enables deterministic timing and low-latency ISR handling in embedded control loops. |
| Max Clock Speed | 32 MHz; delivers 44 DMIPS performance while maintaining sub-100 μA/MHz active current for energy-sensitive designs. |
| Flash Memory | 256 KB code flash + 8 KB data flash; supports background operation (BGO) and 1M rewrite cycles for robust firmware/data logging. |
| RAM | 24 KB on-chip RAM; sufficient for real-time buffering, stack depth, and RTOS operation in industrial sensor fusion applications. |
| Supply Voltage | 1.6–5.5 V wide-range operation; eliminates external regulators in multi-rail systems and supports direct Li-ion or coin-cell battery input. |
| Operating Temp | −40 to +105°C (G-grade); qualified for under-hood automotive sensors, motor drives, and factory-floor industrial controllers. |
| Low-Power Modes | HALT/STOP/SNOOZE with 0.60 μA RTC+LVD retention; enables multi-year battery life in wireless sensor endpoints. |
Pinout & Package
Package: 80-pin LFQFP (12 × 12 mm, 0.5 mm pitch), lead-free, RoHS-compliant, industrial temperature grade (G).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00–P01 | General-purpose I/O / UART1 TX/RX | Configurable digital I/O with TTL input buffer and pull-up; supports asynchronous serial communication at up to 32 MHz baud rate. |
| P10–P15 | CSI/I²C/UART2 peripheral interface | Multi-function pins supporting simultaneous SPI-like CSI, I²C master/slave, and UART2 with LIN compliance for automotive diagnostics. |
| P16–P17 | Timer/UART0 RX/TX with TRDIO | Dual-role pins for timer capture/compare and full-duplex UART0; TRDIO function enables trace clock synchronization for debug visibility. |
| P20–P27 | Analog inputs (ANI0–ANI7) / AVREFP/M | Eight dedicated analog channels with internal 1.45 V reference and temperature sensor; supports ratiometric sensing and precision voltage monitoring. |
| P30–P31 | INTP3/RTC1HZ / TI03/TO03 | Real-time clock output (1 Hz) and 16-bit timer I/O; enables precise timekeeping and PWM generation without CPU intervention. |
| P121–P124 | Crystal oscillator inputs (X1/X2) / EXCLKS | Supports 32.768 kHz crystal for RTC accuracy and optional external clock input up to 20 MHz for system timing flexibility. |
| RESET / REGC / VDD / VSS | Reset control / regulator capacitor / power rails | On-chip POR and LVD with 14-level programmable detection; REGC requires 0.47–1 μF capacitor for stable internal voltage regulation. |
Key Features
| Feature | Design Value |
|---|---|
| Event Link Controller (ELC) | Links 19–26 peripheral events directly to functions (e.g., ADC trigger → DMA transfer), eliminating CPU polling and reducing latency to <100 ns. |
| Data Transfer Controller (DTC) | Hardware-accelerated memory-to-peripheral transfers with chain mode; offloads CPU during ADC sampling or UART streaming. |
| Real-time Clock (RTC) | Calendar support (99 years), alarm, and auto-correction; maintains accurate time across STOP mode with only 0.60 μA draw. |
| Self-programming Flash | Boot-swap and flash shield window enable secure over-the-air updates and protected bootloader partitioning. |
| Low-Voltage Detection (LVD) | 14 programmable threshold levels (1.6–4.2 V); configurable as interrupt or reset source to prevent erratic behavior during brown-out. |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Closed-loop speed/torque control of BLDC motors in HVAC blowers and pump drives. IC Role / Device Role / Timing Role: Main controller executing FOC algorithms, managing PWM outputs via TAU timers, and reading current/voltage feedback via 10-bit ADC. Use Value: SNOOZE mode reduces idle current to 1.23 μA while maintaining RTC wake-up; ELC synchronizes ADC sampling with PWM zero-crossing for jitter-free current measurement. | Use Scenario: Battery-powered environmental monitor measuring temperature, humidity, and CO₂ with wireless telemetry. IC Role / Device Role / Timing Role: System-on-chip managing sensor interfaces (I²C/UART), data logging to data flash, and low-power BLE subsystem wake-up via RTC alarm. Use Value: 0.60 μA STOP mode with RTC+LVD active extends 2× AA battery life beyond 5 years; integrated temperature sensor calibrates ADC readings in situ. |
| Automotive Body Electronics | Home Appliance Control |
Use Scenario: LIN-based door module controlling window lift, mirror adjustment, and interior lighting. IC Role / Device Role / Timing Role: LIN transceiver interface (UART2 + LIN protocol stack), GPIO control, and EEPROM emulation using data flash. Use Value: −40 to +105°C rating ensures reliability in cabin environments; built-in LIN support eliminates external transceiver and reduces BOM cost by $0.15. | Use Scenario: Washing machine main control unit managing motor drive, water level sensing, and user interface. IC Role / Device Role / Timing Role: Real-time coordinator of triac firing, pressure/temperature ADC reads, buzzer output (PCLBUZ), and display backlight PWM. Use Value: Dual 8-bit DACs generate precise analog signals for motor current feedback; PCLBUZ hardware generates variable-frequency tones without CPU load. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104MGGB#X0 | Same 80-pin LFQFP package, identical peripherals, but 384 KB flash / 32 KB RAM / 8 KB data flash. | Better suited for complex firmware with OTA updates, larger RTOS footprint, or extended data logging buffers. | Select when future firmware growth headroom or extended data retention is required; pin-compatible upgrade path. |
| R5F104MHGB#X0 | Same package and memory (256 KB flash / 24 KB RAM), but rated for −40 to +85°C (D-grade) instead of +105°C. | Targeted at consumer or non-under-hood industrial applications where ambient temperature stays below 85°C. | Choose for cost-sensitive designs where extended temperature range is unnecessary; same software compatibility. |
Compared with R5F104MFGFB#X0, R5F104MGGB#X0 provides 50% more RAM and flash for scalable firmware, while R5F104MHGB#X0 reduces thermal qualification cost for less demanding environments - both retain identical peripheral sets and pinout for seamless migration.
Availability
R5F104MFGFB#X0 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, automotive body electronics, and home appliance control requiring stable component supply across long production lifecycles.
Supply support for R5F104MFGFB#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 8-bit MCUs optimized for cost-sensitive, energy-constrained applications requiring rich analog integration, real-time responsiveness, and long-term reliability.
FAQ
What is the maximum operating frequency and corresponding power consumption of the R5F104MFGFB#X0?
The R5F104MFGFB#X0 operates at up to 32 MHz with 44 DMIPS performance and consumes 66 μA per MHz in active mode. At full speed, typical active current is approximately 2.1 mA (VDD = 3.3 V, TA = 25°C). Its ultra-low-power STOP mode draws just 0.60 μA when only the RTC and LVD remain active - critical for battery longevity in always-on sensor applications.
Does the R5F104MFGFB#X0 support hardware debugging and programming in-system?
Yes, the R5F104MFGFB#X0 includes an on-chip debug interface compatible with Renesas E2 emulator and E2 studio IDE. It supports full-speed debugging, flash programming, and real-time trace via the TOOL0/TOOLRxD/TOOLTxD pins. The device also enables self-programming of code and data flash with boot-swap functionality, allowing safe firmware updates without external programmers.
How many analog-to-digital converter (ADC) channels does the R5F104MFGFB#X0 provide, and what is their resolution?
The R5F104MFGFB#X0 integrates a 10-bit successive-approximation ADC with up to 20 input channels (ANI0–ANI19), including dedicated pins for AVREFP/AVREFM and internal temperature sensor. It supports single- or continuous-conversion modes, programmable sample-and-hold time, and conversion completion interrupts - enabling precise voltage, current, and environmental sensing in industrial and appliance control systems.
What communication interfaces are available on the R5F104MFGFB#X0, and which support LIN bus protocol?
The R5F104MFGFB#X0 provides three UART channels (UART0, UART1, UART2), four I²C interfaces, and up to eight CSI (SPI-compatible) channels. UART2 explicitly supports LIN bus protocol (LIN 2.2A compliant), including automatic sync-break detection, checksum calculation, and wakeup functionality - making it ideal for automotive body electronics and distributed sensor networks.
Is the R5F104MFGFB#X0 pin-compatible with other RL78/G14 variants in the same package?
Yes, all RL78/G14 devices in the 80-pin LFQFP-0.5 mm package - including R5F104MFGFB#X0, R5F104MGGB#X0, and R5F104MHGB#X0 - share identical pinouts and electrical characteristics. This allows direct hardware substitution within the same package family for memory or temperature grade upgrades without PCB redesign.
R5F104MFGFB#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:
- 96KB (96K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 12K 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 ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104MFGFB#X0 FAQ
1.How can I place an order for R5F104MFGFB#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104MFGFB#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 R5F104MFGFB#X0 reliable?
The price and inventory of R5F104MFGFB#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104MFGFB#X0 is usually 5 days.
3.What payment methods are accepted for R5F104MFGFB#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104MFGFB#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104MFGFB#X0?
R5F104MFGFB#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104MFGFB#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 R5F104MFGFB#X0?
For technical support, including R5F104MFGFB#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104MFGFB#X0 requirements.
6.How does Aetrix verify that R5F104MFGFB#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104MFGFB#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 R5F104MFGFB#X0 meets industry standards.
7.What is the process for return or replacement of R5F104MFGFB#X0?
All R5F104MFGFB#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104MFGFB#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 R5F104MFGFB#X0 part is unused and in its original packaging.
Return procedure for R5F104MFGFB#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104MFGFB#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…

