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

- Shipping:

Inventory:3,025
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F2138AWJFP from Renesas is a 16-bit R8C CPU core microcontroller with 96 KB program flash, 8 KB RAM, and 4 KB × 4 data flash with background operation (BGO). It integrates a single-channel CAN module compliant with ISO 11898-1, 20-channel 10-bit ADC, and six timer units including three-phase PWM-capable Timer RD. It targets automotive body control modules requiring CAN communication, sensor interfacing, and motor timing.
For engineers reviewing the R5F2138AWJFP datasheet, R5F2138AWJFP pinout, R5F2138AWJFP application, or R5F2138AWJFP equivalent, this MCU delivers deterministic real-time control in J-grade (-40°C to +85°C) 80-pin LQFP packaging with on-chip debug, voltage detection, and LIN support - critical for ECU design validation and production firmware updates.
Technical Context
The R5F2138AWJFP implements the R8C CPU core with 89 fundamental instructions and a 16×16→32-bit hardware multiplier, enabling efficient signal processing and control loop execution at 20 MHz (50 ns min instruction time). Its memory architecture separates program ROM, RAM, and data flash with BGO, allowing concurrent code execution and nonvolatile parameter updates.
Peripheral integration includes UART0/1/2 (with I²C and IE-bus modes), SSU, dual hardware LIN channels, and a full-featured CAN controller with 16 mailboxes. The 80-pin LQFP package supports 75 CMOS I/O ports with selectable pull-ups, 20 analog inputs, and dedicated timer output pins for three-phase motor drive waveforms.
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 - enables fast interrupt response and deterministic control loops. |
| Memory | 96 KB program flash, 8 KB RAM, 4 KB × 4 data flash with BGO - supports field-upgradable calibration data without halting execution. |
| CAN Interface | Single-channel ISO 11898-1-compliant CAN with 16 mailboxes - provides robust vehicle network communication for body electronics ECUs. |
| ADC | 10-bit resolution, 20 channels, sample-and-hold, sweep mode - captures multi-sensor inputs (temperature, position, voltage) synchronously. |
| Timers | Timer RD (16-bit × 2) with reset-synchronous & complementary PWM - generates precise three-phase motor drive signals with dead-time control. |
| Operating Range | -40°C to +85°C (J version), 2.7–5.5 V supply - meets automotive interior ambient and battery-voltage variation requirements. |
| Package | 80-pin LQFP (PLQP0080KB-A, 12 mm × 12 mm, 0.5 mm pitch) - compatible with standard SMT assembly and thermal management in compact ECUs. |
Pinout & Package
80-pin LQFP package (PLQP0080KB-A), 12 mm × 12 mm body, 0.5 mm pin pitch. Pin functions include dedicated CAN TX/RX (P6_1/P6_2), UART0/1/2, 20 ADC inputs (AN0–AN19), and 6 PWM outputs from Timer RD.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P6_1 / CTX0 | CAN Transmit Output | Drives differential CAN bus signal via external transceiver; requires 120 Ω termination at network ends. |
| P6_2 / CRX0 | CAN Receive Input | Accepts differential CAN bus signal; internal Schmitt trigger ensures noise immunity in automotive environments. |
| P0_0–P0_7, P1_0–P1_3, P7_0–P7_7 | ADC Input Channels (AN0–AN19) | Support simultaneous sampling across up to 20 sensors; internal reference (VREF) enables ratiometric measurements. |
| P2_0–P2_7, P3_0–P3_1, P8_0–P8_7 | PWM Output Pins (Timer RD) | Deliver complementary, synchronized, or reset-synchronous PWM waveforms for 3-phase inverter gate drivers. |
| P4_6 / XIN, P4_7 / XOUT | Crystal Oscillator Connection | Supports 1–20 MHz crystal; oscillation stop detection triggers fail-safe system reset. |
Key Features
| Feature | Design Value |
|---|---|
| On-chip Debug & Flash Rewrite | Enables in-system programming and real-time debugging without external emulators - reduces development cycle time and field update complexity. |
| Data Flash with BGO | Allows background erasure/programming of 4 KB × 4 data flash while executing application code - essential for logging fault data or updating calibration tables. |
| Hardware LIN Support | Dual LIN channels implemented via UART0/1 + timers RA0/RA1 - eliminates software LIN stack overhead and ensures strict timing compliance per LIN 2.x. |
| Voltage Detection Circuit | Configurable reset and interrupt on VCC drop below user-selectable threshold - prevents erratic behavior during brown-out conditions in automotive power systems. |
| Low-Power Operating Modes | Wait and stop modes reduce current to µA range; high-speed/low-speed on-chip oscillators enable rapid wake-up - extends battery life in always-on modules. |
Applications
| Body Control Module (BCM) | Seat Position Controller |
|---|---|
|
Use Scenario: Centralized control of door locks, windows, mirrors, and lighting in modern passenger vehicles. IC Role / Device Role / Timing Role: Main MCU managing CAN message routing, switch debouncing, PWM dimming, and LIN slave coordination. Use Value: Integrated CAN + LIN + 20-channel ADC enables single-chip consolidation of multiple sub-functions, reducing BOM count and PCB area. |
Use Scenario: Real-time monitoring and adjustment of electric seat position using potentiometers, limit switches, and motor current sensing. IC Role / Device Role / Timing Role: Sensor hub and motor driver controller with synchronized ADC sampling and complementary PWM generation. Use Value: Timer RD's reset-synchronous PWM ensures precise phase alignment for bidirectional DC motor control, preventing torque ripple. |
| Roof Module (Sunroof/Power Tilt) | Climate Control Actuator |
|
Use Scenario: Safe, calibrated movement of sunroof glass and tilt panels with obstacle detection and soft-stop logic. IC Role / Device Role / Timing Role: Safety-critical motion controller using ADC-based current sensing and CAN feedback to body domain controller. Use Value: On-chip voltage detection and watchdog timer with low-speed oscillator provide fail-safe shutdown during power anomalies or software hang. |
Use Scenario: Driving stepper or DC motors for air blend doors and mode flaps in HVAC systems with temperature and humidity feedback. IC Role / Device Role / Timing Role: Dedicated actuator MCU handling closed-loop position control via PWM and encoder input (Timer RG phase counting). Use Value: Timer RG's automatic 2-phase encoder counting offloads CPU, enabling accurate position tracking at <1% error over full travel range. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21388WJFP | 64 KB program flash, 6 KB RAM, same peripherals and package | Suitable for cost-sensitive BCMs with smaller firmware footprint and fewer calibration parameters | Select when application code size remains under 64 KB and data flash usage is limited to ≤4 KB × 4 |
| R5F2138CWJFP | 128 KB program flash, 10 KB RAM, identical peripheral set | Required for complex HVAC controllers or gateway modules needing larger protocol stacks and diagnostics memory | Choose when future firmware expansion, OTA update buffers, or ASAM-compliant diagnostics demand >96 KB flash |
Compared with R5F21388WJFP and R5F2138CWJFP, the R5F2138AWJFP offers optimal balance of flash capacity, RAM, and data flash for mid-tier automotive body electronics - avoiding over-provisioning while supporting full CAN/LIN feature sets and runtime parameter storage.
Availability
R5F2138AWJFP is available at Aetrix Electronics and suitable for automotive body control modules, seat position systems, roof modules, and climate actuator designs requiring stable component supply, long-term lifecycle assurance, and J-grade industrial temperature compliance.
Supply support for R5F2138AWJFP 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 R5F2138AWJFP, was designed for cost-effective, high-integration automotive body electronics with CAN/LIN connectivity, sensor fusion, and motor control - targeting ECU consolidation and functional safety readiness.
FAQ
What is the operating temperature range for the R5F2138AWJFP?
The R5F2138AWJFP is a J-version device rated for -40°C to +85°C ambient operating temperature, validated for use in automotive interior modules such as door control units and seat controllers where thermal stress is moderate but reliability is critical. This range aligns with AEC-Q100 Grade 2 requirements and supports deployment without external thermal derating.
Does the R5F2138AWJFP support background operation for data flash writes?
Yes, the R5F2138AWJFP includes a Background Operation (BGO) function for its 1 KB × 4 data flash blocks, enabling erase and write operations while the CPU executes application code from program flash. This capability is essential for logging diagnostic data or updating calibration values without interrupting real-time control tasks.
How many CAN mailboxes does the R5F2138AWJFP provide?
The R5F2138AWJFP features a single-channel CAN module compliant with ISO 11898-1 and provides 16 dedicated mailboxes for message transmission and reception. These mailboxes support prioritized acceptance filtering and flexible ID masking, enabling robust handling of mixed-standard CAN traffic in body domain networks.
Can the R5F2138AWJFP generate three-phase PWM waveforms?
Yes, the R5F2138AWJFP's Timer RD unit supports reset-synchronous PWM and complementary PWM modes, directly generating six synchronized PWM outputs (three high-side + three low-side) with programmable dead-time insertion - ideal for driving 3-phase inverter bridges in seat motor or HVAC blower applications.
Is on-chip debug supported on the R5F2138AWJFP?
Yes, the R5F2138AWJFP includes full on-chip debug functionality accessible via the on-chip debug interface, enabling breakpoints, watchpoints, register inspection, and flash programming without external emulators. This capability streamlines firmware development and field diagnostics for R5F2138AWJFP-based ECUs.
R5F2138AWJFP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- R8C/3x/38W
- 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:
- 96KB (96K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 8K 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:
R5F2138AWJFP#U0 FAQ
1.How can I place an order for R5F2138AWJFP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F2138AWJFP#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 R5F2138AWJFP#U0 reliable?
The price and inventory of R5F2138AWJFP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F2138AWJFP#U0 is usually 5 days.
3.What payment methods are accepted for R5F2138AWJFP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F2138AWJFP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F2138AWJFP#U0?
R5F2138AWJFP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F2138AWJFP#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 R5F2138AWJFP#U0?
For technical support, including R5F2138AWJFP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F2138AWJFP#U0 requirements.
6.How does Aetrix verify that R5F2138AWJFP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F2138AWJFP#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 R5F2138AWJFP#U0 meets industry standards.
7.What is the process for return or replacement of R5F2138AWJFP#U0?
All R5F2138AWJFP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F2138AWJFP#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 R5F2138AWJFP#U0 part is unused and in its original packaging.
Return procedure for R5F2138AWJFP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F2138AWJFP#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…

