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

- Shipping:

Inventory:4,046
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21387CNFP#V0 from Renesas is a 16-bit R8C CPU core MCU with 48 KB program flash, 4 KB data flash (BGO-capable), 10-bit 20-channel ADC, dual 8-bit DACs, and integrated LIN hardware module. It operates at up to 20 MHz (50 ns min. instruction time) across 1.8–5.5 V supply and targets embedded control in consumer appliances and office equipment.
For engineers reviewing the R5F21387CNFP#V0 datasheet, R5F21387CNFP#V0 pinout, R5F21387CNFP#V0 application, or R5F21387CNFP#V0 equivalent, key selection criteria include its 80-pin LQFP package, real-time clock (Timer RE), low-power stop mode (2.0 µA), and hardware LIN support via UART0 + Timer RA.
Technical Context
The R5F21387CNFP#V0 implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit multiplier, and multiply-accumulate capability. Its memory map spans 1 Mbyte, with fixed interrupt vector table at 0FFDCh–0FFFFh and data flash blocks A–D mapped to 03000h–03FFFh.
Peripheral integration includes four independent timer units (RA–RD), three UART/serial interfaces (UART0–2 with I²C mode), DTC for autonomous transfers, and voltage detection circuits supporting power-on reset and dual-level monitoring (VDD = 2.7–5.5 V).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 50 ns min. execution at 20 MHz |
| Flash Memory | 48 KB program ROM + 4 KB data flash (4 × 1 KB blocks, BGO supported) |
| ADC/DAC | 10-bit resolution × 20 channels with sample-and-hold; dual 8-bit DAC outputs (DA0/DA1) |
| Timers | Timer RA/RB (8-bit), RC/RD (16-bit × 2), RE (8-bit RTC), RF/RG (16-bit × 2) |
| Serial Interfaces | UART0/1/2 (I²C mode on UART2), SSU, LIN hardware module (UART0 + Timer RA) |
| Supply & Power | 1.8–5.5 V operation; 7.0 mA typical @ 5 V/20 MHz; 2.0 µA stop mode current |
| Package | 80-pin LQFP (PLQP0080KB-A), −20°C to +85°C ambient temperature range |
Pinout & Package
Package: 80-pin LQFP (PLQP0080KB-A), 12 mm × 12 mm body, 0.5 mm pitch, exposed pad not specified.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_0–P0_7 | CMOS I/O port with analog input (AN0–AN7), DA0/DA1 output | Configurable digital I/O; AN0/AN7 serve as primary ADC inputs and DAC outputs |
| P1_0–P1_3 | Key input interrupt pins (KI0–KI3) + ADC inputs (AN8–AN11) | Support wake-up from low-power modes via external keypad events |
| P4_2 | Analog reference voltage input (VREF) | Provides external reference for ADC conversion accuracy and comparator B |
| XIN/XOUT | High-frequency crystal oscillator interface (up to 20 MHz) | Enables precise timing for system clock and peripheral synchronization |
| XCIN/XCOUT | 32 kHz crystal oscillator interface | Drives low-power real-time clock (Timer RE) during stop/wait modes |
| RESET | Active-low reset input | Hardware reset initiation; supports power-on reset and voltage monitor assertion |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming proceeds concurrently with CPU execution, enabling seamless firmware updates |
| Hardware LIN Module | Dedicated LIN 2.0/2.1 support via UART0 and Timer RA eliminates software protocol overhead |
| Low-Power Operating Modes | Wait mode (4.0 µA @ 3 V/32 kHz) and stop mode (2.0 µA @ 3 V) extend battery life in portable systems |
| Voltage Detection Circuits | Three independent voltage monitors (VDD, VDD1, VDD2) with programmable thresholds enable robust brown-out protection |
| Dual 8-bit DAC Outputs | DA0 and DA1 provide independent analog voltage generation for sensor biasing or actuator control |
Applications
| Home Appliance Control | Office Equipment Motor Drive |
|---|---|
Use Scenario: Microcontroller-based washing machine control board managing water level, motor speed, heating, and user interface. IC Role / Device Role / Timing Role: Primary system controller executing real-time motor PWM (via Timer RD), ADC-based temperature sensing, and LIN communication with display panel. Use Value: Integrated 16-bit timers with complementary PWM and 20-channel ADC reduce external component count and PCB area. | Use Scenario: Laser printer engine controller regulating fuser temperature, paper feed timing, and toner density feedback. IC Role / Device Role / Timing Role: Real-time subsystem controller using Timer RE for accurate seconds-level timing and dual DACs for thermal sensor calibration. Use Value: Hardware LIN interface enables reliable communication with main controller over noisy industrial bus without CPU intervention. |
| Audio System Front Panel | Consumer IoT Sensor Hub |
Use Scenario: Standalone audio amplifier front panel with rotary encoder, LED indicators, and IR remote receiver. IC Role / Device Role / Timing Role: User interface processor handling key input interrupts (KI0–KI3), PWM-driven LED dimming, and UART-based debug logging. Use Value: 75 CMOS I/O ports with selectable pull-ups simplify direct connection to mechanical switches and LEDs without external resistors. | Use Scenario: Battery-powered environmental sensor node measuring temperature, humidity, and air quality with wireless upload. IC Role / Device Role / Timing Role: Low-power sensor aggregator using stop mode between measurements and ADC sweep mode for multi-channel acquisition. Use Value: 2.0 µA stop mode current and BGO-capable data flash allow long-term field deployment with infrequent firmware updates. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21388CNFP | 64 KB program ROM, 6 KB data flash, identical peripheral set and pinout | Higher firmware storage capacity required for feature-rich appliance UIs or OTA update buffers | Select when >48 KB code space needed; same PCB layout and driver compatibility |
| R5F21387CDFP | Same memory and peripherals, but −40°C to +85°C operating range (D version) | Industrial or automotive-adjacent environments requiring extended temperature tolerance | Select for harsh ambient conditions; otherwise N version suffices for consumer-grade applications |
Compared with R5F21388CNFP and R5F21387CDFP, the R5F21387CNFP#V0 provides optimal balance of code density, low-power performance, and cost for commercial-grade home/office electronics where extended temperature range or larger flash is unnecessary.
Availability
R5F21387CNFP#V0 is available at Aetrix Electronics and suitable for home appliance control, office equipment motor drive, and audio system front panel applications requiring stable component supply and long-term production continuity.
Supply support for R5F21387CNFP#V0 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, power, and SoC solutions for industrial, automotive, and consumer markets.
The R8C/38C Group, including R5F21387CNFP#V0, was designed for cost-sensitive, low-power embedded control in consumer electronics-emphasizing integration of timers, ADCs, serial interfaces, and LIN without external support components.
FAQ
What is the maximum operating frequency and corresponding supply voltage range for the R5F21387CNFP#V0?
The R5F21387CNFP#V0 supports 20 MHz operation at VCC = 2.7–5.5 V, and 5 MHz operation down to VCC = 1.8 V. Minimum instruction execution time is 50 ns under high-voltage/high-frequency conditions, enabling responsive real-time control in appliance and office equipment applications.
Does the R5F21387CNFP#V0 support background operation (BGO) for data flash programming?
Yes, the R5F21387CNFP#V0 includes background operation (BGO) functionality for its 4 KB data flash (1 KB × 4 blocks). This allows flash erase/write operations to proceed concurrently with CPU program execution, enabling seamless firmware updates and parameter storage without halting application logic.
How many analog input channels does the R5F21387CNFP#V0 ADC support, and what is its resolution?
The R5F21387CNFP#V0 integrates a 10-bit successive-approximation ADC with 20 dedicated analog input channels (AN0–AN19), plus sample-and-hold and sweep mode. This supports simultaneous multi-sensor acquisition in home appliance control and environmental monitoring applications.
What peripheral resources enable hardware LIN communication on the R5F21387CNFP#V0?
The R5F21387CNFP#V0 implements a dedicated hardware LIN module using UART0 for serial framing and Timer RA for baud rate generation and sync field timing-fully compliant with LIN 2.0/2.1. No CPU polling or bit-banging is required, ensuring deterministic communication in automotive-adjacent subsystems.
What are the lowest-power operating modes available on the R5F21387CNFP#V0, and their typical current consumption?
The R5F21387CNFP#V0 offers wait mode (4.0 µA @ 3.0 V, 32 kHz XCIN clock) and stop mode (2.0 µA @ 3.0 V). Both retain RAM content and support wake-up via external interrupt or timer event-critical for battery-powered sensor nodes and energy-efficient consumer devices.
R5F21387CNFP#V0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38C
- Packaging:
- Tray
- Product Status:
- Obsolete
- 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#V0 FAQ
1.How can I place an order for R5F21387CNFP#V0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21387CNFP#V0 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#V0 reliable?
The price and inventory of R5F21387CNFP#V0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21387CNFP#V0 is usually 5 days.
3.What payment methods are accepted for R5F21387CNFP#V0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21387CNFP#V0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21387CNFP#V0?
R5F21387CNFP#V0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21387CNFP#V0 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#V0?
For technical support, including R5F21387CNFP#V0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21387CNFP#V0 requirements.
6.How does Aetrix verify that R5F21387CNFP#V0 is sourced from the original manufacturer or authorized distributors?
All R5F21387CNFP#V0 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#V0 meets industry standards.
7.What is the process for return or replacement of R5F21387CNFP#V0?
All R5F21387CNFP#V0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21387CNFP#V0, 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#V0 part is unused and in its original packaging.
Return procedure for R5F21387CNFP#V0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21387CNFP#V0 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…

