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

- Shipping:

Inventory:2,771
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21386CNFP#30 from Renesas Electronics is a 16-bit R8C CPU core microcontroller with 32 KB program flash, 2.5 KB data flash (4 × 1 KB blocks), and 2.5 KB RAM in an 80-pin LQFP package. It operates at up to 20 MHz (VCC = 2.7–5.5 V), features a 16×16→32-bit hardware multiplier, 20-channel 10-bit ADC, dual 8-bit DACs, and integrated LIN physical layer support via UART0 + Timer RA. It targets embedded control in consumer audio and office equipment.
For engineers reviewing the R5F21386CNFP#30 datasheet, R5F21386CNFP#30 pinout, R5F21386CNFP#30 application, or R5F21386CNFP#30 equivalent, key selection criteria include its N-version temperature range (−20°C to +85°C), background operation (BGO) for data flash writes during code execution, low-power stop mode (2.0 µA), and hardware LIN compliance without external transceiver.
Technical Context
The R5F21386CNFP#30 implements the R8C CPU core with 89 fundamental instructions, 1-Mbyte address space, and register bank switching. Its clock system integrates four independent sources: XIN (up to 20 MHz crystal), XCIN (32 kHz crystal), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator - all selectable via software-controlled prescalers and mode registers.
Peripheral integration includes Timer RD (16-bit × 2, 6-pin complementary PWM for three-phase motor control), UART0/1/2 (with I²C and LIN modes), SSU/I²C shared interface, DTC (1 channel, 39 activation sources), and voltage detection circuits (power-on reset + dual-level VDD monitoring). All timers support input capture, output compare, and programmable waveform generation.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 1-Mbyte address space, and 16×16→32-bit hardware multiplier |
| Memory | 32 KB program flash, 2.5 KB data flash (4 × 1 KB blocks with BGO), 2.5 KB RAM |
| Operating Frequency | 20 MHz max (VCC = 2.7–5.5 V); 5 MHz min (VCC = 1.8–5.5 V) |
| Analog Peripherals | 20-channel 10-bit ADC with sample-and-hold and sweep mode; dual 8-bit DACs (DA0/DA1) |
| Timers | Timer RA/RB (8-bit), RC (16-bit, 4 compare/capture), RD (16-bit × 2, 6-pin complementary/sawtooth PWM), RE (real-time clock), RF/RG (16-bit with encoder phase counting) |
| Communication | UART0/1/2 (I²C/LIN/multiprocessor modes), SSU (shared with I²C), LIN module (hardware-assisted via UART0 + Timer RA) |
| Power Management | Wait mode (4.0 µA @ 3.0 V, 32 kHz), stop mode (2.0 µA @ 3.0 V); voltage detection with POR and dual-level monitoring |
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 inputs AN0–AN7 | Configurable digital I/O; AN0/AN7 also serve as DAC outputs DA1/DA0 |
| P1_0–P1_3 | Key input interrupt pins KI0–KI3 | Dedicated debounced input for keypad scanning; supports wake-up from low-power modes |
| P2_0–P2_7 | Timer RD I/O (TRDIOA0–TRDIOD1) | Eight dedicated pins for 6-pin complementary PWM and three-phase motor control waveforms |
| P4_2 | VREF reference input | Analog reference voltage input for A/D converter; requires external decoupling |
| RESET | Active-low reset input | Hardware reset assertion; internal pull-up enabled; compatible with open-drain reset supervisors |
| XIN/XOUT | Main system clock oscillator interface | Supports ceramic resonator or crystal (up to 20 MHz); enables high-precision timing |
| XCIN/XCOUT | 32 kHz real-time clock oscillator interface | Drives low-power RTC (Timer RE) independently of main clock domain |
| MODE | Boot mode configuration | Must be tied to VCC via resistor to select single-chip mode at power-up |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erase/write while CPU executes code from program flash - enables seamless firmware updates |
| Hardware LIN Support | UART0 + Timer RA combine to implement ISO 9141-2/SAE J2602-compliant LIN physical layer without external transceiver |
| Low-Power Stop Mode | 2.0 µA typical current at 3.0 V - suitable for battery-backed real-time clock and wake-on-interrupt applications |
| Three-Phase Motor Control | Timer RD provides synchronized complementary PWM on six pins with dead-time insertion and fault protection |
| Integrated Voltage Monitoring | Dual-level voltage detection (VDD monitor 0/1) with programmable thresholds - ensures robust brown-out recovery |
| On-Chip Debug Interface | Fully supported on-chip debug with flash rewrite capability - eliminates need for external emulator during development |
Applications
| Audio Equipment Control | Office Equipment Motor Drive |
|---|---|
Use Scenario: Volume control, display backlight dimming, and IR remote decoding in portable audio systems. IC Role / Device Role / Timing Role: Main system controller executing real-time audio processing tasks and managing peripheral interfaces. Use Value: Integrated 10-bit ADC reads potentiometer position; dual DACs drive analog audio stages; LIN enables communication with remote panels. | Use Scenario: Precision speed and direction control of paper feed and scanner motors in multifunction printers. IC Role / Device Role / Timing Role: Dedicated motor control MCU generating synchronized three-phase PWM waveforms. Use Value: Timer RD's complementary PWM with dead-time control prevents shoot-through; 20 MHz CPU handles closed-loop feedback in real time. |
| Consumer Appliance UI | Industrial Sensor Node |
Use Scenario: Keypad scanning, LED status indication, and temperature monitoring in microwave ovens and washing machines. IC Role / Device Role / Timing Role: Embedded user interface controller interfacing with mechanical switches and analog sensors. Use Value: Key input interrupts (KI0–KI3) enable low-latency button response; 20-channel ADC monitors thermistors and current sense resistors. | Use Scenario: Battery-powered environmental sensor node collecting temperature, humidity, and motion data for wireless transmission. IC Role / Device Role / Timing Role: Low-power data acquisition and preprocessing unit before RF transmission. Use Value: Stop mode (2.0 µA) extends battery life; BGO allows logging sensor data to data flash while maintaining RTC accuracy. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21387CNFP | 48 KB program flash, 4 KB data flash, same 80-pin LQFP package and peripheral set | Requires larger firmware image size; identical pinout and driver compatibility | Select when firmware exceeds 32 KB or additional data logging capacity is needed |
| R5F21386CDFP | Same memory and peripherals, but D-version (-40°C to +85°C operating range) | Validated for extended industrial temperature environments; higher screening cost | Select for automotive cabin modules or outdoor industrial enclosures requiring wider ambient tolerance |
Compared with R5F21387CNFP and R5F21386CDFP, the R5F21386CNFP#30 offers optimal cost/performance balance for consumer-grade applications within −20°C to +85°C, with sufficient flash for feature-rich audio/UI firmware and proven BGO reliability in field-deployed devices.
Availability
R5F21386CNFP#30 is available at Aetrix Electronics and suitable for audio equipment control, office equipment motor drive, and consumer appliance UI requiring stable component supply and long-term production continuity.
Supply support for R5F21386CNFP#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 delivering microcontrollers, analog, power, and SoC solutions for automotive, industrial, and IoT markets.
The R8C/38C Group, including R5F21386CNFP#30, was designed for cost-sensitive, low-power embedded control in consumer electronics - emphasizing integrated analog peripherals, hardware LIN, and robust flash endurance (10,000 write cycles for data flash).
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21386CNFP#30?
The R5F21386CNFP#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 minimum. This dual-voltage flexibility enables use in both 3.3 V and 5 V legacy systems while maintaining full peripheral functionality across the specified range.
Does the R5F21386CNFP#30 support hardware LIN communication, and how is it implemented?
Yes, the R5F21386CNFP#30 includes dedicated hardware LIN support via UART0 combined with Timer RA. This implementation complies with ISO 9141-2 and SAE J2602 standards, eliminating the need for an external LIN transceiver in basic node applications such as sensor clusters or actuator interfaces.
How does the Background Operation (BGO) function work in the R5F21386CNFP#30 data flash?
The R5F21386CNFP#30 supports Background Operation (BGO) on its 4 × 1 KB data flash blocks, allowing erase and write operations to proceed concurrently with program execution from main flash memory. This enables real-time data logging, parameter storage, and firmware updates without halting application code.
What are the low-power modes available on the R5F21386CNFP#30, and what is the typical current draw in each?
The R5F21386CNFP#30 offers wait mode (4.0 µA @ 3.0 V, 32 kHz) and stop mode (2.0 µA @ 3.0 V). Both retain RAM contents and support wake-up via external interrupt or RTC alarm. These modes are optimized for battery-powered UI and sensor nodes where multi-year operation is required.
Is the R5F21386CNFP#30 pin-compatible with other members of the R8C/38C Group, such as R5F21387CNFP or R5F21388CNFP?
Yes, all R8C/38C Group MCUs in the PLQP0080KB-A package - including R5F21386CNFP#30, R5F21387CNFP, and R5F21388CNFP - share identical 80-pin LQFP footprints and pin functions. Firmware migration between them is supported by Renesas' common peripheral register map and toolchain compatibility.
R5F21386CNFP#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38C
- Packaging:
- Tray
- Product Status:
- Not For New Designs
- 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:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21386CNFP#30 FAQ
1.How can I place an order for R5F21386CNFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21386CNFP#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 R5F21386CNFP#30 reliable?
The price and inventory of R5F21386CNFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21386CNFP#30 is usually 5 days.
3.What payment methods are accepted for R5F21386CNFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21386CNFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21386CNFP#30?
R5F21386CNFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21386CNFP#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 R5F21386CNFP#30?
For technical support, including R5F21386CNFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21386CNFP#30 requirements.
6.How does Aetrix verify that R5F21386CNFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F21386CNFP#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 R5F21386CNFP#30 meets industry standards.
7.What is the process for return or replacement of R5F21386CNFP#30?
All R5F21386CNFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21386CNFP#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 R5F21386CNFP#30 part is unused and in its original packaging.
Return procedure for R5F21386CNFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21386CNFP#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…

