Renesas R5F21238JFP#U1
- Part No.:
- R5F21238JFP#U1
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 48-LQFP
- Datasheet:
-
R5F21238JFP#U1.pdf
- Description:
- IC MCU 16BIT 64KB FLASH 48LFQFP
- Quantity:
- Payment:

- Shipping:

Inventory:2,214
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21238JFP from Renesas Electronics is a 16-bit R8C/23 Group microcontroller featuring the R8C CPU core, 64 KB flash program memory, 3 KB RAM, and embedded 2 KB data flash (1 KB × 2 blocks). It integrates a CAN 2.0B module (16-message buffer), 12-channel 10-bit A/D converter, dual UARTs, I²C bus interface, hardware LIN, and multiple timers-including two 16-bit timer RD channels with input capture/output compare-targeting automotive body control and industrial FA networking applications.
For engineers reviewing the R5F21238JFP datasheet, R5F21238JFP pinout, R5F21238JFP application, or R5F21238JFP equivalent, this MCU delivers deterministic real-time control with CAN+LIN coexistence, on-chip voltage detection and power-on reset, -40°C to +85°C operation, and LQFP-48 packaging compatible with standard surface-mount assembly processes.
Technical Context
The R5F21238JFP implements the R8C 16-bit CISC CPU core with 89 fundamental instructions and executes at 50 ns minimum instruction time (20 MHz XIN, 3.0–5.5 V). Its memory architecture includes unified 1 Mbyte address space, split between program ROM (64 KB), data flash (2 KB), and SRAM (3 KB), with dedicated SFR areas for CAN (01300h–0147Fh) and peripheral control.
Peripheral integration centers on deterministic communication and sensing: one CAN 2.0B controller with 16-slot message RAM, dual UARTs (UART0 with LIN support via Timer RA, UART1 standalone), I²C master/slave, 12-channel 10-bit SAR ADC with internal reference options, and four independent timer modules (RA/RB/RE: 8-bit; RD: 16-bit ×2 with prescaler and capture/compare).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit CISC with 89 instructions; enables compact, efficient firmware for resource-constrained automotive ECUs. |
| Flash Memory | 64 KB program ROM + 2 KB data flash (1 KB × 2 blocks); supports in-system reprogramming and parameter storage without external EEPROM. |
| RAM | 3 KB on-chip SRAM; sufficient for real-time task stacks, CAN message buffers, and LIN protocol state variables. |
| CAN Interface | Single CAN 2.0B controller with 16-message RAM; handles full automotive network node responsibilities including arbitration, filtering, and error handling. |
| A/D Converter | 10-bit SAR ADC with 12 analog inputs; provides sufficient resolution for sensor monitoring (e.g., temperature, voltage, position) in vehicle subsystems. |
| Operating Voltage | 3.0 V to 5.5 V supply range; compatible with standard 5 V automotive and industrial power rails and tolerant of battery transients. |
| Temperature Range | -40°C to +85°C (J version); certified for under-hood and cabin-mounted automotive electronics per Renesas Standard grade. |
| Package | 48-pin LQFP (PLQP0048KB-A, 7 mm × 7 mm, 0.5 mm pitch); supports automated optical inspection and reflow soldering in high-volume production. |
Pinout & Package
Package: 48-pin plastic LQFP (PLQP0048KB-A), 7 mm × 7 mm body, 0.5 mm pin pitch, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC/AVCC (Pin 11) | Power supply input | Primary digital and analog supply rail; requires local decoupling to ensure stable core and ADC operation. |
| VSS/AVSS (Pin 9) | Ground reference | Digital and analog ground return; separate AVSS routing recommended for ADC noise immunity. |
| XIN (Pin 10), XOUT (Pin 8) | Crystal oscillator interface | Supports external crystal (1–20 MHz) or ceramic resonator; XOUT is output-only and must not be loaded. |
| RESET (Pin 7) | Active-low reset input | Asynchronous reset assertion clears CPU registers and initializes peripherals; pulled high externally via resistor. |
| CTX0 (Pin 43), CRX0 (Pin 42) | CAN differential transmitter/receiver | Direct connection to CAN transceiver; CTX0 drives dominant/recessive states, CRX0 samples bus level. |
| AN0–AN11 (Pins 36–47, 24, 28–30) | Analog input channels | 12 single-ended inputs for 10-bit ADC; share pins with GPIO and require software configuration before conversion. |
| RXD0/TXD0 (Pins 22/23) | UART0 serial interface | Full-duplex asynchronous communication; RXD0 also serves as LIN bus input when Timer RA is configured for LIN mode. |
| SCL/SDA (Pins 1/3) | I²C bus interface | Open-drain bidirectional lines supporting standard/fast-mode I²C; require external pull-up resistors to VCC. |
Key Features
| Feature | Design Value |
|---|---|
| Integrated CAN 2.0B Controller | 16-message RAM buffer with acceptance filtering and automatic retransmission reduces host CPU overhead in automotive networks. |
| Data Flash (2 KB) | Two independent 1 KB blocks with 10,000 erase/write cycles enable reliable storage of calibration data, fault logs, or configuration parameters. |
| Hardware LIN Module | Timer RA + UART0 combination implements ISO 9141-2/SAE J2602 LIN 2.0 slave functionality without firmware bit-banging. |
| On-Chip Voltage Detection | Detects supply drops below programmable threshold (e.g., brown-out) and triggers reset or interrupt, eliminating need for external supervisor IC. |
| Multiple Low-Power Modes | HALT, STOP, and sub-idle modes with selective peripheral clock gating reduce current to µA-range during sleep, extending battery life in remote nodes. |
| Programmable Clock Sources | External crystal (1–20 MHz), high-speed on-chip oscillator (adjustable 1–20 MHz), and low-speed on-chip oscillator (125 kHz) provide flexible timing across operating conditions. |
Applications
| Automotive Body Control Unit | Industrial Fieldbus Node |
|---|---|
|
Use Scenario: Centralized control of door locks, window lifts, mirror adjustment, and interior lighting in passenger vehicles. IC Role / Device Role / Timing Role: Primary MCU executing LIN slave protocols for actuators and CAN master for gateway communication with instrument cluster. Use Value: Single-chip integration of CAN 2.0B and hardware LIN eliminates external protocol translators and reduces BOM cost and PCB area. |
Use Scenario: Distributed I/O module collecting sensor data (temperature, pressure, flow) and actuating valves/motors in factory automation systems. IC Role / Device Role / Timing Role: Real-time controller managing time-critical CAN messaging, 12-channel analog acquisition, and UART-based HMI updates. Use Value: 10-bit ADC with 12 inputs and deterministic 50 ns instruction timing ensure accurate, jitter-free process monitoring and response. |
| Smart HVAC Actuator | Vehicle Diagnostic Tool Interface |
|
Use Scenario: Motor-driven damper and blend door positioning in automotive climate control systems. IC Role / Device Role / Timing Role: Embedded motion controller using Timer RD input capture for encoder feedback and PWM output for motor drive. Use Value: Two 16-bit timer RD channels with input capture and output compare enable precise closed-loop position control without external timers. |
Use Scenario: Handheld or benchtop tool communicating with ECU diagnostic ports via CAN and K-line (ISO 9141-2). IC Role / Device Role / Timing Role: Protocol bridge translating USB/RS232 commands to CAN frames and LIN/K-line physical layer signals. Use Value: Dual UARTs-one configured for LIN/K-line with Timer RA, one for CAN debug logging-support concurrent multi-protocol diagnostics. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21238KFP | Same core, memory, and peripherals but rated for -40°C to +125°C operation; uses identical PLQP0048KB-A package. | Required for engine bay or transmission control where ambient exceeds +85°C. | Select R5F21238KFP only if extended temperature qualification is mandatory; otherwise R5F21238JFP suffices for cabin/body applications. |
| R5F21228JFP | Identical R8C/2x platform and package but belongs to R8C/22 Group-lacks 2 KB data flash; same 64 KB program ROM and 3 KB RAM. | Suitable where field-updatable parameters are stored externally or not required. | Choose R5F21228JFP to reduce cost when data flash is unnecessary; R5F21238JFP adds nonvolatile parameter storage capability. |
Compared with R5F21238KFP, the R5F21238JFP trades extended temperature range for lower cost and qualification effort in cabin applications; compared with R5F21228JFP, it adds 2 KB of data flash for robust in-field calibration and fault logging without external components.
Availability
R5F21238JFP is available at Aetrix Electronics and suitable for automotive body electronics, industrial fieldbus nodes, and smart HVAC actuation requiring stable component supply, long-term lifecycle support, and traceable sourcing.
Supply support for R5F21238JFP 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 formed in 2010 through the merger of NEC Electronics and Renesas Technology, specializing in microcontrollers, analog, and power solutions.
The R8C/23 Group, including R5F21238JFP, was designed for cost-sensitive, real-time automotive and industrial control applications requiring integrated CAN, LIN, and analog interfaces in compact LQFP packages.
FAQ
What is the maximum operating frequency of the R5F21238JFP?
The R5F21238JFP supports a maximum external crystal frequency of 20 MHz, enabling a minimum instruction execution time of 50 ns under 3.0–5.5 V supply conditions. Its high-speed on-chip oscillator is adjustable from 1–20 MHz, providing flexibility for applications where external crystals are undesirable. The R5F21238JFP maintains full peripheral functionality-including CAN and ADC-at this maximum frequency.
Does the R5F21238JFP include on-chip debugging support?
Yes, the R5F21238JFP includes on-chip debugging circuitry compatible with Renesas E8/E8a emulators. Debug access uses dedicated pins (including MODE and RESET) and reserves address ranges 20000h–23FFFh for emulator use-these addresses must not be used by application code. The R5F21238JFP supports breakpoints, watchpoints, and real-time variable monitoring without requiring external JTAG hardware.
How is the data flash organized in the R5F21238JFP?
The R5F21238JFP contains 2 KB of data flash, implemented as two independent 1 KB blocks located at memory addresses 02400h–027FFh and 02800h–02BFFh. Each block supports 10,000 erase/write cycles and can be programmed/erased separately under VCC = 2.7–5.5 V. This structure allows wear leveling and safe parameter storage in the R5F21238JFP without affecting program ROM integrity.
Can the R5F21238JFP operate from a 3.3 V supply?
Yes, the R5F21238JFP operates over a supply range of 3.0 V to 5.5 V, making it fully compatible with 3.3 V systems. At 3.3 V, the maximum supported XIN frequency is reduced to approximately 13 MHz (per Renesas electrical characteristics derating), but all peripherals-including CAN, UARTs, and ADC-remain functional. The R5F21238JFP's voltage detection circuit can be configured to monitor 3.3 V rails directly.
What peripheral modules share pins with general-purpose I/O on the R5F21238JFP?
Multiple peripherals share pins with GPIO on the R5F21238JFP, including CAN (CTX0/CRX0), UART (RXD0/TXD0, RXD1/TXD1), I²C (SCL/SDA), LIN (RXD0 with Timer RA), and ADC (AN0–AN11). Pin function selection is controlled via peripheral enable bits and port mode registers-enabling a peripheral automatically overrides the corresponding GPIO function. The R5F21238JFP requires careful pin multiplexing planning during schematic design to avoid conflicts.
R5F21238JFP#U1 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-LQFP
- Series:
- R8C/2x/23
- 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, Voltage Detect, WDT
- Number of I/O:
- 41
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 2K x 8
- RAM Size:
- 3K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.7V ~ 5.5V
- Data Converters:
- A/D 12x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21238JFP#U1 FAQ
1.How can I place an order for R5F21238JFP#U1 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21238JFP#U1 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 R5F21238JFP#U1 reliable?
The price and inventory of R5F21238JFP#U1 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21238JFP#U1 is usually 5 days.
3.What payment methods are accepted for R5F21238JFP#U1?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21238JFP#U1 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21238JFP#U1?
R5F21238JFP#U1 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21238JFP#U1 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 R5F21238JFP#U1?
For technical support, including R5F21238JFP#U1 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21238JFP#U1 requirements.
6.How does Aetrix verify that R5F21238JFP#U1 is sourced from the original manufacturer or authorized distributors?
All R5F21238JFP#U1 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 R5F21238JFP#U1 meets industry standards.
7.What is the process for return or replacement of R5F21238JFP#U1?
All R5F21238JFP#U1 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21238JFP#U1, 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 R5F21238JFP#U1 part is unused and in its original packaging.
Return procedure for R5F21238JFP#U1:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21238JFP#U1 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…

