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

- Shipping:

Inventory:2,451
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F2138CWKFP#U0 from Renesas is an 80-pin LQFP 128 KB flash MCU in the R8C/38W Group, featuring an R8C CPU core with 16×16-bit multiplier, CAN 2.0B module (16 mailboxes), 10-bit 20-channel ADC, and data flash (1 KB × 4 blocks with BGO). It operates from 2.7–5.5 V at up to 20 MHz and targets automotive body control modules requiring CAN+LIN+PWM motor control.
For engineers reviewing the R5F2138CWKFP#U0 datasheet, R5F2138CWKFP#U0 pinout, R5F2138CWKFP#U0 application, or R5F2138CWKFP#U0 equivalent, key selection criteria include CAN conformance to ISO 11898-1, -40°C to +125°C K-version temperature rating, background operation for data flash updates, and integrated three-phase PWM generation via Timer RD.
Technical Context
The R5F2138CWKFP#U0 implements the R8C CPU core with 89 fundamental instructions and 50 ns minimum instruction cycle at 20 MHz. Its memory architecture includes 128 KB program ROM, 10 KB RAM, and four 1 KB data flash blocks supporting background operation during active program execution.
Peripheral integration centers on real-time control: Timer RD provides reset-synchronous and complementary PWM for three-phase inverters; UART2 supports I²C-bus mode; hardware LIN uses UART0/1 and timers RA0/RA1; and the CAN module complies fully with ISO 11898-1 for robust vehicle network communication.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C core with 16×16→32-bit multiplier and MAC instruction - enables fast motor control math without software overhead |
| Flash Memory | 128 KB program ROM + 4×1 KB data flash with BGO - allows firmware updates and parameter storage without halting main application |
| CAN Interface | 1 channel, 16 mailboxes, ISO 11898-1 compliant - supports full CAN 2.0B protocol for automotive body electronics and gateway functions |
| ADC | 10-bit resolution, 20 channels, sample-and-hold, sweep mode - captures analog sensor data across multiple inputs in single trigger sequence |
| PWM Capability | Timer RD delivers 6-pin reset-synchronous PWM and complementary PWM - drives three-phase BLDC motors with dead-time control and fault protection |
| Operating Temp | -40°C to +125°C (K version) - qualified for under-hood automotive applications and industrial motor drives |
| Supply Voltage | 2.7 V to 5.5 V - compatible with 3.3 V and 5 V system rails and tolerant of battery voltage fluctuations |
Pinout & Package
Package: 80-pin LQFP (PLQP0080KB-A), 12 mm × 12 mm, 0.5 mm pitch, exposed pad not specified.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P6_1 / CTX0 | CAN Transmit Output | Drives dominant/recessive CAN bus states; requires external 120 Ω termination and high-speed transceiver (e.g., TJA1042) |
| P6_2 / CRX0 | CAN Receive Input | Accepts differential CAN bus signals; internal comparator with hysteresis for noise immunity in automotive EMI environments |
| P0_0–P0_7 | ADC Input Channels AN0–AN7 | Eight dedicated analog inputs with shared sample-and-hold; support simultaneous sampling in sweep mode for multi-sensor monitoring |
| P2_0–P2_7, P3_0–P3_7 | Three-Phase PWM Outputs (TRDIOx) | Drive six output pins for complementary PWM waveforms; configured via Timer RD for synchronous three-phase inverter control |
| RESET | Active-Low Reset Input | Asynchronous reset with built-in power-on reset and voltage detection circuit - ensures reliable initialization during cold cranking or brownout |
Key Features
| Feature | Design Value |
|---|---|
| Integrated CAN + LIN | Single-chip support for both ISO 11898-1 CAN and hardware LIN (2 channels) - eliminates need for external protocol translators in body control units |
| Data Flash with BGO | Four 1 KB data flash blocks with background operation - enables over-the-air calibration updates while motor control loop runs uninterrupted |
| Three-Phase PWM Engine | Timer RD generates synchronized 6-pin PWM with programmable dead time, complementary outputs, and fault shutdown - meets functional safety requirements for BLDC drives |
| 10-Bit 20-Channel ADC | Includes sample-and-hold and sweep mode - acquires voltage, current, and temperature sensor data across all 20 channels in <10 μs per conversion |
| K-Version Temperature Range | -40°C to +125°C operating ambient - validated for engine bay placement and industrial servo amplifier applications without derating |
Applications
| Automotive Body Control Module | Industrial BLDC Motor Drive |
|---|---|
|
Use Scenario: Centralized control of door locks, window lifts, mirrors, and lighting in modern vehicles. IC Role / Device Role / Timing Role: Primary CAN node managing LIN sub-nodes (mirrors, seats) and executing PWM-based actuator control. Use Value: Integrated CAN 2.0B and dual hardware LIN reduce BOM count by two external protocol ICs; data flash stores personalized user settings across ignition cycles. |
Use Scenario: Closed-loop speed/torque control of 3-phase brushless DC motors in HVAC blowers and pumps. IC Role / Device Role / Timing Role: Real-time PWM generator and current-sensing ADC processor with CAN feedback to master controller. Use Value: Timer RD's reset-synchronous PWM ensures precise phase alignment; 10-bit ADC with sweep mode captures three shunt currents in one trigger for FOC algorithms. |
| Vehicle Gateway Unit | Smart Power Distribution Box |
|
Use Scenario: Protocol translation between high-speed CAN (powertrain) and low-speed CAN/LIN (body networks). IC Role / Device Role / Timing Role: Dual-CAN-capable MCU routing messages with configurable filtering and message buffering. Use Value: 16 mailbox CAN controller handles concurrent Tx/Rx without CPU intervention; K-version temp rating supports under-dash mounting near HVAC ducts. |
Use Scenario: Solid-state replacement for mechanical relays in 12 V/24 V vehicle power distribution panels. IC Role / Device Role / Timing Role: Current-monitoring ADC + CAN reporting + PWM-controlled MOSFET gate drivers for load switching. Use Value: On-chip voltage detection (VDD/VREF monitoring) and ADC enable real-time overload detection; data flash logs fault events for diagnostics. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F2138CXKFP | No data flash; same 128 KB ROM, CAN, K-temp rating, and package | Not suitable for field-upgradable calibration storage or EEPROM emulation | Select when CAN + motor control is required but persistent non-volatile parameter storage is handled externally |
| R5F2138CYKFP | Includes 1 KB × 4 data flash and BGO, but no CAN module | Cannot serve as CAN node; limited to LIN-only or standalone control applications | Choose when data logging and background flash writes are critical, but vehicle networking is handled by a separate CAN controller |
Compared with R5F2138CWKFP#U0, R5F2138CXKFP sacrifices data flash for identical CAN performance and cost reduction, while R5F2138CYKFP trades CAN capability for enhanced non-volatile data handling-making R5F2138CWKFP#U0 the only option combining both features in a single K-rated 80-pin device.
Availability
R5F2138CWKFP#U0 is available at Aetrix Electronics and suitable for automotive body control modules, industrial BLDC motor drives, vehicle gateway units, and smart power distribution boxes requiring stable component supply across extended temperature ranges.
Supply support for R5F2138CWKFP#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 is a global semiconductor leader specializing in microcontrollers, analog, and power solutions for automotive, industrial, and IoT markets.
The R8C/38W Group, including R5F2138CWKFP#U0, was designed for cost-sensitive, high-reliability automotive body electronics requiring integrated CAN, LIN, PWM, and ADC in a single chip.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F2138CWKFP#U0?
The R5F2138CWKFP#U0 operates at a maximum external clock frequency of 20 MHz with a supply voltage range of 2.7 V to 5.5 V. Its minimum instruction execution time is 50 ns under these conditions, and it supports internal high-speed and low-speed oscillators for flexible clock source selection without external crystals.
Does the R5F2138CWKFP#U0 support background operation for data flash writes?
Yes, the R5F2138CWKFP#U0 includes a background operation (BGO) function for its 1 KB × 4 data flash blocks. This allows firmware or calibration data to be rewritten while the main application continues executing - critical for over-the-air updates in automotive ECUs without interrupting real-time control loops.
How many CAN mailboxes does the R5F2138CWKFP#U0 provide, and what standard does it comply with?
The R5F2138CWKFP#U0 provides 16 dedicated CAN mailboxes and fully conforms to ISO 11898-1 for CAN 2.0B protocol implementation. This enables robust message filtering, prioritization, and transmission scheduling essential for automotive network nodes such as body control modules and gateways.
What PWM capabilities does the R5F2138CWKFP#U0 offer for motor control applications?
The R5F2138CWKFP#U0 delivers advanced motor control PWM via Timer RD, supporting reset-synchronous PWM (6-pin three-phase waveforms), complementary PWM with programmable dead time, and PWM3 mode. These features directly enable precise BLDC and PMSM inverter control without external timer co-processors.
Is the R5F2138CWKFP#U0 qualified for automotive under-hood applications?
Yes, the R5F2138CWKFP#U0 is the K-version part rated for -40°C to +125°C operating ambient temperature and designed to meet automotive reliability standards. Its integrated voltage detection, CAN physical layer support, and EMI/EMS-optimized design make it suitable for under-hood placement in body control and power distribution systems.
R5F2138CWKFP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38W
- Packaging:
- Tray
- Product Status:
- Not For New Designs
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- CANbus, 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):
- 2.7V ~ 5.5V
- Data Converters:
- A/D 20x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F2138CWKFP#U0 FAQ
1.How can I place an order for R5F2138CWKFP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F2138CWKFP#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 R5F2138CWKFP#U0 reliable?
The price and inventory of R5F2138CWKFP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F2138CWKFP#U0 is usually 5 days.
3.What payment methods are accepted for R5F2138CWKFP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F2138CWKFP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F2138CWKFP#U0?
R5F2138CWKFP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F2138CWKFP#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 R5F2138CWKFP#U0?
For technical support, including R5F2138CWKFP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F2138CWKFP#U0 requirements.
6.How does Aetrix verify that R5F2138CWKFP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F2138CWKFP#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 R5F2138CWKFP#U0 meets industry standards.
7.What is the process for return or replacement of R5F2138CWKFP#U0?
All R5F2138CWKFP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F2138CWKFP#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 R5F2138CWKFP#U0 part is unused and in its original packaging.
Return procedure for R5F2138CWKFP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F2138CWKFP#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…

