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

- Shipping:

Inventory:2,431
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21388SNFP from Renesas Electronics is a 16-bit R8C CPU core microcontroller with 64 KB flash program ROM, 6 KB RAM, and 4 KB data flash (1 KB × 4 blocks) supporting background operation (BGO). It delivers 20 MHz CPU clock at 2.7–5.5 V, integrates a 10-bit 20-channel A/D converter, hardware LIN module, and electrostatic capacitive touch sensor control unit (TSCU) for 36 channels - used in appliance control panels and consumer HMI systems.
For engineers reviewing the R5F21388SNFP datasheet, R5F21388SNFP pinout, R5F21388SNFP application, or R5F21388SNFP equivalent, key selection criteria include its 80-pin LQFP package, -20°C to +85°C operating range (N version), integrated TSCU for self-capacitance sensing, dual UART + I²C + SSU serial interfaces, and on-chip voltage detection with three configurable thresholds.
Technical Context
The R5F21388SNFP implements the R8C CPU core with 89 fundamental instructions and a 16×16→32-bit hardware multiplier, enabling efficient signal processing in resource-constrained embedded applications. Its memory map spans 1 Mbyte (00000h–FFFFFh), with program ROM allocated across low- and high-address regions and data flash fixed at 07000h–07FFFh.
Peripheral integration includes Timer RJ (16-bit), Timer RB2 (16-bit PWM), Timer RC (16-bit with 4 capture/compare registers), and Timer RE2 (8-bit RTC), all accessible via dedicated I/O pins with configurable alternate functions. The event link controller (ELC) supports 30 sources × 10 operation types for autonomous peripheral coordination without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions and 16×16→32-bit multiplier for deterministic arithmetic |
| Memory | 64 KB flash program ROM, 6 KB RAM, 4 KB data flash (1 KB × 4 blocks) with BGO support |
| Operating Voltage | 1.8 V to 5.5 V - enables single-supply operation across battery and line-powered systems |
| A/D Converter | 10-bit resolution, 20 input channels, sample-and-hold, and sweep mode for rapid multi-channel acquisition |
| Touch Sensing | TSCU supports 36-channel electrostatic capacitive touch detection without external components |
| Serial Interfaces | UART0 (2 channels), UART2 (1 channel with I²C mode), SSU/I²C (1 shared channel), HW-LIN (1 channel) |
| Timers | Timer RJ (16-bit), RB2 (16-bit PWM), RC (16-bit w/4 CC registers), RE2 (8-bit RTC) |
| Package | 80-pin LQFP (PLQP0080KB-A), 0.5 mm pitch, 12 × 12 mm body - compatible with standard SMT reflow |
Pinout & Package
80-pin LQFP package (PLQP0080KB-A), 0.5 mm pitch, 12 × 12 mm square body, with exposed thermal pad (not electrically connected). Pin assignments follow JEDEC MS-026 standard layout.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| RESET | Reset input | Active-low asynchronous reset; initiates hardware reset sequence on falling edge |
| XIN / XOUT | External crystal oscillator interface | Supports 1–20 MHz ceramic resonator or crystal; enables precise timing for UART baud rates |
| XCIN / XCOUT | Low-speed external oscillator interface | Connects 32.768 kHz crystal for RTC and low-power wait/stop modes |
| VCC / VSS | Main power supply | 1.8–5.5 V digital supply; decoupling required per Renesas layout guidelines |
| AVCC / AVSS | Analog power supply | Dedicated analog domain supply; requires separate 0.1 µF capacitor to AVSS |
| AN0–AN19 | A/D converter inputs | 20 single-ended analog inputs; share pins with P0–P7 ports and support internal reference |
| CH00–CH35 | Touch sensor electrodes | 36 dedicated TSCU input pins; enable mutual/self-capacitance measurement without external ICs |
| TRCIOA_0–TRCIOD_0 | Timer RC I/O | Four 16-bit timer channels with capture/compare/PWM output on shared port pins |
| UART0_0 / UART0_1 | Asynchronous serial interfaces | Two independent UARTs with programmable baud rate generators and FIFO-like buffering |
| UART2 | Multi-mode serial interface | Supports UART, I²C-bus, and multiprocessor communication - shares pins with SSU/I²C |
| SSU_0 / I2C_0 | Synchronous serial interface | Shared hardware block: clock-synchronous SPI-like or I²C master/slave operation |
| HW-LIN_0 | Hardware LIN transceiver interface | Dedicated LIN physical layer support using UART0_0/UART0_1 and Timer RJ_0 |
| P0_0–P9_5 | CMOS I/O ports | 75 programmable CMOS I/O pins with selectable pull-up resistors and high-current drive capability |
| INT0–INT4 | External interrupt inputs | Five dedicated interrupt request lines with priority levels 0–7 and edge/level sensitivity |
| KI0–KI3 | Key input interrupts | Four debounced key-scan inputs optimized for mechanical switch detection |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erase/write while executing code from program ROM - enables seamless firmware updates |
| Electrostatic Capacitive Touch Unit (TSCU) | 36-channel self-capacitance sensing with built-in charge-transfer circuitry - eliminates need for external touch controller |
| Event Link Controller (ELC) | 30 peripheral event sources linked to 10 operation types without CPU involvement - reduces ISR latency and CPU load |
| On-chip Voltage Detection | Three independent voltage monitors with user-selectable thresholds - provides robust brown-out protection and system supervision |
| Low-Power Operating Modes | Wait mode (4.0 µA @ 3.0 V, 32 kHz) and stop mode (2.2 µA @ 3.0 V) - extends battery life in portable devices |
| Hardware LIN Module | Full LIN 2.1/SAE J2602 compliance using UART0_0/UART0_1 and Timer RJ_0 - simplifies automotive sub-node design |
Applications
| Appliance Control Panel | Consumer Audio System |
|---|---|
Use Scenario: Touch-enabled front panel for microwave oven or washing machine with LED indicators and motor control feedback. IC Role / Device Role / Timing Role: Main system controller managing touch input, display driver interface, relay/SSR actuation, and real-time cycle timing via Timer RE2. Use Value: Integrated TSCU eliminates external touch IC; 64 KB flash accommodates UI logic and safety-critical firmware; LIN interface enables communication with main MCU. | Use Scenario: Feature-rich Bluetooth speaker with volume knob, EQ presets, and status LEDs controlled via capacitive slider. IC Role / Device Role / Timing Role: Dedicated HMI processor handling touch slider, button press detection, LED PWM dimming, and UART-based audio codec configuration. Use Value: 36-channel TSCU supports complex sliders and multi-zone buttons; 10-bit ADC reads potentiometer and temperature sensor; BGO allows OTA update during playback. |
| Office Equipment Keypad | Industrial Sensor Node |
Use Scenario: Copier or multifunction printer control panel with alphanumeric keypad, status LCD, and paper jam detection. IC Role / Device Role / Timing Role: Keypad scanner and display controller interfacing with main ARM host via UART2; uses KI0–KI3 for matrix scanning. Use Value: Key input interrupt hardware provides zero-latency scan; 20-channel ADC monitors internal voltages and thermistors; 80-pin LQFP allows dense I/O routing. | Use Scenario: Battery-powered environmental monitor measuring temperature, humidity, and air quality with wireless uplink. IC Role / Device Role / Timing Role: Sensor aggregator and low-power supervisor - wakes on timer or external interrupt, samples sensors via ADC, stores data in data flash. Use Value: Stop mode current of 2.2 µA extends 10-year battery life; data flash BGO enables logging during active sensing; LIN optional for wired fieldbus extension. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21388SDFP | Same silicon, extended temperature grade (-40°C to +85°C) and identical electrical specs | Required for industrial or automotive under-hood environments where ambient exceeds 85°C | Select R5F21388SDFP when operating ambient exceeds 85°C or full industrial temp range is mandated |
| R5F2138ASNFP | 96 KB program ROM, 8 KB RAM, same package and peripheral set - no change to pinout or clocking | Needed when application firmware size exceeds 64 KB or additional RAM buffers are required for communication stacks | Choose R5F2138ASNFP when firmware growth or enhanced data buffering justifies higher memory capacity |
Compared with R5F21388SDFP and R5F2138ASNFP, the R5F21388SNFP offers optimal cost/performance balance for commercial-grade appliances and audio devices operating within -20°C to +85°C, with sufficient memory headroom and full peripheral compatibility.
Availability
R5F21388SNFP is available at Aetrix Electronics and suitable for appliance control panels, consumer audio systems, and office equipment requiring stable component supply and long-term production continuity.
Supply support for R5F21388SNFP 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/38T-A Group, including the R5F21388SNFP, was designed for cost-sensitive, low-power embedded control applications requiring integrated touch sensing, serial connectivity, and robust real-time performance in consumer and white goods.
FAQ
What is the maximum CPU clock frequency supported by the R5F21388SNFP?
The R5F21388SNFP supports a maximum CPU clock frequency of 20 MHz when operated at VCC = 2.7 V to 5.5 V. At lower supply voltages (1.8 V to 5.5 V), the maximum clock is reduced to 5 MHz to ensure stable operation. This dual-frequency capability allows flexible power/performance trade-offs across battery and line-powered designs.
Does the R5F21388SNFP include hardware support for LIN communication?
Yes, the R5F21388SNFP includes a dedicated hardware LIN module (HW-LIN_0) compliant with LIN 2.1 and SAE J2602 standards. It leverages UART0_0 or UART0_1 for serial framing and Timer RJ_0 for precise bit timing, enabling reliable slave-node operation without software bit-banging overhead.
How many touch sensing channels does the R5F21388SNFP support, and what type of sensing is implemented?
The R5F21388SNFP supports 36 electrostatic capacitive touch sensing channels via its integrated Touch Sensor Control Unit (TSCU). It implements self-capacitance measurement using charge-transfer techniques, allowing direct connection of PCB copper pads as electrodes without external components or calibration ICs.
What is the purpose of the Background Operation (BGO) function in the R5F21388SNFP's data flash?
The Background Operation (BGO) function in the R5F21388SNFP allows the CPU to execute code from program ROM while simultaneously erasing or programming data flash blocks. This enables non-disruptive firmware updates, parameter storage during runtime, and real-time logging - critical for fail-safe and always-on embedded systems.
What are the key differences between the R5F21388SNFP and R5F21388SDFP variants?
The R5F21388SNFP and R5F21388SDFP share identical functionality, pinout, and electrical specifications. The only difference is the operating ambient temperature range: R5F21388SNFP is rated for -20°C to +85°C (N version), while R5F21388SDFP extends to -40°C to +85°C (D version) for harsher industrial or automotive environments.
R5F21388SNFP#V0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38T-A
- 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:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 6K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 5.5V
- Data Converters:
- A/D 20x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21388SNFP#V0 FAQ
1.How can I place an order for R5F21388SNFP#V0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21388SNFP#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 R5F21388SNFP#V0 reliable?
The price and inventory of R5F21388SNFP#V0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21388SNFP#V0 is usually 5 days.
3.What payment methods are accepted for R5F21388SNFP#V0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21388SNFP#V0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21388SNFP#V0?
R5F21388SNFP#V0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21388SNFP#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 R5F21388SNFP#V0?
For technical support, including R5F21388SNFP#V0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21388SNFP#V0 requirements.
6.How does Aetrix verify that R5F21388SNFP#V0 is sourced from the original manufacturer or authorized distributors?
All R5F21388SNFP#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 R5F21388SNFP#V0 meets industry standards.
7.What is the process for return or replacement of R5F21388SNFP#V0?
All R5F21388SNFP#V0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21388SNFP#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 R5F21388SNFP#V0 part is unused and in its original packaging.
Return procedure for R5F21388SNFP#V0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21388SNFP#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…

