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

- Shipping:

Inventory:2,829
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21388SNFP#30 from Renesas 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 operates at up to 20 MHz (VCC = 2.7–5.5 V), integrates a 36-channel capacitive touch sensor control unit (TSCU), 10-bit A/D converter (20 channels), hardware LIN module, and dual UART + I²C/SSU serial interfaces. It targets embedded control in consumer appliances requiring low EMI, touch UI, and mixed-signal timing precision.
For engineers reviewing the R5F21388SNFP#30 datasheet, R5F21388SNFP#30 pinout, R5F21388SNFP#30 application, or R5F21388SNFP#30 equivalent, this page delivers verified technical context, validated pin functions, real-world use cases for touch-enabled appliances, and two confirmed alternative MCUs with documented functional alignment and key trade-offs in memory, temperature grade, and peripheral coverage.
Technical Context
The R5F21388SNFP#30 implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit multiplier, and multiply-accumulate capability. Its 1 Mbyte address space supports single-chip mode execution, with interrupt priority levels (0–7), 69 interrupt vectors, and event link controller (ELC) enabling direct peripheral-to-peripheral event chaining without CPU intervention.
It features four independent clock sources: XIN/XOUT crystal oscillator, XCIN/XCOUT low-power crystal input, high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator (for watchdog and stop-mode operation). Power management includes wait mode (4.0 µA @ 3.0 V, 32 kHz) and stop mode (2.2 µA), with voltage detection at three configurable thresholds and power-on reset.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 50 ns min instruction time @ 20 MHz, multiplier & MAC support |
| Memory | 64 KB flash program ROM, 6 KB RAM, 4 KB data flash (1 KB × 4 blocks) with BGO |
| Operating Voltage | 1.8 V to 5.5 V - enables single-supply operation across battery and line-powered systems |
| Touch Sensing | 36-channel electrostatic capacitive TSCU with system CH × 4 - supports multi-button sliders and proximity sensing |
| A/D Converter | 10-bit resolution, 20 input channels, sample-and-hold, sweep mode - suitable for analog sensor monitoring |
| Serial Interfaces | UART0 (2 channels), UART2 (1 channel, I²C mode), SSU/I²C_0 (1 channel), HW-LIN_0 (1 channel) |
| Timers | Timer RJ_0 (16-bit), RB2_0 (16-bit PWM), RC_0 (16-bit w/4 capture/compare), RE2 (8-bit RTC) |
| Package | 80-pin LQFP (PLQP0080KB-A), 0.5 mm pitch, 12 × 12 mm body - standard surface-mount footprint |
Pinout & Package
Package: 80-pin LQFP (PLQP0080KB-A), 0.5 mm pitch, 12 × 12 mm square body, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| RESET | Reset input | Active-low asynchronous reset; initiates full MCU initialization sequence |
| XIN / XOUT | Primary crystal oscillator interface | Supports external 1–20 MHz crystal/resonator; enables precise system clock generation |
| XCIN / XCOUT | Low-power secondary oscillator interface | Connects 32.768 kHz crystal for RTC and ultra-low-power stop/wait modes |
| P0_0–P0_7, P1_0–P1_7, etc. | CMOS I/O ports (75 total) | Programmable direction, pull-up selection, high-current drive capability for LED/relay direct drive |
| AN0–AN19 | Analog inputs | 20-channel 10-bit A/D converter inputs; share pins with digital I/O and touch channels |
| CH00–CH35, CHxA0–CHxC | Touch sensor electrodes | Dedicated TSCU input/output pins for self- and mutual-capacitance measurement |
| UART0_0/0_1, UART2 | Asynchronous serial I/O | Three UART channels with clock sync option; UART2 supports I²C-bus protocol mode |
| SCL_0 / SDA_0 | I²C bus interface | Shared with SSU_0; enables communication with sensors, EEPROMs, and displays |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erase/write occurs concurrently with program execution - no CPU stall during firmware updates |
| Hardware LIN Module | Full LIN 2.1/2.2 compliance using UART0_0/0_1 or UART2 - eliminates software protocol stack overhead |
| Event Link Controller (ELC) | 30 event sources × 10 operation types - enables autonomous peripheral triggering (e.g., ADC start on timer match) |
| Low-Power Modes | Wait mode (4.0 µA @ 32 kHz) and stop mode (2.2 µA) - extends battery life in portable touch interfaces |
| Voltage Detection | Three-point detection with programmable thresholds - ensures reliable brown-out protection across supply ranges |
| On-Chip Debug | Fully integrated debug interface with flash rewrite - enables in-system programming and real-time trace |
Applications
| Appliance Touch Panel Control | Home Audio System MCU |
|---|---|
|
Use Scenario: Front-panel capacitive buttons and slider on microwave oven or washing machine control board. IC Role / Device Role / Timing Role: Primary system MCU executing touch scan, display update, motor control logic, and safety monitoring. Use Value: Integrated 36-channel TSCU eliminates external touch controller IC; 64 KB flash accommodates UI firmware + safety routines. |
Use Scenario: Source selection, volume control, and display management in compact stereo receivers. IC Role / Device Role / Timing Role: Central control unit managing IR remote decode, DAC interface, and I²C-connected audio codecs. Use Value: Dual UART + I²C + SSU enables concurrent communication with IR receiver, display, and audio subsystems. |
| Office Equipment Keypad | Industrial Sensor Hub |
|
Use Scenario: Keypad and status LED driver in multifunction printers or document scanners. IC Role / Device Role / Timing Role: Dedicated keypad controller with KI0–KI3 key-interrupt inputs and high-drive I/O for LED indicators. Use Value: 75 CMOS I/O pins with selectable pull-ups simplify matrix keypad design; 10-bit ADC monitors internal temperature/voltage. |
Use Scenario: Local sensor aggregation node collecting analog (temp/humidity) and digital (I²C) readings for gateway forwarding. IC Role / Device Role / Timing Role: Edge-processing MCU performing analog conditioning, timestamping, and buffered serial transmission. Use Value: 20-channel 10-bit ADC + BGO data flash allows local calibration storage and robust field data logging. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21388SDFP | D version (-40°C to +85°C); identical memory, peripherals, and pinout | Required for industrial environments with extended ambient temperature range | Select when operating below -20°C is required; otherwise R5F21388SNFP#30 suffices for commercial-grade appliances |
| R5F2138CSNFP | 128 KB program ROM, 10 KB RAM, same package and peripheral set | Needed for larger firmware images (e.g., OTA update stacks, enhanced UI frameworks) | Choose when >64 KB code space is required; retains full pin and register compatibility for drop-in upgrade path |
Compared with R5F21388SDFP, the R5F21388SNFP#30 offers lower cost and sufficient temperature margin for consumer white goods; compared with R5F2138CSNFP, it trades memory headroom for optimized BOM cost in fixed-function appliances.
Availability
R5F21388SNFP#30 is available at Aetrix Electronics and suitable for electronic household appliances, office equipment, and audio equipment requiring stable component supply, long-term lifecycle support, and RoHS-compliant manufacturing.
Supply support for R5F21388SNFP#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 is a global semiconductor leader specializing in microcontrollers, analog, and power solutions for automotive, industrial, and IoT markets.
The R8C/38T-A Group, including R5F21388SNFP#30, was designed for cost-sensitive, touch-enabled consumer electronics requiring integrated analog peripherals, low EMI, and robust real-time control.
FAQ
What is the maximum CPU clock frequency supported by the R5F21388SNFP#30?
The R5F21388SNFP#30 supports a maximum CPU clock frequency of 20 MHz when operating within the 2.7 V to 5.5 V supply range. At lower 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 in battery-powered or wide-input-voltage designs.
Does the R5F21388SNFP#30 include hardware support for LIN communication?
Yes, the R5F21388SNFP#30 integrates a dedicated hardware LIN module (HW-LIN_0) compliant with LIN 2.1/2.2 standards. It uses UART0_0, UART0_1, or UART2 under timer RJ_0 control to implement physical layer signaling, reducing CPU load and improving protocol timing accuracy versus software-based implementations.
How many analog input channels does the R5F21388SNFP#30's A/D converter support?
The R5F21388SNFP#30 features a 10-bit A/D converter with 20 analog input channels (AN0 through AN19). These channels are multiplexed with general-purpose I/O and touch sensor pins, allowing shared pin usage while maintaining simultaneous sampling capability via sweep mode configuration.
What is the purpose of the background operation (BGO) function in the R5F21388SNFP#30's data flash?
The background operation (BGO) function allows the R5F21388SNFP#30 to execute program code from flash memory while simultaneously erasing or writing to data flash blocks. This enables seamless firmware updates, parameter storage, or calibration data logging without halting real-time tasks - critical for uninterrupted appliance control.
Is the R5F21388SNFP#30 pin-compatible with other devices in the R8C/38T-A Group?
Yes, all members of the R8C/38T-A Group, including R5F21388SNFP#30, R5F21388SDFP, and R5F2138CSNFP, share identical 80-pin LQFP (PLQP0080KB-A) packaging and pin assignments. This enables direct PCB reuse across variants differing only in memory size, temperature grade, or ROM capacity - simplifying platform scalability.
R5F21388SNFP#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38T-A
- 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:
- 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#30 FAQ
1.How can I place an order for R5F21388SNFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21388SNFP#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 R5F21388SNFP#30 reliable?
The price and inventory of R5F21388SNFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21388SNFP#30 is usually 5 days.
3.What payment methods are accepted for R5F21388SNFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21388SNFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21388SNFP#30?
R5F21388SNFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21388SNFP#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 R5F21388SNFP#30?
For technical support, including R5F21388SNFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21388SNFP#30 requirements.
6.How does Aetrix verify that R5F21388SNFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F21388SNFP#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 R5F21388SNFP#30 meets industry standards.
7.What is the process for return or replacement of R5F21388SNFP#30?
All R5F21388SNFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21388SNFP#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 R5F21388SNFP#30 part is unused and in its original packaging.
Return procedure for R5F21388SNFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21388SNFP#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…

