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

- Shipping:

Inventory:2,960
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104MHAFA#X0 from Renesas is a 80-pin LQFP-0.65 mm pitch, industrial-grade (TA = −40 to +85°C) RL78/G14 16-bit MCU with 256 KB flash, 24 KB RAM, and 8 KB data flash. It delivers 44 DMIPS at 32 MHz, operates from 1.6–5.5 V, and achieves 66 μA/MHz active current and 0.60 μA RTC+LVD standby power-targeted for battery-powered industrial control panels requiring low-power real-time monitoring and serial communication.
For engineers reviewing the R5F104MHAFA#X0 datasheet, R5F104MHAFA#X0 pinout, R5F104MHAFA#X0 application, or R5F104MHAFA#X0 equivalent, key selection criteria include its 80-pin LQFP package, 256 KB/24 KB/8 KB memory configuration, integrated RTC with calendar/alarm, dual UART/LIN support, and hardware DTC/ELC for deterministic peripheral event handling in resource-constrained embedded systems.
Technical Context
The R5F104MHAFA#X0 implements the RL78 CPU core with 3-stage pipeline CISC architecture, supporting instruction execution times from 0.03125 μs (32 MHz high-speed mode) to 30.5 μs (32.768 kHz ultra-low-speed mode). It integrates a programmable Event Link Controller (ELC) that routes 19–26 event signals directly to peripherals without CPU intervention.
Its Data Transfer Controller (DTC) supports normal, repeat, and block transfer modes triggered by interrupts-including chain transfer-and enables background operation during data flash rewriting (BGO), allowing concurrent code execution while updating non-volatile storage.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/divide/accumulate instructions |
| Max Clock Speed | 32 MHz (44 DMIPS); high-accuracy on-chip oscillator ±1.0% over −20 to +85°C |
| Memory | 256 KB code flash (1 KB blocks), 24 KB RAM, 8 KB data flash rated for 1M rewrite cycles |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD enabled |
| Analog Peripherals | 10-bit ADC (20 channels, internal 1.45 V reference + temp sensor), 8-bit DAC (2 channels, 0–VDD output) |
| Serial Interfaces | 3–4 UART/LIN channels, 3–8 CSI (SPI-compatible), 4–10 I²C/simplified I²C channels |
| Timers & RTC | 12× 16-bit timers (TAU/Timer RJ/RD/RG), 12-bit interval timer, calendar RTC (99-year range, alarm, correction) |
Pinout & Package
Package: 80-pin LQFP (14 × 14 mm, 0.65 mm pitch), RoHS-compliant, industrial temperature grade (−40 to +85°C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00–P01 | General-purpose I/O / UART1 TX/RX | Configurable 8-bit ports with TTL input, N-ch open-drain option, and key interrupt support |
| P10–P17 | Multi-function serial I/O (CSI, UART, I²C, TRDIO) | Shared pins for up to 4 UART/LIN, 8 CSI, and 10 I²C channels via peripheral I/O redirection registers |
| P20–P27 | Analog inputs / AVREFP/AVREFM / ANI0–ANI7 | 8-channel analog front-end with selectable internal reference (1.45 V) and temperature sensor interface |
| P30–P31 | RTC1HZ / INT / TI03/TO03 / PCLBUZ0 | Dedicated RTC output and 16-bit timer I/O for precision timing and buzzer drive |
| P50–P51 | UART0 RX/TX / TOOLRxD/TOOLTxD / TRGIOA/TRGIOB | On-chip debug interface pins enabling SWD-style programming and real-time trace without external JTAG |
| P121–P124 | Crystal oscillator inputs (X1/X2) and external clock (XT1/XT2/EXCLKS) | Supports 32.768 kHz crystal for RTC and up to 20 MHz external clock for main system timing |
| RESET, REGC, VDD, VSS | Reset control, regulator capacitor, supply rails | REGC requires 0.47–1 μF capacitor to VSS; RESET is active-low with internal pull-up; VDD/VSS support 1.6–5.5 V operation |
Key Features
| Feature | Design Value |
|---|---|
| SNOOZE mode operation | Enables low-latency wake-up from deep sleep using peripheral-triggered interrupts without full CPU restart |
| Self-programming flash | Supports boot-swap and flash-shield window functions for secure firmware updates in field-deployed devices |
| Hardware DTC + ELC | Eliminates CPU overhead for data movement and peripheral synchronization-critical for deterministic real-time response |
| Integrated RTC with calendar | Provides accurate timekeeping (99-year calendar, alarm, auto-correction) without external components or battery backup |
| Dual voltage detection | LVD offers 14 programmable threshold levels for both interrupt and reset generation, enhancing system reliability under brown-out |
Applications
| Industrial HMI Panel | Smart Energy Meter |
|---|---|
Use Scenario: Local operator interface with LCD, keypad, and serial telemetry in factory automation cabinets. IC Role / Device Role / Timing Role: Main controller managing display refresh, button scan, UART-based Modbus RTU communication, and RTC-stamped event logging. Use Value: 256 KB flash stores full GUI firmware; 24 KB RAM buffers display frames; SNOOZE mode extends battery life during idle periods. | Use Scenario: Residential electricity meter with pulse counting, tariff scheduling, and PLC/GPRS backhaul. IC Role / Device Role / Timing Role: System-on-chip handling metrology interface (ADC sampling), time-of-use billing logic, and secure data flash storage of consumption history. Use Value: Calendar RTC ensures accurate billing intervals; 8 KB data flash retains 1M+ readings with BGO; LIN interface connects to external metrology ICs. |
| Programmable Logic Controller (PLC) I/O Module | Wireless Sensor Gateway |
Use Scenario: DIN-rail mounted digital I/O expansion module with RS-485 master interface. IC Role / Device Role / Timing Role: Real-time I/O scheduler coordinating discrete input sampling, output latching, and Modbus ASCII/RTU protocol stack. Use Value: ELC links timer events to GPIO toggles for precise PWM outputs; DTC moves ADC results to buffer without CPU load-enabling <100 μs cycle times. | Use Scenario: Battery-powered gateway aggregating BLE/Zigbee sensor data and forwarding via UART-to-LoRaWAN bridge. IC Role / Device Role / Timing Role: Low-power coordinator managing multi-protocol radio interfaces, sensor polling, and secure OTA update staging in data flash. Use Value: 0.60 μA STOP mode with RTC wake-up enables >5-year battery life; flash shield window prevents unauthorized firmware modification. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104MHAFP#V0 | Same 256 KB flash/24 KB RAM/8 KB data flash; 80-pin LQFP-0.8 mm pitch; identical core/peripherals; differs only in package pitch and packaging spec (#V0 vs #X0) | Requires PCB layout revision due to 0.8 mm vs 0.65 mm pitch; same thermal and electrical behavior | Select when legacy board design uses 0.8 mm pitch footprint or distributor stock favors #V0 packaging |
| R5F104LJGFA#V0 | 192 KB flash/20 KB RAM/8 KB data flash; 64-pin LQFP-0.65 mm; otherwise identical RL78/G14 feature set and pin compatibility within 64-pin subset | Reduces BOM cost and board area but limits future firmware scalability and I/O count | Choose for cost-sensitive, space-constrained designs where 192 KB flash and 64 pins meet functional requirements |
Compared with R5F104MHAFA#X0, R5F104MHAFP#V0 demands PCB rework for pitch change but preserves full functionality, while R5F104LJGFA#V0 trades flash capacity and pin count for lower cost and smaller footprint-making it suitable for scaled-down derivatives of the same product line.
Availability
R5F104MHAFA#X0 is available at Aetrix Electronics and suitable for industrial HMI panels, smart energy meters, PLC I/O modules, and wireless sensor gateways requiring stable component supply across extended production lifecycles.
Supply support for R5F104MHAFA#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 performance for general-purpose industrial and consumer applications-designed to replace legacy 8-bit MCUs while minimizing code migration effort and PCB redesign.
FAQ
What is the maximum operating frequency and power efficiency of the R5F104MHAFA#X0?
The R5F104MHAFA#X0 operates at up to 32 MHz (44 DMIPS) with an active current of 66 μA/MHz and 0.60 μA in STOP mode with RTC and LVD active. Its high-accuracy on-chip oscillator maintains ±1.0% tolerance across −20 to +85°C, eliminating need for external crystals in many timing-critical applications.
Does the R5F104MHAFA#X0 support secure firmware updates?
Yes, the R5F104MHAFA#X0 supports secure firmware updates via its self-programming flash with boot-swap functionality and flash-shield window protection. These features prevent unauthorized code execution and enable robust over-the-air (OTA) update mechanisms in deployed industrial devices.
How many UART/LIN interfaces does the R5F104MHAFA#X0 provide, and are they hardware-supported?
The R5F104MHAFA#X0 provides four UART/LIN channels with full hardware support-including LIN bus protocol compliance, automatic sync-break detection, and checksum generation-enabling direct connection to automotive and industrial LIN networks without software bit-banging.
Can the R5F104MHAFA#X0 operate from a single 1.8 V supply, and what peripherals remain functional?
Yes, the R5F104MHAFA#X0 operates from 1.6–5.5 V, including 1.8 V. At 1.8 V, all core functions-including 256 KB flash programming, 24 KB RAM access, 10-bit ADC (with internal 1.45 V reference), RTC, and UART-remain fully operational per Renesas specification R01DS0053EJ0340.
What debug interface does the R5F104MHAFA#X0 use, and is external hardware required?
The R5F104MHAFA#X0 uses Renesas' on-chip debug interface accessible via P50 (TOOLRxD) and P51 (TOOLTxD) pins. No external JTAG emulator is needed-standard SWD-capable debuggers (e.g., E2 Lite, Segger J-Link) connect directly for full flash programming, breakpoint, and real-time variable inspection.
R5F104MHAFA#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:
- 192KB (192K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 20K 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:
R5F104MHAFA#X0 FAQ
1.How can I place an order for R5F104MHAFA#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104MHAFA#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 R5F104MHAFA#X0 reliable?
The price and inventory of R5F104MHAFA#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104MHAFA#X0 is usually 5 days.
3.What payment methods are accepted for R5F104MHAFA#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104MHAFA#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104MHAFA#X0?
R5F104MHAFA#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104MHAFA#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 R5F104MHAFA#X0?
For technical support, including R5F104MHAFA#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104MHAFA#X0 requirements.
6.How does Aetrix verify that R5F104MHAFA#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104MHAFA#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 R5F104MHAFA#X0 meets industry standards.
7.What is the process for return or replacement of R5F104MHAFA#X0?
All R5F104MHAFA#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104MHAFA#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 R5F104MHAFA#X0 part is unused and in its original packaging.
Return procedure for R5F104MHAFA#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104MHAFA#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…

