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

- Shipping:

Inventory:4,946
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21346YKFP#W4 from Renesas is a 32 KB program ROM, 1 KB × 4 data flash, 2.5 KB RAM 16-bit R8C/34Y Group MCU in 48-pin LQFP (PLQP0048KB-A), operating from −40°C to +125°C. It integrates an R8C CPU core with 16×16→32-bit multiplier, 10-bit × 12-channel ADC with sample-and-hold and sweep mode, dual UARTs (one supporting I²C-bus mode), SSU, hardware LIN, and timer peripherals including two 16-bit RD timers for three-phase PWM generation.
For engineers reviewing the R5F21346YKFP#W4 datasheet, R5F21346YKFP#W4 pinout, R5F21346YKFP#W4 application, or R5F21346YKFP#W4 equivalent, key selection considerations include its K-version extended temperature rating, background operation (BGO) support for data flash, absence of CAN module (distinguishing it from W/X variants), and suitability for automotive body control modules requiring robust non-volatile parameter storage and motor timing control.
Technical Context
The R5F21346YKFP#W4 implements the R8C CPU core with 89 fundamental instructions and 50 ns minimum instruction execution time at 20 MHz XIN clock. Its memory subsystem includes on-chip flash with 10,000 write/erase cycles for data flash and 1,000 cycles for program ROM, plus BGO capability enabling concurrent code execution and flash reprogramming.
Peripheral integration centers on deterministic real-time control: Timer RD provides reset-synchronous and complementary PWM modes for three-phase motor drive (6-pin output), while UART2 supports I²C-bus communication and multiprocessor mode, and the LIN module uses UART0 and Timer RA for ISO 17987-compliant serial networking without software overhead.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 16×16→32-bit hardware multiplier and multiply-accumulate instruction |
| Memory | 32 KB program ROM, 1 KB × 4 data flash (10,000 cycles), 2.5 KB RAM |
| ADC | 10-bit resolution × 12 channels with sample-and-hold and sweep mode for multi-sensor acquisition |
| Timers | Timer RD × 2 (16-bit, 4 capture/compare registers each) supporting three-phase PWM with sawtooth/triangular modulation |
| Serial Interfaces | UART0 (LIN), UART2 (I²C-bus, IE-bus, multiprocessor mode), SSU (synchronous serial) |
| Operating Range | −40°C to +125°C (K version), VCC = 2.7–5.5 V, f(XIN) = 20 MHz max |
| Power Consumption | Typ. 7 mA at VCC = 5.0 V, f(XIN) = 20 MHz in standard operating mode |
Pinout & Package
Package: 48-pin LQFP (PLQP0048KB-A), 7 mm × 7 mm, 0.5 mm pitch, lead-free and RoHS compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_0–P0_7 | Analog input / CMOS I/O | 12-channel ADC inputs (AN0–AN7) with selectable pull-up; general-purpose I/O with key interrupt support |
| P1_0–P1_3 | Key interrupt / analog input | KI0–KI3 inputs for low-power wake-up; AN8–AN11 additional ADC channels |
| P2_0–P2_7 | Timer RD I/O | TRDIOA0–TRDIOD1 and TRDCLK pins for six-phase PWM output and external clock synchronization |
| P3_3–P3_5, P3_7 | UART2 / SSU / LIN | CTS2/RTS2 flow control, SCL2/SDA2 I²C-bus, SSO/SSCK/SSI for synchronous serial, and LIN transceiver interface |
| P4_2 | VREF input | Analog reference voltage input for ADC, dedicated input-only pin |
| P6_0–P6_7 | Timer RA/RC I/O / interrupts | TREO clock output, TRCIOA–TRCIOD for capture/compare, INT2–INT4 for priority-level interrupts |
| XIN/XOUT | Crystal oscillator interface | Supports ceramic resonator or crystal up to 20 MHz; includes oscillation stop detection |
| RESET | Active-low reset input | Hardware reset assertion; integrated power-on reset and voltage detection circuit (VDD monitor) |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Enables real-time firmware updates and parameter logging without halting CPU execution via data flash |
| Three-Phase PWM Generation | Timer RD supports reset-synchronous and complementary PWM modes for precise 6-pin motor gate drive with dead-time control |
| Hardware LIN Protocol Support | Dedicated LIN module using UART0 and Timer RA eliminates software protocol stack overhead and ensures timing compliance |
| Extended Temperature Range | K-version qualification (−40°C to +125°C) enables deployment in under-hood automotive environments |
| Multi-Mode Serial Connectivity | UART2 configurable as UART, I²C-bus master/slave, or IE-bus node-reducing external level-shifting components |
Applications
| Body Control Module (BCM) | Electric Power Steering (EPS) Sensor Interface |
|---|---|
Use Scenario: Centralized vehicle subsystem controller managing lighting, wipers, door locks, and HVAC actuators. IC Role / Device Role / Timing Role: Main MCU executing real-time control logic, ADC-based sensor monitoring, and LIN communication with slave nodes. Use Value: Integrated data flash stores calibration data and fault logs across power cycles; BGO allows field updates without system downtime. | Use Scenario: Acquisition and preprocessing of torque, angle, and motor current signals in EPS assist systems. IC Role / Device Role / Timing Role: High-accuracy ADC front-end with synchronized sampling; Timer RD generates precise PWM for motor phase control. Use Value: 10-bit ADC with sample-and-hold captures fast-changing analog signals; three-phase PWM modes ensure balanced motor excitation. |
| Automotive Seat Position Controller | Industrial Motor Drive Feedback Unit |
Use Scenario: Closed-loop control of seat adjustment motors using potentiometer feedback and limit switches. IC Role / Device Role / Timing Role: Real-time position tracking via ADC and timer capture; LIN messaging to body domain controller. Use Value: Hardware LIN reduces CPU load and guarantees deterministic latency; K-version rating ensures reliability near heated seat elements. | Use Scenario: Monitoring encoder signals, current sense, and thermal sensors in compact BLDC drives. IC Role / Device Role / Timing Role: Peripheral-rich MCU handling position capture (Timer RC), current ADC sampling, and PWM generation (Timer RD). Use Value: Dual 16-bit Timer RD units enable independent control of multiple motor phases; 125°C operation suits enclosed drive enclosures. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21346WKFP#W4 | Includes CAN 2.0B module (16 mailboxes, ISO 11898-1 compliant); identical memory, package, and temperature rating | Required for CAN-based vehicle networks (e.g., gateway, powertrain); not suitable where CAN is unused or prohibited | Select when CAN bus connectivity is mandatory; otherwise R5F21346YKFP#W4 reduces BOM cost and simplifies EMC design |
| R5F21346ZKFP#W4 | No data flash (0 KB); same ROM/RAM, no BGO; all other peripherals identical except CAN omission | Suitable for fixed-parameter applications where field updates or runtime logging are unnecessary | Choose for cost-sensitive designs with static firmware; R5F21346YKFP#W4 preferred when parameter retention or firmware patching is required |
Compared with R5F21346WKFP#W4, R5F21346YKFP#W4 removes CAN but retains full data flash and BGO-ideal for LIN-centric body electronics. Against R5F21346ZKFP#W4, it adds 4 KB data flash with BGO, enabling over-the-air configuration updates without interrupting motor control loops.
Availability
R5F21346YKFP#W4 is available at Aetrix Electronics and suitable for automotive body control modules, electric power steering sensor interfaces, seat position controllers, and industrial motor drive feedback units requiring stable component supply across extended temperature ranges.
Supply support for R5F21346YKFP#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/34Y Group, including R5F21346YKFP#W4, was designed for cost-optimized, high-reliability automotive body electronics requiring extended temperature operation, integrated LIN, and non-volatile parameter storage-without CAN overhead.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21346YKFP#W4?
The R5F21346YKFP#W4 operates at a maximum external clock frequency of 20 MHz (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 internal high-speed and low-speed on-chip oscillators for flexible clock source selection and low-power mode transitions.
Does the R5F21346YKFP#W4 include a CAN interface?
No, the R5F21346YKFP#W4 does not include a CAN module. As a member of the R8C/34Y Group, it features data flash and LIN but omits CAN-unlike the R8C/34W and R8C/34X Groups. This makes R5F21346YKFP#W4 appropriate for LIN-based automotive networks where CAN bandwidth or complexity is unnecessary.
What peripheral functions support motor control in the R5F21346YKFP#W4?
The R5F21346YKFP#W4 supports motor control via two 16-bit Timer RD units, each with four capture/compare registers and dedicated modes including reset-synchronous PWM, complementary PWM, and PWM3. These enable precise three-phase waveform generation across six output pins with sawtooth or triangular modulation-critical for BLDC and stepper motor gate drivers.
How does the data flash and Background Operation (BGO) function work in the R5F21346YKFP#W4?
The R5F21346YKFP#W4 includes 1 KB × 4 data flash (4 KB total) rated for 10,000 write/erase cycles. Its BGO function allows CPU code execution from program ROM while simultaneously erasing or programming data flash sectors-enabling runtime parameter updates, calibration storage, and firmware patching without system interruption.
What is the purpose of the VREF pin (P4_2) on the R5F21346YKFP#W4?
The VREF pin (P4_2) on the R5F21346YKFP#W4 is an input-only analog reference voltage pin for the 10-bit ADC. It sets the upper bound of the ADC's conversion range and must be externally supplied with a stable voltage between AVSS and AVCC. Using an accurate reference improves measurement consistency across temperature and supply variations in sensor interface applications.
R5F21346YKFP#W4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-LQFP
- Series:
- R8C/3x/34Y
- Packaging:
- Tape & Reel (TR)
- 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:
- 43
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2.5K 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:
R5F21346YKFP#W4 FAQ
1.How can I place an order for R5F21346YKFP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21346YKFP#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 R5F21346YKFP#W4 reliable?
The price and inventory of R5F21346YKFP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21346YKFP#W4 is usually 5 days.
3.What payment methods are accepted for R5F21346YKFP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21346YKFP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21346YKFP#W4?
R5F21346YKFP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21346YKFP#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 R5F21346YKFP#W4?
For technical support, including R5F21346YKFP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21346YKFP#W4 requirements.
6.How does Aetrix verify that R5F21346YKFP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F21346YKFP#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 R5F21346YKFP#W4 meets industry standards.
7.What is the process for return or replacement of R5F21346YKFP#W4?
All R5F21346YKFP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21346YKFP#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 R5F21346YKFP#W4 part is unused and in its original packaging.
Return procedure for R5F21346YKFP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21346YKFP#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…

