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

- Shipping:

Inventory:4,634
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104BCAFP#X0 from Renesas is a 32-pin LQFP-0.8 mm pitch, 16 KB flash, 2.5 KB RAM RL78/G14 16-bit microcontroller operating from 1.6–5.5 V, delivering 44 DMIPS at 32 MHz with ultra-low power consumption (66 μA/MHz active, 0.60 μA RTC+LVD mode), used in battery-powered industrial sensor nodes and smart metering interfaces.
For engineers reviewing the R5F104BCAFP#X0 datasheet, R5F104BCAFP#X0 pinout, R5F104BCAFP#X0 application, or R5F104BCAFP#X0 equivalent, key selection criteria include its 16 KB code flash size, 32-pin LQFP package with 0.8 mm pitch, integrated 10-bit ADC (20-channel), dual UART/LIN support, and real-time clock with calendar function for time-stamped data logging.
Technical Context
The R5F104BCAFP#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 integrates a 10-bit A/D converter with internal 1.45 V reference and temperature sensor, plus an 8-bit D/A converter with real-time output capability.
Its peripheral set includes Timer Array Unit (TAU) with up to 8 channels, 12-bit interval timer, watchdog timer, and Event Link Controller (ELC) enabling hardware-triggered peripheral chaining without CPU intervention-critical for deterministic low-latency control loops in motor drive subsystems.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | RL78 16-bit CISC CPU with 3-stage pipeline and multiply/divide/accumulate instructions |
| Max Clock | 32 MHz (44 DMIPS); high-speed on-chip oscillator selectable from 1–64 MHz with ±1.0% accuracy |
| Memory | 16 KB code flash (1 KB block size), 4 KB data flash, 2.5 KB on-chip RAM |
| Power | 1.6–5.5 V supply; 66 μA/MHz active current; 0.60 μA in STOP mode with RTC + LVD active |
| Analog | 10-bit A/D converter (20 input channels, internal 1.45 V ref, temp sensor); 8-bit D/A (2 ch, 0–VDD output) |
| Peripherals | UART/LIN ×2, I²C ×4, CSI ×3, 16-bit TAU ×4, RTC with calendar/alarm, ELC, DTC, BCD correction |
Pinout & Package
Package: 32-pin LQFP (7 × 7 mm, 0.8 mm pitch), RoHS-compliant, JEDEC standard PLQP0032GB-A footprint.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; timer input; trace clock A - enables debug synchronization and serial comms |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output; trace clock B - supports full-duplex comms and trace timestamping |
| P10–P17 | CSI1/SI11/SDA11/SO11/SCL11/TRDIOD1–TRDIOA0 | Multiplexed serial interface pins supporting SPI, I²C, and Renesas-specific TRDIO for daisy-chain debugging |
| P20–P23 | ANI0–ANI3 / AVREFP/AVREFM/ANO0/ANO1 | Analog inputs with dedicated reference voltage rails; ANO0/ANO1 support analog output functions |
| P30–P31 | INTP3 / RTC1HZ / SCK00 / TI03 / TO03 | RTC interrupt output (1 Hz), SPI clock, and timer I/O - enables precise timekeeping and synchronous sensor interfacing |
| RESET | Active-low reset input | Asynchronous reset with internal POR and LVD - ensures reliable startup under brownout conditions |
| VDD / VSS | Power supply / ground | Dual power domains support mixed-signal operation; REGC capacitor required for internal regulator stability |
Key Features
| Feature | Design Value |
|---|---|
| SNOOZE mode | Enables background data flash rewriting while CPU remains halted - reduces firmware update latency by >90% |
| Event Link Controller (ELC) | Hardware routing of 19–26 event signals to peripherals eliminates CPU polling overhead for sensor-triggered actions |
| Data flash BGO | Background operation allows concurrent program execution during 1 M-cycle data flash writes - critical for over-the-air updates |
| Real-time D/A output | 8-bit DAC outputs updated synchronously with timer events - enables precise analog waveform generation without CPU load |
| On-chip debug | Fully integrated debug interface with trace clock support - eliminates external JTAG adapter for production programming |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Time-of-use energy measurement with tamper detection and secure data logging. IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing RTC calendar, and securing flash writes via data flash shield window. Use Value: 0.60 μA STOP mode extends battery life >10 years; 4 KB data flash stores 10+ years of hourly consumption logs with CRC protection. |
Use Scenario: Wireless environmental monitoring node with temperature, humidity, and CO₂ sensing. IC Role / Device Role / Timing Role: Analog front-end manager (10-bit ADC, temp sensor), UART-to-LIN gateway, and RTC-scheduled wake-up scheduler. Use Value: Integrated 1.45 V reference ensures <±1 LSB ADC accuracy across -40°C to +85°C; ELC triggers ADC conversion on timer expiry without CPU wake-up. |
| Home Appliance Control | Motor Drive Interface |
Use Scenario: Washing machine mainboard controlling pump, heater, and display with safety monitoring. IC Role / Device Role / Timing Role: System coordinator running state machine, driving buzzer via PCLBUZ, and detecting door latch via N-ch open-drain I/O. Use Value: On-chip BCD correction simplifies 7-segment display driver logic; 26–92 I/O count supports direct LED/buzzer/relay control without external drivers. |
Use Scenario: BLDC motor commutation control with Hall-effect feedback and PWM generation. IC Role / Device Role / Timing Role: Real-time PWM generator (TAU), Hall sensor input processor (INTP0–INTP5), and fault monitor (LVD interrupt). Use Value: 16-bit TAU timers deliver <100 ns PWM resolution at 32 MHz; HALT mode reduces idle current below 1 μA during coasting phases. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104BEAFP#X0 | 64 KB flash, 5.5 KB RAM, same 32-pin LQFP package and peripheral set | Supports larger firmware (e.g., Modbus RTU stack + OTA bootloader) without layout change | Select when future firmware growth exceeds 16 KB or when data logging requires >4 KB buffer space |
| R5F104BCDFP#X0 | Identical flash/RAM, but rated for industrial -40°C to +85°C (D grade vs. A grade) | Required for factory automation controllers exposed to ambient thermal cycling | Choose for deployments outside consumer-grade temperature range; pinout and code binary compatible |
Compared with R5F104BCAFP#X0, the R5F104BEAFP#X0 provides 4× more flash for complex protocol stacks, while the R5F104BCDFP#X0 guarantees operation at extended temperature extremes-both retain identical pinout, peripheral mapping, and debug infrastructure.
Availability
R5F104BCAFP#X0 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, and home appliance control requiring stable component supply, long-term lifecycle assurance, and RoHS-compliant manufacturing.
Supply support for R5F104BCAFP#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 delivers true low-power 16-bit MCUs optimized for cost-sensitive, battery-operated applications demanding high integration, robust real-time performance, and long-term supply stability.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104BCAFP#X0?
The R5F104BCAFP#X0 operates at up to 32 MHz with a verified performance of 44 DMIPS. This metric reflects its RL78 CPU core efficiency under benchmark conditions using the EEMBC CoreMark suite. The high-speed on-chip oscillator supports this speed without external crystals, and the ±1.0% accuracy specification holds across the full 1.6–5.5 V supply and -40°C to +85°C temperature range. R5F104BCAFP#X0 maintains consistent timing behavior even during voltage scaling down to 1.6 V.
Does the R5F104BCAFP#X0 support LIN bus communication, and which UART channel implements it?
Yes, the R5F104BCAFP#X0 supports LIN bus communication through its UART2 peripheral (mapped to P13/TxD2 and P14/RxD2 pins). The hardware includes LIN-specific features such as automatic sync field detection, checksum calculation, and break signal generation per LIN 2.2A specification. R5F104BCAFP#X0 uses the same UART module for both standard UART and LIN modes, configured via the SMR register's LIN bit. No external transceiver is required for basic LIN node functionality.
What are the memory protection mechanisms available on the R5F104BCAFP#X0?
The R5F104BCAFP#X0 implements three memory protection layers: (1) Flash block erase/write prohibition via security fuse settings, (2) Data flash shield window that restricts write access to defined address ranges during runtime, and (3) Boot swap function enabling safe firmware updates by validating new code before switching execution. These features prevent unauthorized firmware modification and ensure fail-safe OTA updates. R5F104BCAFP#X0 also supports on-chip debug lock to disable external programming after production.
Can the R5F104BCAFP#X0 operate from a single 1.8 V supply, and what peripherals remain functional?
Yes, the R5F104BCAFP#X0 supports 1.6–5.5 V operation, including stable 1.8 V supply. At 1.8 V, all core functions-including 32 MHz operation (via high-speed oscillator), 10-bit ADC (with internal 1.45 V reference), RTC, and UART-remain fully operational. The LVD circuit provides 14 programmable threshold levels down to 1.6 V, enabling precise brownout detection. R5F104BCAFP#X0 maintains full peripheral compatibility across the entire voltage range without configuration changes.
How many analog input channels does the R5F104BCAFP#X0 support, and are internal references available?
The R5F104BCAFP#X0 supports up to 20 analog input channels (ANI0–ANI19) with 10-bit resolution. It includes an internal 1.45 V reference voltage source usable for ADC conversions, eliminating the need for external precision references in most applications. The device also integrates a calibrated temperature sensor accessible via ANI16, providing ±2°C accuracy from -40°C to +85°C. R5F104BCAFP#X0 allows simultaneous use of internal reference and temperature sensor without conflict.
R5F104BCAFP#X0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-LQFP
- 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:
- 22
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 4K 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:
R5F104BCAFP#X0 FAQ
1.How can I place an order for R5F104BCAFP#X0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104BCAFP#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 R5F104BCAFP#X0 reliable?
The price and inventory of R5F104BCAFP#X0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104BCAFP#X0 is usually 5 days.
3.What payment methods are accepted for R5F104BCAFP#X0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104BCAFP#X0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104BCAFP#X0?
R5F104BCAFP#X0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104BCAFP#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 R5F104BCAFP#X0?
For technical support, including R5F104BCAFP#X0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104BCAFP#X0 requirements.
6.How does Aetrix verify that R5F104BCAFP#X0 is sourced from the original manufacturer or authorized distributors?
All R5F104BCAFP#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 R5F104BCAFP#X0 meets industry standards.
7.What is the process for return or replacement of R5F104BCAFP#X0?
All R5F104BCAFP#X0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104BCAFP#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 R5F104BCAFP#X0 part is unused and in its original packaging.
Return procedure for R5F104BCAFP#X0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104BCAFP#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…

