Send an Inquiry

To receive a quote for your project, please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Part Number*
Quantity*
Message
Submit Inventory List

Please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Upload My List
Message

Renesas R5F104MGAFA#X0

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

Inventory:3,229

Please send an inquiry. Send us your inquiry, and we will respond immediately.

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

R5F104MGAFA#X0 from Renesas is a 80-pin LQFP-0.65 mm pitch, industrial-grade (−40 to +85°C) RL78/G14 16-bit MCU with 96 KB flash, 12 KB RAM, 4 KB data flash, and integrated peripherals including 10-channel 10-bit ADC, dual UART/LIN, I²C, SPI, RTC, and ultra-low-power HALT/STOP/SNOOZE modes - deployed in smart metering and industrial HMI control systems.

For engineers reviewing the R5F104MGAFA#X0 datasheet, R5F104MGAFA#X0 pinout, R5F104MGAFA#X0 application, or R5F104MGAFA#X0 equivalent, key selection criteria include its 96 KB code flash with self-programming, 12 KB RAM allocation for real-time DTC/ELC-driven sensor processing, 4 KB background-operable data flash for parameter storage, and 80-pin LQFP package supporting full peripheral routing in space-constrained industrial PCBs.

Technical Context

The R5F104MGAFA#X0 implements the RL78 CPU core with 3-stage pipeline, supporting instruction execution times from 0.03125 μs (32 MHz high-speed mode) to 30.5 μs (32.768 kHz RTC mode), and integrates Event Link Controller (ELC) for hardware-triggered peripheral chaining without CPU intervention.

It features a 10-bit A/D converter with up to 20 input channels, internal 1.45 V reference and temperature sensor, plus dual 8-bit D/A outputs with real-time update capability - all operating across 1.6–5.5 V supply range and qualified for industrial ambient temperatures (−40 to +85°C).

Key Specifications

ParameterValue and Actual Design Meaning
CoreRL78 16-bit CISC with 3-stage pipeline and multiply/divide instructions
Max Clock32 MHz (44 DMIPS); on-chip oscillator accuracy ±1.0% over −20 to +85°C
Memory96 KB code flash (1 KB block size), 12 KB RAM, 4 KB data flash (1M rewrite cycles)
Power66 μA/MHz active current; 0.60 μA RTC+LVD standby; HALT/STOP/SNOOZE low-power modes
Analog10-bit ADC (20 ch, 1.45 V ref, temp sensor), dual 8-bit DAC (0–VDD output, real-time update)
Peripherals2× UART/LIN, 4× I²C, 3× CSI (SPI-compatible), 12× 16-bit timers, RTC with calendar/alarm
Package80-pin LQFP, 0.65 mm pitch, 14 × 14 mm footprint, industrial temperature grade (−40 to +85°C)

Pinout & Package

80-pin LQFP package (PLQP0080JB-E code), 14 × 14 mm body, 0.65 mm pitch, exposed thermal pad not present (LQFP variant). Pin functions support full peripheral mapping including dual UART, 10-channel ADC, 2× DAC, ELC-linked timer triggers, and hardware debug (SWD/JTAG via TOOL0/TOOLRxD/TOOLTxD).

Pin/TerminalCircuit RoleDesign Meaning
P00–P01TxD1/RxD1, TO00/TI00Primary UART1 interface + 16-bit timer input/output for motor control timing
P10–P15SCK11/SDA11/SO20/SCL20Dual CSI/I²C interfaces for sensor hub communication and display bus control
P16–P17INTP5/TRDIOC0, TRDIOA0/TRDCLKELC-linked timer capture/compare outputs for synchronized PWM generation
P20–P27ANI0–ANI7, AVREFP/AVREFM8-channel analog front-end with differential reference for precision sensor signal conditioning
P30–P31INTP3/RTC1HZ, TI03/TO03Real-time clock interrupt output + dedicated timer for encoder pulse counting
P50–P51SI00/RxD0, SO00/TxD0UART0 debug port with TOOLRxD/TOOLTxD pins for in-system programming
P121–P122X1/X2Crystal oscillator inputs for precise RTC and system clock synchronization
RESET, REGC, VDD, VSSReset, regulator capacitor, powerSingle-supply operation (1.6–5.5 V); REGC requires 0.47–1 μF decoupling to VSS

Key Features

