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

- Shipping:

Inventory:4,769
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F2138CMNFP#V0 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) for real-time control in consumer appliance motor drives and audio subsystems.
For engineers reviewing the R5F2138CMNFP#V0 datasheet, R5F2138CMNFP#V0 pinout, R5F2138CMNFP#V0 application, or R5F2138CMNFP#V0 equivalent, key selection criteria include its 80-pin LQFP package, integrated LIN hardware module (using Timer RA + UART0), 20-channel 10-bit ADC with sweep mode, dual 8-bit DAC outputs, and background operation (BGO) support for data flash reprogramming during runtime.
Technical Context
The R5F2138CMNFP#V0 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 integrates six independent timer modules (RA–RG), including Timer RD with complementary PWM for three-phase motor control, and supports multiple clock sources: external XIN (up to 20 MHz), XCIN (32 kHz), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator - all with oscillation stop detection and selectable frequency dividers (1/2/4/8/16).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC unit for efficient signal processing. |
| Memory | 128 KB flash program ROM + 10 KB data flash (4 × 1 KB blocks, BGO enabled) + 2.5 KB RAM. |
| ADC/DAC | 20-channel 10-bit ADC with sample-and-hold and sweep mode; dual 8-bit DAC outputs (DA0, DA1). |
| Timers | Timer RA/RB (8-bit), RC (16-bit, 4 capture/compare), RD (16-bit ×2, 6-PWM/complementary PWM), RE/RF/RG (real-time clock, input capture, phase counting). |
| Serial Interfaces | UART0/1/2 (I²C-capable on UART2), SSU/I²C bus (shared), hardware LIN module (Timer RA + UART0). |
| Supply & Temp | VCC = 1.8–5.5 V; operating ambient temperature −20°C to +85°C (N version); 6.5 mA typical @ 5 V/20 MHz. |
| Package | 80-pin LQFP (PLQP0080KB-A), RoHS-compliant, surface-mount compatible. |
Pinout & Package
Package: 80-pin LQFP (PLQP0080KB-A), 12 mm × 12 mm body, 0.5 mm pitch, exposed pad not specified.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_0–P0_7 | Analog input / D/A output / Timer I/O | AN0–AN7 inputs; DA0/DA1 outputs; TRCIOA/TRCTRG for Timer RC trigger and capture. |
| P1_0–P1_7 | Analog input / Key interrupt / Serial I/O | AN8–AN11 inputs; KI0–KI3 key interrupt pins; TXD0/RXD0 serial interface. |
| P2_0–P2_7 | Timer RD I/O / External clock | TRDIOA0–TRDIOD1 for 3-phase PWM drive; TRDCLK for external timing reference. |
| P4_2 | Analog reference input | VREF dedicated input pin for A/D converter reference voltage setting. |
| XIN/XOUT | High-frequency crystal interface | Supports 20 MHz external crystal or ceramic resonator for main system clock. |
| XCIN/XCOUT | Low-frequency crystal interface | 32 kHz crystal connection for real-time clock (Timer RE) and low-power modes. |
| RESET | Active-low reset input | Asynchronous reset assertion resets CPU, peripherals, and registers to power-on state. |
| MODE | Boot mode configuration | Must be pulled high via resistor to enable normal single-chip operation mode. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash supports erase/write during program execution - enables firmware updates without halting real-time control loops. |
| Hardware LIN Module | Dedicated LIN 2.0/2.1 support via Timer RA and UART0 - eliminates software bit-banging overhead and ensures protocol compliance. |
| Three-Phase Motor Control | Timer RD provides complementary PWM with dead-time insertion and synchronous reset - directly drives 6-pin inverter gate drivers. |
| Low-Power Operation | Wait mode current ≤3.5 µA (3 V, 32 kHz XCIN); stop mode ≤2.0 µA - extends battery life in portable audio and appliance standby states. |
| EMI/EMS Optimized Design | On-chip clock dividers, slew-rate controlled I/O, and voltage detection circuits reduce radiated emissions and improve noise immunity. |
Applications
| Audio Equipment Control | Home Appliance Motor Drive |
|---|---|
Use Scenario: Digital audio receiver with volume control, tone adjustment, and source switching. IC Role / Device Role / Timing Role: Main system controller managing UI, IR decoding, DAC output routing, and I²C-based codec configuration. Use Value: Integrated 20-channel ADC monitors front-panel potentiometers and sensors; dual 8-bit DACs generate analog bias voltages for op-amp stages. | Use Scenario: Brushless DC motor control in washing machine drum drive. IC Role / Device Role / Timing Role: Real-time motor commutation controller using Timer RD's complementary PWM and encoder feedback via Timer RG phase counting. Use Value: Hardware LIN interface communicates fault status to main MCU; data flash stores motor calibration profiles across power cycles. |
| Office Equipment Power Management | Consumer Equipment Sensor Hub |
Use Scenario: Standby power supervisor in multifunction printer with wake-on-LAN and button press detection. IC Role / Device Role / Timing Role: Low-power co-processor monitoring AC detect, lid open/close, and key inputs while main SoC sleeps. Use Value: 32 kHz RTC (Timer RE) maintains accurate timekeeping; voltage detection circuit triggers reset on brown-out events below 2.7 V. | Use Scenario: Environmental sensor aggregator in smart air purifier (temperature, humidity, PM2.5). IC Role / Device Role / Timing Role: Sensor interface hub collecting analog outputs, running fan speed PID, and communicating via UART to Wi-Fi module. Use Value: Sweep-mode ADC reads 20 channels sequentially without CPU intervention; data flash stores sensor calibration coefficients and usage logs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F2138AMNFP | 96 KB program ROM, 8 KB data flash, same 80-pin LQFP package and peripheral set. | Lower code density margin; suitable for cost-sensitive designs with smaller firmware footprint. | Select when application firmware fits within 96 KB and BOM cost reduction is prioritized over future scalability. |
| R5F2138CMDFP | Identical memory and peripherals, but rated for −40°C to +85°C industrial temperature range. | Required for outdoor or under-hood consumer equipment where extended thermal stability is mandatory. | Choose for deployments exceeding 85°C ambient or requiring guaranteed operation down to −40°C. |
Compared with R5F2138AMNFP, R5F2138CMNFP#V0 offers 32 KB more program ROM and 2 KB more data flash for complex control algorithms and field-upgradable parameters; compared with R5F2138CMDFP, it trades industrial temperature rating for lower cost in commercial-grade applications.
Availability
R5F2138CMNFP#V0 is available at Aetrix Electronics and suitable for audio equipment control, home appliance motor drive, and office equipment power management requiring stable component supply and long-term production continuity.
Supply support for R5F2138CMNFP#V0 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, and power solutions for automotive, industrial, and IoT markets.
The R8C/38M Group is designed for cost-effective, low-power embedded control in consumer electronics - emphasizing integrated peripherals (LIN, ADC, DAC, timers), EMI resilience, and seamless flash reprogramming in operational systems.
FAQ
What is the maximum operating frequency of the R5F2138CMNFP#V0?
The R5F2138CMNFP#V0 supports a maximum operating frequency of 20 MHz when powered at VCC = 2.7–5.5 V using the XIN clock source. At reduced supply voltages (1.8–5.5 V), the maximum frequency is 5 MHz. The high-speed on-chip oscillator is adjustable and usable as an alternative clock source without external components.
Does the R5F2138CMNFP#V0 support hardware LIN communication?
Yes, the R5F2138CMNFP#V0 includes a dedicated hardware LIN module compliant with LIN 2.0/2.1 standards, implemented using Timer RA and UART0. This offloads protocol handling from the CPU, ensures precise timing for break field and sync field generation, and supports automatic checksum calculation and error detection without software intervention.
How many analog input channels does the R5F2138CMNFP#V0 have, and what is their resolution?
The R5F2138CMNFP#V0 features a 10-bit successive approximation A/D converter with 20 analog input channels (AN0–AN19). It supports sample-and-hold functionality and sweep mode for automatic sequential conversion across selected channels, reducing CPU overhead during multi-sensor monitoring tasks.
What is the purpose of the data flash memory in the R5F2138CMNFP#V0?
The R5F2138CMNFP#V0 includes 4 × 1 KB blocks (10 KB total) of data flash memory with background operation (BGO) capability. This allows firmware to read from or write to data flash while executing application code - enabling safe storage of calibration data, device configuration, usage logs, or field-upgradable parameters without interrupting real-time control functions.
Is the R5F2138CMNFP#V0 pin-compatible with other members of the R8C/38M Group?
Yes, all R8C/38M Group MCUs, including R5F2138CMNFP#V0, share the identical 80-pin LQFP (PLQP0080KB-A) package and fully compatible pinout. Memory size, data flash capacity, and temperature grade vary across part numbers, but I/O assignment, peripheral mapping, and electrical characteristics remain consistent - enabling hardware reuse across firmware variants.
R5F2138CMNFP#V0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38M
- 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:
- 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:
R5F2138CMNFP#V0 FAQ
1.How can I place an order for R5F2138CMNFP#V0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F2138CMNFP#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 R5F2138CMNFP#V0 reliable?
The price and inventory of R5F2138CMNFP#V0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F2138CMNFP#V0 is usually 5 days.
3.What payment methods are accepted for R5F2138CMNFP#V0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F2138CMNFP#V0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F2138CMNFP#V0?
R5F2138CMNFP#V0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F2138CMNFP#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 R5F2138CMNFP#V0?
For technical support, including R5F2138CMNFP#V0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F2138CMNFP#V0 requirements.
6.How does Aetrix verify that R5F2138CMNFP#V0 is sourced from the original manufacturer or authorized distributors?
All R5F2138CMNFP#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 R5F2138CMNFP#V0 meets industry standards.
7.What is the process for return or replacement of R5F2138CMNFP#V0?
All R5F2138CMNFP#V0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F2138CMNFP#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 R5F2138CMNFP#V0 part is unused and in its original packaging.
Return procedure for R5F2138CMNFP#V0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F2138CMNFP#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…

