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

- Shipping:

Inventory:2,963
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104BFAFP#X0 from Renesas is a 32-pin LQFP-0.8 mm pitch, 96 KB flash, 12 KB RAM RL78/G14 16-bit microcontroller with ultra-low power consumption (66 μA/MHz), integrated 10-bit A/D converter (16 channels), real-time clock, and dual UART/SPI/I²C interfaces. It targets battery-powered industrial sensor nodes and smart metering endpoints requiring long runtime and mixed-signal control.
For engineers reviewing the R5F104BFAFP#X0 datasheet, R5F104BFAFP#X0 pinout, R5F104BFAFP#X0 application, or R5F104BFAFP#X0 equivalent, key selection criteria include its 96 KB code flash with data flash shield window, 1.6–5.5 V single-supply operation, STOP/HALT/SNOOZE low-power modes, and support for LIN-bus communication via UART.
Technical Context
The R5F104BFAFP#X0 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). It integrates a Data Transfer Controller (DTC) for autonomous memory transfers triggered by peripherals and an Event Link Controller (ELC) enabling direct hardware-to-hardware signal routing without CPU intervention.
Its analog subsystem includes a 10-bit A/D converter with internal 1.45 V reference and temperature sensor, plus two comparator channels with selectable high/low-speed and window modes. The on-chip high-accuracy ±1.0% oscillator supports 12 frequency options from 1 to 64 MHz, eliminating external crystal dependency in cost-sensitive designs.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/divide instructions |
| Flash Memory | 96 KB code flash with 1 KB block size, self-programming, and flash shield window security |
| RAM | 12 KB on-chip RAM, including dedicated areas for flash library operations |
| Power Supply | Single 1.6–5.5 V supply; 0.60 μA RTC+LVD mode enables decade-scale battery life |
| A/D Converter | 10-bit resolution, 16 input channels, internal 1.45 V reference, and on-chip temperature sensor |
| Timers | 12-channel 16-bit Timer Array Unit (TAU), 1-channel 12-bit interval timer, RTC with calendar/alarm |
| Serial Interfaces | 3 UART channels (1 with LIN support), 3 CSI/SPI channels, 4 I²C/simplified I²C channels |
| Operating Temp | -40°C to +85°C (Industrial-grade 'D' variant per ordering code) |
Pinout & Package
Package: 32-pin LQFP (7 × 7 mm, 0.8 mm pitch), RoHS-compliant, JEDEC standard PLQP0032GB-A footprint.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; 16-bit timer input; debug clock input for trace |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output; secondary debug clock input |
| P10–P17 | SPI/I²C/UART peripheral pins | Multi-function serial interface group supporting CSI, I²C, and UART with flexible pin remapping |
| P20–P23 | ANI0–ANI3 / AVREFP/AVREFM | Analog inputs with dedicated voltage reference pins for precision A/D conversion |
| P30–P31 | INTP3/RTC1HZ / INTP4/TI03/TO03 | Dedicated RTC interrupt output and general-purpose timer I/O with capture/compare |
| P50–P51 | RxD0/TxD0 / TOOLRxD/TOOLTxD | On-chip debug UART interface with dedicated tool pins for programming and trace |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; compatible with external reset ICs |
| VDD / VSS | Power supply / Ground | Single 1.6–5.5 V supply rail; decoupling capacitor required at REGC pin |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-Low Power Modes | Halt (0.23 μA), Stop (0.60 μA with RTC+LVD), SNOOZE (fast wake-up from peripheral events) |
| Self-Programming Flash | Boot swap and flash shield window enable secure firmware updates without external programmer |
| Background Data Flash Rewrite | BGO allows full CPU execution during 4 KB data flash erase/write (1M cycle endurance) |
| Hardware Event Routing | ELC links 19–26 peripheral event sources directly to target functions, reducing CPU load |
| Flexible Clock System | High-accuracy ±1.0% on-chip oscillator eliminates crystal cost; supports 12 frequencies from 1–64 MHz |
| Robust Debug Interface | On-chip debug with SWD-compatible tool interface, trace clock, and real-time variable monitoring |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Battery-powered electricity/water/gas meter with pulse counting, tamper detection, and wireless reporting. IC Role / Device Role / Timing Role: Main system controller managing metrology ADC sampling, RTC-based billing intervals, and sub-GHz RF communication timing. Use Value: 0.60 μA STOP mode extends 10-year battery life; LIN-capable UART interfaces with utility-grade communication modules. | Use Scenario: Wireless vibration/temperature/pressure sensor node deployed in factory machinery or HVAC systems. IC Role / Device Role / Timing Role: Signal acquisition controller performing synchronized A/D sampling, FFT preprocessing, and low-duty-cycle RF transmission. Use Value: 16-channel 10-bit A/D with internal reference ensures stable readings across 1.6–5.5 V supply range; DTC offloads data movement from CPU. |
| Home Appliance Control | Building Automation Panel |
Use Scenario: Washing machine main control board managing motor drive, water level sensing, and user interface. IC Role / Device Role / Timing Role: Real-time motor timing controller using TAU PWM outputs and analog feedback loop closure via comparator inputs. Use Value: Dual comparators with window mode detect overcurrent/overvoltage faults within 100 ns; 96 KB flash accommodates complex FOC algorithms and UI firmware. | Use Scenario: DIN-rail mounted HVAC controller with BACnet MS/TP or Modbus RTU fieldbus connectivity. IC Role / Device Role / Timing Role: Fieldbus protocol handler executing UART-based Modbus slave stack while managing local I/O scanning and alarm logic. Use Value: Three UART channels support simultaneous RS-485 Modbus, debug console, and auxiliary device interface; 12 KB RAM buffers protocol stacks and history logs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GFAFP#X0 | 256 KB flash, 24 KB RAM, same 32-pin LQFP package and peripheral set | Supports larger firmware images (e.g., embedded web server, OTA update stack) | Select when future firmware growth or enhanced data logging is anticipated |
| R5F104BFASP#V0 | Same 96 KB/12 KB spec but in 30-pin LSSOP package (0.65 mm pitch) | Smaller PCB footprint; reduced I/O count (26 vs. 28 GPIO) | Select for space-constrained designs where fewer analog/digital pins are needed |
Compared with R5F104BFAFP#X0, the R5F104GFAFP#X0 provides 160 KB additional flash for complex protocol stacks or GUI assets, while the R5F104BFASP#V0 trades 2 GPIOs and thermal performance for 35% smaller board area - both retain identical low-power behavior and peripheral compatibility.
Availability
R5F104BFAFP#X0 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, and home appliance control requiring stable component supply, long-term lifecycle assurance, and industrial-temperature grade reliability.
Supply support for R5F104BFAFP#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, and power 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 industrial and consumer devices requiring rich analog integration and robust real-time control.
FAQ
What is the maximum operating frequency of the R5F104BFAFP#X0?
The R5F104BFAFP#X0 supports up to 32 MHz operation using the high-speed on-chip oscillator. Its minimum instruction execution time is 0.03125 μs at this frequency, delivering 44 DMIPS performance. The oscillator accuracy is ±1.0% across the full 1.8–5.5 V supply and -40°C to +85°C temperature range, eliminating need for external crystals in many applications.
Does the R5F104BFAFP#X0 support LIN bus communication?
Yes, the R5F104BFAFP#X0 supports LIN bus communication through its UART peripheral. One of its three UART channels includes LIN-bus protocol support, enabling direct connection to LIN transceivers for automotive body electronics or industrial sub-networks. The UART's built-in break detection, sync byte handling, and checksum generation simplify LIN slave node implementation without software overhead.
How much data flash memory does the R5F104BFAFP#X0 include?
The R5F104BFAFP#X0 includes 4 KB of data flash memory. This memory supports background operation (BGO), allowing CPU code execution from program flash while rewriting data flash. It is rated for 1,000,000 write/erase cycles at VDD = 1.8–5.5 V and is protected by flash shield window and block erase prohibition features for secure parameter storage.
What low-power modes are available on the R5F104BFAFP#X0?
The R5F104BFAFP#X0 offers HALT, STOP, and SNOOZE low-power modes. In STOP mode with only RTC and LVD active, current consumption is 0.60 μA - enabling multi-year battery life in metering applications. HALT mode draws 0.23 μA, and SNOOZE enables fast wake-up (< 3.5 μs) from peripheral events like UART reception or A/D completion, balancing responsiveness and energy savings.
Is the R5F104BFAFP#X0 pin-compatible with other RL78/G14 variants in the same package?
Yes, all RL78/G14 devices in the 32-pin LQFP (PLQP0032GB-A) package - including R5F104BFAFP#X0, R5F104GFAFP#X0, and R5F104LFAFP#X0 - share identical pinouts and electrical characteristics. This allows hardware design reuse across memory variants, simplifying BOM management and enabling firmware scalability without PCB revision.
R5F104BFAFP#X0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-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:
- 22
- 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 8x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104BFAFP#X0 FAQ
1.How can I place an order for R5F104BFAFP#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104BFAFP#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 R5F104BFAFP#X0 reliable?
The price and inventory of R5F104BFAFP#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104BFAFP#X0 is usually 5 days.
3.What payment methods are accepted for R5F104BFAFP#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104BFAFP#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104BFAFP#X0?
R5F104BFAFP#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104BFAFP#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 R5F104BFAFP#X0?
For technical support, including R5F104BFAFP#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104BFAFP#X0 requirements.
6.How does Aetrix verify that R5F104BFAFP#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104BFAFP#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 R5F104BFAFP#X0 meets industry standards.
7.What is the process for return or replacement of R5F104BFAFP#X0?
All R5F104BFAFP#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104BFAFP#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 R5F104BFAFP#X0 part is unused and in its original packaging.
Return procedure for R5F104BFAFP#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104BFAFP#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…

