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

- Shipping:

Inventory:950
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104EDGNA#20 from Renesas is a 32-bit RL78/G14 microcontroller featuring 32 KB flash memory, 4 KB data flash, and 4 KB RAM in a 40-pin HWQFN package (6 × 6 mm, 0.5 mm pitch), operating from 1.6 V to 5.5 V with ultra-low power consumption (66 μA/MHz active, 0.60 μA RTC+LVD mode), used in industrial sensor nodes and battery-powered control modules.
For engineers reviewing the R5F104EDGNA#20 datasheet, R5F104EDGNA#20 pinout, R5F104EDGNA#20 application, or R5F104EDGNA#20 equivalent, key selection criteria include its 32 KB code flash capacity, 40-pin HWQFN thermal performance, -40°C to +105°C industrial temperature grade (G suffix), and integrated peripherals including 10-bit ADC (16 channels), UART/LIN, I²C, and real-time clock with calendar function.
Technical Context
The R5F104EDGNA#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 integrates a high-accuracy ±1.0% on-chip oscillator (selectable from 1–64 MHz) and supports SNOOZE mode for low-latency peripheral wake-up without CPU intervention.
Its peripheral set includes an Event Link Controller (ELC) enabling direct hardware-triggered transfers between 19–26 event sources and peripherals, plus a Data Transfer Controller (DTC) supporting block, repeat, and chain transfer modes-reducing CPU load during ADC-to-memory or UART-to-buffer operations.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 32-bit CISC CPU with 3-stage pipeline and multiply/accumulate instructions |
| Flash Memory | 32 KB code flash + 4 KB data flash; supports background operation (BGO) and 1M rewrite cycles |
| RAM | 4 KB on-chip RAM; includes dedicated areas for flash library execution (start address FE900H) |
| Operating Voltage | 1.6 V to 5.5 V single supply; enables direct interface with 1.8/2.5/3.0 V logic without level shifters |
| Temperature Range | -40°C to +105°C (industrial G-grade); qualified for extended thermal cycling in motor drives and HVAC controls |
| ADC | 10-bit resolution, 16-channel analog input, internal 1.45 V reference and temperature sensor |
| Timers | 12× 16-bit timers (TAU, RJ, RD, RG), 1× 12-bit interval timer, 1× RTC with calendar and alarm |
Pinout & Package
Package: 40-pin HWQFN (6 × 6 mm, 0.5 mm pitch), exposed die pad recommended to be connected to VSS for thermal and EMI performance.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; 16-bit timer input; trace clock source for debug interface |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; 16-bit timer output; secondary trace clock for synchronized debugging |
| P10–P17 | CSI/SPI/I²C/UART/ADC multiplexed I/O | Configurable serial interfaces with peripheral I/O redirection (PIOR0/1) enabling flexible PCB routing |
| P20–P27 | ANI0–ANI7 / AVREFP / AVREFM | 8-channel analog input bank with dedicated voltage reference pins for precision ADC measurements |
| P30–P31 | INTP3 / RTC1HZ / TI03 / TO03 | Dedicated RTC interrupt output and general-purpose timer I/O for time-critical control loops |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; accepts external debounced pushbutton or supervisor IC signal |
| REGC | Regulator bypass capacitor terminal | Requires 0.47–1 µF ceramic capacitor to VSS for stable internal LDO operation |
| VDD / VSS | Power supply / ground | Single 1.6–5.5 V supply; dual VDD/VSS pairs support noise isolation in mixed-signal layouts |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power HALT/STOP/SNOOZE modes | 0.60 μA RTC+LVD retention enables >10-year battery life in metering applications |
| On-chip debug with flash shield window | Secure firmware update via boot swapping without exposing full flash contents to host tools |
| Background data flash rewriting (BGO) | Execute application code while logging sensor data to 4 KB data flash-no interrupt latency penalty |
| ELC + DTC co-processing | Hardware-linked peripheral triggers eliminate CPU polling; e.g., ADC end-of-conversion → DMA → memory store |
| Integrated LIN physical layer support | UART module configured for LIN 2.2 compliance (sync byte detection, checksum, break field generation) |
| Multi-voltage I/O tolerance | N-ch open-drain ports withstand 6 V; others support 1.8/2.5/3.0 V logic interfacing without external translators |
Applications
| Industrial Motor Control | Smart Energy Metering |
|---|---|
|
Use Scenario: Compact BLDC fan controller with speed regulation, overcurrent protection, and thermal monitoring. IC Role / Device Role / Timing Role: Main system controller executing FOC algorithm, managing gate drivers via PWM outputs, and sampling current/voltage via 10-bit ADC. Use Value: 32 KB flash accommodates motor control library + safety routines; 0.60 μA STOP mode extends standby battery life in backup power circuits. |
Use Scenario: DIN-rail mounted electricity meter with pulse counting, tariff switching, and tamper detection. IC Role / Device Role / Timing Role: System-on-chip handling metrology calculations, RTC-based billing intervals, secure data logging to 4 KB data flash, and optical/IR communication. Use Value: Integrated RTC with calendar eliminates external real-time clock IC; BGO enables continuous energy accumulation during firmware updates. |
| Automotive Body Electronics | IoT Sensor Hub |
|
Use Scenario: Door module controlling window lift, mirror fold, and interior lighting with LIN bus communication. IC Role / Device Role / Timing Role: LIN master node managing multiple slave ECUs, driving H-bridge outputs, and monitoring switch inputs with key interrupt capability. Use Value: LIN-compliant UART reduces BOM cost vs discrete transceiver; -40°C to +105°C rating meets automotive under-hood requirements. |
Use Scenario: Battery-powered environmental sensor node measuring temperature, humidity, and CO₂ with wireless upload. IC Role / Device Role / Timing Role: Low-power coordinator acquiring analog sensor data, performing local calibration, and entering SNOOZE mode between transmissions. Use Value: 66 μA/MHz active current minimizes energy per measurement; 16-channel ADC supports multi-sensor integration without external MUX. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104EEGNA#20 | 48 KB flash, 5.5 KB RAM, same 40-pin HWQFN package and G-grade temperature range | Supports larger firmware images (e.g., OTA stack + encryption) and deeper data buffers | Select when firmware size exceeds 32 KB or additional RAM is required for protocol stacks |
| R5F104FDGNA#20 | 64 KB flash, 5.5 KB RAM, identical package and temperature rating | Enables complex control algorithms with dual-loop PID + diagnostics without external memory | Choose for applications requiring >48 KB code space or enhanced real-time response via larger RAM buffers |
Compared with R5F104EDGNA#20, R5F104EEGNA#20 provides 16 KB more flash for feature-rich firmware, while R5F104FDGNA#20 adds 32 KB flash and supports more demanding control tasks-both maintain pin compatibility and thermal performance for drop-in scalability.
Availability
R5F104EDGNA#20 is available at Aetrix Electronics and suitable for industrial motor control, smart energy metering, automotive body electronics, and IoT sensor hub designs requiring stable component supply across long production lifecycles.
Supply support for R5F104EDGNA#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, and power management solutions for industrial, automotive, and infrastructure markets.
The RL78/G14 family delivers true low-power performance for general-purpose embedded applications, targeting cost-sensitive industrial controls, metering, and sensor systems where energy efficiency and peripheral integration are critical.
FAQ
What is the maximum operating frequency of the R5F104EDGNA#20?
The R5F104EDGNA#20 supports up to 32 MHz operation using the high-speed on-chip oscillator, delivering 44 DMIPS performance. Its minimum instruction execution time is 0.03125 µs at 32 MHz, and it can scale down to 32.768 kHz for ultra-low-power RTC operation with 30.5 µs instruction time. The oscillator accuracy is ±1.0% across 1.8–5.5 V and -20°C to +85°C ambient conditions.
Does the R5F104EDGNA#20 support in-system programming?
Yes, the R5F104EDGNA#20 supports full in-system programming via its on-chip debug interface. It enables self-programming of both code flash and data flash with boot swapping functionality, allowing safe firmware updates without halting real-time operation. The flash shield window feature restricts access to protected memory regions during debugging sessions.
How many serial communication interfaces does the R5F104EDGNA#20 include?
The R5F104EDGNA#20 integrates three UART/LIN modules (supporting LIN 2.2), up to ten I²C/simplified I²C channels, and three to eight CSI (SPI-compatible) channels. All are configurable via peripheral I/O redirection registers, allowing flexible pin assignment for PCB layout optimization without hardware changes.
What is the purpose of the REGC pin on the R5F104EDGNA#20?
The REGC pin on the R5F104EDGNA#20 is the bypass capacitor terminal for the internal voltage regulator. It must be connected to VSS via a 0.47 µF to 1 µF ceramic capacitor to stabilize the LDO output and ensure reliable operation of the core and analog peripherals. Failure to populate this capacitor may cause erratic reset behavior or ADC inaccuracies.
Can the R5F104EDGNA#20 operate from a 1.8 V supply?
Yes, the R5F104EDGNA#20 operates across a 1.6 V to 5.5 V supply range, making it fully compatible with 1.8 V systems. Its I/O ports support different-potential interfacing, allowing direct connection to 1.8 V, 2.5 V, or 3.0 V peripherals without level-shifting circuitry-reducing BOM count and board area in mixed-voltage designs.
R5F104EDGNA#20 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 40-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:
- 28
- Program Memory Size:
- 48KB (48K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 5.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.4V ~ 5.5V
- Data Converters:
- A/D 9x8/10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104EDGNA#20 FAQ
1.How can I place an order for R5F104EDGNA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104EDGNA#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 R5F104EDGNA#20 reliable?
The price and inventory of R5F104EDGNA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104EDGNA#20 is usually 5 days.
3.What payment methods are accepted for R5F104EDGNA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104EDGNA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104EDGNA#20?
R5F104EDGNA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104EDGNA#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 R5F104EDGNA#20?
For technical support, including R5F104EDGNA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104EDGNA#20 requirements.
6.How does Aetrix verify that R5F104EDGNA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104EDGNA#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 R5F104EDGNA#20 meets industry standards.
7.What is the process for return or replacement of R5F104EDGNA#20?
All R5F104EDGNA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104EDGNA#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 R5F104EDGNA#20 part is unused and in its original packaging.
Return procedure for R5F104EDGNA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104EDGNA#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…

