Renesas R5F104BFGNA#20
- Part No.:
- R5F104BFGNA#20
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 32-WFQFN Exposed Pad
- Datasheet:
-
R5F104BFGNA#20.pdf
- Description:
- IC MCU 16BIT 96KB FLASH 32HWQFN
- Quantity:
- Payment:

- Shipping:

Inventory:980
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104BFGNA#20 from Renesas is a 32-pin HWQFN-packaged 16-bit RL78/G14 microcontroller with 96 KB flash, 12 KB RAM, and 8 KB data flash, operating at 1.6–5.5 V. It delivers 44 DMIPS at 32 MHz, features ultra-low-power HALT/STOP/SNOOZE modes (0.60 μA RTC+LVD), and integrates 10-bit ADC (20 ch), UART/SCI/I²C interfaces, and real-time clock for industrial sensor control and motor drive applications.
For engineers reviewing the R5F104BFGNA#20 datasheet, R5F104BFGNA#20 pinout, R5F104BFGNA#20 application, or R5F104BFGNA#20 equivalent, key selection criteria include its 32-pin 5×5 mm HWQFN package, -40°C to +105°C industrial temperature grade (G), 96 KB code flash with security lock, and integrated event link controller (ELC) for deterministic peripheral triggering without CPU intervention.
Technical Context
The R5F104BFGNA#20 implements the RL78 CPU core with CISC architecture, 3-stage pipeline, and configurable instruction timing (0.03125 µs @32 MHz to 30.5 µs @32.768 kHz). It supports multiply/divide/accumulate instructions and 1 MB address space with four register banks.
Its peripheral set includes Timer Array Unit (TAU) with 8 channels, 12-bit interval timer, calendar RTC with alarm/correction, watchdog timer, and Data Transfer Controller (DTC) supporting chain transfer-enabling autonomous data movement between memory and peripherals during low-power operation.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and 1 MB address space |
| Max Clock Speed | 32 MHz (44 DMIPS); high-speed on-chip oscillator selectable from 1–64 MHz ±1.0% |
| Memory | 96 KB code flash (1 KB blocks), 12 KB RAM, 8 KB data flash (1M rewrite cycles) |
| Power Modes | HALT (66 μA/MHz), STOP (0.60 μA w/ RTC+LVD), SNOOZE (low-latency wake-up) |
| Analog Peripherals | 10-bit ADC (20 channels, internal 1.45 V ref & temp sensor), 8-bit DAC (2 ch, 0–VDD output) |
| Serial Interfaces | 3–4 UART/LIN, 3–8 CSI (SPI-compatible), 4–10 I²C/simplified I²C channels |
| Timers | 8× 16-bit TAU channels, 1× 12-bit interval timer, 1× calendar RTC, 1× watchdog |
Pinout & Package
Package: 32-pin HWQFN (5 × 5 mm, 0.5 mm pitch), exposed die pad recommended to be connected to VSS. Industrial-grade G-temp (-40°C to +105°C) variant with REGC capacitor requirement (0.47–1 µF to VSS).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; input capture timer channel 0; debug trigger clock A |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output channel 0; debug trigger clock B |
| P10–P17 | SCI/I²C/UART/ADC/Comparator I/O | Multiplexed serial and analog functions; configurable via PIOR registers |
| P20–P27 | ANI0–ANI7 / AVREFP/M / ANO0/1 | 8-channel analog input group with dedicated reference pins and analog outputs |
| P30–P31 | INTP3/RTC1HZ/SCK00 & INTP4/TI03/TO03 | Dedicated RTC interrupt output and dual-function timer I/O for motor control timing |
| P50–P51 | Tool interface (TOOLRxD/TOOLTxD) & SPI master | On-chip debug communication and primary SPI master interface |
| RESET | Active-low reset input | Asynchronous reset with internal POR and LVD (14-level selectable) |
| REGC | Regulator bypass capacitor terminal | Must connect 0.47–1 µF capacitor to VSS for stable internal voltage regulation |
Key Features
| Feature | Design Value |
|---|---|
| Event Link Controller (ELC) | Links 19–26 peripheral events directly to target functions without CPU overhead or latency |
| Data Transfer Controller (DTC) | Performs background memory-to-peripheral transfers using interrupt triggers and chain mode |
| Self-programming flash | Enables in-application firmware updates with boot swapping and flash shield window protection |
| Ultra-low-power RTC | Operates in STOP mode at 0.60 μA with calendar, alarm, and auto-correction functions |
| Peripheral I/O redirection | Dynamic remapping of up to 8 peripheral functions across multiple pins via PIOR0/1 registers |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Brushless DC motor commutation with current sensing and thermal monitoring. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, sampling ADC at 100 ksps, generating PWM via TAU, and managing LIN bus diagnostics. Use Value: Integrated ELC synchronizes ADC sampling with PWM zero-crossing; STOP mode enables <1 µA sleep between cycles. | Use Scenario: Battery-powered environmental sensor hub aggregating temperature, humidity, and gas readings. IC Role / Device Role / Timing Role: System-on-chip managing sensor I²C reads, RTC-timed wake-ups, BLE UART bridging, and low-voltage brownout detection. Use Value: 0.60 μA STOP mode extends 10-year battery life; on-chip temp sensor eliminates external component. |
| Home Appliance UI | Industrial PLC I/O Module |
Use Scenario: Touch-button and LED display controller in washing machine control panel. IC Role / Device Role / Timing Role: Handles capacitive touch scanning, buzzer tone generation, segment LCD driving, and appliance state machine. Use Value: PCLBUZ0/1 timers enable precise audio feedback; 20-channel ADC supports multi-sensor UI inputs. | Use Scenario: DIN-rail mounted digital input module with opto-isolated 24 V signal conditioning. IC Role / Device Role / Timing Role: Real-time GPIO debouncing, status reporting over RS-485, and watchdog-monitored fault logging to data flash. Use Value: 1M-cycle data flash stores 10,000+ fault timestamps; DTC offloads UART transmission from CPU during interrupts. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104BGANA#20 | Same 32-pin HWQFN package, identical peripherals, but 128 KB flash / 16 KB RAM / 8 KB data flash | Supports larger firmware images and more complex RTOS-based applications | Select when future firmware growth or additional protocol stacks (e.g., Modbus + OTA) are anticipated |
| R5F104BFANA#20 | Same package and temperature grade, but reduced 64 KB flash / 5.5 KB RAM / 4 KB data flash | Suitable for cost-sensitive, fixed-function designs with minimal code footprint | Choose for legacy replacement or simple control loops where memory headroom is not required |
Compared with R5F104BGANA#20 and R5F104BFANA#20, the R5F104BFGNA#20 provides optimal balance of code density (96 KB), runtime RAM (12 KB), and data retention (8 KB flash) for mid-complexity industrial firmware-avoiding over-provisioning while ensuring robust field-upgrade capability.
Availability
R5F104BFGNA#20 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, home appliance UIs, and PLC I/O modules requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F104BFGNA#20 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 performance (66 μA/MHz, 0.60 μA STOP) with rich analog integration and deterministic real-time peripherals for cost-sensitive industrial and consumer control systems.
FAQ
What is the operating temperature range for the R5F104BFGNA#20?
The R5F104BFGNA#20 is rated for industrial applications with an ambient operating temperature range of -40°C to +105°C (G-grade). This specification is confirmed in the ordering information section of the R01DS0053EJ0370 datasheet, where the "G" suffix denotes extended temperature capability, making it suitable for harsh environments like motor drives and factory automation equipment. The R5F104BFGNA#20 maintains full functionality-including ADC accuracy, oscillator stability, and flash write endurance-across this full range.
Does the R5F104BFGNA#20 support in-system programming via its debug interface?
Yes, the R5F104BFGNA#20 supports full in-system programming (ISP) using the on-chip debug function via the TOOLRxD/TOOLTxD pins (P50/P51). It enables flash erase/write, breakpoint setting, and real-time variable monitoring without removing the device from the PCB. The R5F104BFGNA#20 also supports self-programming with boot swapping and flash shield window protection, allowing secure firmware updates in the field. These capabilities are documented in Section 1.1 "Features" of the R01DS0053EJ0370 datasheet.
How many analog input channels does the R5F104BFGNA#20 provide, and what is their resolution?
The R5F104BFGNA#20 integrates a 10-bit successive approximation ADC with up to 20 analog input channels (ANI0–ANI19), as specified in the "A/D Converter" subsection of the datasheet. Input voltage range is 0 to VDD (1.6–5.5 V), and it includes internal reference voltage (1.45 V) and on-die temperature sensor. Channel count is fixed per package; the 32-pin HWQFN variant implements ANI0–ANI7 and ANI16–ANI19, totaling 12 usable channels-confirmed in the pin configuration diagram on page 10 of R01DS0053EJ0370.
What packaging and lead pitch does the R5F104BFGNA#20 use?
The R5F104BFGNA#20 uses a 32-pin HWQFN (Heat Sink Quad Flat No-lead) package measuring 5 × 5 mm with 0.5 mm lead pitch, as defined in the "Ordering Information" section (page 4) and confirmed in the "Pin Configuration" diagram (page 10) of R01DS0053EJ0370. The package includes an exposed die pad recommended to be connected to VSS for thermal and electrical stability. The "NA" in the part number explicitly denotes HWQFN, and "#20" indicates tray packaging per Renesas' standard specification.
Can the R5F104BFGNA#20 operate from a single 1.8 V supply, and what are the implications?
Yes, the R5F104BFGNA#20 operates from a single supply voltage of 1.6 V to 5.5 V, fully supporting 1.8 V operation as stated in the "True low-power platform" overview and "VDD = single power supply voltage of 1.6 to 5.5 V" feature list. At 1.8 V, maximum clock speed is reduced to 16 MHz (per voltage-frequency specifications), and flash programming requires VDD ≥ 2.7 V. All peripherals-including ADC, RTC, and UART-remain functional at 1.8 V, enabling compatibility with energy-harvesting and coin-cell-powered systems. This behavior is verified in the Electrical Characteristics table of R01DS0053EJ0370.
R5F104BFGNA#20 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-WFQFN Exposed Pad
- 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:
- 96KB (96K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 12K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.4V ~ 5.5V
- Data Converters:
- A/D 8x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104BFGNA#20 FAQ
1.How can I place an order for R5F104BFGNA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104BFGNA#20 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 R5F104BFGNA#20 reliable?
The price and inventory of R5F104BFGNA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104BFGNA#20 is usually 5 days.
3.What payment methods are accepted for R5F104BFGNA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104BFGNA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104BFGNA#20?
R5F104BFGNA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104BFGNA#20 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 R5F104BFGNA#20?
For technical support, including R5F104BFGNA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104BFGNA#20 requirements.
6.How does Aetrix verify that R5F104BFGNA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104BFGNA#20 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 R5F104BFGNA#20 meets industry standards.
7.What is the process for return or replacement of R5F104BFGNA#20?
All R5F104BFGNA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104BFGNA#20, 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 R5F104BFGNA#20 part is unused and in its original packaging.
Return procedure for R5F104BFGNA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104BFGNA#20 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…

