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

- Shipping:

Inventory:2,834
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21348WKFP#W4 from Renesas is a 16-bit R8C CPU core MCU with 64 KB program flash, 6 KB data flash (BGO-enabled), 6 KB RAM, CAN 2.0B module (16 mailboxes, ISO 11898-1 compliant), and 12-channel 10-bit A/D converter - designed for automotive LAN and industrial FA control systems operating from −40°C to +125°C.
For engineers reviewing the R5F21348WKFP#W4 datasheet, R5F21348WKFP#W4 pinout, R5F21348WKFP#W4 application, or R5F21348WKFP#W4 equivalent, this page delivers verified specifications, validated pin functions, confirmed CAN/LIN timing roles, and real-world automotive/industrial use context - all derived from Renesas R01DS0012EJ0110 Rev.1.10.
Technical Context
The R5F21348WKFP#W4 implements the R8C CPU core with 89 fundamental instructions, 50 ns minimum instruction cycle at 20 MHz, and integrated 16×16→32-bit multiplier with MAC support. Its clock system includes XIN oscillator (crystal/resonator), high-speed on-chip oscillator (frequency-adjustable), and low-speed on-chip oscillator - enabling flexible power mode selection including wait and stop modes.
Peripheral integration centers on deterministic real-time control: Timer RD provides dual 16-bit PWM units with three-phase complementary output (6-pin), reset-synchronous PWM, and triangular/sawtooth modulation; CAN module supports mailbox-based message handling with dedicated TX/RX pins (CTX0/CRX0); LIN is hardware-implemented using UART0 and Timer RA.
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 deterministic real-time response in motor control loops. |
| Memory | 64 KB program flash + 1 KB × 4 data flash (BGO enabled) + 6 KB RAM - supports field firmware updates without halting application execution. |
| CAN Interface | 1-channel ISO 11898-1 compliant CAN 2.0B with 16 mailboxes - handles priority-based arbitration and error confinement in automotive networks. |
| A/D Converter | 10-bit resolution × 12 channels with sample-and-hold and sweep mode - captures synchronized analog sensor data across engine/temperature/pressure inputs. |
| Operating Range | −40°C to +125°C (K version), VCC = 2.7–5.5 V - qualified for under-hood automotive and industrial motor drive environments. |
| Timers | Timer RD ×2 (16-bit, 4 capture/compare registers each) with complementary PWM, reset-sync, and 3-phase waveform generation - drives gate drivers for BLDC/PMSM inverters. |
| Serial Interfaces | UART0 + UART2 (I²C/IEBus/multiprocessor modes) + SSU + hardware LIN - enables multi-protocol communication with ECUs, sensors, and actuators. |
Pinout & Package
Package: 48-pin LQFP (PLQP0048KB-A), 7 mm × 7 mm, 0.5 mm pitch - RoHS-compliant surface-mount package suitable for automated assembly in automotive PCBs.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P6_1 / CTX0 | CAN Transmit Output | Dedicated CAN bus driver output; requires external termination and ESD protection per ISO 11898-2. |
| P6_2 / CRX0 | CAN Receive Input | Dedicated CAN bus receiver input; high-impedance differential input compatible with common-mode noise rejection. |
| P1_4 / TXD0 | UART0 Transmit | Asynchronous serial output for debug console or LIN master communication (with Timer RA). |
| P1_5 / RXD0 | UART0 Receive | Asynchronous serial input supporting LIN slave response and host command parsing. |
| P4_5 / ADTRG | A/D External Trigger | Hardware-synchronized sampling trigger - aligns ADC conversion with PWM edge or timer event for precise current sensing. |
| P2_0 / TRDIOA0 | Timer RD Channel A0 I/O | Configurable as PWM output, input capture, or compare output - used for phase-A high-side gate drive control. |
| RESET | Active-Low Reset Input | Asynchronous reset assertion resets CPU, peripherals, and internal registers - must be held low ≥100 µs after power stabilization. |
| XIN / XOUT | Crystal Oscillator I/O | Supports 1–20 MHz crystal or ceramic resonator; XIN is input, XOUT is buffered output - defines system clock base for CAN timing accuracy. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erase/write while executing code from program flash - enables seamless over-the-air firmware patching in deployed vehicles. |
| Complementary PWM Mode | Timer RD generates matched high-/low-side PWM pairs with programmable dead time - prevents shoot-through in 3-phase inverter bridges. |
| Hardware LIN Module | Integrated LIN 2.1/2.2 support via UART0 + Timer RA - eliminates external LIN transceiver for cost-sensitive body control modules. |
| Voltage Detection Circuit | Three-level voltage monitor with selectable detection thresholds - triggers reset or interrupt on brown-out conditions before MCU instability occurs. |
| On-Chip Debug | Fully functional on-chip debug interface with flash rewrite capability - allows in-system programming and real-time variable inspection without external emulator. |
Applications
| Automotive Body Control Unit (BCU) | Industrial Motor Drive Controller |
|---|---|
Use Scenario: Centralized control of door locks, window lifts, mirrors, and lighting in passenger vehicles. IC Role / Device Role / Timing Role: Main MCU managing LIN slaves (door modules), CAN gateway to powertrain network, and analog sensor fusion (temperature, position). Use Value: Single-chip integration of CAN, LIN, 12-channel ADC, and BGO-capable data flash reduces BOM count and enables field-upgradable calibration tables. |
Use Scenario: Closed-loop speed/torque control of 3-phase BLDC motors in HVAC blowers or conveyor systems. IC Role / Device Role / Timing Role: Real-time PWM generator (Timer RD), current/voltage sensing interface (ADC with ADTRG), and CAN-based motion command reception. Use Value: Complementary PWM with dead-time insertion and hardware-triggered ADC sampling ensure precise, jitter-free motor commutation at 20 kHz switching frequency. |
| Automotive Power Distribution Module | Factory Automation I/O Hub |
Use Scenario: Smart fuse box managing load switching, short-circuit detection, and energy monitoring across vehicle subsystems. IC Role / Device Role / Timing Role: High-reliability CAN node with voltage detection, watchdog timer, and 64 KB flash for fault logging and diagnostics (UDS/OBD-II). Use Value: −40°C to +125°C operation and 16-mailbox CAN buffer enable robust communication during engine cranking and thermal stress events. |
Use Scenario: Distributed I/O controller collecting digital inputs, analog sensor data, and driving solenoids/relays in PLC-connected machinery. IC Role / Device Role / Timing Role: Deterministic interrupt handling (69 vectors, 7 priority levels) for real-time I/O scanning and CANopen device profile implementation. Use Value: DTC (Data Transfer Controller) offloads CPU during ADC sweeps and CAN mailbox transfers - freeing cycles for PID loop execution and safety monitoring. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21348WJFP | J version: −40°C to +85°C ambient rating; identical memory, peripherals, and pinout. | Suitable for cabin-mounted modules (e.g., infotainment, HVAC control) where under-hood temperature extremes are absent. | Select R5F21348WJFP when full automotive under-hood qualification is not required and cost optimization is prioritized. |
| R5F21347WKFP | 48 KB program flash (vs. 64 KB), same 6 KB data flash, identical K-temp grade and peripheral set. | Applicable where firmware footprint fits within 48 KB and future feature expansion headroom is limited. | Choose R5F21347WKFP if current software size is ≤45 KB and no planned feature additions demand extra flash space. |
Compared with R5F21348WKFP#W4, R5F21348WJFP trades extended temperature range for lower cost in non-under-hood roles, while R5F21347WKFP reduces flash capacity without altering thermal or peripheral capabilities - both retain full CAN, LIN, and PWM functionality for drop-in reuse in existing designs.
Availability
R5F21348WKFP#W4 is available at Aetrix Electronics and suitable for automotive body control, industrial motor drives, power distribution modules, and factory automation I/O hubs requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F21348WKFP#W4 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, power, and SoC solutions for automotive, industrial, and IoT markets.
The R8C/34W Group, including R5F21348WKFP#W4, was engineered for cost-sensitive, high-reliability automotive and industrial control applications requiring integrated CAN, LIN, precision analog, and deterministic real-time performance.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21348WKFP#W4?
The R5F21348WKFP#W4 operates at up to 20 MHz (f(XIN)) 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 multiple clock sources including external crystal, high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator - enabling dynamic power/performance scaling.
Does the R5F21348WKFP#W4 support background operation (BGO) for data flash writes?
Yes, the R5F21348WKFP#W4 includes background operation (BGO) for its 1 KB × 4 data flash blocks. This allows the CPU to execute application code from program flash while simultaneously erasing or programming data flash - essential for runtime parameter storage and firmware updates without system interruption.
Which pins are dedicated to the CAN interface on the R5F21348WKFP#W4?
The R5F21348WKFP#W4 uses P6_1 (CTX0) as the dedicated CAN transmit output and P6_2 (CRX0) as the dedicated CAN receive input. These pins are exclusively assigned to the CAN module and are not multiplexed with other primary peripherals - ensuring signal integrity and timing compliance with ISO 11898-1.
What is the A/D converter configuration of the R5F21348WKFP#W4?
The R5F21348WKFP#W4 integrates a 10-bit successive-approximation A/D converter with 12 input channels (AN0–AN11), sample-and-hold circuitry, and sweep mode for automatic channel sequencing. Conversion can be triggered by software, timer, or the dedicated ADTRG pin - enabling precise synchronization with PWM events in motor control applications.
How does the R5F21348WKFP#W4 implement hardware LIN communication?
The R5F21348WKFP#W4 implements hardware LIN using UART0 combined with Timer RA for baud rate generation and frame timing. This configuration supports LIN 2.1/2.2 protocols without external transceivers, reducing system cost and board space - ideal for slave nodes in automotive body electronics such as seat controllers or mirror modules.
R5F21348WKFP#W4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-LQFP
- Series:
- R8C/3x/34W
- Packaging:
- Tape & Reel (TR)
- 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:
- 43
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 6K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.7V ~ 5.5V
- Data Converters:
- A/D 12x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21348WKFP#W4 FAQ
1.How can I place an order for R5F21348WKFP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21348WKFP#W4 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 R5F21348WKFP#W4 reliable?
The price and inventory of R5F21348WKFP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21348WKFP#W4 is usually 5 days.
3.What payment methods are accepted for R5F21348WKFP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21348WKFP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21348WKFP#W4?
R5F21348WKFP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21348WKFP#W4 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 R5F21348WKFP#W4?
For technical support, including R5F21348WKFP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21348WKFP#W4 requirements.
6.How does Aetrix verify that R5F21348WKFP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F21348WKFP#W4 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 R5F21348WKFP#W4 meets industry standards.
7.What is the process for return or replacement of R5F21348WKFP#W4?
All R5F21348WKFP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21348WKFP#W4, 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 R5F21348WKFP#W4 part is unused and in its original packaging.
Return procedure for R5F21348WKFP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21348WKFP#W4 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…

