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

- Shipping:

Inventory:4,727
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21386CDFP#30 from Renesas Electronics is a 16-bit R8C CPU core MCU with 32 KB program flash, 2.5 KB data flash (4 × 1 KB blocks), and 2.5 KB RAM, operating at up to 20 MHz (VCC = 2.7–5.5 V). It integrates 20-channel 10-bit ADC, dual 8-bit DACs, LIN hardware module, and six timer units (RA–RG) supporting PWM, input capture, and real-time clock functions. Used in industrial control panels requiring deterministic timing and mixed-signal I/O.
For engineers reviewing the R5F21386CDFP#30 datasheet, R5F21386CDFP#30 pinout, R5F21386CDFP#30 application, or R5F21386CDFP#30 equivalent, key selection criteria include −40°C to +85°C industrial temperature rating, 80-pin LQFP package with 75 CMOS I/O ports, background operation (BGO) for data flash, and hardware LIN support via UART0 and Timer RA.
Technical Context
The R5F21386CDFP#30 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 fixed interrupt vector table at 0FFDCh–0FFFFh and data flash at 03000h–03FFFh.
It supports four clock sources: XIN (up to 20 MHz), XCIN (32 kHz), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator. Power management includes wait mode (4.0 µA @ 3.0 V, 32 kHz) and stop mode (2.0 µA @ 3.0 V), with voltage detection circuits for power-on reset and selectable level monitoring.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC support |
| Operating Frequency | 20 MHz max (VCC = 2.7–5.5 V); 5 MHz min (VCC = 1.8–5.5 V) |
| Memory | 32 KB program flash, 2.5 KB data flash (4 × 1 KB BGO-enabled blocks), 2.5 KB RAM |
| Analog Peripherals | 20-channel 10-bit ADC with sample-and-hold and sweep mode; dual 8-bit DACs |
| Timers | Timer RA/RB (8-bit), RC/RD/RE/RF/RG (16-bit); RD supports 6-pin complementary PWM and three-phase waveforms |
| Communication | UART0/1/2 (I²C-capable), SSU, hardware LIN (UART0 + Timer RA), 39-source DTC |
| Power & Temp | 1.8–5.5 V supply; −40°C to +85°C operating range (D version) |
Pinout & Package
Package: 80-pin LQFP (PLQP0080KB-A, 12 mm × 12 mm, 0.5 mm pitch).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_0–P0_7 | CMOS I/O port with analog input (AN0–AN7), DA0/DA1 outputs | Primary analog front-end interface; supports simultaneous ADC sampling and DAC output |
| P1_0–P1_7 | CMOS I/O with key interrupt (KI0–KI3), AN8–AN11, CLK0, RXD0/TXD0 | Keypad scanning and UART0 host interface; dedicated clock input for peripheral sync |
| P2_0–P2_7 | CMOS I/O with TRDIOx for Timer RD, TRCIOx for Timer RC | Direct connection to 6-pin complementary PWM outputs and 4-channel input capture |
| P4_2 | Input-only reference voltage pin (VREF) | Stable analog reference for ADC/DAC calibration; not configurable as general-purpose I/O |
| XIN/XOUT | Main system clock input/output (20 MHz ceramic resonator or crystal) | Primary high-speed timing source; enables 50 ns minimum instruction execution time |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming during active code execution-enables firmware updates without halting real-time control |
| Hardware LIN Module | Integrated LIN 2.1 physical layer via UART0 and Timer RA-eliminates external transceiver for automotive body electronics |
| Low-Power Modes | Wait mode (4.0 µA @ 32 kHz) and stop mode (2.0 µA)-extends battery life in portable industrial sensors |
| EMI/EMS Optimization | On-chip oscillator tuning, spread-spectrum clocking support, and layout-optimized I/O drive-reduces radiated emissions in noisy factory environments |
| Dual 8-bit DACs | Independent DA0/DA1 outputs with programmable update timing-supports analog feedback loops in motor control systems |
Applications
| Industrial Motor Control | Home Appliance UI Panel |
|---|---|
Use Scenario: Closed-loop speed regulation of BLDC fans using PWM-driven gate drivers and current sensing. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, generating synchronized 6-pin complementary PWM via Timer RD, and sampling current via 10-bit ADC. Use Value: Hardware three-phase waveform generation eliminates software timing jitter; BGO allows runtime parameter tuning without interrupting motor operation. | Use Scenario: Touchless keypad interface with LED backlight dimming and buzzer tone generation in washing machine control boards. IC Role / Device Role / Timing Role: System MCU managing capacitive touch scan (via KI0–KI3), driving 8-bit DAC for analog LED dimming, and generating audio tones via Timer RB PWM. Use Value: Integrated DAC and key interrupt logic reduce BOM count; −40°C rating ensures reliable startup in cold garage installations. |
| Automotive Body Controller | Office Equipment Power Management |
Use Scenario: Door lock actuator control and status reporting over LIN bus in vehicle access modules. IC Role / Device Role / Timing Role: LIN master node using hardware UART0 + Timer RA, reading door switch inputs (P3_3/P3_6), and driving solenoid drivers via high-current I/O pins. Use Value: Certified LIN protocol handling offloads CPU; 75 I/O ports accommodate future feature expansion without redesign. | Use Scenario: Standby power sequencing and thermal monitoring in multifunction printers with sleep/wake cycles. IC Role / Device Role / Timing Role: Low-power supervisor managing USB wake events (INT0), measuring ambient temperature via ADC channel AN16, and controlling DC-DC enable lines. Use Value: Stop mode current of 2.0 µA meets Energy Star requirements; voltage detection circuit ensures clean reset during brown-out conditions. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21387CDFP | 48 KB program flash, 4 KB data flash, same package and peripherals | Requires larger firmware image size; identical timing and I/O compatibility | Select when bootloader or field-upgrade code exceeds 32 KB capacity |
| R5F21386CNFP | N-version rated −20°C to +85°C; otherwise identical electrical specs and pinout | Not qualified for extended industrial ambient conditions | Choose only for cost-sensitive consumer-grade applications with controlled thermal environments |
Compared with R5F21386CDFP#30, R5F21387CDFP offers higher flash density for complex firmware, while R5F21386CNFP sacrifices industrial temperature margin for lower unit cost-neither is pin-compatible drop-in replacement without thermal validation.
Availability
R5F21386CDFP#30 is available at Aetrix Electronics and suitable for industrial motor control, automotive body electronics, home appliance UI panels, and office equipment power management requiring stable component supply across extended temperature ranges.
Supply support for R5F21386CDFP#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 Corporation is a global semiconductor leader specializing in microcontrollers, analog, and power solutions for industrial, automotive, and IoT markets.
The R8C/38C Group targets cost-sensitive, high-reliability embedded systems requiring integrated analog peripherals, low-power operation, and hardware communication accelerators like LIN and I²C.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21386CDFP#30?
The R5F21386CDFP#30 operates at up to 20 MHz when supplied with 2.7–5.5 V, and supports reduced-frequency operation down to 5 MHz at 1.8 V. Its minimum instruction execution time is 50 ns under full-speed conditions, enabling deterministic real-time response in time-critical control loops.
Does the R5F21386CDFP#30 support background operation (BGO) for data flash programming?
Yes, the R5F21386CDFP#30 supports background operation (BGO) for its 2.5 KB data flash (four 1 KB blocks). This allows firmware to execute from program flash while simultaneously erasing or programming data flash-critical for over-the-air updates and runtime parameter storage in the R5F21386CDFP#30.
How many analog-to-digital converter channels does the R5F21386CDFP#30 integrate, and what is their resolution?
The R5F21386CDFP#30 integrates a 10-bit successive-approximation ADC with 20 input channels (AN0–AN19), including sample-and-hold and hardware sweep mode. This enables simultaneous multi-channel acquisition for sensor fusion in motor control and environmental monitoring applications using the R5F21386CDFP#30.
What peripheral modules enable LIN bus communication on the R5F21386CDFP#30?
The R5F21386CDFP#30 implements hardware LIN 2.1 support through dedicated logic combining UART0 and Timer RA. This eliminates software bit-banging overhead and ensures precise timing compliance for automotive body electronics networks-no external transceiver is required for basic LIN node functionality in the R5F21386CDFP#30.
What is the industrial temperature rating of the R5F21386CDFP#30, and how does it differ from the N-version?
The R5F21386CDFP#30 is the D-version, rated for −40°C to +85°C operation, making it suitable for uncontrolled industrial and automotive under-hood environments. In contrast, the N-version (e.g., R5F21386CNFP) is limited to −20°C to +85°C-this thermal qualification difference is the primary distinction between the two variants of the R5F21386CDFP#30 family.
R5F21386CDFP#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38C
- Packaging:
- Tray
- Product Status:
- Active
- 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:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 5.5V
- Data Converters:
- A/D 20x10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21386CDFP#30 FAQ
1.How can I place an order for R5F21386CDFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21386CDFP#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 R5F21386CDFP#30 reliable?
The price and inventory of R5F21386CDFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21386CDFP#30 is usually 5 days.
3.What payment methods are accepted for R5F21386CDFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21386CDFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21386CDFP#30?
R5F21386CDFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21386CDFP#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 R5F21386CDFP#30?
For technical support, including R5F21386CDFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21386CDFP#30 requirements.
6.How does Aetrix verify that R5F21386CDFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F21386CDFP#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 R5F21386CDFP#30 meets industry standards.
7.What is the process for return or replacement of R5F21386CDFP#30?
All R5F21386CDFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21386CDFP#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 R5F21386CDFP#30 part is unused and in its original packaging.
Return procedure for R5F21386CDFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21386CDFP#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…

