Send an Inquiry

To receive a quote for your project, please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Part Number*
Quantity*
Message
Submit Inventory List

Please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Upload My List
Message

Renesas R5F21387CNFP#U0

Part No.:
R5F21387CNFP#U0
Manufacturer:
Renesas
Category:
Microcontrollers
Package:
80-LQFP
Datasheet:
AetrixR5F21387CNFP#U0.pdf
Description:
IC MCU 16BIT 48KB FLASH 80LQFP
Quantity:
Payment:
Payment
Shipping:
Shipping

Inventory:4,327

Please send an inquiry. Send us your inquiry, and we will respond immediately.

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

R5F21387CNFP#U0 from Renesas Electronics is a 16-bit R8C CPU core MCU with 48 KB program flash, 4 KB data flash (BGO-capable), and 4 KB RAM, operating at up to 20 MHz (50 ns min instruction time) across 1.8–5.5 V supply. It integrates UART0/1/2 (with I²C mode), LIN hardware module, 10-bit × 20-channel ADC, dual 8-bit DACs, six timer units (RA–RG), DTC, and voltage detection circuitry - deployed in consumer audio and office equipment control subsystems.

For engineers reviewing the R5F21387CNFP#U0 datasheet, R5F21387CNFP#U0 pinout, R5F21387CNFP#U0 application, or R5F21387CNFP#U0 equivalent, key selection criteria include its 80-pin LQFP package, −20°C to +85°C N-version temperature grade, background operation for data flash updates, real-time clock (Timer RE), and hardware LIN support tied to Timer RA and UART0.

Technical Context

The R5F21387CNFP#U0 implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit multiplier, and multiply-accumulate capability. Its memory map spans 1 Mbyte (00000h–FFFFFh), with program ROM starting at 04000h, data flash at 03000h–03FFFh (four 1-KB blocks), and RAM at 00400h–013FFh.

Peripheral integration includes three UART channels (UART2 supports I²C bus mode), dedicated LIN hardware using UART0 and Timer RA, Timer RD with complementary PWM for three-phase motor control, and a DTC with 39 activation sources enabling autonomous transfers without CPU intervention.

Key Specifications

ParameterValue and Actual Design Meaning
CPU CoreR8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC support
Memory48 KB program flash, 4 KB data flash (4 × 1 KB blocks, BGO enabled), 4 KB RAM
Operating Voltage1.8–5.5 V - supports single-supply operation across battery and line-powered systems
Max Clock Speed20 MHz (50 ns min instruction time at VCC = 2.7–5.5 V)
ADC10-bit resolution, 20 input channels, sample-and-hold, sweep mode
DACTwo independent 8-bit output channels (DA0, DA1)
TimersTimer RA/RB (8-bit), RC/RD/RE/RF/RG (16-bit), with PWM, capture/compare, and real-time clock modes
Serial InterfacesUART0/1/2 (UART2 supports I²C bus mode), SSU, LIN hardware module (Timer RA + UART0)

Pinout & Package

Package: 80-pin LQFP (PLQP0080KB-A, previous code 80P6Q-A), surface-mount, 12 mm × 12 mm body, 0.5 mm pitch.

Pin/TerminalCircuit RoleDesign Meaning
P0_0–P0_7CMOS I/O port with analog input (AN0–AN7), DA0/DA1 outputsPrimary analog front-end and DAC interface; AN0/DA1 and AN1/DA0 share pins
P1_0–P1_7CMOS I/O with KI0–KI3 key inputs, AN8–AN11, CLK0, RXD0/TXD0Keypad scanning, additional ADC channels, and primary UART0 interface
P2_0–P2_7CMOS I/O with TRDIOA0/B0/C0/D0 and TRDIOA1/B1/C1/D1Dedicated 8-pin interface for Timer RD dual 16-bit timer I/O (e.g., three-phase PWM)
P4_2Input-only analog reference (VREF)Provides external reference voltage for ADC; not configurable as general-purpose I/O
XIN/XOUTHigh-speed crystal oscillator input/output (up to 20 MHz)Primary system clock source; supports ceramic resonator or crystal
XCIN/XCOUT32 kHz low-power crystal oscillator input/outputEnables RTC and ultra-low-power stop/wait modes (2.0 µA stop current)
RESETActive-low reset inputHardware reset initiation; supports power-on reset and voltage-detection-triggered reset
MODEBoot mode select (connect to VCC via resistor)Determines startup behavior (ROM execution vs. user-defined vector table location)

Key Features