FeatureDesign Value
Self-programming flashBoot swap and flash shield window enable secure firmware updates without external programmer
Background data flashBGO allows concurrent program execution while rewriting 4 KB data flash - critical for logging and calibration
Event Link ControllerHardware chaining of 19–26 peripheral events eliminates CPU polling overhead in sensor fusion applications
Ultra-low-power modes0.60 μA STOP mode with RTC + LVD active enables battery-powered operation >10 years in metering
Dual DAC with real-time outputTwo independent 8-bit DACs update synchronously with timer triggers for closed-loop analog control

Applications

Smart Energy MeteringIndustrial HMI Panel

Use Scenario: Residential electricity meter with tariff switching, tamper detection, and RS-485 communication.

IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing EEPROM calibration data, and driving isolated UART for DLMS/COSEM protocol.

Use Value: 4 KB data flash stores 10+ years of consumption logs with BGO; RTC calendar supports time-of-use billing; 10-bit ADC interfaces shunt-based current sensing.

Use Scenario: Local operator interface for PLC-controlled HVAC system with touch feedback and status LEDs.

IC Role / Device Role / Timing Role: Peripheral coordinator handling button scan, LED PWM dimming, UART command parsing, and real-time clock display.

Use Value: ELC links timer outputs to GPIO for flicker-free LED control; dual UART supports simultaneous debug and fieldbus communication; SNOOZE mode reduces idle power by 92%.

Factory Sensor NodeHome Appliance Control

Use Scenario: Wireless vibration sensor node monitoring motor health in predictive maintenance systems.

IC Role / Device Role / Timing Role: Signal acquisition unit sampling accelerometer data via 10-bit ADC, preprocessing with DTC, and formatting packets for BLE/Wi-Fi MCU.

Use Value: 66 μA/MHz active current extends AA battery life to 2+ years; 20-channel ADC supports multi-axis sensor fusion; HALT mode wakes on external interrupt within 3.5 μs.

Use Scenario: Washing machine main board controlling motor drive, water valves, and user interface.

IC Role / Device Role / Timing Role: System manager coordinating motor phase timing (via TO03), temperature monitoring (ADC), and buzzer feedback (PCLBUZ0/1).

Use Value: Dual 8-bit DACs generate precise analog signals for motor current feedback; RTC alarm triggers delayed start; 96 KB flash accommodates multiple regional firmware variants.

Equivalent & Alternatives

The following parts are listed as comparable options for similar 16-bit microcontroller applications.

Alternative PartTechnical DifferenceApplication DifferenceSelection Advice
R5F104MGAFB#X0Same 96 KB flash/12 KB RAM, but 48-pin LFQFP (0.5 mm pitch) packageFits compact designs where 80-pin routing is impractical; fewer I/O (64 vs. 72) and reduced peripheral countSelect when board space is constrained and full 80-pin peripheral access is unnecessary
R5F104LGAFA#X064-pin LQFP, 192 KB flash, 20 KB RAM, identical peripheral set and pinout compatibility in shared functionsSupports larger firmware (e.g., embedded web server), higher RAM buffers for communication stacksChoose when future firmware expansion or increased real-time data buffering is required

Compared with R5F104MGAFA#X0, the R5F104MGAFB#X0 trades I/O count and peripheral flexibility for smaller footprint, while R5F104LGAFA#X0 delivers scalable memory headroom without altering peripheral architecture - enabling seamless migration paths in industrial product families.

Availability

R5F104MGAFA#X0 is available at Aetrix Electronics and suitable for smart metering, industrial HMI panels, and factory sensor nodes requiring stable component supply, long-term lifecycle assurance, and industrial-temperature-rated performance.

Supply support for R5F104MGAFA#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 control, metering, and appliance applications - balancing performance, integration, and energy efficiency.

FAQ

What is the maximum operating frequency and core performance of the R5F104MGAFA#X0?

The R5F104MGAFA#X0 operates at up to 32 MHz using its on-chip high-speed oscillator, delivering 44 DMIPS. Its RL78 CPU core features a 3-stage pipeline and supports instruction execution times ranging from 0.03125 μs (high-speed mode) to 30.5 μs (ultra-low-speed RTC mode), enabling dynamic power/performance scaling in the R5F104MGAFA#X0.

Does the R5F104MGAFA#X0 support in-system programming and secure firmware updates?

Yes, the R5F104MGAFA#X0 supports full in-system programming via its on-chip debug interface and includes boot swap functionality plus flash shield window protection. These features allow secure field firmware updates without external programmers and prevent unauthorized access to protected code sections in the R5F104MGAFA#X0.

