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

- Shipping:

Inventory:950
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104EFANA#20 from Renesas is a 40-pin HWQFN-packaged RL78/G14 16-bit microcontroller with 64 KB flash, 4 KB data flash, and 5.5 KB RAM, operating from 1.6–5.5 V at -40°C to +85°C (A-grade), delivering 44 DMIPS at 32 MHz for low-power industrial control and sensor interface applications.
For engineers reviewing the R5F104EFANA#20 datasheet, R5F104EFANA#20 pinout, R5F104EFANA#20 application, or R5F104EFANA#20 equivalent, key selection criteria include its 64 KB code flash size, 40-pin 6×6 mm HWQFN-0.5 mm pitch package, integrated 10-bit ADC (20-channel), real-time clock with calendar, and ultra-low power HALT/STOP/SNOOZE modes.
Technical Context
The R5F104EFANA#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 with 1 MB address space and four banks of 8-bit general-purpose registers.
It integrates a high-accuracy ±1.0% on-chip oscillator (selectable from 1–64 MHz), event link controller (ELC) for peripheral signal chaining, data transfer controller (DTC) with block/repeat/normal transfer modes, and background operation (BGO) for concurrent data flash rewriting during program execution.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and 1 MB address space |
| Flash Memory | 64 KB code flash with 1 KB block size and security erase prohibition |
| Data Flash | 4 KB with 1,000,000 write cycles and background operation (BGO) |
| RAM | 5.5 KB on-chip SRAM for variables, stack, and flash library use (start address FE900H) |
| ADC | 10-bit resolution, 20-channel analog input, internal 1.45 V reference and temperature sensor |
| Power Modes | HALT (66 μA/MHz), STOP (0.60 μA with RTC+LVD active), SNOOZE for low-latency wake-up |
| Operating Voltage | 1.6 V to 5.5 V single supply, enabling direct battery or wide-input industrial rail operation |
| Temperature Range | -40°C to +85°C (A-grade consumer/industrial qualification) |
Pinout & Package
Package: 40-pin HWQFN (6 × 6 mm, 0.5 mm pitch), exposed die pad recommended to be connected to VSS; RoHS-compliant, moisture sensitivity level 3.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit, timer input, and trace clock output; supports asynchronous serial communication and debug timing |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive and timer output; enables full-duplex UART with hardware timing capture for protocol analysis |
| P10–P17 | CSI/UART/I²C/SIO multiplexed I/O | Configurable serial interfaces (up to 8 CSI, 4 UART/LIN, 10 I²C channels) with peripheral I/O redirection register support |
| P20–P27 | ANI0–ANI7 / AVREFP / AVREFM | Eight analog inputs with dedicated reference voltage pins for precision 10-bit ADC measurements |
| P30–P31 | INTP3 / RTC1HZ / SCK00 / TI03 / TO03 | Real-time clock interrupt output (1 Hz), SPI clock, and dual timer I/O for encoder or pulse-width measurement |
| P50–P51 | RxD0/TxD0 / INTP1/INTP2 / TOOLRxD/TOOLTxD | Dedicated debug UART with on-chip debugger interface; enables flash programming and real-time trace without external probes |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; compatible with external reset supervisors and manual reset buttons |
| VDD / VSS | Power supply / Ground | Single 1.6–5.5 V supply; VSS connects to exposed die pad for thermal and noise performance |
| REGC | Regulator bypass capacitor terminal | Requires 0.47–1 µF capacitor to VSS for stable internal voltage regulation and low-noise operation |
| X1/X2 | Crystal oscillator inputs | Supports 32.768 kHz crystal for RTC accuracy or external clock up to 20 MHz for main system timing |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low power STOP mode | 0.60 μA current draw with RTC and LVD active-enables multi-year battery life in metering and sensor nodes |
| On-chip debug with flash shield | Secure self-programming using boot swapping and flash shield window prevents unauthorized firmware access during development |
| Event Link Controller (ELC) | Chains up to 26 peripheral events (e.g., ADC end-of-conversion → DMA trigger → GPIO toggle) without CPU intervention |
| Background data flash rewrite | Executes application code from flash while updating data flash-enables over-the-air parameter updates without system halt |
| Hardware CRC calculator | Accelerates checksum computation for firmware integrity verification and secure boot validation in safety-critical systems |
| Dual-voltage I/O capability | Interfaces directly with 1.8 V, 2.5 V, or 3.3 V peripherals without level shifters-reduces BOM count and board area |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Residential electricity meter with tamper detection, tariff switching, and wireless reporting. IC Role / Device Role / Timing Role: Main controller managing metrology ADC sampling, RTC-based billing intervals, and sub-GHz RF communication timing. Use Value: 0.60 μA STOP mode extends battery backup to >10 years; integrated LIN-capable UART interfaces with PLC modems. | Use Scenario: Wireless vibration/temperature node in predictive maintenance systems. IC Role / Device Role / Timing Role: Signal acquisition hub synchronizing 10-bit ADC reads, accelerometer interrupts, and BLE packet transmission windows. Use Value: ELC links ADC EOC to DTC for zero-CPU data movement to RAM; SNOOZE mode enables <10 µs wake-from-sleep latency. |
| Home Appliance Control | Building Automation Panel |
Use Scenario: Washing machine mainboard controlling motor drivers, water valves, and user interface. IC Role / Device Role / Timing Role: Real-time motor commutation timing via TAU timers, PWM generation, and touch-key scanning via capacitive sensing I/O. Use Value: 44 DMIPS at 32 MHz handles multi-tasking UI rendering and closed-loop motor control; 20-channel ADC monitors thermistors and current shunts. | Use Scenario: HVAC zone controller with RS-485 Modbus, local display, and environmental sensors. IC Role / Device Role / Timing Role: Protocol gateway translating Modbus RTU to I²C sensor reads and PWM fan control with RTC-scheduled setpoint changes. Use Value: Dual UARTs support simultaneous Modbus master/slave operation; 4 KB data flash stores calibration coefficients and schedule logs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104EGANA#20 | Same package and pinout; 128 KB flash, 8 KB data flash, 16 KB RAM | Required for larger firmware images or extended data logging; higher memory overhead for bootloader and OTA storage | Select when application firmware exceeds 64 KB or requires >4 KB persistent parameter storage |
| R5F104EEANA#20 | Same package and pinout; 48 KB flash, 4 KB data flash, 5.5 KB RAM | Lower cost option for simpler control tasks; reduced code space limits feature-rich GUI or protocol stacks | Choose for cost-sensitive designs where firmware fits within 48 KB and no future expansion is planned |
Compared with R5F104EFANA#20, R5F104EGANA#20 provides scalable memory headroom for firmware growth and data logging, while R5F104EEANA#20 reduces BoM cost where memory constraints are tight-both retain identical peripheral sets, power profiles, and 40-pin HWQFN footprint.
Availability
R5F104EFANA#20 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, home appliance control, and building automation panels requiring stable component supply across long production lifecycles.
Supply support for R5F104EFANA#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 16-bit MCU performance for general-purpose embedded applications, emphasizing energy efficiency, integrated peripherals, and toolchain maturity for rapid industrial design-in.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104EFANA#20?
The R5F104EFANA#20 achieves a maximum operating frequency of 32 MHz using its high-speed on-chip oscillator, delivering 44 DMIPS performance. This rating is measured under standard conditions (VDD = 3.3 V, TA = 25°C) and reflects the RL78 CPU core's 3-stage pipeline efficiency with multiply/divide support. The R5F104EFANA#20 maintains this performance across its full 1.6–5.5 V supply range and -40°C to +85°C temperature grade.
Does the R5F104EFANA#20 support in-system programming and secure firmware updates?
Yes, the R5F104EFANA#20 supports in-system programming via its on-chip debug interface using the dedicated P50/P51 TOOLRxD/TOOLTxD pins. It implements flash shield window protection and boot swapping to enable secure firmware updates without exposing code memory. Data flash BGO allows background rewriting during application execution, making it suitable for field-upgradable devices requiring zero-downtime parameter or configuration updates.
What are the analog capabilities of the R5F104EFANA#20, and how many channels can be used simultaneously?
The R5F104EFANA#20 integrates a 10-bit successive-approximation ADC with up to 20 analog input channels (ANI0–ANI19), including dedicated AVREFP/AVREFM pins for precision referencing. All 20 channels are accessible simultaneously in scan mode with programmable conversion sequence and trigger sources (e.g., timer, software, or external event). Internal 1.45 V reference and temperature sensor are available for calibration and environmental monitoring without external components.
How does the R5F104EFANA#20 manage ultra-low power operation in battery-powered applications?
The R5F104EFANA#20 achieves ultra-low power via three optimized modes: HALT (66 μA/MHz), STOP (0.60 μA with RTC + LVD active), and SNOOZE (fast wake-up with selected peripherals running). Its 1.6 V minimum operating voltage extends usable battery range, and the on-chip LVD offers 14 selectable threshold levels for precise brown-out detection. Combined with RTC calendar and alarm functions, these features enable decade-long operation in coin-cell-powered sensor nodes and utility meters.
Is the R5F104EFANA#20 pin-compatible with other RL78/G14 variants in the same package family?
Yes, the R5F104EFANA#20 is fully pin-compatible with all other 40-pin HWQFN RL78/G14 variants sharing the NA suffix (e.g., R5F104EGANA#20, R5F104EEANA#20), including identical pin functions, electrical characteristics, and thermal pad layout. This allows direct substitution for memory scaling-no PCB redesign is needed when upgrading from 48 KB to 64 KB or 128 KB flash versions within the same temperature grade and package.
R5F104EFANA#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:
- 96KB (96K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 12K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 9x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104EFANA#20 FAQ
1.How can I place an order for R5F104EFANA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104EFANA#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 R5F104EFANA#20 reliable?
The price and inventory of R5F104EFANA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104EFANA#20 is usually 5 days.
3.What payment methods are accepted for R5F104EFANA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104EFANA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104EFANA#20?
R5F104EFANA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104EFANA#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 R5F104EFANA#20?
For technical support, including R5F104EFANA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104EFANA#20 requirements.
6.How does Aetrix verify that R5F104EFANA#20 is sourced from the original manufacturer or authorized distributors?
All R5F104EFANA#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 R5F104EFANA#20 meets industry standards.
7.What is the process for return or replacement of R5F104EFANA#20?
All R5F104EFANA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104EFANA#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 R5F104EFANA#20 part is unused and in its original packaging.
Return procedure for R5F104EFANA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104EFANA#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…

