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

- Shipping:

Inventory:4,512
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F2138CSNFP#30 from Renesas is a 16-bit R8C CPU core microcontroller with 128 KB flash program ROM, 10 KB RAM, and integrated touch sensor control unit (TSCU) supporting 36-channel electrostatic capacitive touch detection. It operates at up to 20 MHz (VCC = 2.7–5.5 V), features 75 CMOS I/O ports with high-current drive capability, and includes UART0 (2 channels), UART2 (1 channel with I²C mode), LIN hardware module, 10-bit × 20-channel ADC, and on-chip data flash with background operation (BGO) for seamless firmware updates in consumer appliance control systems.
For engineers reviewing the R5F2138CSNFP#30 datasheet, R5F2138CSNFP#30 pinout, R5F2138CSNFP#30 application, or R5F2138CSNFP#30 equivalent, key selection considerations include its N-version temperature range (−20°C to +85°C), 80-pin LQFP package (PLQP0080KB-A), integrated TSCU for button/slider UIs, and dual-clock domain support (XIN/XCIN oscillators + on-chip high/low-speed oscillators) enabling low-power wake-up and real-time clock functionality.
Technical Context
The R5F2138CSNFP#30 implements the R8C CPU core with 89 fundamental instructions, 1 Mbyte address space, and hardware multiplier (16×16→32 bits) plus multiply-accumulate capability. Its memory architecture separates program ROM (128 KB), data flash (4 × 1 KB blocks), and RAM (10 KB), all accessible via unified addressing with dedicated SFR regions for peripheral control.
Peripheral integration includes event link controller (ELC) for autonomous inter-peripheral triggering (30 sources × 10 operations), DTC for efficient data transfers without CPU intervention, and three timer families (RJ, RB2, RC) supporting PWM generation, input capture, pulse width measurement, and real-time clock mode via Timer RE2 - all synchronized to configurable clock domains including low-power XCIN (32 kHz).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 20 MHz max operation (50 ns min instruction time at 20 MHz) |
| Memory | 128 KB flash program ROM, 10 KB RAM, 4 × 1 KB data flash blocks with BGO support |
| Operating Voltage | 1.8 V to 5.5 V supply; supports 5 MHz operation down to 1.8 V for ultra-low-voltage applications |
| Touch Sensing | TSCU with 36-channel electrostatic capacitive touch detection, no external components required |
| Timers | Timer RJ (16-bit), RB2 (16-bit PWM), RC (16-bit with 4 capture/compare registers), RE2 (8-bit RTC) |
| Serial Interfaces | UART0 (2 channels), UART2 (1 channel with I²C-bus mode), SSU/I²C_0 (shared resource), HW-LIN_0 |
| ADC | 10-bit resolution, 20-channel SAR ADC with sample-and-hold and sweep mode for multi-sensor monitoring |
| Power Modes | Standard, wait (4.0 µA @ 3.0 V, 32 kHz), and stop (2.2 µA @ 3.0 V) modes for battery-sensitive designs |
Pinout & Package
Package: 80-pin LQFP (PLQP0080KB-A), 0.5 mm pitch, 12 × 12 mm body size, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply / Ground | Main digital power (1.8–5.5 V); requires decoupling per layout guidelines |
| AVCC / AVSS | Analog power / Ground | Isolated analog supply for ADC and comparators; capacitor filtering mandatory |
| RESET | Active-low reset input | Hardware reset assertion; internal pull-up enabled after power-on |
| XIN / XOUT | Primary crystal oscillator interface | Supports ceramic resonator or crystal (1–20 MHz); enables high-accuracy timing |
| XCIN / XCOUT | Secondary crystal oscillator interface | Dedicated 32.768 kHz crystal for RTC and low-power wake-up |
| P0_0–P0_7 | Programmable 8-bit port with analog inputs | AN0–AN7 multiplexed; supports touch sensing, ADC, and general-purpose I/O |
| CH00–CH35 | Touch sensor electrode inputs | Dedicated pins for electrostatic capacitance measurement; no external RC network needed |
| TRCIOA_0–TRCIOD_0 | Timer RC I/O channels | Four independent I/O groups for capture/compare/PWM output on Timer RC |
Key Features
| Feature | Design Value |
|---|---|
| On-chip data flash with BGO | Enables firmware update during active program execution without halting MCU operation |
| Hardware LIN module | Full LIN 2.1/SAE J2602 compliance using UART0_0/UART0_1 or UART2; reduces host CPU overhead |
| Event Link Controller (ELC) | Links 30 peripheral events (e.g., ADC end-of-conversion → DMA trigger) without interrupt latency |
| Low-power operation modes | Wait mode draws only 4.0 µA at 3.0 V/32 kHz; stop mode consumes 2.2 µA for extended battery life |
| Integrated voltage detection | Three programmable voltage monitor levels (VDD, VDD1, VDD2) with reset and interrupt options |
| Touch Sensor Control Unit | 36-channel capacitive sensing with built-in charge-transfer circuitry; eliminates external ICs for UI |
Applications
| Home Appliance Control Panel | Office Equipment Keypad Interface |
|---|---|
|
Use Scenario: Touch-enabled microwave oven or washing machine control panel with slider volume adjustment and button press detection. IC Role / Device Role / Timing Role: Primary system controller executing UI logic, managing touch inputs via TSCU, and driving display backlight via PWM outputs. Use Value: Eliminates external touch controller IC and reduces BOM cost while supporting up to 36 electrodes for complex UI layouts. |
Use Scenario: Multi-function printer front-panel keypad with tactile feedback and status LED dimming. IC Role / Device Role / Timing Role: Dedicated keypad manager handling key scan, debounce, and LED PWM dimming using Timer RB2 and GPIOs. Use Value: Integrated 75 high-current drive ports directly sink LED current without external drivers, simplifying PCB layout. |
| Audio System Remote Interface | Consumer IoT Sensor Hub |
|
Use Scenario: Bluetooth speaker remote with rotary encoder emulation and battery-level monitoring. IC Role / Device Role / Timing Role: Standalone remote controller acquiring analog battery voltage (ADC), decoding IR commands, and transmitting via UART to main MCU. Use Value: On-chip 10-bit × 20-channel ADC measures battery voltage and ambient light; UART2 I²C mode interfaces with environmental sensors. |
Use Scenario: Smart thermostat node collecting temperature, humidity, and occupancy data for cloud transmission. IC Role / Device Role / Timing Role: Edge sensor aggregator running low-power wait mode between 10-second ADC sweeps and transmitting via UART2 to Wi-Fi module. Use Value: 2.2 µA stop mode extends coin-cell battery life to >2 years; TSCU enables touch-based user interaction without wake-up latency. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F2138ASDFP | D-version (-40°C to +85°C), same 96 KB ROM/8 KB RAM but lower flash capacity than R5F2138CSNFP#30 | Suitable for industrial environments requiring extended temperature range; lacks 32 KB additional program storage | Select when operating ambient exceeds −20°C and full 128 KB ROM is unnecessary |
| R5F21388SNFP | N-version with 64 KB ROM/6 KB RAM; identical package and peripheral set but reduced memory resources | Cost-optimized variant for simpler appliances with smaller firmware footprints and fewer data buffers | Choose for entry-level home appliances where TSCU and UART2 are required but memory headroom is limited |
Compared with R5F2138ASDFP and R5F21388SNFP, the R5F2138CSNFP#30 provides maximum on-chip memory (128 KB/10 KB) and full TSCU channel count (36) within the N-temperature grade, making it optimal for feature-rich consumer UIs where code growth and touch complexity are design constraints.
Availability
R5F2138CSNFP#30 is available at Aetrix Electronics and suitable for home appliance control panels, office equipment keypads, and audio system remotes requiring stable component supply across long production lifecycles.
Supply support for R5F2138CSNFP#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 management solutions for automotive, industrial, and consumer markets.
The R8C/38T-A Group targets cost-sensitive, low-power embedded applications requiring integrated touch sensing, robust serial connectivity (LIN/I²C/UART), and deterministic real-time control - optimized for white goods and human-interface devices.
FAQ
What is the maximum operating frequency of the R5F2138CSNFP#30 and under what voltage conditions?
The R5F2138CSNFP#30 achieves a maximum CPU clock of 20 MHz when powered at VCC = 2.7 V to 5.5 V. At lower voltages (1.8 V to 5.5 V), the maximum frequency is reduced to 5 MHz to ensure stable operation and meet electrical specifications across the full voltage range.
Does the R5F2138CSNFP#30 support hardware LIN communication, and which peripherals are involved?
Yes, the R5F2138CSNFP#30 integrates a dedicated HW-LIN_0 module compliant with LIN 2.1 and SAE J2602. It uses Timer RJ_0, UART0_0, or UART0_1 for physical layer signaling - eliminating software bit-banging and ensuring precise timing for automotive-grade diagnostics and control networks.
How many touch sensing channels does the R5F2138CSNFP#30 support, and are external components required?
The R5F2138CSNFP#30 supports 36 electrostatic capacitive touch sensing channels via its integrated Touch Sensor Control Unit (TSCU). No external RC networks or dedicated touch controller ICs are required - all signal conditioning and charge-transfer measurement is performed on-die.
What power-saving modes are available on the R5F2138CSNFP#30, and what are their typical current consumptions?
The R5F2138CSNFP#30 offers wait mode (4.0 µA at 3.0 V, 32 kHz XCIN clock) and stop mode (2.2 µA at 3.0 V). Both modes retain RAM content and allow wake-up via external interrupt or RTC alarm, enabling multi-year battery operation in portable consumer devices.
Is the R5F2138CSNFP#30 pin-compatible with other members of the R8C/38T-A Group, such as R5F21388SNFP or R5F2138ASDFP?
Yes, all R8C/38T-A Group MCUs, including R5F2138CSNFP#30, R5F21388SNFP, and R5F2138ASDFP, share identical 80-pin LQFP (PLQP0080KB-A) packaging and pinout - enabling hardware reuse across product variants with different memory configurations and temperature grades.
R5F2138CSNFP#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38T-A
- 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:
- 128KB (128K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 10K 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:
R5F2138CSNFP#30 FAQ
1.How can I place an order for R5F2138CSNFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F2138CSNFP#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 R5F2138CSNFP#30 reliable?
The price and inventory of R5F2138CSNFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F2138CSNFP#30 is usually 5 days.
3.What payment methods are accepted for R5F2138CSNFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F2138CSNFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F2138CSNFP#30?
R5F2138CSNFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F2138CSNFP#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 R5F2138CSNFP#30?
For technical support, including R5F2138CSNFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F2138CSNFP#30 requirements.
6.How does Aetrix verify that R5F2138CSNFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F2138CSNFP#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 R5F2138CSNFP#30 meets industry standards.
7.What is the process for return or replacement of R5F2138CSNFP#30?
All R5F2138CSNFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F2138CSNFP#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 R5F2138CSNFP#30 part is unused and in its original packaging.
Return procedure for R5F2138CSNFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F2138CSNFP#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…

