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

- Shipping:

Inventory:975
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104GCGNA#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 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 (16 ch), and real-time clock for embedded control in industrial sensing and motor drive applications.
For engineers reviewing the R5F104GCGNA#20 datasheet, R5F104GCGNA#20 pinout, R5F104GCGNA#20 application, or R5F104GCGNA#20 equivalent, key selection criteria include its G-grade temperature rating, HWQFN-48 package with 0.5 mm pitch, integrated data flash rewrite capability (1M cycles), and support for SNOOZE mode for low-power sensor wake-up-critical for battery-operated industrial nodes.
Technical Context
The R5F104GCGNA#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), and includes multiply/divide/accumulate instructions. Its memory subsystem comprises 128 KB code flash (1 KB blocks), 8 KB data flash with background operation (BGO), and 12 KB on-chip RAM.
Peripheral integration includes 16-channel 10-bit ADC with internal reference and temperature sensor, dual DTC and ELC for event-driven DMA and peripheral chaining, and multiple serial interfaces: up to 8 CSI channels, 4 UART/LIN channels, and 10 I²C channels-all configurable via peripheral I/O redirection registers (PIOR0/1).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and 44 DMIPS @ 32 MHz |
| Flash Memory | 128 KB code flash with 1 KB erase blocks and security lock for block protection |
| Data Flash | 8 KB with background operation (BGO) and 1,000,000 write cycles (TYP.) |
| RAM | 12 KB on-chip RAM, including dedicated areas for flash library self-programming |
| ADC | 10-bit resolution, 16 analog inputs, internal 1.45 V reference and temperature sensor |
| Operating Temp | -40 to +105°C (G-grade industrial), enabling use in harsh thermal environments |
| Supply Voltage | 1.6–5.5 V single supply, supporting direct interface with 1.8/2.5/3.3 V peripherals |
Pinout & Package
Package: 48-pin HWQFN (7 × 7 mm, 0.5 mm pitch), exposed die pad recommended to be connected to VSS. Complies with JEDEC MO-220, RoHS-compliant, moisture sensitivity level 3.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit, timer input, and debug trigger clock; supports TTL-level serial communication |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive and timer output; enables full-duplex UART with hardware flow control |
| P10–P17 | CSI1/SPI1, I²C1, UART2, TRDIOx | Multiplexed serial interfaces with flexible peripheral assignment via PIOR registers |
| P20–P27 | ANI0–ANI7 / AVREFP / AVREFM | 8-channel analog input bank with differential reference support for precision sensor measurement |
| P30–P31 | INTP3 / RTC1HZ / TI03 / TO03 | Real-time clock interrupt output and general-purpose timer I/O for time-critical event handling |
| P50–P51 | RxD0 / TxD0 / TOOLRxD / TOOLTxD | On-chip debug UART interface; enables programming and real-time trace without external adapter |
| P60–P62 | SCLA0 / SDAA0 / SSI00 | I²C master/slave and synchronous serial interface for EEPROM, sensors, and display drivers |
| P121–P122 | X1 / X2 / EXCLK | Crystal oscillator inputs for high-accuracy timing; supports 32.768 kHz RTC and up to 20 MHz main clock |
| RESET | Active-low reset input | Asynchronous reset with internal POR and LVD; 14-level voltage detection for system brown-out management |
| REGC | Regulator bypass capacitor | Requires 0.47–1 µF capacitor to VSS for internal voltage regulator stability |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power modes | HALT (0.23 µA), STOP (0.60 µA w/ RTC+LVD), and SNOOZE (fast wake-up from low-power sleep) |
| Event Link Controller (ELC) | Links 19–26 peripheral events directly-e.g., ADC conversion completion triggers DMA transfer without CPU intervention |
| Data flash BGO | Enables concurrent program execution and data flash rewriting-critical for firmware-over-the-air updates |
| Peripheral I/O redirection | PIOR0/1 registers allow dynamic remapping of UART, SPI, I²C, and timer pins to alternate GPIOs-reducing PCB redesign risk |
| Integrated safety functions | On-chip LVD with 14 selectable thresholds and watchdog timer with dedicated low-speed oscillator for fail-safe operation |
Applications
| Industrial Sensor Node | Smart HVAC Actuator |
|---|---|
|
Use Scenario: Battery-powered temperature/humidity sensor node with wireless telemetry and local logging. IC Role / Device Role / Timing Role: Main controller managing ADC sampling, RTC timestamping, data flash storage, and UART-to-SoC interface. Use Value: 0.60 µA STOP mode extends battery life to >5 years; 8 KB data flash stores 30+ days of calibrated sensor logs without external memory. |
Use Scenario: Motorized damper control in commercial HVAC systems requiring precise position feedback and fault reporting. IC Role / Device Role / Timing Role: Real-time motion controller interfacing with potentiometer, H-bridge driver, and RS-485 bus. Use Value: 16-bit TAU timers generate accurate PWM for smooth motor ramping; LIN-capable UART enables diagnostics over vehicle network. |
| Programmable Logic Relay | Industrial Power Monitor |
|
Use Scenario: DIN-rail mounted relay module with configurable I/O, digital inputs, and Modbus RTU communication. IC Role / Device Role / Timing Role: Deterministic state machine executing ladder logic scan cycles with sub-millisecond jitter. Use Value: 44 DMIPS and 12 KB RAM support 500+ rungs of logic; ELC synchronizes input sampling and output update within one instruction cycle. |
Use Scenario: Three-phase energy meter front-end capturing voltage/current waveforms and computing RMS, THD, and harmonics. IC Role / Device Role / Timing Role: High-precision analog acquisition engine with simultaneous sampling and on-chip calibration. Use Value: 10-bit ADC with internal 1.45 V reference achieves ±1% measurement accuracy across -40 to +105°C without external references. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104GEHNA#20 | Same 48-pin HWQFN package, but 64 KB flash, 5.5 KB RAM, 4 KB data flash; lower memory density and reduced peripheral count | Better suited for cost-sensitive, functionally simpler controls (e.g., basic thermostats) where full 128 KB flash is unused | Select when BOM cost reduction is prioritized over future firmware scalability and data logging depth |
| R5F104GLGNA#20 | Same package and G-grade temp range, but 384 KB flash, 32 KB RAM, 8 KB data flash; higher memory and enhanced peripheral set (e.g., extra UART/LIN) | Required for complex edge AI inference preprocessing or multi-protocol gateways needing large code footprint and dual CAN/I²C stacks | Choose when firmware complexity exceeds 128 KB or when concurrent protocol stacks (LIN + I²C + SPI) demand additional channel resources |
Compared with R5F104GEHNA#20, the R5F104GCGNA#20 provides 2× flash and >2× RAM for deeper feature sets and field-upgradable logic; versus R5F104GLGNA#20, it offers identical data flash and temperature rating at lower cost and power-ideal for mid-tier industrial controllers balancing capability and efficiency.
Availability
R5F104GCGNA#20 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart HVAC actuators, and programmable logic relays requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F104GCGNA#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 industrial and consumer control applications, emphasizing energy efficiency, functional safety readiness, and seamless toolchain integration with e² studio and CS+.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104GCGNA#20?
The R5F104GCGNA#20 operates at up to 32 MHz with an RL78 CPU core delivering 44 DMIPS. Its high-speed on-chip oscillator supports selectable frequencies from 1 to 64 MHz with ±1.0% accuracy across 1.8–5.5 V and -20 to +85°C, enabling deterministic real-time response in motor control and sensor fusion applications. The R5F104GCGNA#20 maintains full peripheral functionality-including ADC sampling and UART transmission-at all supported clock speeds.
Does the R5F104GCGNA#20 support in-system programming and secure firmware updates?
Yes, the R5F104GCGNA#20 supports self-programming of both code and data flash memory with boot swapping and flash shield window protection. Its data flash allows background operation (BGO), permitting concurrent code execution and firmware updates-essential for secure over-the-air (OTA) deployment. The R5F104GCGNA#20 also includes block erase prohibition and on-chip debug lock features to prevent unauthorized access during field operation.
How does the R5F104GCGNA#20 manage power in battery-operated applications?
The R5F104GCGNA#20 achieves industry-leading low-power operation with 66 μA/MHz active current and just 0.60 μA in STOP mode with RTC and LVD enabled. Its SNOOZE mode allows selective peripheral wake-up (e.g., ADC conversion complete or UART RX event) while keeping CPU halted-reducing average system power by >90% versus continuous polling. The R5F104GCGNA#20's single 1.6–5.5 V supply simplifies power design for coin-cell or energy-harvesting sources.
What serial communication interfaces are integrated into the R5F104GCGNA#20?
The R5F104GCGNA#20 integrates three UART/LIN channels (one supporting LIN 2.2A), up to eight CSI (SPI-compatible) channels, and up to ten I²C channels. All interfaces support peripheral I/O redirection via PIOR registers, allowing flexible pin assignment without PCB changes. The R5F104GCGNA#20's UART modules include LIN break detection and sync byte handling, making it suitable for automotive body electronics and industrial fieldbus nodes.
Is the R5F104GCGNA#20 qualified for industrial temperature operation?
Yes, the R5F104GCGNA#20 is rated for -40 to +105°C operation (G-grade), validated per industrial reliability standards. Its silicon process and packaging ensure stable timing, ADC accuracy, and flash endurance across this full range. The R5F104GCGNA#20 includes temperature-compensated LVD and internal temperature sensor-enabling thermal monitoring and adaptive system throttling in demanding environments like factory automation and outdoor infrastructure.
R5F104GCGNA#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:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 4K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.4V ~ 5.5V
- Data Converters:
- A/D 10x8/10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104GCGNA#20 FAQ
1.How can I place an order for R5F104GCGNA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104GCGNA#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 R5F104GCGNA#20 reliable?
The price and inventory of R5F104GCGNA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104GCGNA#20 is usually 5 days.
3.What payment methods are accepted for R5F104GCGNA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104GCGNA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104GCGNA#20?
R5F104GCGNA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104GCGNA#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 R5F104GCGNA#20?
For technical support, including R5F104GCGNA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104GCGNA#20 requirements.
6.How does Aetrix verify that R5F104GCGNA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104GCGNA#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 R5F104GCGNA#20 meets industry standards.
7.What is the process for return or replacement of R5F104GCGNA#20?
All R5F104GCGNA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104GCGNA#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 R5F104GCGNA#20 part is unused and in its original packaging.
Return procedure for R5F104GCGNA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104GCGNA#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…