How many analog-to-digital converter channels does the R5F104MGAFA#X0 provide, and what is their resolution?

The R5F104MGAFA#X0 integrates a 10-bit successive-approximation ADC with up to 20 input channels, including dedicated ANI0–ANI7 pins and additional multiplexed inputs. It supports internal 1.45 V reference voltage and on-die temperature sensing - all fully operational across the 1.6–5.5 V supply range of the R5F104MGAFA#X0.

What low-power modes are available on the R5F104MGAFA#X0, and what is the lowest current consumption?

The R5F104MGAFA#X0 offers HALT, STOP, and SNOOZE modes. In STOP mode with only RTC and LVD active, it consumes just 0.60 μA - enabling decade-long battery operation in metering and sensor applications. Active-mode current is 66 μA/MHz, and wake-up from STOP occurs in under 3.5 μs, making the R5F104MGAFA#X0 ideal for intermittent-sensing systems.

Is the R5F104MGAFA#X0 pin-compatible with other RL78/G14 family members?

The R5F104MGAFA#X0 uses an 80-pin LQFP package (PLQP0080JB-E) with defined pin functions per the RL78/G14 datasheet. While peripheral pin assignments are consistent across same-package variants (e.g., R5F104LGAFA#X0), it is not pin-compatible with 48-pin or 64-pin RL78/G14 devices due to differing pin counts and I/O allocations - always verify pin mapping against the R5F104MGAFA#X0-specific schematic.

R5F104MGAFA#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:

R5F104MGAFA#X0 FAQ

1.How can I place an order for R5F104MGAFA#X0 through Aetrix?

Please submit a Request for Quotation (RFQ) for R5F104MGAFA#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 R5F104MGAFA#X0 reliable?

The price and inventory of R5F104MGAFA#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104MGAFA#X0 is usually 5 days.

3.What payment methods are accepted for R5F104MGAFA#X0?

We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104MGAFA#X0 transactions.

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for R5F104MGAFA#X0?

R5F104MGAFA#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.

Once your R5F104MGAFA#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 R5F104MGAFA#X0?

For technical support, including R5F104MGAFA#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104MGAFA#X0 requirements.

6.How does Aetrix verify that R5F104MGAFA#X0 is sourced from the original manufacturer or authorized distributors?

All R5F104MGAFA#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 R5F104MGAFA#X0 meets industry standards.

7.What is the process for return or replacement of R5F104MGAFA#X0?

All R5F104MGAFA#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104MGAFA#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 R5F104MGAFA#X0 part is unused and in its original packaging.

Return procedure for R5F104MGAFA#X0:

1.Submit a request within 90 days.

2.Obtain a Return Material Authorization (RMA) from Aetrix.

R5F104MGAFA#X0 Tags

  • R5F104MGAFA#X0
  • R5F104MGAFA#X0 PDF
  • R5F104MGAFA#X0 Datasheet
  • R5F104MGAFA#X0 Specifications
  • R5F104MGAFA#X0 Images
  • Renesas
  • Renesas R5F104MGAFA#X0
  • Buy R5F104MGAFA#X0
  • R5F104MGAFA#X0 Price
  • R5F104MGAFA#X0 Distributor
  • R5F104MGAFA#X0 Supplier
  • R5F104MGAFA#X0 Wholesale
Related Products
ATTINY4-TSHR
ATTINY4-TSHR

Microchip Technology

ATTINY10-TSHR
ATTINY10-TSHR

Microchip Technology

ATTINY10-TS8R
ATTINY10-TS8R

Microchip Technology

ATTINY202-SSNR
ATTINY202-SSNR

Microchip Technology

ATTINY202-SSFR
ATTINY202-SSFR

Microchip Technology

ATTINY402-SSNR
ATTINY402-SSNR

Microchip Technology

PIC16F15213T-I/MF
PIC16F15213T-I/MF

Microchip Technology

PIC16F15213-E/MF
PIC16F15213-E/MF

Microchip Technology

PIC10F200T-I/OT
PIC10F200T-I/OT

Microchip Technology

ATTINY412-SSNR
ATTINY412-SSNR

Microchip Technology

PIC10F202T-I/OT
PIC10F202T-I/OT

Microchip Technology

ATTINY404-SSNR
ATTINY404-SSNR

Microchip Technology

Tech Hub

Search

Search

PRODUCT

PRODUCT

PHONE

PHONE

USER

USER