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

- Shipping:

Inventory:626
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104PHAFB#30 from Renesas is a 100-pin LFQFP (0.5 mm pitch), industrial-grade RL78/G14 16-bit MCU with 128 KB flash, 8 KB data flash, 16 KB RAM, 32 MHz max CPU speed, and ultra-low-power operation (66 μA/MHz active, 0.60 μA RTC+LVD mode). It integrates UART, I²C, SPI, 16-bit timers, 10-bit ADC (16 ch), DAC (2 ch), comparator, and real-time clock for embedded control in HVAC, motor drives, and smart sensors.
For engineers reviewing the R5F104PHAFB#30 datasheet, R5F104PHAFB#30 pinout, R5F104PHAFB#30 application, or R5F104PHAFB#30 equivalent, key selection considerations include its -40°C to +105°C industrial temperature rating, LFQFP-100 0.5 mm pitch package, integrated debug interface, and support for background data flash rewriting with 1M-cycle endurance.
Technical Context
The R5F104PHAFB#30 implements the RL78 CPU core with 3-stage pipeline, 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 comprises 128 KB on-chip code flash (1 KB blocks), 8 KB data flash with background operation (BGO), and 16 KB RAM.
Peripheral integration includes 4 UART/LIN channels, 10 I²C/simplified I²C channels, 8 CSI/SPI channels, 12× 16-bit timers (TAU, RJ, RD, RG), 10-bit ADC with 16 input channels and internal reference, dual 8-bit DACs, two comparators, 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 with 3-stage pipeline, 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), 1,000,000 write cycles, VDD = 1.8–5.5 V |
| RAM | 16 KB on-chip SRAM, used by flash library starting at F9F00H |
| ADC | 10-bit resolution, 16 analog inputs, internal 1.45 V reference and temperature sensor |
| DAC | Two 8-bit channels, output range 0 V to VDD, real-time update capability |
| Operating Temp | -40°C to +105°C (G-grade industrial qualification) |
| Supply Voltage | 1.6 V to 5.5 V single supply, enabling direct battery or wide-input power rail use |
Pinout & Package
Package: 100-pin LFQFP, 14 × 14 mm body, 0.5 mm pitch, exposed thermal pad (recommended to connect to VSS).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00–P01 | GPIO / Analog Input / UART | Primary serial interface (TxD1/RxD1) and 2× 10-bit ADC inputs (ANI17/ANI16) |
| P10–P17 | Multi-function I/O | Support SPI (SCK11/SI11/SO11), I²C (SCL11/SDA11), UART (TxD2/RxD2), and timer I/O (TI01–TI02, TO01–TO02) |
| P30–P31 | Interrupt / Timer / Buzzer | INTP3 (RTC1HZ), INTP4, PCLBUZ0 - enables low-jitter timing and audible feedback |
| P60–P61 | I²C Interface | SCLA0/SDAA0 - dedicated hardware I²C bus supporting standard/fast-mode up to 400 kHz |
| P121–P122 | Crystal Oscillator | X1/X2 pins for external 32.768 kHz crystal, enabling precise RTC calendar and alarm functions |
| RESET / REGC / VDD / VSS | Power & Reset | Active-low reset with internal POR; REGC requires 0.47–1 µF capacitor to VSS for LDO stability |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power HALT/STOP/SNOOZE modes | Enables <0.60 μA retention with RTC + LVD active - critical for battery-powered endpoints |
| Background Data Flash Operation (BGO) | Allows full CPU execution from code flash while rewriting data flash - eliminates interrupt latency during logging |
| Event Link Controller (ELC) | Hardware-peripheral chaining (e.g., ADC trigger → DMA transfer → timer reload) without CPU overhead |
| On-chip Debug with Boot Swapping | Enables safe firmware updates via dual-bank flash management and real-time debugging over single-wire interface |
| Multi-voltage I/O (1.8/2.5/3.0 V compatible) | Direct interfacing with mixed-voltage peripherals without level shifters - reduces BOM cost and board area |
| Integrated Temperature Sensor & VREF | Factory-calibrated temperature sensing and stable 1.45 V internal reference eliminate external components for precision ADC measurements |
Applications
| Smart Thermostats | Industrial Motor Controllers |
|---|---|
Use Scenario: Residential and commercial HVAC systems requiring precise ambient/duct temperature monitoring, user interface control, and wireless communication. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition (10-bit ADC), display backlight (PWM via PCLBUZ), UART-based Wi-Fi/BLE module interface, and RTC-scheduled fan cycles. Use Value: Integrated temperature sensor and 1.45 V VREF enable ±0.5°C accuracy without external calibration; 0.60 μA STOP mode extends battery life in wireless battery-powered variants. | Use Scenario: Closed-loop speed/torque control of BLDC or stepper motors in factory automation equipment. IC Role / Device Role / Timing Role: Real-time motion controller executing PID algorithms, generating complementary PWM outputs (TAU), capturing encoder pulses (TI0x), and communicating status via UART/LIN to PLC. Use Value: 12× 16-bit timers with dead-time insertion and ELC-triggered ADC sampling ensure sub-microsecond timing determinism for field-oriented control loops. |
| Programmable Logic Relays | Energy Monitoring Sensors |
Use Scenario: DIN-rail mounted industrial relays replacing electromechanical logic with configurable digital I/O, timers, and counters. IC Role / Device Role / Timing Role: Deterministic I/O processor handling 16+ GPIO, high-speed counter inputs (INTP0–INTP9), and relay driver outputs with programmable delay/on-time via TAU and RTC. Use Value: On-chip BCD correction and 1 MB address space support complex ladder logic emulation; -40°C to +105°C rating ensures reliability in uncooled control cabinets. | Use Scenario: DIN-rail or panel-mounted electricity meters measuring voltage, current, and power quality in building submeters. IC Role / Device Role / Timing Role: Precision analog front-end controller acquiring isolated voltage/current signals via 10-bit ADC, computing RMS/THD, and transmitting data via UART/I²C to host MCU or cloud gateway. Use Value: Dual 8-bit DACs provide calibrated reference outputs for sensor excitation; data flash BGO enables secure firmware updates without interrupting measurement cycles. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104PGAFB#30 | Same 100-pin LFQFP package, identical peripherals, but 96 KB flash / 12 KB RAM | Lower memory footprint suits simpler control tasks without extensive data logging or multi-protocol stacks | Select when application code size remains under 96 KB and RAM usage ≤12 KB to reduce cost |
| R5F104PHGFB#30 | Same flash/RAM/peripherals, but G-grade (-40°C to +105°C) in LQFP-100 (0.65 mm pitch) package | Compatible for same industrial environments but requires PCB layout change due to larger pitch and different land pattern | Choose only if legacy LQFP-100 design exists and re-spin is prohibitive; otherwise prefer FB package for finer pitch and thermal performance |
Compared with R5F104PGAFB#30 and R5F104PHGFB#30, the R5F104PHAFB#30 provides optimal balance of memory headroom (128 KB flash), industrial temperature resilience, and modern 0.5 mm pitch packaging - making it ideal for new designs targeting long-lifecycle industrial deployments with future firmware scalability.
Availability
R5F104PHAFB#30 is available at Aetrix Electronics and suitable for HVAC controllers, motor drive modules, and energy monitoring sensors requiring stable component supply, extended temperature operation, and long-term production continuity.
Supply support for R5F104PHAFB#30 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 thermally constrained industrial control applications - combining high integration, robustness, and energy efficiency.
FAQ
What is the maximum operating frequency and corresponding power consumption of the R5F104PHAFB#30?
The R5F104PHAFB#30 operates up to 32 MHz with a typical active current of 66 μA/MHz at VDD = 3.0 V and TA = 25°C. In STOP mode with only RTC and LVD active, it draws just 0.60 μA - verified per R01DS0053EJ0370 Rev. 3.70 Section 1.1. This makes R5F104PHAFB#30 suitable for always-on, battery-backed industrial nodes where energy budget is critical.
Does the R5F104PHAFB#30 support in-system programming and debug interfaces?
Yes, the R5F104PHAFB#30 includes an on-chip debug interface compatible with Renesas E2 emulator and supports self-programming with boot swapping and flash shield window protection. It uses a single-wire debug (SWD)-compatible protocol over the TOOL0 pin, enabling real-time breakpoints, register inspection, and flash updates without external JTAG hardware - essential for field firmware upgrades of R5F104PHAFB#30-based devices.
What are the key differences between the R5F104PHAFB#30 and R5F104PHGFB#30?
The R5F104PHAFB#30 and R5F104PHGFB#30 share identical flash (128 KB), data flash (8 KB), RAM (16 KB), peripherals, and industrial temperature grade (-40°C to +105°C), but differ in package: R5F104PHAFB#30 uses LFQFP-100 with 0.5 mm pitch, while R5F104PHGFB#30 uses LQFP-100 with 0.65 mm pitch. The R5F104PHAFB#30 offers better thermal dissipation and finer routing density - confirming R5F104PHAFB#30 as the preferred choice for new designs.
Can the R5F104PHAFB#30 operate from a single 1.8 V supply, and what features remain functional?
Yes, the R5F104PHAFB#30 supports 1.6 V to 5.5 V operation, and all core functions - including 32 MHz CPU execution, 10-bit ADC (with internal 1.45 V reference), UART, I²C, and RTC - are fully specified down to 1.8 V per R01DS0053EJ0370 Section 1.1. At 1.8 V, the maximum frequency is reduced to 16 MHz, but ultra-low-power modes (HALT/STOP) maintain full functionality - ensuring R5F104PHAFB#30 interoperability with 1.8 V logic families and energy-harvesting power supplies.
How many UART, I²C, and SPI interfaces does the R5F104PHAFB#30 integrate, and are they independently configurable?
The R5F104PHAFB#30 integrates four UART/LIN channels, ten I²C/simplified I²C channels, and eight CSI/SPI channels - all independently configurable via peripheral I/O redirection registers (PIOR0/PIOR1). Each interface can be assigned to multiple pin combinations (e.g., UART0 on P00/P01 or P16/P17), enabling flexible PCB layout and signal routing without hardware redesign - a confirmed capability documented in R01DS0053EJ0370 Section 1.3.6 for R5F104PHAFB#30's 100-pin LFQFP variant.
R5F104PHAFB#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 100-LQFP
- Series:
- RL78/G14
- Packaging:
- Tray
- Product Status:
- Last Time Buy
- 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:
- 82
- 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 20x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104PHAFB#30 FAQ
1.How can I place an order for R5F104PHAFB#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104PHAFB#30 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 R5F104PHAFB#30 reliable?
The price and inventory of R5F104PHAFB#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104PHAFB#30 is usually 5 days.
3.What payment methods are accepted for R5F104PHAFB#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104PHAFB#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104PHAFB#30?
R5F104PHAFB#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104PHAFB#30 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 R5F104PHAFB#30?
For technical support, including R5F104PHAFB#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104PHAFB#30 requirements.
6.How does Aetrix verify that R5F104PHAFB#30 is sourced from the original manufacturer or authorized distributors?
All R5F104PHAFB#30 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 R5F104PHAFB#30 meets industry standards.
7.What is the process for return or replacement of R5F104PHAFB#30?
All R5F104PHAFB#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104PHAFB#30, 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 R5F104PHAFB#30 part is unused and in its original packaging.
Return procedure for R5F104PHAFB#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104PHAFB#30 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…

