Renesas R5F104BAAFP#30
- Part No.:
- R5F104BAAFP#30
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 32-LQFP
- Datasheet:
-
R5F104BAAFP#30.pdf
- Description:
- IC MCU 16BIT 16KB FLASH 32LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:1,467
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104BAAFP#30 from Renesas is a 32-pin LQFP-0.8mm-pitch 16-bit RL78/G14 microcontroller with 16 KB flash, 2.5 KB RAM, and 4 KB data flash, operating from 1.6–5.5 V at -40 to +85°C (A-grade), delivering 44 DMIPS at 32 MHz for low-power industrial control and sensor interface applications.
For engineers reviewing the R5F104BAAFP#30 datasheet, R5F104BAAFP#30 pinout, R5F104BAAFP#30 application, or R5F104BAAFP#30 equivalent, key selection criteria include its 32-pin LQFP package, 16 KB code flash with self-programming support, integrated 10-bit ADC (16-channel), real-time clock with calendar, and ultra-low-power STOP mode (0.60 μA).
Technical Context
The R5F104BAAFP#30 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 (1–64 MHz selectable) and supports background operation of data flash rewriting during program execution.
Peripheral integration includes 3 UART/LIN channels, 4–10 I²C interfaces, up to 12× 16-bit timers (including RTC and watchdog), 8/10-bit ADC with internal reference and temperature sensor, and an 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 CPU with 3-stage pipeline and multiply/divide instructions |
| Max Operating Frequency | 32 MHz - delivers 44 DMIPS; supports sub-MHz operation down to 32.768 kHz for RTC |
| Memory | 16 KB code flash (1 KB block size), 4 KB data flash (1M rewrite cycles), 2.5 KB SRAM |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD enabled |
| Analog Peripherals | 10-bit ADC (16 input channels, internal 1.45 V ref & temp sensor), no D/A or comparator |
| Package & Temp Range | 32-pin LQFP (7 × 7 mm, 0.8 mm pitch), industrial grade A: –40 to +85°C |
| Supply Voltage | 1.6–5.5 V single supply - enables direct battery (e.g., 2× AA) or 3.3 V/5 V system operation |
Pinout & Package
Package: 32-pin plastic LQFP (7 × 7 mm, 0.8 mm pitch), JEDEC standard PLQP0032GB-A footprint.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; timer input; debug clock input - shared function routed via PIOR register |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output; debug clock output - supports full-duplex serial comms |
| P10–P17 | CSI/UART/I²C/SPI peripherals | Multi-function serial interface pins (SCK11, SI11, SO11, SDA11, etc.) - configurable per channel |
| P20–P23 | ANI0–ANI3 / AVREFP / AVREFM | Analog inputs with dedicated reference voltage terminals - enables ratiometric ADC measurements |
| P30–P31 | INTP3 / RTC1HZ / TI03 / TO03 | Interrupt-capable GPIO with timer/counter functions - supports wake-up from STOP mode |
| P50–P51 | SI00/RxD0/SDA00 & SO00/TxD0 | Secondary UART/I²C interface - usable as debug port (TOOLRxD/TOOLTxD) during development |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; accepts external push-button or supervisor IC assertion |
| VDD / VSS | Power supply / ground | Dual power pins (VDD/VSS) per JEDEC LQFP layout - ensures stable core voltage under dynamic load |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power STOP mode | 0.60 μA retention with RTC + LVD active - enables multi-year battery life in metering applications |
| Self-programmable flash | Boot swapping and flash shield window enable secure firmware updates without external programmer |
| Background data flash rewrite | Execute code from main flash while writing to data flash - eliminates interrupt latency during logging |
| Hardware event linking (ELC) | 19–26 peripheral events directly chained - removes CPU polling overhead in time-critical sequences |
| On-chip voltage detector (LVD) | 14-level programmable reset/interrupt - protects against brown-out during battery discharge |
| Integrated RTC with calendar | 99-year calendar, alarm, and clock correction - eliminates need for external real-time clock IC |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
|
Use Scenario: Battery-powered electricity/water/gas meter with hourly consumption logging and tamper detection. IC Role / Device Role / Timing Role: Main controller managing ADC sampling, RTC timestamping, EEPROM logging, and optical/IR communication. Use Value: 0.60 μA STOP mode extends 2× AA battery life beyond 10 years; integrated RTC eliminates external timekeeping component. |
Use Scenario: DIN-rail mounted temperature/humidity/pressure sensor node transmitting data via RS-485 to PLC. IC Role / Device Role / Timing Role: Signal acquisition and protocol translation engine with UART-to-Modbus RTU conversion. Use Value: 3 UART channels support simultaneous tooling interface, sensor comms, and field bus - no external level shifter needed. |
| Home Appliance Control | Medical Diagnostic Device |
|
Use Scenario: Washing machine main board controlling motor drivers, water valves, display, and user interface. IC Role / Device Role / Timing Role: Real-time system coordinator with PWM generation, touch sensing, and fault monitoring. Use Value: 12× 16-bit timers provide independent PWM outputs for motor control and buzzer; 16-channel ADC monitors thermistors and current sense. |
Use Scenario: Portable blood glucose monitor requiring precise analog measurement and low-power standby. IC Role / Device Role / Timing Role: Analog front-end controller with calibrated ADC, button debounce, and LCD driver interface. Use Value: On-chip 1.45 V reference and temperature sensor enable auto-calibration of test strip readings; 1.6 V min VDD supports single-cell Li-ion operation. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104BAAFP#50 | Same core, package, and memory; differs only in packaging specification (embossed tape vs. tray) | Identical electrical and functional behavior - intended for automated SMT placement vs. manual/hand-solder prototyping | Select #50 for high-volume production lines using tape-and-reel feeders; #30 for evaluation or low-volume assembly. |
| R5F104BCAFP#30 | 32-pin LQFP variant with 32 KB flash, 5.5 KB RAM, and same peripherals - pin-compatible upgrade path | Enables larger firmware (e.g., BLE stack or enhanced UI logic) without PCB redesign | Choose when future firmware expansion is anticipated; retains identical pinout, timing, and power profile. |
Compared with R5F104BAAFP#30, the #50 variant offers identical functionality in tape format for automated manufacturing, while the R5F104BCAFP#30 provides scalable memory headroom within the same footprint - both preserve all timing, peripheral, and low-power characteristics critical for drop-in validation.
Availability
R5F104BAAFP#30 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, and home appliance control requiring stable component supply across long product lifecycles.
Supply support for R5F104BAAFP#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, and power management solutions for automotive, industrial, and IoT markets.
The RL78/G14 family targets cost-sensitive, ultra-low-power general-purpose embedded systems - designed to replace legacy 8-bit MCUs while delivering 16-bit performance and advanced peripheral integration.
FAQ
What is the maximum clock frequency supported by the R5F104BAAFP#30?
The R5F104BAAFP#30 supports a maximum operating frequency of 32 MHz using the high-speed on-chip oscillator, achieving 44 DMIPS performance. It also supports low-frequency modes down to 32.768 kHz for RTC operation, with instruction timing adjustable from 0.03125 µs (high-speed) to 30.5 µs (ultra-low-speed) depending on selected clock source and divider settings.
Does the R5F104BAAFP#30 include a hardware real-time clock (RTC)?
Yes, the R5F104BAAFP#30 integrates a full-featured RTC with calendar support for 99 years, alarm function, and clock correction capability. It operates independently in STOP mode with only 0.60 μA current draw, enabling accurate timekeeping during ultra-low-power sleep states without external components.
How much data flash memory does the R5F104BAAFP#30 provide, and what is its endurance?
The R5F104BAAFP#30 includes 4 KB of on-chip data flash memory rated for 1,000,000 write/erase cycles (typical) across the full VDD range of 1.8–5.5 V. It supports background operation (BGO), allowing program execution from code flash while data flash is being rewritten - essential for reliable data logging.
Is the R5F104BAAFP#30 pin-compatible with other RL78/G14 variants in the same package?
Yes, all 32-pin LQFP variants of the RL78/G14 family - including R5F104BAAFP#30, R5F104BAAFP#50, and R5F104BCAFP#30 - share identical pinouts and electrical characteristics. Memory size differences (16 KB vs. 32 KB flash) do not affect pin assignment, enabling seamless hardware reuse across firmware scalability tiers.
What debug interfaces are supported by the R5F104BAAFP#30?
The R5F104BAAFP#30 supports on-chip debugging via the single-wire debug (SWD) interface using dedicated TOOL0 (P40) and TOOLRxD/TOOLTxD (P50/P51) pins. It is compatible with Renesas E2 emulator and standard SWD debuggers, enabling full breakpoint, trace, and flash programming capabilities without requiring additional debug headers.
R5F104BAAFP#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-LQFP
- 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:
- 22
- 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:
R5F104BAAFP#30 FAQ
1.How can I place an order for R5F104BAAFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104BAAFP#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 R5F104BAAFP#30 reliable?
The price and inventory of R5F104BAAFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104BAAFP#30 is usually 5 days.
3.What payment methods are accepted for R5F104BAAFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104BAAFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104BAAFP#30?
R5F104BAAFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104BAAFP#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 R5F104BAAFP#30?
For technical support, including R5F104BAAFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104BAAFP#30 requirements.
6.How does Aetrix verify that R5F104BAAFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F104BAAFP#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 R5F104BAAFP#30 meets industry standards.
7.What is the process for return or replacement of R5F104BAAFP#30?
All R5F104BAAFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104BAAFP#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 R5F104BAAFP#30 part is unused and in its original packaging.
Return procedure for R5F104BAAFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104BAAFP#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…

