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

- Shipping:

Inventory:800
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104BAGFP#30 from Renesas is a 32-pin LQFP-packaged RL78/G14 16-bit microcontroller with 96 KB flash, 12 KB RAM, and industrial-grade -40°C to +105°C operation (G-grade). It delivers 44 DMIPS at 32 MHz, features ultra-low power consumption (66 μA/MHz active, 0.60 μA RTC+LVD), and integrates UART, I²C, SPI, 16-bit timers, 10-bit ADC (12 channels), and on-chip RTC for embedded control in HVAC, motor drives, and industrial sensors.
For engineers reviewing the R5F104BAGFP#30 datasheet, R5F104BAGFP#30 pinout, R5F104BAGFP#30 application, or R5F104BAGFP#30 equivalent, key selection criteria include its G-grade temperature rating, 32-pin LQFP-0.8 mm pitch package, 96 KB code flash with data flash, integrated event link controller (ELC), and support for background data flash rewriting (BGO).
Technical Context
The R5F104BAGFP#30 implements the RL78 CPU core with CISC architecture, 3-stage pipeline, and configurable instruction timing (0.03125 µs min @ 32 MHz to 30.5 µs @ 32.768 kHz). It uses a dedicated low-speed on-chip oscillator for watchdog timer operation and supports HALT/STOP/SNOOZE low-power modes.
Its peripheral set includes an Event Link Controller (ELC) enabling hardware-triggered peripheral chaining without CPU intervention, Data Transfer Controller (DTC) supporting block/repeat transfers activated by interrupts, and a Real-Time Clock with calendar, alarm, and clock correction functions - all operating independently during STOP mode.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/divide instructions |
| Max Operating Frequency | 32 MHz (44 DMIPS); high-speed on-chip oscillator selectable from 1–64 MHz with ±1.0% accuracy |
| Memory | 96 KB code flash (1 KB blocks), 4 KB data flash (1M rewrite cycles), 12 KB RAM |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD enabled |
| Analog Peripherals | 10-bit ADC with 12 input channels, internal 1.45 V reference, and temperature sensor |
| Digital Interfaces | 3 UART/LIN channels, 4 I²C channels, 3 CSI (SPI-compatible) channels, 12-bit interval timer, RTC with calendar |
| Operating Temperature | -40°C to +105°C (G-grade industrial qualification) |
| Supply Voltage | 1.6 V to 5.5 V single-supply operation |
Pinout & Package
Package: 32-pin plastic LQFP (7 × 7 mm, 0.8 mm pitch), RoHS-compliant, lead-free.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; timer input; trace clock A - multiplexed I/O with peripheral redirection |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output; trace clock B - supports full-duplex serial communication |
| P10–P17 | CSI1/SPI1, UART2, I²C2, TRDIx, IVREF/IVCMP | Multi-function serial interface group with programmable peripheral assignment via PIOR registers |
| P30 | INTP3 / SCK00 / SCL00 / TRJO0 | Interrupt input, I²C clock, JTAG reset - enables debug interface and synchronous serial master mode |
| P31 | TI03 / TO03 / INTP4 / PCLBUZ0 | Timer input/output with interrupt capability and buzzer drive - supports precise timing and audible feedback |
| P50/P51 | SI00/RxD0/SDA00/TRGIOA & SO00/TxD0/TRGIOB | UART0 full-duplex channel with tool interface (TOOLRxD/TOOLTxD) for on-chip debugging |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; accepts external reset signal or POR/LVD assertion |
| REGC | Regulator capacitor terminal | Must connect 0.47–1 µF capacitor to VSS to stabilize internal voltage regulator |
| VDD/VSS | Power supply / Ground | Single 1.6–5.5 V supply; decoupling required per layout guidelines for noise immunity |
| X1/X2 | Crystal oscillator inputs | Supports 32.768 kHz crystal for RTC or high-frequency crystals up to 20 MHz |
Key Features
| Feature | Design Value |
|---|---|
| Self-programming with boot swapping | Enables safe firmware updates via dual-bank flash management without runtime interruption |
| Background operation (BGO) | Allows CPU to execute code from flash while rewriting data flash - critical for logging and parameter storage |
| Event Link Controller (ELC) | Hardware-based peripheral triggering eliminates CPU polling and ISR latency for time-critical sequences |
| Ultra-low power STOP mode | 0.60 μA current draw with RTC and LVD active - extends battery life in always-on sensor nodes |
| On-chip voltage detector (LVD) | 14-level programmable reset/interrupt threshold ensures reliable brown-out protection across supply ranges |
| Peripheral I/O redirection | Dynamic remapping of serial and timer functions to alternate pins simplifies PCB layout and routing |
Applications
| Industrial Motor Control | Smart HVAC Sensor Node |
|---|---|
Use Scenario: Closed-loop speed and position control of BLDC fans using hall-effect feedback and PWM-driven gate drivers. IC Role / Device Role / Timing Role: Main system controller executing FOC algorithms, managing UART-based commissioning, and monitoring thermal/voltage faults via ADC and LVD. Use Value: 44 DMIPS compute headroom handles real-time PID + commutation logic; STOP-mode RTC enables scheduled maintenance alerts without waking main CPU. | Use Scenario: Battery-powered wireless temperature/humidity/CO₂ sensor node with local display and BLE gateway interface. IC Role / Device Role / Timing Role: System orchestrator acquiring analog sensor data, managing low-power sleep cycles, and buffering telemetry before RF transmission. Use Value: 0.60 μA STOP current with RTC extends 2xAA battery life beyond 5 years; integrated data flash stores calibration coefficients and event logs. |
| Programmable Logic Relay | Industrial PLC I/O Module |
Use Scenario: DIN-rail mounted relay module accepting digital inputs, executing ladder logic, and driving solid-state outputs with configurable timing. IC Role / Device Role / Timing Role: Deterministic real-time controller with ELC-synchronized input sampling and output update, plus UART diagnostics. Use Value: ELC eliminates jitter in input-to-output response (<1 µs propagation); 12-channel ADC monitors auxiliary analog inputs (e.g., current sense). | Use Scenario: Modular I/O expansion unit for distributed control systems, supporting hot-swap detection and fieldbus communication. IC Role / Device Role / Timing Role: Local intelligence hub managing isolated digital I/O, performing CRC-protected configuration loading, and reporting status over RS-485. Use Value: Dual UARTs enable simultaneous Modbus RTU master/slave operation; G-grade temp rating ensures reliability in cabinet-mounted environments. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104BCGFP#30 | Same 32-pin LQFP package and G-grade rating, but 16 KB flash / 2.5 KB RAM | Targeted at cost-sensitive, function-limited control tasks (e.g., simple timers, basic I/O sequencers) | Select when firmware footprint <16 KB and no data flash or advanced peripherals (e.g., ELC, BGO) are required |
| R5F104BGFP#30 | Same 32-pin LQFP and G-grade, with 48 KB flash / 5.5 KB RAM - no data flash | Suitable for mid-complexity applications needing more code space than R5F104BAGFP#30 but no non-volatile parameter storage | Choose when application requires >16 KB but ≤48 KB code, and data retention is handled externally or via EEPROM |
Compared with R5F104BCGFP#30 and R5F104BGFP#30, the R5F104BAGFP#30 uniquely provides 96 KB flash with 4 KB data flash, enabling robust firmware updates and persistent configuration storage - essential for field-upgradable industrial devices requiring long-term data integrity.
Availability
R5F104BAGFP#30 is available at Aetrix Electronics and suitable for industrial motor control, smart HVAC sensor nodes, and programmable logic relays requiring stable component supply, long lifecycle assurance, and G-grade temperature compliance.
Supply support for R5F104BAGFP#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 industrial and consumer applications requiring extended battery life, robust peripheral integration, and seamless toolchain support with CS+ and e2 studio.
FAQ
What is the maximum operating frequency and performance of the R5F104BAGFP#30?
The R5F104BAGFP#30 operates at up to 32 MHz with a peak performance of 44 DMIPS. Its high-speed on-chip oscillator supports frequencies from 1 MHz to 64 MHz with ±1.0% accuracy across the full industrial temperature range (-40°C to +105°C), and the RL78 CPU core achieves minimum instruction execution times of 0.03125 µs at 32 MHz. This makes the R5F104BAGFP#30 suitable for real-time control tasks demanding deterministic timing and moderate computational throughput.
Does the R5F104BAGFP#30 support in-system programming and secure firmware updates?
Yes, the R5F104BAGFP#30 supports secure in-system programming via its on-chip debug function and self-programming capability with boot swapping. The flash memory includes security features such as block erase/write prohibition and flash shield window protection. These mechanisms prevent unauthorized access to firmware and enable safe field updates by maintaining a validated backup image during reprogramming - a critical requirement for deployed R5F104BAGFP#30-based industrial controllers.
What low-power modes are available on the R5F104BAGFP#30, and what is the lowest achievable current?
The R5F104BAGFP#30 offers HALT, STOP, and SNOOZE low-power modes. In STOP mode with only the real-time clock (RTC) and low-voltage detector (LVD) active, it draws just 0.60 μA - verified at VDD = 1.8–5.5 V and TA = -40°C to +105°C. This ultra-low quiescent current enables multi-year battery operation in sensor nodes and energy-harvesting applications where the R5F104BAGFP#30 serves as the primary system controller.
How many serial interfaces does the R5F104BAGFP#30 integrate, and are they configurable?
The R5F104BAGFP#30 integrates three UART/LIN channels, four I²C channels, and three CSI (SPI-compatible) channels. All serial peripherals support flexible pin assignment through the Peripheral I/O Redirection Registers (PIOR0/1), allowing engineers to map functions like SDA, SCL, MOSI, or MISO to multiple physical pins. This configurability simplifies PCB layout and enables reuse of the same R5F104BAGFP#30 design across variants with differing connector placements or signal routing constraints.
What is the analog capability of the R5F104BAGFP#30, and does it include internal references?
The R5F104BAGFP#30 features a 10-bit successive-approximation ADC with 12 analog input channels, internal 1.45 V reference voltage, and an integrated temperature sensor. It supports single-ended and differential input modes, programmable sample-and-hold timing, and conversion triggers from timers or external events. The presence of both AVREFP and AVREFM pins allows for precise ratiometric measurements, and the internal reference ensures accurate ADC operation without external components - a key advantage for compact R5F104BAGFP#30-based measurement systems.
R5F104BAGFP#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:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 8x8/10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104BAGFP#30 FAQ
1.How can I place an order for R5F104BAGFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104BAGFP#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 R5F104BAGFP#30 reliable?
The price and inventory of R5F104BAGFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104BAGFP#30 is usually 5 days.
3.What payment methods are accepted for R5F104BAGFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104BAGFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104BAGFP#30?
R5F104BAGFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104BAGFP#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 R5F104BAGFP#30?
For technical support, including R5F104BAGFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104BAGFP#30 requirements.
6.How does Aetrix verify that R5F104BAGFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F104BAGFP#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 R5F104BAGFP#30 meets industry standards.
7.What is the process for return or replacement of R5F104BAGFP#30?
All R5F104BAGFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104BAGFP#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 R5F104BAGFP#30 part is unused and in its original packaging.
Return procedure for R5F104BAGFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104BAGFP#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…

