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

- Shipping:

Inventory:1,687
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F2138CCNFP#U0 from Renesas Electronics is a 16-bit R8C CPU core microcontroller with 128 KB flash program ROM, 10 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 UART0/1/2, I²C, LIN, 10-bit 20-channel ADC, dual 8-bit DACs, six timer modules (RA–RG), and background operation (BGO) for in-application data flash rewriting-targeted for real-time control in consumer audio and office equipment.
For engineers reviewing the R5F2138CCNFP#U0 datasheet, R5F2138CCNFP#U0 pinout, R5F2138CCNFP#U0 application, or R5F2138CCNFP#U0 equivalent, key selection criteria include its 80-pin LQFP package, −20°C to +85°C industrial temperature grade (N version), integrated LIN hardware module, BGO-enabled data flash, and support for low-power wait/stop modes down to 2.0 µA.
Technical Context
The R5F2138CCNFP#U0 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 features four independent clock sources: XIN (up to 20 MHz), XCIN (32 kHz), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator-enabling flexible power/performance trade-offs across standard, wait, and stop modes. Oscillation stop detection and voltage monitoring (VDD detect levels selectable) provide robust system supervision.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 50 ns min instruction time at 20 MHz |
| Flash Memory | 128 KB program ROM + 10 KB data flash (4 × 1 KB blocks) with BGO support |
| RAM | 2.5 KB on-chip RAM used for data storage and stack operations |
| ADC | 10-bit resolution, 20 input channels with sample-and-hold and sweep mode |
| DAC | Two independent 8-bit D/A converters (DA0, DA1) |
| Timers | Timer RA/RB (8-bit), RC/RD/RE/RF/RG (16-bit); RD supports 3-phase PWM & complementary PWM |
| Serial Interfaces | UART0/1/2, I²C bus (shared with SSU), hardware LIN (using Timer RA + UART0) |
| Power Modes | Standard, wait (4.0 µA @ 3.0 V, 32 kHz), stop (2.0 µA @ 3.0 V) |
Pinout & Package
Package: 80-pin LQFP (PLQP0080KB-A, previous code 80P6Q-A), 12 × 12 mm body, 0.5 mm pitch.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| RESET | Active-low reset input | Drives full chip reset when pulled low; internal pull-up ensures reliable startup |
| XIN / XOUT | Main system clock oscillator interface | Supports external crystal/resonator up to 20 MHz for precise timing |
| XCIN / XCOUT | Real-time clock oscillator interface | Connects 32.768 kHz crystal for Timer RE-based RTC functionality |
| P0_0–P0_7 | CMOS I/O port with analog inputs | AN0–AN7 mapped; DA0/DA1 outputs available on P0_6/P0_7 for audio DAC use |
| P1_0–P1_7 | CMOS I/O with key interrupt support | KI0–KI3 inputs enable low-pin-count keypad interfaces without external logic |
| UART0 TXD0/RXD0 | Asynchronous serial interface | Full-duplex communication channel for host MCU or peripheral diagnostics |
| UART2 SCL2/SDA2 | I²C bus interface | Hardware I²C master/slave support for sensor or EEPROM connectivity |
| TRFO00–TRFO12 | Timer RF output pins | Enable multi-channel pulse generation for motor control or LED dimming |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Enables concurrent program execution while rewriting data flash-critical for firmware updates without halting real-time tasks |
| Hardware LIN Module | Integrated LIN 2.0/2.1 support via Timer RA and UART0 eliminates need for external transceiver in automotive body electronics |
| Low-Power Stop Mode | 2.0 µA current draw at 3.0 V enables battery-powered standby operation exceeding 1 year on coin cell |
| Multi-Source Clock System | Four independent clocks (XIN, XCIN, high-speed/low-speed on-chip) allow dynamic switching to optimize performance vs. power |
| Voltage Detection Circuits | Configurable voltage monitor (VDD detect level selectable) provides fail-safe reset and brown-out protection |
| 10-Bit 20-Channel ADC | Simultaneous sampling of multiple analog sensors (e.g., temp, light, audio line-in) with programmable sweep sequencing |
Applications
| Audio Equipment Control | Office Equipment Motor Control |
|---|---|
Use Scenario: Digital audio receiver managing volume, source selection, EQ, and display backlighting. IC Role / Device Role / Timing Role: Main system controller executing real-time audio processing, user interface polling, and IR remote decoding. Use Value: Integrated 10-bit ADC reads potentiometer positions; dual 8-bit DACs drive analog audio outputs; BGO allows firmware updates during playback. | Use Scenario: Laser printer engine controller managing stepper motor positioning, toner heating, and paper feed timing. IC Role / Device Role / Timing Role: Precision motion controller coordinating PWM-driven motors and thermal regulation via PID loops. Use Value: Timer RD's complementary PWM mode generates three-phase gate drive signals; 16-bit timers ensure sub-millisecond motor phase alignment. |
| Consumer Appliance UI | Industrial Panel Meter |
Use Scenario: Microwave oven control panel handling keypad input, display refresh, cooking timer, and safety interlock monitoring. IC Role / Device Role / Timing Role: Embedded HMI processor managing touchless key scan, segmented LCD drive, and real-time cooking countdown. Use Value: KI0–KI3 inputs directly interface membrane keypad; Timer RE provides accurate seconds-based countdown; low-power stop mode extends standby battery life. | Use Scenario: DIN-rail mounted panel meter measuring AC voltage/current with local display and RS-485 communication. IC Role / Device Role / Timing Role: Signal acquisition and protocol gateway converting analog sensor data to Modbus RTU over UART2. Use Value: 20-channel ADC samples multiple sensor inputs simultaneously; UART2 with hardware flow control (CTS2/RTS2) ensures robust industrial comms; LIN-capable UART0 supports future fieldbus expansion. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F2138ACNFP | 96 KB program ROM, 8 KB data flash, same 80-pin LQFP package and peripheral set | Suitable where firmware size < 96 KB and data logging capacity ≤ 8 KB is sufficient | Select when cost optimization is prioritized and full 128 KB ROM headroom is unnecessary |
| R5F2138CCDFP | Identical memory and peripherals, but rated for −40°C to +85°C (D version) instead of −20°C to +85°C (N version) | Required for extended-temperature industrial or automotive under-hood environments | Choose only if operation below −20°C is mandatory; otherwise R5F2138CCNFP#U0 is optimal for commercial-grade applications |
Compared with R5F2138ACNFP and R5F2138CCDFP, the R5F2138CCNFP#U0 offers maximum flash capacity within the N-grade temperature range, making it ideal for feature-rich consumer devices where extended temperature tolerance is not required but firmware scalability is critical.
Availability
R5F2138CCNFP#U0 is available at Aetrix Electronics and suitable for audio equipment control, office equipment motor control, consumer appliance UI, and industrial panel meter applications requiring stable component supply and long-term production continuity.
Supply support for R5F2138CCNFP#U0 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/38C Group, including R5F2138CCNFP#U0, was designed for cost-sensitive, real-time embedded control in consumer electronics-emphasizing low EMI/EMS, integrated analog peripherals, and ultra-low-power operation.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F2138CCNFP#U0?
The R5F2138CCNFP#U0 operates at up to 20 MHz when supplied at 2.7–5.5 V, and supports reduced-frequency operation down to 5 MHz at 1.8–5.5 V for ultra-low-voltage applications. Its minimum instruction execution time is 50 ns at 20 MHz, enabling deterministic real-time response in time-critical control loops.
Does the R5F2138CCNFP#U0 support in-system programming of its data flash memory?
Yes, the R5F2138CCNFP#U0 supports background operation (BGO) for data flash, allowing program execution to continue uninterrupted while rewriting the 10 KB data flash (four 1 KB blocks). This enables safe firmware parameter updates, calibration storage, or event logging without system reset or functional interruption.
How many analog-to-digital converter channels does the R5F2138CCNFP#U0 provide, and what is their resolution?
The R5F2138CCNFP#U0 integrates a single 10-bit successive-approximation ADC with 20 input channels (AN0–AN19), supporting sample-and-hold and automatic channel sweep mode. This enables simultaneous monitoring of multiple analog sensors-such as temperature, light, or audio line inputs-in resource-constrained consumer systems.
What peripheral interfaces are available on the R5F2138CCNFP#U0 for communication with external devices?
The R5F2138CCNFP#U0 provides UART0, UART1, and UART2 (with I²C and multiprocessor modes), a dedicated I²C bus (shared with SSU), and hardware LIN 2.x support via Timer RA and UART0. These interfaces enable robust communication with displays, sensors, EEPROMs, and automotive sub-nodes without external protocol translators.
Is the R5F2138CCNFP#U0 pin-compatible with other members of the R8C/38C Group?
Yes, all R8C/38C Group MCUs-including R5F2138CCNFP#U0, R5F2138ACNFP, and R5F2138CCDFP-share the identical 80-pin LQFP (PLQP0080KB-A) package and pin assignment. This allows direct PCB reuse across memory variants and temperature grades, simplifying design scaling and qualification.
R5F2138CCNFP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38C
- Packaging:
- Tray
- Product Status:
- Discontinued at Digi-Key
- 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; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F2138CCNFP#U0 FAQ
1.How can I place an order for R5F2138CCNFP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F2138CCNFP#U0 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 R5F2138CCNFP#U0 reliable?
The price and inventory of R5F2138CCNFP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F2138CCNFP#U0 is usually 5 days.
3.What payment methods are accepted for R5F2138CCNFP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F2138CCNFP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F2138CCNFP#U0?
R5F2138CCNFP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F2138CCNFP#U0 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 R5F2138CCNFP#U0?
For technical support, including R5F2138CCNFP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F2138CCNFP#U0 requirements.
6.How does Aetrix verify that R5F2138CCNFP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F2138CCNFP#U0 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 R5F2138CCNFP#U0 meets industry standards.
7.What is the process for return or replacement of R5F2138CCNFP#U0?
All R5F2138CCNFP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F2138CCNFP#U0, 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 R5F2138CCNFP#U0 part is unused and in its original packaging.
Return procedure for R5F2138CCNFP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F2138CCNFP#U0 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…

