Renesas R5F104AEGSP#30
- Part No.:
- R5F104AEGSP#30
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 30-LSSOP (0.240", 6.10mm Width)
- Datasheet:
-
R5F104AEGSP#30.pdf
- Description:
- IC MCU 16BIT 64KB FLASH 30LSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:1,038
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104AEGSP#30 from Renesas is a 30-pin LSSOP-packaged RL78/G14 16-bit microcontroller with 64 KB flash, 4 KB data flash, and 5.5 KB RAM, operating at 1.6–5.5 V and supporting ultra-low-power modes (0.60 μA RTC+LVD). It integrates UART, I²C, SPI, 10-bit ADC (12 channels), RTC, and watchdog timer for embedded control in battery-powered industrial sensors.
For engineers reviewing the R5F104AEGSP#30 datasheet, R5F104AEGSP#30 pinout, R5F104AEGSP#30 application, or R5F104AEGSP#30 equivalent, key selection criteria include its 30-pin LSSOP package, -40°C to +105°C industrial-grade temperature range (G-suffix), 64 KB code flash size, integrated analog peripherals, and support for SNOOZE/HALT/STOP low-power states.
Technical Context
The R5F104AEGSP#30 implements the RL78 CPU core with 3-stage pipeline, 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 64 KB on-chip flash (1 KB block size), 4 KB data flash with background operation (BGO), and 5.5 KB RAM.
Peripheral integration includes a 10-bit ADC with 12 input channels and internal 1.45 V reference, dual UART channels (one with LIN support), four I²C interfaces, three CSI/SPI channels, RTC with calendar/alarm, and Event Link Controller (ELC) enabling hardware-triggered peripheral chaining without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 16-bit CISC with 3-stage pipeline and 1 MB address space |
| Operating Voltage | 1.6 V to 5.5 V - enables direct interface with 1.8/2.5/3.3 V logic and single-supply battery operation |
| Flash Memory | 64 KB code flash with 1 KB erase blocks and security lock against unauthorized rewriting |
| Data Flash | 4 KB with background operation (BGO) and 1,000,000 write cycles - supports firmware updates without halting program execution |
| ADC Resolution | 10-bit SAR ADC with 12 analog inputs, internal 1.45 V reference, and temperature sensor |
| Low-Power Modes | HALT (66 μA/MHz), STOP (0.60 μA with RTC+LVD active), SNOOZE - extends battery life in intermittent-sensing applications |
| Package & Pins | LSSOP-30, 0.65 mm pitch - compact surface-mount footprint suitable for space-constrained industrial PCBs |
Pinout & Package
Package: 30-pin plastic LSSOP (7.62 mm × 4.4 mm, 0.65 mm pitch), industrial-grade (G-suffix) with operating ambient temperature of −40°C to +105°C.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00/ANI17/TI00/TxD1/TRGCLKA/(TRJO0) | Port 0 bit 0 / Analog input 17 / Timer input / UART1 TX / Trace clock A | Multi-function I/O supporting analog sensing, timing capture, serial communication, and debug trace |
| P01/ANI16/TO00/RxD1/TRGCLKB/TRJIO0 | Port 0 bit 1 / Analog input 16 / Timer output / UART1 RX / Trace clock B / JTAG I/O | Enables simultaneous analog acquisition, PWM generation, serial receive, and boundary-scan debugging |
| P10/SCK11/SCL11/TRDIOD1 | Port 1 bit 0 / SPI clock / I²C clock / Trace data input D1 | Shared signal for synchronous serial communication and debug data capture |
| P12/SO11/TRDIOB1/IVREF1 | Port 1 bit 2 / SPI output / Trace data I/O B1 / Internal voltage reference 1 | Supports daisy-chain SPI, trace visibility, and precision analog reference for ADC/DAC |
| P16/TI01/TO01/INTP5/TRDIOC0/IVREF0/(RxD0) | Port 1 bit 6 / Timer input/output / Interrupt pin / Trace data I/O C0 / Internal ref 0 / UART0 RX | Combines timing, interrupt handling, debug visibility, and serial receive on one pin |
| P20/ANI0/AVREFP | Port 2 bit 0 / Analog input 0 / Positive analog reference | Analog front-end pin configurable as ADC channel or external reference source |
| P21/ANI1/AVREFM | Port 2 bit 1 / Analog input 1 / Negative analog reference | Provides differential reference capability for high-accuracy analog measurements |
| RESET | Active-low reset input | Asynchronous reset trigger with internal pull-up; accepts external debounced reset signals |
| VDD / VSS | Power supply / Ground | Dual power pins support clean analog/digital separation; REGC capacitor required per datasheet |
| REGC | Regulator bypass capacitor terminal | Must connect 0.47–1 µF capacitor to VSS to stabilize internal voltage regulator |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power operation | 0.60 μA in STOP mode with RTC + LVD active - enables multi-year battery life in wireless sensor nodes |
| On-chip debug & self-programming | Full on-chip debug with boot swapping and flash shield window - allows secure field firmware updates |
| Hardware event linking (ELC) | 19–26 event sources linked directly to peripherals - eliminates CPU polling and reduces latency for time-critical responses |
| Background data flash rewrite | BGO enables concurrent code execution and data logging - critical for real-time data acquisition systems |
| Flexible clock system | High-accuracy on-chip oscillator (±1.0% from 1.8–5.5 V) with 12 selectable frequencies - removes need for external crystal in cost-sensitive designs |
Applications
| Industrial Temperature Sensor Node | Smart HVAC Actuator Controller |
|---|---|
|
Use Scenario: Battery-powered remote sensor measuring ambient temperature and humidity with periodic BLE transmission. IC Role / Device Role / Timing Role: Main controller executing sensor readout, calibration, RTC-based wake-up scheduling, and UART-to-BLE bridge logic. Use Value: 0.60 μA STOP mode with RTC ensures >5-year battery life; integrated 10-bit ADC and temperature sensor eliminate external components. |
Use Scenario: Embedded actuator module controlling damper position via stepper motor, with local feedback and Modbus RTU communication. IC Role / Device Role / Timing Role: Real-time motion controller managing PWM outputs, quadrature encoder input, and Modbus UART protocol stack. Use Value: ELC-linked timer and UART events enable deterministic response to position commands; 64 KB flash accommodates full Modbus implementation + safety routines. |
| Programmable Power Monitor | Industrial Keypad Interface Module |
|
Use Scenario: DIN-rail mounted device monitoring AC line voltage/current using isolated sigma-delta ADCs and reporting via RS-485. IC Role / Device Role / Timing Role: System manager handling analog front-end configuration, RMS calculation, alarm thresholds, and RS-485 transceiver control. Use Value: Dual UART (one with LIN support) simplifies RS-485 half-duplex control; 4 KB data flash stores calibration coefficients and event logs. |
Use Scenario: Front-panel keypad with backlight control, debounce logic, and status LED sequencing for PLC operator interface. IC Role / Device Role / Timing Role: Dedicated I/O manager performing matrix scanning, PWM dimming, and interrupt-driven key detection. Use Value: On-chip key interrupt function and PCLBUZ timers reduce firmware overhead; 30-pin LSSOP fits narrow panel-mount PCBs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104AGGSP#30 | 96 KB flash, 8 KB data flash, 12 KB RAM - larger memory footprint with identical pinout and package | Suitable for applications requiring larger firmware image or extended data logging buffers | Select when firmware size exceeds 64 KB or additional data flash capacity is needed for field updates |
| R5F104BEFSP#30 | 48 KB flash, 4 KB data flash, 5.5 KB RAM - reduced memory, same 30-pin LSSOP-G package and peripheral set | Targeted at cost-optimized designs where firmware fits in smaller flash and lower BOM cost is critical | Choose for legacy design refresh or simpler control tasks where 48 KB flash suffices and margin is acceptable |
Compared with R5F104AGGSP#30, the R5F104AEGSP#30 offers balanced memory (64 KB flash) for mid-complexity firmware while maintaining identical industrial temperature rating and low-power performance; versus R5F104BEFSP#30, it provides 33% more flash for feature-rich applications without increasing PCB footprint or thermal load.
Availability
R5F104AEGSP#30 is available at Aetrix Electronics and suitable for industrial temperature sensor nodes, smart HVAC actuators, programmable power monitors, and keypad interface modules requiring stable component supply across long production lifecycles.
Supply support for R5F104AEGSP#30 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 delivers true low-power 16-bit MCU performance for general-purpose industrial control, targeting applications needing robust analog integration, extended temperature operation, and energy-efficient operation without sacrificing code density or debug capability.
FAQ
What is the maximum operating frequency and core performance of the R5F104AEGSP#30?
The R5F104AEGSP#30 operates at up to 32 MHz with the RL78 CPU core delivering 44 DMIPS. Its minimum instruction execution time is 0.03125 µs at 32 MHz using the high-speed on-chip oscillator, and it supports variable-speed operation down to 32.768 kHz for ultra-low-power RTC functions. The core includes multiply/divide/accumulate instructions and a 3-stage pipeline optimized for code density and deterministic timing.
Does the R5F104AEGSP#30 support LIN bus communication?
Yes, the R5F104AEGSP#30 supports LIN bus communication through its UART peripheral. One of its two UART channels (UART0 or UART1, depending on pin assignment) includes LIN-specific features such as automatic sync byte detection, checksum generation, and break field handling - fully compliant with LIN 2.2A specifications as documented in the RL78/G14 hardware manual.
What are the memory resources allocated to the R5F104AEGSP#30?
The R5F104AEGSP#30 includes 64 KB of on-chip code flash memory organized in 1 KB blocks, 4 KB of data flash memory with background operation (BGO) and 1,000,000 write cycles, and 5.5 KB of RAM. These allocations are fixed for this specific part number and confirmed in Table 1-1 of the R01DS0053EJ0370 datasheet under the "30 pins" row and "E" flash capacity column.
How does the R5F104AEGSP#30 achieve ultra-low-power operation?
The R5F104AEGSP#30 achieves ultra-low-power operation through multiple dedicated modes: HALT (66 μA/MHz), STOP (0.60 μA with RTC and LVD active), and SNOOZE (low-power peripheral operation with CPU halted). It uses a segmented power domain architecture, on-chip voltage regulator with REGC bypass, and clock gating to minimize leakage and dynamic power - validated across the −40°C to +105°C industrial temperature range.
Is the R5F104AEGSP#30 pin-compatible with other RL78/G14 variants in LSSOP-30 package?
Yes, all RL78/G14 devices in the 30-pin LSSOP package - including R5F104AA–AG series with G-suffix - share identical pin count, pitch, mechanical dimensions, and pin function mapping. This allows direct substitution within the same memory and temperature grade family, provided firmware is recompiled for flash/RAM size differences and peripheral initialization matches the target variant's resource allocation.
R5F104AEGSP#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 30-LSSOP (0.240", 6.10mm Width)
- 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:
- 21
- Program Memory Size:
- 64KB (64K 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 8x8/10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104AEGSP#30 FAQ
1.How can I place an order for R5F104AEGSP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104AEGSP#30 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 R5F104AEGSP#30 reliable?
The price and inventory of R5F104AEGSP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104AEGSP#30 is usually 5 days.
3.What payment methods are accepted for R5F104AEGSP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104AEGSP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104AEGSP#30?
R5F104AEGSP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104AEGSP#30 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 R5F104AEGSP#30?
For technical support, including R5F104AEGSP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104AEGSP#30 requirements.
6.How does Aetrix verify that R5F104AEGSP#30 is sourced from the original manufacturer or authorized distributors?
All R5F104AEGSP#30 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 R5F104AEGSP#30 meets industry standards.
7.What is the process for return or replacement of R5F104AEGSP#30?
All R5F104AEGSP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104AEGSP#30, 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 R5F104AEGSP#30 part is unused and in its original packaging.
Return procedure for R5F104AEGSP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104AEGSP#30 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…
