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

- Shipping:

Inventory:1,483
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104BGAFP#30 from Renesas is a 32-bit RL78/G14 microcontroller with 96 KB flash, 12 KB RAM, and 32-pin LQFP-0.8 mm package, operating from 1.6–5.5 V at -40 to +85°C (industrial grade D). It delivers 44 DMIPS at 32 MHz, features ultra-low power consumption (66 μA/MHz active, 0.60 μA in RTC+LVD mode), and integrates 10-bit ADC (12 channels), UART/SPI/I²C interfaces, RTC, and hardware DTC/ELC for deterministic real-time control in battery-powered and industrial edge nodes.
For engineers reviewing the R5F104BGAFP#30 datasheet, R5F104BGAFP#30 pinout, R5F104BGAFP#30 application, or R5F104BGAFP#30 equivalent, key selection criteria include its 96 KB code flash size, industrial temperature rating (D-grade), LQFP-32 0.8 mm pitch footprint, integrated analog peripherals (ADC/DAC/comparator), and support for low-power sleep modes-critical for energy-constrained embedded systems requiring long-term reliability and mixed-signal integration.
Technical Context
The R5F104BGAFP#30 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 comprises 96 KB on-chip flash (1 KB block size), 12 KB RAM, and 4 KB data flash rated for 1M rewrite cycles with background operation.
Peripheral integration includes Timer Array Unit (TAU) with 8 channels, 12-bit interval timer, calendar RTC with alarm/correction, watchdog timer, 10-bit 12-channel ADC with internal reference and temperature sensor, 8-bit dual-channel DAC, two comparators, and flexible serial interfaces: 3× UART (LIN-capable), up to 8× CSI (SPI-compatible), and 4× I²C. Event Link Controller (ELC) enables zero-cycle peripheral triggering without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 32-bit CISC with 3-stage pipeline, 44 DMIPS @ 32 MHz |
| Flash Memory | 96 KB code flash (1 KB erase blocks), 4 KB data flash (1M rewrite cycles, BGO supported) |
| RAM | 12 KB on-chip SRAM for program/data execution and stack |
| Operating Voltage | 1.6–5.5 V - supports direct interface with 1.8/2.5/3.3 V logic and single-supply battery operation |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD enabled |
| Analog Peripherals | 10-bit 12-channel ADC (VDD-referenced, internal 1.45 V ref, temp sensor); 8-bit dual DAC; 2× comparator |
| Serial Interfaces | 3× UART (LIN-compliant), up to 8× CSI (SPI-like), 4× I²C - enables multi-protocol sensor/actuator connectivity |
| Timers & Real-Time | TAU (8 ch), Timer RJ (1 ch), Timer RD (2 ch), 12-bit interval timer, calendar RTC (99-year), watchdog |
Pinout & Package
Package: 32-pin plastic LQFP (7 × 7 mm, 0.8 mm pitch), RoHS-compliant, industrial-grade (D) temperature range (-40 to +85°C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; timer input; debug clock input - enables serial comms and timing-critical event capture |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output; debug clock output - supports full-duplex comms and synchronized peripheral triggering |
| P10–P17 | SPI/I²C/UART/Comparator/ADC | Multiplexed serial and analog I/O - allows flexible peripheral mapping via PIOR registers without PCB change |
| P30–P31 | INTP3/RTC1HZ/SCK00, TI03/TO03/INTP4/PCLBUZ0 | Real-time clock output and buzzer/timer control - enables time-stamped events and audible feedback without external components |
| P50–P51 | RxD0/TxD0/SI00/SO00/TOOLRxD/TOOLTxD | Dedicated debug UART + primary SPI master - simplifies firmware update and host communication during development and field service |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up - ensures reliable initialization under brown-out or ESD conditions |
| REGC | Regulator bypass capacitor terminal | Requires 0.47–1 µF capacitor to VSS - stabilizes internal voltage regulator for consistent low-power operation |
| VDD / VSS | Power supply / Ground | Single 1.6–5.5 V supply; no separate analog/digital rails - reduces BOM count and layout complexity |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-Low Power HALT/STOP/SNOOZE Modes | Enables sub-µA system sleep with RTC/LVD active - extends battery life in metering and sensor nodes beyond 10 years |
| Hardware Data Transfer Controller (DTC) | Offloads CPU for memory/peripheral transfers using interrupt-triggered normal/repeat/block modes - improves real-time response and reduces firmware overhead |
| Event Link Controller (ELC) | Direct hardware linking of 19–26 peripheral events (e.g., ADC end → DMA trigger) - eliminates ISR latency for deterministic control loops |
| On-Chip Debug with Flash Shield Window | Secure self-programming with boot swapping and configurable flash write protection - supports safe field firmware updates and IP protection |
| Flexible Clock System | High-accuracy ±1.0% on-chip oscillator (1–64 MHz selectable) plus crystal support (X1/X2) - eliminates external crystal cost while maintaining timing precision |
| Dual-Voltage Interface Capability | I/O pins tolerate 1.8/2.5/3.3 V logic levels - enables direct connection to legacy or low-voltage peripherals without level shifters |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Electricity/water/gas meter with tamper detection, pulse counting, and wireless upload. IC Role / Device Role / Timing Role: Main controller managing metrology ADC sampling, RTC-based billing intervals, and secure UART/LIN communication to concentrator. Use Value: 10-bit ADC with internal reference and temperature sensor enables accurate analog measurement; 0.60 μA STOP mode extends battery life to >15 years in AMI endpoints. | Use Scenario: Wireless vibration/temperature/pressure node in predictive maintenance systems. IC Role / Device Role / Timing Role: Edge signal conditioner and scheduler - acquires sensor data, applies filtering via DTC-assisted DMA, and triggers BLE/Wi-Fi transmission on schedule or threshold event. Use Value: ELC-linked ADC→DTC→RAM transfer achieves zero-CPU-latency data capture; ultra-low power enables 5+ year operation on coin cell. |
| Home Appliance Control | Building Automation Panel |
Use Scenario: Washing machine main board controlling motor, valves, display, and user interface. IC Role / Device Role / Timing Role: Central MCU executing motor control (PWM via TAU), touch sensing (comparator), buzzer feedback (PCLBUZ), and UI communication (I²C to display). Use Value: Integrated 8-bit DAC and dual comparators replace discrete op-amps; 96 KB flash accommodates complex state machines and safety firmware. | Use Scenario: HVAC zone controller with temperature/humidity sensing, relay actuation, and BACnet/IP gateway interface. IC Role / Device Role / Timing Role: Real-time coordinator managing sensor polling (ADC), actuator timing (TAU PWM), and protocol translation (UART-to-Ethernet bridge via external PHY). Use Value: Hardware RTC with calendar function enables precise scheduling of ventilation cycles; LIN-capable UART supports legacy HVAC bus integration. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104CGAFP#30 | 128 KB flash, 16 KB RAM, same 32-pin LQFP-0.8 mm package and peripheral set | Supports larger firmware images (e.g., OTA stacks, advanced motor algorithms) without changing PCB layout | Select when future firmware growth or additional feature sets (e.g., enhanced security libraries) require >96 KB code space |
| R5F104BFASP#30 | 30-pin LSSOP-0.65 mm, 64 KB flash, 5.5 KB RAM, identical core/peripherals but reduced I/O count (26 pins vs. 29) | Targeted at cost-sensitive, space-constrained designs where fewer analog/digital I/Os suffice | Choose for compact consumer devices where LSSOP footprint and lower pin count reduce PCB area and assembly cost |
Compared with R5F104CGAFP#30, the R5F104BGAFP#30 trades flash/RAM headroom for tighter BOM control in volume production; versus R5F104BFASP#30, it provides 3 extra I/O pins and 32 KB more flash in a slightly larger but more robust LQFP package - ideal for industrial designs needing margin and layout stability.
Availability
R5F104BGAFP#30 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, home appliance control, and building automation panels requiring stable component supply across extended product lifecycles.
Supply support for R5F104BGAFP#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 32-bit performance for general-purpose embedded applications, emphasizing energy efficiency, integrated analog, and real-time determinism in cost-sensitive industrial and consumer systems.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104BGAFP#30?
The R5F104BGAFP#30 operates at up to 32 MHz using its high-speed on-chip oscillator, delivering 44 DMIPS of processing performance. This benchmark reflects its RL78 CPU core's 3-stage pipeline efficiency and is validated across the full industrial temperature range (-40 to +85°C) with VDD = 1.6–5.5 V.
Does the R5F104BGAFP#30 support in-system programming and secure firmware updates?
Yes, the R5F104BGAFP#30 supports full in-system programming via its on-chip debug interface and includes flash shield window functionality for secure self-programming. It enables boot swapping and prohibits block erase/write on protected regions - critical for authenticated over-the-air (OTA) updates in certified industrial deployments.
How many analog input channels does the R5F104BGAFP#30 ADC support, and what reference options are available?
The R5F104BGAFP#30 integrates a 10-bit successive-approximation ADC with 12 analog input channels. Reference voltage options include VDD, internal 1.45 V bandgap reference, and external AVREFP/AVREFM pins - enabling high-accuracy ratiometric or absolute measurements across varying supply conditions.
What serial communication interfaces are available on the R5F104BGAFP#30, and which support LIN bus physical layer compliance?
The R5F104BGAFP#30 provides 3 UART channels (all LIN-bus compliant), up to 8 CSI channels (SPI-compatible), and 4 I²C channels. UART0/1/2 each support LIN 2.2 frame formatting, break detection, and sync byte handling - allowing direct connection to automotive or industrial LIN networks without transceiver translation.
Is the R5F104BGAFP#30 pin-compatible with other RL78/G14 variants in the same LQFP-32 package?
Yes, all RL78/G14 devices in the 32-pin LQFP-0.8 mm package (e.g., R5F104AGAFP#30, R5F104CGAFP#30) share identical pinouts and electrical characteristics. Firmware and PCB layouts are interchangeable across flash/RAM variants - enabling scalable design reuse from 48 KB to 128 KB code memory without hardware revision.
R5F104BGAFP#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-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:
- 22
- 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 8x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104BGAFP#30 FAQ
1.How can I place an order for R5F104BGAFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104BGAFP#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 R5F104BGAFP#30 reliable?
The price and inventory of R5F104BGAFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104BGAFP#30 is usually 5 days.
3.What payment methods are accepted for R5F104BGAFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104BGAFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104BGAFP#30?
R5F104BGAFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104BGAFP#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 R5F104BGAFP#30?
For technical support, including R5F104BGAFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104BGAFP#30 requirements.
6.How does Aetrix verify that R5F104BGAFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F104BGAFP#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 R5F104BGAFP#30 meets industry standards.
7.What is the process for return or replacement of R5F104BGAFP#30?
All R5F104BGAFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104BGAFP#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 R5F104BGAFP#30 part is unused and in its original packaging.
Return procedure for R5F104BGAFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104BGAFP#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…

