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

- Shipping:

Inventory:4,407
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F2138CWJFP from Renesas Electronics is an 80-pin LQFP 128 KB flash MCU in the R8C/38W Group, featuring an R8C CPU core, single-channel CAN interface (ISO 11898-1), 1 KB × 4 data flash with background operation (BGO), 10-bit 20-channel ADC, and six 16-bit timers including RD (dual 16-bit PWM with three-phase output) for automotive body control and industrial LAN applications.
For engineers reviewing the R5F2138CWJFP datasheet, R5F2138CWJFP pinout, R5F2138CWJFP application, or R5F2138CWJFP equivalent, key selection criteria include CAN bus integration, data flash BGO support, -40°C to +85°C operating range (J version), 80-pin LQFP package compatibility, and peripheral set alignment with vehicle ECU and factory automation node designs.
Technical Context
The R5F2138CWJFP implements the R8C CPU core with 89 fundamental instructions and a 16×16→32-bit hardware multiplier, enabling deterministic 50 ns minimum instruction execution at 20 MHz. Its memory architecture includes 128 KB program ROM, 10 KB RAM, and four 1 KB data flash blocks supporting background erase/write during program execution.
Peripheral integration centers on real-time control: Timer RD provides dual 16-bit channels with reset-synchronous and complementary PWM modes for motor drive; the CAN module offers 16 mailboxes and full ISO 11898-1 compliance; UART0/1/2 plus SSU and dual hardware LIN support enable multi-protocol communication in constrained embedded nodes.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C core with 16×16→32-bit multiplier and 50 ns min. instruction time at 20 MHz - enables high-efficiency real-time math for sensor fusion and actuator control. |
| Memory | 128 KB flash ROM + 1 KB × 4 data flash with BGO - allows firmware updates and parameter storage without halting application execution. |
| CAN Interface | Single-channel, ISO 11898-1 compliant, 16 mailbox FIFO - supports robust vehicle network messaging with hardware arbitration and error handling. |
| ADC | 10-bit resolution, 20 input channels, sample-and-hold, sweep mode - captures analog sensor data (e.g., temperature, voltage, current) across multiple points synchronously. |
| Timers | Timer RD (dual 16-bit) with reset-synchronous/complementary PWM - generates precise three-phase waveforms for BLDC motor control with dead-time insertion. |
| Package & Temp | 80-pin LQFP (PLQP0080KB-A), -40°C to +85°C (J version) - meets automotive interior and industrial control mechanical and thermal requirements. |
| Power | 2.7–5.5 V supply, typical 7 mA at 5.0 V/20 MHz - enables direct connection to 5 V rails and low-power operation in battery-backed systems. |
Pinout & Package
Package: 80-pin LQFP (PLQP0080KB-A), 0.50 mm pitch, 12 mm × 12 mm body, exposed pad not specified. Pin functions are multiplexed and configurable via register settings per the R8C/38W Group specification.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_0–P0_7 | Analog inputs AN0–AN7 | Primary ADC channel group; shared with general-purpose I/O and serial functions - enables sensor interface consolidation. |
| P1_0–P1_3 | Key input (KI0–KI3) + AN8–AN11 | Dedicated wake-up-capable inputs for low-power keypad sensing with integrated analog front-end. |
| P6_1/P6_2 | CTX0/CRX0 | Dedicated CAN transceiver interface pins - require external CAN PHY; isolated from other peripherals for noise immunity. |
| P3_4/P3_5/P3_7 | UART2 (RXD2/TXD2/SSCK) | Shared I²C-bus (SCL2/SDA2), IE-bus, and clock sync I/O - supports flexible communication protocol selection on one port group. |
| P4_6/P4_7 | XIN/XOUT | Crystal oscillator input/output for precision timing; supports 1–20 MHz external crystal or ceramic resonator. |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; compatible with external reset ICs and power-on reset circuits. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erase/write while CPU executes code - eliminates interrupt latency during firmware updates or calibration storage. |
| Three-Phase PWM Generation | Timer RD's reset-synchronous and complementary modes generate synchronized 6-pin outputs with programmable dead time - directly drives 3-phase inverter gate drivers. |
| Hardware LIN Support | Two independent LIN channels using UART0/1 + timers RA0/RA1 - enables dual LIN slave nodes (e.g., door module + seat control) without software protocol overhead. |
| Voltage Detection Circuit | Configurable voltage detection level (VDD monitor) with power-on reset and selectable trip point - ensures reliable brown-out recovery in automotive 12 V systems. |
| On-Chip Debug | Fully integrated debug interface with flash rewrite capability - supports in-system programming and real-time variable inspection without external emulator. |
Applications
| Body Control Module (BCM) | Industrial CAN Node |
|---|---|
|
Use Scenario: Centralized control of lighting, windows, locks, and mirrors in passenger vehicles. IC Role / Device Role / Timing Role: Main controller executing CAN message routing, PWM dimming, and analog sensor acquisition. Use Value: Integrated CAN + 20-channel ADC + BGO data flash enables single-chip implementation with field-upgradable calibration tables. |
Use Scenario: Distributed I/O node in factory automation networks communicating via CANopen. IC Role / Device Role / Timing Role: Protocol-aware edge controller managing discrete I/O, analog monitoring, and CAN message framing. Use Value: Hardware CAN mailbox management and 69-interrupt vector prioritization ensure deterministic response to network events. |
| Motor Drive Interface | Automotive LIN Subsystem |
|
Use Scenario: Gate driver interface for 3-phase BLDC motors in HVAC blowers or power steering assist. IC Role / Device Role / Timing Role: PWM waveform generator with complementary outputs and dead-time control. Use Value: Timer RD's reset-synchronous PWM mode delivers synchronized 6-pin outputs for inverter bridge control without CPU intervention. |
Use Scenario: Seat position memory and mirror adjustment subsystem linked via LIN to main BCM. IC Role / Device Role / Timing Role: Dual hardware LIN slave with automatic checksum, sync-break detection, and sleep/wake management. Use Value: Offloads LIN protocol stack from host MCU, reducing firmware complexity and improving bus timing accuracy. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F2138AWJFP | 96 KB program ROM, same 1 KB × 4 data flash, identical CAN and timer peripherals | Lower firmware footprint requirement; suitable for cost-sensitive BCM variants with reduced feature set | Select when application code size fits within 96 KB and no additional ROM headroom is needed. |
| R5F2138CXJFP | R8C/38X Group: same 128 KB ROM, no data flash, identical CAN/peripherals | Lacks BGO data flash - unsuitable for runtime parameter logging or field calibration updates | Choose only if data flash functionality is unnecessary and CAN + LIN + PWM features are primary requirements. |
Compared with R5F2138AWJFP and R5F2138CXJFP, the R5F2138CWJFP uniquely combines maximum program ROM (128 KB), full data flash BGO capability, and CAN/LIN/PWM integration - making it optimal for feature-rich automotive ECUs requiring both code space and nonvolatile parameter storage.
Availability
R5F2138CWJFP is available at Aetrix Electronics and suitable for automotive body electronics, industrial CAN networks, motor control interfaces, and LIN subsystems requiring stable component supply across extended lifecycle programs.
Supply support for R5F2138CWJFP 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 R5F2138CWJFP, was designed for cost-effective, real-time automotive body control and industrial network nodes requiring CAN, LIN, PWM, and analog sensing in a single chip.
FAQ
What is the operating temperature range for R5F2138CWJFP?
The R5F2138CWJFP is the J-version device, rated for operation from -40°C to +85°C ambient temperature. This range aligns with automotive interior and industrial control environments where extended thermal stability is required without high-temperature qualification costs. The K-version (e.g., R5F2138CWKFP) extends to +125°C for under-hood applications.
Does R5F2138CWJFP support background operation for data flash writes?
Yes, R5F2138CWJFP includes a dedicated Background Operation (BGO) function for its 1 KB × 4 data flash blocks. This allows the CPU to execute application code while simultaneously erasing or programming data flash - essential for logging fault data or updating calibration parameters without interrupting real-time control loops.
How many CAN mailboxes does R5F2138CWJFP provide?
R5F2138CWJFP provides 16 dedicated CAN mailboxes in its single-channel CAN module, conforming to ISO 11898-1. These mailboxes support hardware-based message filtering, priority arbitration, and FIFO buffering - enabling efficient reception and transmission of multiple CAN identifiers without CPU polling overhead.
What timer peripherals in R5F2138CWJFP support three-phase motor control?
Timer RD in R5F2138CWJFP supports three-phase motor control via two 16-bit channels with reset-synchronous PWM and complementary PWM modes. These modes generate precisely timed, phase-shifted 6-pin outputs with configurable dead time - directly driving gate drivers for BLDC or PMSM inverters without external logic.
Is R5F2138CWJFP pin-compatible with other R8C/38x Group MCUs?
R5F2138CWJFP uses the PLQP0080KB-A 80-pin LQFP package shared across all R8C/38W/X/Y/Z Group devices. While pinout is identical, functional differences exist: only W and X Groups include CAN; only W and Y Groups include data flash. Therefore, R5F2138CWJFP is mechanically pin-compatible but not functionally drop-in with non-W Group variants.
R5F2138CWJFP#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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F2138CWJFP#U0 FAQ
1.How can I place an order for R5F2138CWJFP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F2138CWJFP#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 R5F2138CWJFP#U0 reliable?
The price and inventory of R5F2138CWJFP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F2138CWJFP#U0 is usually 5 days.
3.What payment methods are accepted for R5F2138CWJFP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F2138CWJFP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F2138CWJFP#U0?
R5F2138CWJFP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F2138CWJFP#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 R5F2138CWJFP#U0?
For technical support, including R5F2138CWJFP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F2138CWJFP#U0 requirements.
6.How does Aetrix verify that R5F2138CWJFP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F2138CWJFP#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 R5F2138CWJFP#U0 meets industry standards.
7.What is the process for return or replacement of R5F2138CWJFP#U0?
All R5F2138CWJFP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F2138CWJFP#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 R5F2138CWJFP#U0 part is unused and in its original packaging.
Return procedure for R5F2138CWJFP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F2138CWJFP#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…

