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

- Shipping:

Inventory:3,541
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104AAASP#X0 from Renesas Electronics is a 16-bit RL78/G14 microcontroller with 16 KB flash memory, 2.5 KB RAM, and 30-pin LSSOP package (0.65 mm pitch), operating from 1.6 V to 5.5 V. It delivers 44 DMIPS at 32 MHz, features ultra-low-power operation (66 μA/MHz active, 0.60 μA in RTC+LVD mode), and integrates 10-bit ADC (8 channels), UART/SPI/I²C interfaces, and real-time clock - deployed in battery-powered sensor nodes and industrial control panels.
For engineers reviewing the R5F104AAASP#X0 datasheet, R5F104AAASP#X0 pinout, R5F104AAASP#X0 application, or R5F104AAASP#X0 equivalent, key selection criteria include its 30-pin LSSOP footprint, 16 KB code flash capacity, -40°C to +85°C consumer-grade temperature range (A-suffix), integrated low-voltage detector with 14-level interrupt/reset, and support for background data flash rewriting (1M write cycles).
Technical Context
The R5F104AAASP#X0 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 uses a single-supply 1.6–5.5 V rail and supports HALT/STOP/SNOOZE low-power modes with on-chip POR and 14-level LVD.
Peripheral integration includes Timer Array Unit (TAU) with up to 8 channels, 1-channel 12-bit interval timer, 1-channel RTC with calendar/alarm, 1-channel watchdog timer, 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 multiply/divide/accumulate instructions |
| Max Operating Frequency | 32 MHz - delivers 44 DMIPS for deterministic real-time control loops |
| Flash Memory | 16 KB code flash - sufficient for compact firmware with bootloader and safety checks |
| Data Flash | 4 KB - supports 1,000,000 write cycles at 1.8–5.5 V for parameter storage with BGO |
| RAM Size | 2.5 KB - accommodates stack, heap, and real-time buffers for sensor fusion tasks |
| ADC Resolution & Channels | 10-bit resolution, 8 analog inputs - enables direct connection to thermistors, potentiometers, and voltage dividers |
| Supply Voltage Range | 1.6 V to 5.5 V - allows direct Li-ion (3.0–4.2 V), 3.3 V, or 5 V system integration without regulators |
Pinout & Package
Package: 30-pin LSSOP (7.62 mm × 3.94 mm, 0.65 mm pitch), JEDEC MS-012AC compliant, surface-mount, lead-free.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00/ANI17/TI00/TxD1/TRGCLKA/(TRJO0) | Multi-function I/O | Primary UART1 TX, timer input, analog input channel 17, or trace clock - configurable via PIOR registers |
| P01/ANI16/TO00/RxD1/TRGCLKB/TRJIO0 | Multi-function I/O | Primary UART1 RX, timer output, analog input channel 16, or debug interface - supports simultaneous analog capture and serial comms |
| P10/SCK11/SCL11/TRDIOD1 | SPI/I²C/Debug | Shared SCK (SPI) or SCL (I²C) pin - enables dual-interface communication with sensors or EEPROMs using same physical line |
| P12/SO11/TRDIOB1/IVREF1 | SPI Output / Ref | SPI data output or internal voltage reference - selectable for precision ADC biasing or peripheral clocking |
| RESET | Active-low Reset | Asynchronous reset input with internal pull-up - ensures reliable initialization after power-on or brownout |
| VDD / VSS | Power Rails | Dual dedicated supply pins - decoupling capacitor placement near VDD/VSS minimizes noise in analog and digital domains |
| REGC | Regulator Bypass | Connect 0.47–1 μF capacitor to VSS - stabilizes internal LDO for consistent low-power mode behavior |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-Low-Power Operation | 66 μA/MHz active current and 0.60 μA RTC+LVD retention mode - extends battery life in wireless sensor endpoints beyond 5 years |
| On-Chip Debug & Self-Programming | Integrated on-chip debug interface and boot-swap flash shield window - enables field firmware updates without external programmers |
| Background Data Flash Rewrite | BGO allows CPU to execute from flash while rewriting 4 KB data flash - eliminates latency during parameter logging or calibration |
| Flexible Clock System | High-accuracy (±1.0%) on-chip oscillator from 1–64 MHz - removes need for external crystal in cost-sensitive applications |
| Event Link Controller (ELC) | Hardware routing of 19–26 event signals between peripherals - offloads CPU from ISR overhead in time-critical signal chains |
Applications
| Smart Thermostat Control | Industrial Sensor Node |
|---|---|
|
Use Scenario: Standalone HVAC controller with ambient temperature/humidity sensing, display, and relay actuation. IC Role / Device Role / Timing Role: Main system controller managing ADC sampling, PID computation, UART-based display updates, and GPIO-driven relays. Use Value: 10-bit ADC with internal reference enables accurate thermistor readings; ultra-low STOP mode current (<1 μA) preserves coin-cell battery for >3 years. |
Use Scenario: Wireless vibration/temperature node in predictive maintenance systems, transmitting data via UART-to-LoRa module. IC Role / Device Role / Timing Role: Sensor aggregator and protocol translator - reads analog sensors, timestamps data via RTC, formats packets, and drives UART interface. Use Value: RTC with calendar/alarm wakes MCU only for scheduled measurements; ELC triggers ADC→DMA→UART transfer chain without CPU wake-up. |
| Portable Medical Monitor | Home Appliance UI Controller |
|
Use Scenario: Battery-powered pulse oximeter with LED drivers, photodiode amplifier, and OLED display interface. IC Role / Device Role / Timing Role: Signal acquisition controller - synchronizes LED pulsing (via timer PWM), samples photodiode (ADC), and manages display refresh (SPI). Use Value: 32 MHz max frequency ensures sub-100 μs ADC conversion; 16 KB flash hosts medical-grade algorithm and BLE stack overlay. |
Use Scenario: Keypad and LED status controller in washing machine or microwave, interfacing with main MCU via UART. IC Role / Device Role / Timing Role: Dedicated UI co-processor handling key scan, buzzer tone generation (PCLBUZ), LED dimming, and fault reporting. Use Value: On-chip PCLBUZ and 8-channel ADC simplify external component count; LSSOP package enables compact PCB layout under front panel. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104BAANA#U0 | 32-pin HWQFN, 16 KB flash, 2.5 KB RAM, same core/peripherals - differs in package (HWQFN vs LSSOP) and packaging spec (#U0 vs #X0) | Preferred for space-constrained PCBs requiring thermal pad grounding; not drop-in compatible due to different pinout and land pattern | Select when board layout prioritizes density over hand-solderability or when exposed die pad improves thermal performance. |
| R5F104ADASP#X0 | 30-pin LSSOP, 32 KB flash, 4 KB RAM, identical package/pinout - adds 16 KB flash and 1.5 KB RAM over R5F104AAASP#X0 | Suitable for firmware with larger RTOS footprint or future feature expansion; same PCB layout and debug interface | Choose when firmware growth headroom is required without redesigning the board or changing toolchain configuration. |
Compared with R5F104BAANA#U0, R5F104AAASP#X0 offers easier manual assembly and lower assembly cost in LSSOP, while R5F104ADASP#X0 provides immediate scalability within the same footprint - both alternatives retain identical peripheral sets and low-power characteristics.
Availability
R5F104AAASP#X0 is available at Aetrix Electronics and suitable for battery-powered sensor nodes, industrial control panels, and portable medical monitors requiring stable component supply across long production lifecycles.
Supply support for R5F104AAASP#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 solutions for automotive, industrial, and IoT markets.
The RL78/G14 product line targets cost-sensitive, ultra-low-power general-purpose applications - designed to replace legacy 8-bit MCUs with enhanced performance, integrated peripherals, and robust flash reliability.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104AAASP#X0?
The R5F104AAASP#X0 operates at up to 32 MHz and delivers 44 DMIPS performance. This metric reflects its RL78 CPU core's efficiency in executing compiled C code under typical conditions, validated per Renesas' benchmark methodology using the EEMBC CoreMark suite. The R5F104AAASP#X0 achieves this with its 3-stage pipeline and optimized instruction set, making it suitable for real-time control tasks where deterministic timing matters.
Does the R5F104AAASP#X0 support in-system programming and debugging without external tools?
Yes, the R5F104AAASP#X0 includes an on-chip debug interface compatible with Renesas E2 studio and CS+ IDEs. It supports full JTAG/SW-DP debugging, flash programming, and real-time variable monitoring through its dedicated TOOL0 and TRJIO0 pins. No external debugger hardware is required for development - only a USB-to-JTAG adapter (e.g., E2 Lite) and standard SWD cable are needed to program and debug the R5F104AAASP#X0.
What are the supported low-power modes and their typical current consumption for the R5F104AAASP#X0?
The R5F104AAASP#X0 supports HALT, STOP, and SNOOZE modes. In HALT mode (CPU stopped, peripherals active), current is ~66 μA/MHz scaled to clock frequency. In STOP mode (all clocks halted except RTC/LVD), consumption drops to 0.60 μA. SNOOZE mode allows selected peripherals (e.g., ADC, UART) to operate autonomously while CPU sleeps - ideal for periodic sensor polling with minimal wake-up latency.
Can the R5F104AAASP#X0 perform data flash writes while executing code from main flash memory?
Yes, the R5F104AAASP#X0 supports Background Operation (BGO) for data flash. While the CPU executes instructions from main flash, the data flash controller can rewrite its 4 KB block concurrently. This enables seamless parameter logging, calibration updates, or firmware state saving without interrupting real-time tasks - critical for applications like black-box recording or adaptive control tuning.
What is the analog input voltage range and reference options for the ADC in the R5F104AAASP#X0?
The R5F104AAASP#X0 features an 8-channel, 10-bit SAR ADC with input range of 0 V to VDD. It supports two reference sources: external VDD or internal 1.45 V reference (AVREFP/AVREFM pins). The internal reference enables stable measurements independent of supply fluctuations - especially valuable in battery-operated systems where VDD may sag during load transients.
R5F104AAASP#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:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 8x8/10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104AAASP#X0 FAQ
1.How can I place an order for R5F104AAASP#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104AAASP#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 R5F104AAASP#X0 reliable?
The price and inventory of R5F104AAASP#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104AAASP#X0 is usually 5 days.
3.What payment methods are accepted for R5F104AAASP#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104AAASP#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104AAASP#X0?
R5F104AAASP#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104AAASP#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 R5F104AAASP#X0?
For technical support, including R5F104AAASP#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104AAASP#X0 requirements.
6.How does Aetrix verify that R5F104AAASP#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104AAASP#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 R5F104AAASP#X0 meets industry standards.
7.What is the process for return or replacement of R5F104AAASP#X0?
All R5F104AAASP#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104AAASP#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 R5F104AAASP#X0 part is unused and in its original packaging.
Return procedure for R5F104AAASP#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104AAASP#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…
