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

- Shipping:

Inventory:1,250
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GAANA#20 from Renesas is a 48-pin HWQFN-packaged 16-bit RL78/G14 microcontroller with 128 KB flash, 12 KB RAM, and 8 KB data flash, operating from 1.6–5.5 V at -40 to +105°C (industrial grade G), delivering 44 DMIPS at 32 MHz for low-power embedded control in motor drives, sensor nodes, and industrial HMI.
For engineers reviewing the R5F104GAANA#20 datasheet, R5F104GAANA#20 pinout, R5F104GAANA#20 application, or R5F104GAANA#20 equivalent, key selection criteria include its 128 KB code flash size, 48-pin 7×7 mm HWQFN-0.5 mm pitch package, integrated RTC + LVD + 10-bit ADC (20-channel), and support for SNOOZE mode (66 μA/MHz active, 0.60 μA RTC-only).
Technical Context
The R5F104GAANA#20 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), multiply/divide/accumulate instructions, and 1 MB address space. It integrates a high-accuracy ±1.0% on-chip oscillator (1–64 MHz selectable) and supports background data flash rewriting (BGO) with 1M write cycles.
Peripheral integration includes 12-channel 16-bit Timer Array Unit (TAU), real-time clock with calendar/alarm, 10-bit 20-channel ADC with internal 1.45 V reference and temperature sensor, dual 8-bit DAC outputs, two comparators, and serial interfaces: up to 8 CSI channels, 4 UART/LIN, and 10 I²C/Simplified I²C channels - all configurable via Event Link Controller (ELC) and Data Transfer Controller (DTC).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 16-bit CISC with 3-stage pipeline, 44 DMIPS @ 32 MHz |
| Flash Memory | 128 KB code flash + 8 KB data flash; 1 KB block erase; self-programming with boot swap |
| RAM | 12 KB on-chip RAM; supports flash library operation starting at F9F00H |
| Operating Voltage | 1.6–5.5 V; enables direct interface with 1.8/2.5/3.0 V peripherals |
| Temperature Range | -40 to +105°C (industrial G-grade); qualified for extended thermal environments |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD active |
| Analog Peripherals | 10-bit 20-channel ADC (VDD-referenced, internal 1.45 V ref, temp sensor); dual 8-bit DACs (0–VDD output) |
Pinout & Package
Package: 48-pin HWQFN (7 × 7 mm, 0.5 mm pitch), exposed die pad recommended to be connected to VSS. Pin count and footprint match industry-standard QFN-48 layouts with 0.5 mm pitch.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 / P01 | TxD1/RxD1 / TO00/TI00 | Full-duplex UART channel 1 with timer input/output; supports TRGCLKA/B for trace/debug sync |
| P10–P17 | SPI/I²C/UART/Comparator/ADC | Multiplexed serial and analog I/O; e.g., P12 = SO11/TRDIOB1/IVREF1 for SPI slave output or comparator reference |
| P20–P27 | ANI0–ANI7 / AVREFP/M / ANO0/1 | Primary analog input bank (8 channels); AVREFP/M pins enable precise ratiometric ADC measurements |
| P30 / P31 | INTP3 / TI03/TO03/PCLBUZ0 | RTC 1 Hz output (P30), plus 16-bit timer capture/compare/buzzer drive (P31) |
| P50 / P51 | SI00/RxD0 / SO00/TxD0 | UART0 with tool interface (TOOLRxD/TOOLTxD) for on-chip debugging and programming |
| P60–P62 | SCLA0 / SDAA0 / SSI00 | I²C master/slave (SCLA0/SDAA0) and synchronous serial interface (SSI00) for sensor or display comms |
| P120–P122 / P124 | VCOUT0 / X1/X2 / XT2 | VCOUT0 supports crystal oscillator stabilization; X1/X2 for main 32.768 kHz RTC crystal; XT2/EXCLKS for external clock input |
| REGC / RESET / VDD / VSS | Regulator bypass / Reset / Power | REGC requires 0.47–1 µF capacitor to VSS; RESET is active-low; VDD/VSS support decoupling per layout guidelines |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power modes | HALT/STOP/SNOOZE modes enable sub-μA retention with RTC+LVD active - critical for battery-powered industrial sensors |
| Background data flash rewrite | BGO allows concurrent program execution and 8 KB data flash update - essential for field firmware updates without interruption |
| Event Link Controller (ELC) | Links 19–26 peripheral events (e.g., ADC EOC → DMA trigger) without CPU intervention - reduces latency and ISR overhead |
| On-chip debug & security | Fully integrated on-chip debug interface with flash shield window and block erase prohibition - simplifies secure production programming |
| Dual DAC + comparator | Two independent 8-bit DACs (0–VDD) with real-time output, plus two comparators with window/high-speed/low-speed modes - enables closed-loop analog control |
Applications
| Motor Control Interface | Industrial Sensor Node |
|---|---|
Use Scenario: Brushless DC motor commutation with current sensing, PWM timing, and thermal monitoring in HVAC blowers. IC Role / Device Role / Timing Role: Primary controller executing FOC algorithms, driving 3-phase gate drivers via PWM outputs, sampling current/voltage via 10-bit ADC, and managing thermal shutdown via LVD/temperature sensor. Use Value: Integrated 128 KB flash stores complex motor control firmware; 66 μA/MHz active power extends runtime in fan modules; RTC enables scheduled maintenance alerts. | Use Scenario: Wireless environmental sensor node measuring temperature, humidity, and CO₂ with local data logging and wake-on-event. IC Role / Device Role / Timing Role: System-on-chip host managing I²C sensor reads, 10-bit ADC acquisition, data flash storage, and ultra-low-power STOP mode with RTC alarm wake-up. Use Value: 0.60 μA STOP mode with RTC active enables multi-year battery life; 8 KB data flash retains calibration logs; -40 to +105°C rating ensures outdoor deployment reliability. |
| Human-Machine Interface (HMI) | Programmable Logic Controller (PLC) I/O Module |
Use Scenario: Touch-button panel with LED feedback, buzzer alerts, and serial communication to main controller in factory HMIs. IC Role / Device Role / Timing Role: Dedicated UI processor handling capacitive touch scanning (via ADC), driving LEDs/PWM buzzers (PCLBUZ0/1), and communicating via UART/LIN to host PLC. Use Value: On-chip key interrupt and buzzer controllers reduce BOM cost; 48-pin HWQFN provides sufficient GPIO for button/LED matrix; LIN support enables automotive-grade diagnostics. | Use Scenario: DIN-rail mounted digital I/O expansion module with isolated inputs, relay drivers, and Modbus RTU over RS-485. IC Role / Device Role / Timing Role: Protocol engine and I/O manager: parsing Modbus frames via UART, sampling 16-channel opto-isolated inputs via GPIO/ADC, and controlling 8-channel relay drivers via PWM/timer outputs. Use Value: 20-channel ADC supports analog input variants; ELC links ADC EOC to DTC for zero-CPU polling; 128 KB flash accommodates full Modbus stack + diagnostics. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GHANA#20 | 192 KB flash, 20 KB RAM, same 48-pin HWQFN package and peripheral set | Higher firmware capacity for complex protocol stacks or OTA update partitions | Select when >128 KB code space required; identical pinout and software compatibility |
| R5F104GKAFB#30 | 384 KB flash, 32 KB RAM, 48-pin LFQFP (7×7 mm, 0.5 mm pitch) package | Same logic/peripherals but different package (LFQFP vs HWQFN); requires PCB redesign | Choose for higher memory headroom and preference for gull-wing leads; verify thermal and routing impact |
Compared with R5F104GAANA#20, R5F104GHANA#20 offers 50% more flash and RAM in identical packaging - ideal for feature-rich firmware - while R5F104GKAFB#30 delivers triple the flash in an LFQFP variant, trading HWQFN's compactness for easier rework and thermal dissipation.
Availability
R5F104GAANA#20 is available at Aetrix Electronics and suitable for industrial motor control, environmental sensing, HMI panels, and PLC I/O modules requiring stable component supply across extended temperature ranges and long product lifecycles.
Supply support for R5F104GAANA#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 family targets cost-sensitive, ultra-low-power general-purpose embedded applications - balancing performance, integration, and energy efficiency for industrial controls, appliances, and sensor edge devices.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104GAANA#20?
The R5F104GAANA#20 operates at up to 32 MHz with a measured performance of 44 DMIPS. This is achieved using the high-speed on-chip oscillator (±1.0% accuracy across 1.8–5.5 V and -40 to +105°C), and the RL78 CPU core's 3-stage pipeline architecture enables deterministic execution timing critical for real-time control loops in the R5F104GAANA#20.
Does the R5F104GAANA#20 support hardware-based debugging and secure firmware updates?
Yes, the R5F104GAANA#20 includes a fully integrated on-chip debug interface compatible with Renesas E2 emulator, supporting breakpoints, watchpoints, and flash programming. It also provides flash security features including block erase prohibition and flash shield window - enabling secure firmware updates and IP protection during production programming of the R5F104GAANA#20.
What analog peripherals are integrated into the R5F104GAANA#20, and how are they configured?
The R5F104GAANA#20 integrates a 10-bit, 20-channel ADC with internal 1.45 V reference and on-die temperature sensor; two 8-bit DACs (0–VDD output); and two comparators with selectable reference sources (internal/external) and operating modes. These are configured via dedicated registers (ADCR, DACR, CMPR) and supported by the Event Link Controller for autonomous triggering - all documented in the R5F104GAANA#20 hardware manual.
Can the R5F104GAANA#20 operate reliably in extended temperature environments, and what grade does it carry?
Yes, the R5F104GAANA#20 is rated for -40 to +105°C operation and carries the 'G' industrial grade designation, qualifying it for demanding environments such as factory automation, outdoor metering, and motor drives. Its voltage detector (LVD) with 14 programmable levels and RTC with calendar/alarm function remain fully operational across this full range - confirmed in the R5F104GAANA#20 datasheet Rev. 3.70.
What package type and pin pitch does the R5F104GAANA#20 use, and are there layout recommendations?
The R5F104GAANA#20 uses a 48-pin HWQFN package (7 × 7 mm body, 0.5 mm pin pitch) with an exposed die pad. Renesas recommends connecting the REGC pin to VSS via a 0.47–1 µF capacitor and soldering the exposed pad to a solid VSS plane for thermal and electrical stability. The R5F104GAANA#20 pinout and layout guidelines are detailed in Section 1.3.6 of the official datasheet.
R5F104GAANA#20 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-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:
- 34
- 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 10x8/10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104GAANA#20 FAQ
1.How can I place an order for R5F104GAANA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GAANA#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 R5F104GAANA#20 reliable?
The price and inventory of R5F104GAANA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GAANA#20 is usually 5 days.
3.What payment methods are accepted for R5F104GAANA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GAANA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GAANA#20?
R5F104GAANA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GAANA#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 R5F104GAANA#20?
For technical support, including R5F104GAANA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GAANA#20 requirements.
6.How does Aetrix verify that R5F104GAANA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104GAANA#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 R5F104GAANA#20 meets industry standards.
7.What is the process for return or replacement of R5F104GAANA#20?
All R5F104GAANA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GAANA#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 R5F104GAANA#20 part is unused and in its original packaging.
Return procedure for R5F104GAANA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GAANA#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…