FeatureDesign Value
Background Operation (BGO)Data flash erasure/programming proceeds concurrently with CPU code execution - enables firmware updates without halting real-time control
Hardware LIN ModuleFull LIN 2.0/2.1 compliance implemented in silicon using UART0 and Timer RA - eliminates software protocol stack overhead and timing jitter
Real-Time Clock (Timer RE)8-bit timer with calendar mode (seconds, minutes, hours, weekday) - requires only 32 kHz XCIN clock, no external RTC IC needed
Low-Power Operating ModesWait mode (4.0 µA @ 3.0 V, 32 kHz) and stop mode (2.0 µA @ 3.0 V) - extends battery life in portable audio and remote controls
Dual 8-bit DAC OutputsDA0 and DA1 provide simultaneous analog waveform generation - supports audio tone generation or sensor biasing without external DACs
Voltage Detection CircuitThree-level detection (VDD monitor + two selectable thresholds) with programmable reset and interrupt - ensures reliable brown-out recovery in varying supply conditions

Applications

Audio Signal ProcessingOffice Equipment Control

Use Scenario: Digital audio mixer in compact home theater receiver with volume leveling and tone adjustment.

IC Role / Device Role / Timing Role: Main control MCU managing ADC sampling, DAC output, UART-based UI communication, and real-time audio parameter updates.

Use Value: Integrated 10-bit × 20-channel ADC and dual 8-bit DAC eliminate external converters; BGO allows seamless firmware updates during playback.

Use Scenario: Embedded controller in multifunction printer handling paper feed, toner monitoring, and USB/host interface coordination.

IC Role / Device Role / Timing Role: System manager executing motor control (via Timer RD PWM), sensor polling (ADC), and host command parsing (UART2/I²C).

Use Value: Hardware LIN module interfaces with toner cartridge ICs; six independent timers enable concurrent motor, sensor, and comms scheduling.

Consumer Appliance UIIndustrial Panel Interface

Use Scenario: Touchless control panel in microwave oven with proximity sensing and LED display driver.

IC Role / Device Role / Timing Role: Front-end processor for capacitive touch decoding (using ADC sweep mode), display refresh (via Timer RB PWM), and safety interlock monitoring.

Use Value: 20-channel ADC supports multi-zone sensing; key input interrupts (KI0–KI3) enable fast response to physical buttons without polling.

Use Scenario: Human-machine interface (HMI) module in HVAC control panel with rotary encoder input and status LEDs.

IC Role / Device Role / Timing Role: Dedicated interface MCU handling encoder phase counting (Timer RG), LED dimming (Timer RB PWM), and RS-485 gateway (UART1).

Use Value: Timer RG's built-in phase counting mode measures encoder position automatically; 75 CMOS I/O pins simplify direct LED and switch interfacing.

Equivalent & Alternatives

The following parts are listed as comparable options for similar 16-bit MCU applications.

Alternative PartTechnical DifferenceApplication DifferenceSelection Advice
R5F21386CNFP32 KB program flash, 2.5 KB data flash, same 80-pin LQFP package and peripheral setSuitable for cost-sensitive designs with smaller firmware footprints and reduced data logging needsSelect when application code size stays under 32 KB and data flash requirements are ≤2.5 KB
R5F21388CNFP64 KB program flash, 6 KB data flash, identical architecture and pinoutRequired for feature-rich firmware (e.g., multi-language UI, extended diagnostics) and larger BGO data buffersChoose when future firmware expansion or enhanced data logging (e.g., event history) is anticipated

Compared with R5F21386CNFP and R5F21388CNFP, the R5F21387CNFP#U0 delivers optimal balance of code space (48 KB), data flash (4 KB), and peripheral density for mid-tier consumer control applications - avoiding over-provisioning while supporting robust field-upgrade capability.

Availability

R5F21387CNFP#U0 is available at Aetrix Electronics and suitable for audio signal processing, office equipment control, consumer appliance UI, and industrial panel interface applications requiring stable component supply and long-term production continuity.

Supply support for R5F21387CNFP#U0 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 Corporation is a global semiconductor leader specializing in microcontrollers, analog, power, and SoC solutions for automotive, industrial, and IoT markets.

The R8C/38C Group, including the R5F21387CNFP#U0, was designed for cost-effective, low-power embedded control in consumer electronics - emphasizing integrated peripherals, flash flexibility, and EMI/EMS robustness.

FAQ

What is the maximum operating frequency and corresponding supply voltage range for the R5F21387CNFP#U0?

The R5F21387CNFP#U0 operates at up to 20 MHz when supplied between 2.7 V and 5.5 V, achieving a minimum instruction execution time of 50 ns. At lower voltages (1.8–5.5 V), the maximum frequency reduces to 5 MHz (200 ns min instruction time), enabling flexible power/performance trade-offs in battery-powered devices.

Does the R5F21387CNFP#U0 support hardware LIN communication, and how is it implemented?

Yes, the R5F21387CNFP#U0 includes a dedicated hardware LIN module compliant with LIN 2.0/2.1 standards. It is implemented using UART0 for serial framing and Timer RA for precise baud rate generation and synchronization - offloading protocol handling from the CPU and ensuring deterministic timing without software stack overhead.

How does the background operation (BGO) function work in the R5F21387CNFP#U0 data flash?

The R5F21387CNFP#U0 supports background operation on its 4 KB data flash (organized as four 1-KB blocks), allowing erase and program operations to execute concurrently with CPU code execution from program flash. This enables seamless firmware updates, calibration data writes, or event logging without interrupting real-time control tasks.

