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

- Shipping:

Inventory:2,020
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104MHAFB#V0 from Renesas is a 48-pin LFQFP, 128 KB flash, 8 KB data flash, 16 KB RAM RL78/G14 16-bit MCU with ultra-low-power operation (66 μA/MHz active, 0.60 μA RTC+LVD), 1.6–5.5 V supply, and integrated peripherals including 12-bit RTC, 10-bit ADC (16 ch), UART/LIN, I²C, SPI, and 16-bit timers - deployed in industrial sensor nodes and battery-powered control modules.
For engineers reviewing the R5F104MHAFB#V0 datasheet, R5F104MHAFB#V0 pinout, R5F104MHAFB#V0 application, or R5F104MHAFB#V0 equivalent, key selection criteria include its -40°C to +85°C industrial temperature grade (D-grade), 0.5 mm pitch LFQFP-48 package, on-chip debug support, and BGO-capable data flash for firmware updates without halting execution.
Technical Context
The R5F104MHAFB#V0 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), and includes multiply/divide/accumulate instructions. Its memory subsystem integrates 128 KB code flash (1 KB blocks), 8 KB data flash with background operation (BGO), and 16 KB SRAM.
Peripheral integration includes 16-channel 10-bit ADC with internal 1.45 V reference and temperature sensor, dual UART/LIN interfaces, up to 10 I²C channels, 8 CSI/SPI channels, 12 16-bit timer channels (TAU, RJ, RD, RG), and Event Link Controller (ELC) for hardware-triggered peripheral chaining without CPU intervention.
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 | 128 KB code flash with 1 KB erase blocks, security lock, and self-programming |
| Data Flash | 8 KB with background operation (BGO), 1M write cycles, 1.8–5.5 V rewrite voltage |
| RAM | 16 KB on-chip SRAM, used by flash library starting at FE900H address |
| ADC | 10-bit resolution, 16 analog inputs, internal 1.45 V reference, and integrated temperature sensor |
| Operating Temp | -40°C to +85°C (industrial D-grade), qualified per AEC-Q100 not applicable |
| Supply Voltage | 1.6 V to 5.5 V single supply, enabling direct interface with 1.8/2.5/3.3 V logic |
Pinout & Package
Package: 48-pin LFQFP (7 × 7 mm, 0.5 mm pitch), RoHS-compliant, moisture sensitivity level (MSL) 3.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P121 / X1 | Crystal input | Connects to 32.768 kHz tuning-fork crystal for RTC and low-power clock source |
| P122 / X2 / EXCLK | Crystal output / external clock input | Drives crystal; alternatively accepts external clock up to 20 MHz for system timing |
| P137 / INTP0 | Interrupt input | Dedicated wake-up interrupt pin with configurable edge sensitivity and low-power retention |
| P30 / INTP3 / RTC1HZ / SCK00 / SCL00 | Multiplexed I/O | Provides 1 Hz RTC output, I²C clock, or SPI clock - selected via peripheral I/O redirection register |
| P60 / SCLA0 | I²C bus clock | Primary I²C channel 0 clock line, supports standard/fast-mode (100/400 kHz) and SMBus |
| P61 / SDAA0 | I²C bus data | Primary I²C channel 0 data line with open-drain output and internal pull-up option |
| P16 / TI01 / TO01 / INTP5 / TRDIOC0 / IVREF0 | Multiplexed timer/interrupt/ADC ref | Enables input capture, PWM output, external interrupt, or ADC reference voltage selection |
| P17 / TI02 / TO02 / TRDIOA0 / TRDCLK / IVCMP0 | Multiplexed timer/interrupt/comparator | Supports timer input capture, PWM generation, comparator output, or serial clock for TRD interface |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power HALT/STOP/SNOOZE modes | Reduces current to 0.60 μA (RTC + LVD only) or 66 μA/MHz active - extends battery life in portable sensors |
| Background Data Flash Operation (BGO) | Permits full CPU execution from code flash while rewriting 8 KB data flash - enables seamless firmware updates |
| Event Link Controller (ELC) | Hardware links 19–26 event sources (e.g., timer overflow, ADC end-of-conversion) directly to peripherals - eliminates CPU polling overhead |
| On-chip voltage detector (LVD) | 14-level programmable reset/interrupt threshold (1.6–5.5 V range) - ensures reliable brown-out protection across supply variants |
| Peripheral I/O redirection | Dynamic remapping of up to 8 peripheral functions (e.g., UART, I²C, timer) to alternate pins via PIO registers - simplifies PCB layout reuse |
Applications
| Industrial Sensor Node | Smart Thermostat Control |
|---|---|
|
Use Scenario: Battery-powered environmental monitor measuring temperature, humidity, and CO₂ via I²C sensors and onboard ADC. IC Role / Device Role / Timing Role: Main controller executing sensor polling, data logging to data flash, RTC-timestamped wake-ups, and UART-based wireless transmission. Use Value: 0.60 μA STOP mode with RTC/LVD enables multi-year battery life; BGO allows firmware patching during operation without data loss. |
Use Scenario: Residential HVAC controller interfacing with thermistors, relays, display, and IR remote receiver. IC Role / Device Role / Timing Role: Real-time system manager handling 12-bit RTC calendar, 10-bit ADC readings, buzzer feedback, and LIN bus communication to HVAC unit. Use Value: Integrated LIN transceiver support (via UART/LIN mode) and 16 KB RAM enable robust protocol stack implementation without external components. |
| Programmable Logic Controller (PLC) I/O Module | Energy Metering Subsystem |
|
Use Scenario: DIN-rail mounted I/O expansion module with digital inputs, relay outputs, and RS-485 Modbus interface. IC Role / Device Role / Timing Role: Protocol handler and GPIO manager using ELC to trigger timer-based pulse-width modulation on relay drivers and UART framing for Modbus RTU. Use Value: ELC-driven peripheral chaining reduces CPU load by >40% vs. interrupt-driven polling - critical for deterministic real-time response. |
Use Scenario: Secondary microcontroller in smart meter performing tamper detection, LCD refresh, and secure firmware update coordination. IC Role / Device Role / Timing Role: Secure co-processor managing encrypted data flash writes, LVD-monitored supply integrity, and RTC-synchronized log entries. Use Value: 1M-cycle data flash endurance and hardware security lock prevent unauthorized reprogramming - meeting IEC 62056 compliance requirements. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GHAFB#V0 | Same 48-pin LFQFP package, but 96 KB flash, 8 KB data flash, 12 KB RAM | Suitable for cost-sensitive designs with reduced firmware footprint and lower RAM needs | Select when application code size stays under 96 KB and real-time data buffering fits within 12 KB RAM |
| R5F104LHAFB#V0 | Same 48-pin LFQFP package, but 128 KB flash, 8 KB data flash, 20 KB RAM, and extended -40°C to +105°C (G-grade) | Required for high-temperature industrial environments (e.g., motor drives, power converters) | Choose for thermal environments exceeding +85°C ambient - otherwise over-spec'd for standard industrial use |
Compared with R5F104GHAFB#V0 and R5F104LHAFB#V0, the R5F104MHAFB#V0 delivers optimal balance of 128 KB flash capacity, 16 KB RAM headroom for real-time task stacks, and D-grade qualification - making it the preferred choice for mainstream industrial control where extended temperature range is unnecessary.
Availability
R5F104MHAFB#V0 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart thermostat control, and PLC I/O modules requiring stable component supply, long-term lifecycle support, and RoHS-compliant packaging.
Supply support for R5F104MHAFB#V0 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, battery-operated, and industrial control applications - emphasizing energy efficiency, integrated peripherals, and simplified development.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104MHAFB#V0?
The R5F104MHAFB#V0 operates at up to 32 MHz with the high-speed on-chip oscillator, delivering 44 DMIPS performance. Its minimum instruction execution time is 0.03125 µs at 32 MHz, and it supports dynamic clock switching down to 32.768 kHz for ultra-low-power RTC operation - verified in the R01DS0053EJ0370 datasheet Section 1.1.
Does the R5F104MHAFB#V0 support in-system programming and debugging?
Yes, the R5F104MHAFB#V0 includes an on-chip debug function compatible with Renesas E2 emulator and CS+ IDE. It supports full-speed debugging, flash programming via SWD interface, and real-time trace - all without requiring external debug hardware beyond standard JTAG/SWD connectors.
What are the data flash endurance and rewrite voltage specifications for the R5F104MHAFB#V0?
The R5F104MHAFB#V0 features 8 KB of data flash rated for 1,000,000 write/erase cycles (typical) with rewrite operation supported across the full 1.8–5.5 V supply range - enabling robust field firmware updates even in brown-out conditions.
How many I²C interfaces does the R5F104MHAFB#V0 support, and what are their capabilities?
The R5F104MHAFB#V0 supports up to 10 I²C channels (depending on variant configuration), with P60/P61 designated as primary SCLA0/SDAA0. Each channel supports standard-mode (100 kHz), fast-mode (400 kHz), and SMBus protocols - confirmed in Section 1.1 "Serial Interfaces" of the R01DS0053EJ0370 datasheet.
Is the R5F104MHAFB#V0 pin-compatible with other RL78/G14 devices in the same package?
Yes, the R5F104MHAFB#V0 shares identical 48-pin LFQFP pinout and electrical characteristics with all other RL78/G14 devices in the FB package (e.g., R5F104GHAFB#V0, R5F104LHAFB#V0), enabling drop-in replacement within the same flash/RAM configuration family - per Renesas Package Outline PLQP0048KF-A.
R5F104MHAFB#V0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- RL78/G14
- Packaging:
- Tray
- 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:
- 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:
R5F104MHAFB#V0 FAQ
1.How can I place an order for R5F104MHAFB#V0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104MHAFB#V0 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 R5F104MHAFB#V0 reliable?
The price and inventory of R5F104MHAFB#V0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104MHAFB#V0 is usually 5 days.
3.What payment methods are accepted for R5F104MHAFB#V0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104MHAFB#V0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104MHAFB#V0?
R5F104MHAFB#V0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104MHAFB#V0 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 R5F104MHAFB#V0?
For technical support, including R5F104MHAFB#V0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104MHAFB#V0 requirements.
6.How does Aetrix verify that R5F104MHAFB#V0 is sourced from the original manufacturer or authorized distributors?
All R5F104MHAFB#V0 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 R5F104MHAFB#V0 meets industry standards.
7.What is the process for return or replacement of R5F104MHAFB#V0?
All R5F104MHAFB#V0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104MHAFB#V0, 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 R5F104MHAFB#V0 part is unused and in its original packaging.
Return procedure for R5F104MHAFB#V0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104MHAFB#V0 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…

