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

- Shipping:

Inventory:3,948
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104AGASP#X0 from Renesas is a 30-pin LSSOP-packaged 16-bit RL78/G14 microcontroller with 96 KB flash, 12 KB RAM, and 8 KB data flash, operating from 1.6–5.5 V at -40 to +85°C (A-grade). It delivers 44 DMIPS at 32 MHz, features ultra-low-power HALT/STOP/SNOOZE modes (66 μA/MHz active, 0.60 μA RTC+LVD), and integrates 10-bit ADC (20 channels), UART/SPI/I²C interfaces, RTC, and on-chip debug.
For engineers reviewing the R5F104AGASP#X0 datasheet, R5F104AGASP#X0 pinout, R5F104AGASP#X0 application, or R5F104AGASP#X0 equivalent, this device supports rapid prototyping of battery-powered industrial sensors, smart metering peripherals, and low-voltage HMI controllers where code density, power efficiency, and peripheral flexibility are critical selection criteria.
Technical Context
The RL78 CPU core uses a 3-stage CISC pipeline with configurable instruction timing (0.03125 μs @ 32 MHz to 30.5 μs @ 32.768 kHz) and supports multiply/divide/accumulate operations. Its memory map spans 1 MB with four register banks (8×8-bit registers each).
Peripherals include Timer Array Unit (TAU) with up to 8 channels, 12-bit interval timer, real-time clock with calendar/alarm, watchdog timer, and Event Link Controller (ELC) enabling hardware-triggered peripheral chaining without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC with 3-stage pipeline and 1 MB address space |
| Max Clock Speed | 32 MHz - enables 44 DMIPS performance for real-time control loops |
| Flash Memory | 96 KB code flash - sufficient for complex sensor fusion or communication stack firmware |
| Data Flash | 8 KB - supports 1M rewrite cycles for nonvolatile parameter storage without external EEPROM |
| RAM | 12 KB on-chip SRAM - accommodates RTOS kernel, buffers, and application variables |
| ADC | 10-bit resolution, 20-channel input - allows simultaneous monitoring of multiple analog sensors |
| Supply Range | 1.6–5.5 V - supports direct operation from single Li-ion, 3.3 V, or 5 V rails |
| Low-Power Modes | HALT (66 μA/MHz), STOP (0.60 μA), SNOOZE - extends battery life in intermittent-sensing applications |
Pinout & Package
Package: 30-pin LSSOP (7.62 mm, 0.65 mm pitch), RoHS-compliant, surface-mountable with exposed thermal pad not present.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00/ANI17/TI00/TxD1/TRGCLKA/(TRJO0) | Port 0 bit 0 / Analog input 17 / Timer input 00 / UART1 TX / Trigger clock A | Multi-function I/O supporting analog sensing, serial comms, and timer capture with flexible remapping |
| P01/ANI16/TO00/RxD1/TRGCLKB/TRJIO0 | Port 0 bit 1 / Analog input 16 / Timer output 00 / UART1 RX / Trigger clock B / Trace JTAG I/O | Enables dual-role use as UART interface or timer output while retaining trace/debug capability |
| P10/SCK11/SCL11/TRDIOD1 | Port 1 bit 0 / SPI clock 11 / I²C clock 11 / Trace data input D1 | Shared SPI/I²C clock pin reduces PCB routing complexity in multi-protocol systems |
| P12/SO11/TRDIOB1/IVREF1 | Port 1 bit 2 / SPI output 11 / Trace data I/O B1 / Internal voltage reference 1 | Provides programmable reference for ADC channel calibration or comparator threshold setting |
| RESET | Active-low reset input | Accepts standard push-button or supervisor IC assertion; internal POR/LVD ensures reliable boot |
| VDD / VSS | Power supply / Ground | Dual power pins support clean analog/digital separation; REGC capacitor required for regulator stability |
Key Features
| Feature | Design Value |
|---|---|
| Self-programming flash | Boot swap and flash shield window enable secure field firmware updates without external programmer |
| Background data flash write | BGO allows execution from program memory during 8 KB data flash rewrites - no interrupt latency penalty |
| Event Link Controller (ELC) | Hardware chaining of 19–26 event sources eliminates CPU polling overhead for time-critical peripheral sequences |
| Real-time clock with calendar | 99-year calendar, alarm, and clock correction support precise timestamping in data loggers and schedulers |
| On-chip temperature sensor | Calibrated sensor enables thermal compensation of analog measurements or system health monitoring |
| Different-potential I/O | Interface compatibility with 1.8 V, 2.5 V, and 3 V logic without level shifters - simplifies mixed-voltage designs |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Sub-metering module measuring voltage, current, and power factor in commercial HVAC panels. IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing RS-485/UART communication, and logging data to internal data flash. Use Value: 10-bit ADC with 20 channels captures multiple analog inputs simultaneously; 8 KB data flash stores 30 days of hourly consumption logs without external memory. |
Use Scenario: Battery-powered vibration/temperature node in predictive maintenance systems. IC Role / Device Role / Timing Role: Low-power acquisition controller sampling MEMS accelerometer and thermistor every 5 seconds, then transmitting via UART to gateway. Use Value: 0.60 μA STOP mode extends 2xAA battery life beyond 5 years; RTC alarm wakes CPU precisely for scheduled measurements. |
| Home Appliance HMI | Medical Diagnostic Peripheral |
Use Scenario: Touchless control panel for microwave oven with LED indicators and buzzer feedback. IC Role / Device Role / Timing Role: Dedicated UI processor handling capacitive touch sensing, PWM-driven LEDs, and PCLBUZ-controlled audio alerts. Use Value: On-chip PCLBUZ modules generate variable-frequency tones; 30-pin LSSOP fits compact front-panel PCB layouts. |
Use Scenario: Portable blood glucose meter requiring precise analog signal conditioning and USB HID reporting. IC Role / Device Role / Timing Role: Signal acquisition and protocol handler interfacing electrochemical sensor, LCD, and USB bridge IC. Use Value: Internal 1.45 V reference ensures stable ADC accuracy across battery discharge; 1.6 V minimum supply supports operation down to single-cell alkaline. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104BGASP#X0 | 128 KB flash, 16 KB RAM, same package and peripherals | Supports larger firmware images (e.g., BLE stack + application) | Select when future firmware expansion or additional protocol stacks are anticipated |
| R5F104EGASP#X0 | 64 KB flash, 5.5 KB RAM, identical pinout and voltage range | Suitable for cost-sensitive, function-limited implementations (e.g., basic timer/control only) | Choose for minimal BOM cost where 96 KB flash headroom is unnecessary |
Compared with R5F104BGASP#X0 and R5F104EGASP#X0, the R5F104AGASP#X0 strikes a balanced trade-off between code capacity (96 KB), RAM (12 KB), and footprint-making it optimal for mid-complexity industrial peripherals that require robust data logging and multi-interface support without over-provisioning.
Availability
R5F104AGASP#X0 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, home appliance HMIs, and portable medical diagnostics requiring stable component supply across long production lifecycles.
Supply support for R5F104AGASP#X0 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 IoT markets.
The RL78/G14 family targets general-purpose embedded applications demanding ultra-low power, high integration, and toolchain maturity-designed specifically for cost-sensitive, battery-operated, and industrial control systems.
FAQ
What is the maximum operating frequency and corresponding performance of the R5F104AGASP#X0?
The R5F104AGASP#X0 operates at up to 32 MHz using its high-speed on-chip oscillator, delivering 44 DMIPS of processing performance. This speed is achievable across the full 1.6–5.5 V supply range and supports deterministic real-time execution for control loops, communication stacks, and sensor processing tasks within the R5F104AGASP#X0's 96 KB flash and 12 KB RAM resources.
Does the R5F104AGASP#X0 support in-system programming and secure firmware updates?
Yes, the R5F104AGASP#X0 supports full in-system programming via its on-chip debug interface and includes boot swap functionality plus a flash shield window. These features allow authenticated firmware updates in the field without external programmers, while preventing unauthorized access to protected code sections during R5F104AGASP#X0 operation.
How many analog input channels does the R5F104AGASP#X0 ADC support, and what is its resolution?
The R5F104AGASP#X0 integrates a 10-bit successive-approximation ADC with up to 20 analog input channels (ANI0–ANI19), operating across the full 1.6–5.5 V supply range. It also includes an internal 1.45 V reference and on-die temperature sensor, enabling accurate analog measurements and thermal compensation without external components in the R5F104AGASP#X0 design.
What low-power modes are available on the R5F104AGASP#X0, and what are their typical current draws?
The R5F104AGASP#X0 offers HALT (66 μA/MHz), STOP (0.60 μA with RTC and LVD active), and SNOOZE modes. In STOP mode, the device maintains real-time clock operation and low-voltage detection while consuming less than 1 μA - ideal for battery-powered R5F104AGASP#X0 deployments requiring multi-year operation on primary cells.
Is the R5F104AGASP#X0 pin-compatible with other RL78/G14 variants in the same package?
Yes, all RL78/G14 devices in the 30-pin LSSOP package-including R5F104AGASP#X0, R5F104BGASP#X0, and R5F104EGASP#X0-share identical pinouts and electrical characteristics. This allows direct substitution within the same footprint for capacity scaling or cost optimization without PCB redesign, provided peripheral usage aligns with the selected R5F104AGASP#X0 variant's feature set.
R5F104AGASP#X0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 30-LSSOP (0.240", 6.10mm Width)
- Series:
- RL78/G14
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Obsolete
- 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:
- 128KB (128K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 16K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 8x8/10b; D/A 1x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104AGASP#X0 FAQ
1.How can I place an order for R5F104AGASP#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104AGASP#X0 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 R5F104AGASP#X0 reliable?
The price and inventory of R5F104AGASP#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104AGASP#X0 is usually 5 days.
3.What payment methods are accepted for R5F104AGASP#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104AGASP#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104AGASP#X0?
R5F104AGASP#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104AGASP#X0 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 R5F104AGASP#X0?
For technical support, including R5F104AGASP#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104AGASP#X0 requirements.
6.How does Aetrix verify that R5F104AGASP#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104AGASP#X0 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 R5F104AGASP#X0 meets industry standards.
7.What is the process for return or replacement of R5F104AGASP#X0?
All R5F104AGASP#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104AGASP#X0, 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 R5F104AGASP#X0 part is unused and in its original packaging.
Return procedure for R5F104AGASP#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104AGASP#X0 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…