What are the key low-power features of the R5F21387CNFP#U0, and what are their typical current draws?

The R5F21387CNFP#U0 offers wait mode (4.0 µA at 3.0 V with 32 kHz XCIN clock) and stop mode (2.0 µA at 3.0 V), both leveraging the low-speed on-chip oscillator. These modes retain RAM content and allow wake-up via external interrupt or RTC alarm - ideal for remote controls, sensor nodes, and standby functions in audio equipment.

Can the R5F21387CNFP#U0 generate three-phase PWM waveforms, and which timer unit provides this capability?

Yes, the R5F21387CNFP#U0 can generate synchronized three-phase PWM waveforms using Timer RD, which supports reset-synchronous PWM and complementary PWM modes. These modes drive six output pins (TRDIOA0/B0/C0/D0 and TRDIOA1/B1/C1/D1) with programmable dead-time insertion and fault protection - suitable for BLDC motor control in appliances.

R5F21387CNFP#U0 Specifications

Product attributes
Attribute value
Manufacturer:
Renesas
Package/Case:
80-LQFP
Series:
R8C/3x/38C
Packaging:
Tray
Product Status:
Discontinued at Digi-Key
Programmable:
Not Verified
Core Processor:
R8C
Core Size:
16-Bit
Speed:
20MHz
Connectivity:
I2C, LINbus, SIO, SSU, UART/USART
Peripherals:
POR, PWM, Voltage Detect, WDT
Number of I/O:
75
Program Memory Size:
48KB (48K x 8)
Program Memory Type:
FLASH
EEPROM Size:
4K x 8
RAM Size:
4K x 8
Voltage - Supply (Vcc/Vdd):
1.8V ~ 5.5V
Data Converters:
A/D 20x10b; D/A 2x8b
Oscillator Type:
Internal
Operating Temperature:
-20°C ~ 85°C (TA)
Grade:
-
Qualification:
-
Mounting Type:
Surface Mount
Supplier Device Package:

R5F21387CNFP#U0 FAQ

1.How can I place an order for R5F21387CNFP#U0 through Aetrix?

Please submit a Request for Quotation (RFQ) for R5F21387CNFP#U0 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 R5F21387CNFP#U0 reliable?

The price and inventory of R5F21387CNFP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21387CNFP#U0 is usually 5 days.

3.What payment methods are accepted for R5F21387CNFP#U0?

We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21387CNFP#U0 transactions.

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for R5F21387CNFP#U0?

R5F21387CNFP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.

Once your R5F21387CNFP#U0 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 R5F21387CNFP#U0?

For technical support, including R5F21387CNFP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21387CNFP#U0 requirements.

6.How does Aetrix verify that R5F21387CNFP#U0 is sourced from the original manufacturer or authorized distributors?

All R5F21387CNFP#U0 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 R5F21387CNFP#U0 meets industry standards.

7.What is the process for return or replacement of R5F21387CNFP#U0?

All R5F21387CNFP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21387CNFP#U0, 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 R5F21387CNFP#U0 part is unused and in its original packaging.

Return procedure for R5F21387CNFP#U0:

1.Submit a request within 90 days.

2.Obtain a Return Material Authorization (RMA) from Aetrix.

R5F21387CNFP#U0 Tags

  • R5F21387CNFP#U0
  • R5F21387CNFP#U0 PDF
  • R5F21387CNFP#U0 Datasheet
  • R5F21387CNFP#U0 Specifications
  • R5F21387CNFP#U0 Images
  • Renesas
  • Renesas R5F21387CNFP#U0
  • Buy R5F21387CNFP#U0
  • R5F21387CNFP#U0 Price
  • R5F21387CNFP#U0 Distributor
  • R5F21387CNFP#U0 Supplier
  • R5F21387CNFP#U0 Wholesale
Related Products
ATTINY4-TSHR
ATTINY4-TSHR

Microchip Technology

ATTINY10-TSHR
ATTINY10-TSHR

Microchip Technology

ATTINY10-TS8R
ATTINY10-TS8R

Microchip Technology

ATTINY202-SSNR
ATTINY202-SSNR

Microchip Technology

ATTINY202-SSFR
ATTINY202-SSFR

Microchip Technology

ATTINY402-SSNR
ATTINY402-SSNR

Microchip Technology

PIC16F15213T-I/MF
PIC16F15213T-I/MF

Microchip Technology

PIC16F15213-E/MF
PIC16F15213-E/MF

Microchip Technology

PIC10F200T-I/OT
PIC10F200T-I/OT

Microchip Technology

ATTINY412-SSNR
ATTINY412-SSNR

Microchip Technology

PIC10F202T-I/OT
PIC10F202T-I/OT

Microchip Technology

ATTINY404-SSNR
ATTINY404-SSNR

Microchip Technology

Tech Hub

Search

Search

PRODUCT

PRODUCT

PHONE

PHONE

USER

USER