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

- Shipping:

Inventory:4,650
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104MFAFA#X0 from Renesas is a 80-pin LQFP-0.65 mm pitch, 32-bit RL78/G14 microcontroller with 96 KB flash, 12 KB RAM, and 1.6–5.5 V operation. It delivers 44 DMIPS at 32 MHz, features ultra-low-power HALT/STOP/SNOOZE modes (66 μA/MHz active, 0.60 μA RTC+LVD), and integrates 10-bit ADC (16 channels), UART/LIN, I²C, SPI, RTC, and on-chip debug. Used in industrial sensor nodes and battery-powered control modules.
For engineers reviewing the R5F104MFAFA#X0 datasheet, R5F104MFAFA#X0 pinout, R5F104MFAFA#X0 application, or R5F104MFAFA#X0 equivalent, key selection criteria include its 80-pin LQFP package, -40 to +85°C industrial temperature grade (D), integrated data flash (4 KB), real-time clock with calendar/alarm, and support for background data flash rewriting (BGO) without CPU stall.
Technical Context
The R5F104MFAFA#X0 implements the RL78 CPU core with 3-stage pipeline CISC architecture, supporting instruction execution times from 0.03125 µs (32 MHz high-speed oscillator) to 30.5 µs (32.768 kHz subsystem clock). It includes a Data Transfer Controller (DTC) with chain transfer and an Event Link Controller (ELC) enabling direct peripheral-to-peripheral event routing without CPU intervention.
Its power management integrates on-chip POR, 14-level LVD with interrupt/reset options, and multiple low-power modes. The 10-bit A/D converter operates across full VDD range (1.6–5.5 V) with internal 1.45 V reference and temperature sensor, while the 8-bit D/A converter supports real-time output with 0–VDD range.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 32-bit CISC with 3-stage pipeline, 44 DMIPS @ 32 MHz |
| Flash Memory | 96 KB code flash + 4 KB data flash; supports BGO and 1,000,000 rewrite cycles |
| RAM | 12 KB on-chip RAM; used by flash library starting at FE900H |
| Supply Voltage | 1.6 V to 5.5 V; enables single-supply operation in mixed-voltage systems |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD enabled |
| Analog Peripherals | 10-bit ADC (16 channels, 1.45 V ref, temp sensor); 8-bit DAC (2 channels, 0–VDD output) |
| Timers & Clock | 16-bit TAU (8 channels), RTC (calendar, alarm, correction), watchdog timer, 64–1 MHz on-chip oscillator (±1.0% accuracy) |
Pinout & Package
Package: 80-pin LQFP, 14 × 14 mm, 0.65 mm pitch, RoHS-compliant, industrial-grade (TA = –40 to +85°C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00–P01 | GPIO / Analog Input / UART TX/RX | Primary serial interface for debug or host communication; supports TTL-level I/O and analog sensing |
| P10–P15 | SPI/I²C/UART Multiplexed Pins | Configurable CSI (SPI-compatible), I²C, and UART channels; enable multi-sensor bus connectivity |
| P121–P122 | Crystal Oscillator Inputs (X1/X2) | Support external 32.768 kHz crystal for RTC accuracy or high-frequency crystal up to 20 MHz |
| P137 | INTP0 External Interrupt | Dedicated wake-up input for low-power monitoring of external events without CPU polling |
| RESET | Active-Low Reset Input | Asynchronous reset with internal pull-up; compatible with external reset supervisors or push-button circuits |
| VDD / VSS | Power Supply / Ground | Single 1.6–5.5 V supply; decoupling required per REGC capacitor spec (0.47–1 µF to VSS) |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-Low-Power Operation | 0.60 μA STOP mode with RTC + LVD active enables >10-year battery life in metering applications |
| Background Data Flash Rewrite | BGO allows firmware updates or parameter storage during normal program execution without halting CPU |
| Peripheral Event Linking (ELC) | 19–26 event types routed directly between peripherals (e.g., ADC trigger → DMA transfer) eliminates CPU overhead |
| On-Chip Debug & Security | Fully integrated debug interface with flash shield window and block erase prohibition prevents unauthorized access |
| Mixed-Voltage I/O | I/O pins tolerate 1.8/2.5/3.0 V logic levels, enabling direct interfacing with legacy or low-voltage sensors |
Applications
| Industrial Sensor Node | Smart Energy Meter |
|---|---|
Use Scenario: Compact, battery-powered environmental monitor measuring temperature, humidity, and CO₂ via analog and I²C sensors. IC Role / Device Role / Timing Role: Main system controller executing sensor fusion, data logging, and wireless transmission scheduling. Use Value: Ultra-low STOP current (0.60 μA) extends battery life; integrated RTC ensures accurate timestamping of logged data. |
Use Scenario: Residential electricity meter with pulse counting, tamper detection, and LCD display. IC Role / Device Role / Timing Role: System-on-chip managing metrology interface, anti-tamper inputs, real-time billing calculation, and display driver. Use Value: On-chip 10-bit ADC with internal reference enables precise voltage/current measurement; BGO supports secure firmware updates over HAN. |
| Home Appliance Control | Factory Automation I/O Module |
Use Scenario: Washing machine main control board managing motor drive, water valve, heater, and user interface. IC Role / Device Role / Timing Role: Real-time deterministic controller coordinating PWM outputs, safety interlocks, and touch panel response. Use Value: 16-bit TAU timers deliver precise motor phase control; multiple UART/LIN channels simplify communication with display and inverter modules. |
Use Scenario: DIN-rail mounted digital I/O expansion module with 16-channel isolated inputs and relay outputs. IC Role / Device Role / Timing Role: Protocol bridge translating Modbus RTU over RS-485 to local GPIO and status reporting. Use Value: ELC links external interrupt edges directly to DTC transfers, enabling sub-10 µs response to field device state changes. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104MGAFB#X0 | Same 96 KB flash/12 KB RAM, but 48-pin LFQFP (0.5 mm pitch) package; lacks 20 GPIO pins and 4 analog channels | Preferred for space-constrained PCBs where I/O count and analog channel density are lower | Select when footprint size is critical and full 80-pin I/O capability is unnecessary |
| R5F104LEAFA#X0 | 64-pin LQFP, 192 KB flash, 20 KB RAM; higher memory and I/O count, same core/peripherals, identical temperature grade | Suitable for designs requiring larger firmware image or more sensor/actuator interfaces | Choose when future firmware scalability or expanded peripheral integration is required |
Compared with R5F104MFAFA#X0, R5F104MGAFB#X0 reduces board area but sacrifices I/O flexibility, while R5F104LEAFA#X0 increases memory headroom and pin count at the cost of larger footprint-both retain identical low-power behavior, peripheral sets, and toolchain compatibility.
Availability
R5F104MFAFA#X0 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart energy meters, and home appliance control systems requiring stable component supply, long-term lifecycle support, and guaranteed traceability.
Supply support for R5F104MFAFA#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 industrial, automotive, and IoT markets.
The RL78/G14 product line targets cost-sensitive, ultra-low-power general-purpose embedded applications-designed to replace legacy 8/16-bit MCUs while delivering 32-bit performance with minimal power and bill-of-materials overhead.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104MFAFA#X0?
The R5F104MFAFA#X0 achieves a maximum operating frequency of 32 MHz using its high-speed on-chip oscillator, delivering 44 DMIPS of processing performance. This metric is measured under standard conditions (VDD = 1.8–5.5 V, TA = –40 to +85°C) and reflects the RL78 core's optimized 3-stage pipeline efficiency. The R5F104MFAFA#X0 also supports lower-frequency operation down to 32.768 kHz for ultra-low-power RTC functions.
Does the R5F104MFAFA#X0 support background data flash rewriting (BGO), and what is the endurance specification?
Yes, the R5F104MFAFA#X0 supports Background Operation (BGO) for data flash rewriting, allowing the CPU to execute code from program memory while simultaneously erasing or programming the 4 KB data flash. Its data flash endurance is rated at 1,000,000 write/erase cycles (typical), with operation supported across the full VDD range of 1.8–5.5 V. This capability is essential for reliable parameter storage and over-the-air firmware updates in the R5F104MFAFA#X0.
What are the analog input capabilities of the R5F104MFAFA#X0, including resolution, channel count, and reference options?
The R5F104MFAFA#X0 integrates a 10-bit successive-approximation A/D converter with 16 analog input channels. It operates across the full supply range (1.6–5.5 V) and supports both external reference inputs and an internal 1.45 V reference voltage. Additionally, it includes an on-chip temperature sensor usable for ambient or die-temperature monitoring. These features make the R5F104MFAFA#X0 suitable for precision analog sensing in industrial and consumer applications.
How does the R5F104MFAFA#X0 implement low-power operation, and what are the key current consumption figures?
The R5F104MFAFA#X0 implements three primary low-power modes: HALT (CPU stopped, peripherals active), STOP (all clocks halted except RTC/LVD), and SNOOZE (selected peripherals active while CPU sleeps). Its active-mode current is 66 μA/MHz, and STOP-mode current drops to 0.60 μA when only RTC and LVD remain operational. These values are specified at VDD = 1.8–5.5 V and TA = –40 to +85°C, making the R5F104MFAFA#X0 ideal for battery-powered industrial devices.
Is the R5F104MFAFA#X0 pin-compatible with other RL78/G14 variants, and what package type does it use?
The R5F104MFAFA#X0 uses an 80-pin LQFP package with 0.65 mm pitch (RENESAS code PLQP0080JB-E) and is not pin-compatible with smaller-footprint RL78/G14 variants such as the 48-pin or 64-pin versions. Pin compatibility is limited to other 80-pin LQFP members of the RL78/G14 family sharing the same pin count and package variant (e.g., R5F104MGAFA#X0). The R5F104MFAFA#X0's specific pinout must be verified against the official RL78/G14 datasheet Figure 1-12.
R5F104MFAFA#X0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- RL78/G14
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Discontinued at Digi-Key
- 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104MFAFA#X0 FAQ
1.How can I place an order for R5F104MFAFA#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104MFAFA#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 R5F104MFAFA#X0 reliable?
The price and inventory of R5F104MFAFA#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104MFAFA#X0 is usually 5 days.
3.What payment methods are accepted for R5F104MFAFA#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104MFAFA#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104MFAFA#X0?
R5F104MFAFA#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104MFAFA#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 R5F104MFAFA#X0?
For technical support, including R5F104MFAFA#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104MFAFA#X0 requirements.
6.How does Aetrix verify that R5F104MFAFA#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104MFAFA#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 R5F104MFAFA#X0 meets industry standards.
7.What is the process for return or replacement of R5F104MFAFA#X0?
All R5F104MFAFA#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104MFAFA#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 R5F104MFAFA#X0 part is unused and in its original packaging.
Return procedure for R5F104MFAFA#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104MFAFA#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
A practical engineering and sourcing framework covering lifecycle verification, lifetime-buy calculations, replacement qualification, supplier checks and counterfeit-risk controls.
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…

