Renesas R5F21348YJFP#W4
- Part No.:
- R5F21348YJFP#W4
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 48-LQFP
- Datasheet:
-
R5F21348YJFP#W4.pdf
- Description:
- R8C/34 F 64K+4K/3K 48P6Q-A -40 T
- Quantity:
- Payment:

- Shipping:

Inventory:3,878
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21348YJFP#W4 from Renesas Electronics is a 16-bit R8C/27 Group single-chip microcontroller with 32 KB flash program memory, 1.5 KB RAM, and dual 1 KB data flash blocks. It operates at up to 20 MHz (50 ns min instruction time), supports 12-channel 10-bit A/D conversion, and integrates UART0/UART1, I²C, LIN, and four 8-/16-bit timers - deployed in automotive body control modules requiring robust timing, sensor interfacing, and serial communication.
For engineers reviewing the R5F21348YJFP#W4 datasheet, R5F21348YJFP#W4 pinout, R5F21348YJFP#W4 application, or R5F21348YJFP#W4 equivalent, key selection criteria include its -40°C to +85°C industrial temperature grade (J version), 32-pin LQFP package (PLQP0032GB-A), on-chip real-time clock (Timer RE), hardware LIN compliance, and low-power stop mode (0.7 µA @ 3.0 V).
Technical Context
The R5F21348YJFP#W4 implements the R8C CPU core with 89 fundamental instructions and a 1 Mbyte address space. Its memory subsystem includes 32 KB of flash program ROM (1,000 erase/write cycles) and two independent 1 KB data flash blocks (10,000 cycles), enabling reliable firmware updates and nonvolatile parameter storage without external EEPROM.
Peripheral integration centers on deterministic real-time control: Timer RC provides 16-bit input capture/output compare; Timer RE delivers real-time clock functionality with compare match; UART0 pairs with Timer RA for hardware LIN 2.0 physical layer support; and the 10-bit A/D converter samples 12 analog inputs with programmable reference voltage (VREF pin).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit CISC core with 89 instructions and 20-bit PC addressing 1 Mbyte space |
| Flash Memory | 32 KB program ROM (1,000 erase cycles) + 2 × 1 KB data flash (10,000 cycles) for field-upgradable parameters |
| RAM | 1.5 KB on-chip SRAM for stack, variables, and interrupt context storage |
| A/D Converter | 10-bit resolution, 12 input channels (AN0–AN11), external reference via VREF pin |
| Timers | Timer RA/RB (8-bit × 2), Timer RC (16-bit input capture/output compare), Timer RE (real-time clock + compare match) |
| Serial Interfaces | UART0/UART1 (2 channels), I²C bus interface, clock synchronous serial I/O with chip select, hardware LIN (UART0 + Timer RA) |
| Operating Voltage | 2.7–5.5 V supply range; supports 20 MHz operation at VCC ≥ 3.0 V |
| Temperature Range | -40°C to +85°C (J version), qualified for automotive body electronics and industrial control |
Pinout & Package
Package: 32-pin molded-plastic LQFP (PLQP0032GB-A, 7 mm × 7 mm, 0.8 mm pitch).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply / ground | Dual power domains: VCC/VSS for digital logic; AVCC/AVSS dedicated to A/D converter for noise isolation |
| XIN / XOUT | Crystal oscillator input/output | Supports 20 MHz crystal or ceramic resonator; enables precise system clock generation |
| RESET | Active-low reset input | Asynchronous reset assertion clears CPU registers and initializes peripherals to known state |
| P0_0–P0_7 | General-purpose I/O port | 8-bit bidirectional port with individually configurable direction and pull-up control; AN0–AN7 share pins for analog sensing |
| AN8–AN11 | Analog input channels | Assigned to P1_0–P1_3; enable 12-channel A/D acquisition without external multiplexer |
| TXD0 / RXD0 | UART0 transmit/receive | Full-duplex asynchronous serial interface for host MCU communication or diagnostics |
| SDA / SCL | I²C data/clock lines | Open-drain I/O supporting standard-mode (100 kbps) and fast-mode (400 kbps) I²C bus communication |
| TREO | Timer RE output | Real-time clock tick output or compare match signal for periodic wake-up or event synchronization |
Key Features
| Feature | Design Value |
|---|---|
| Hardware LIN Module | Integrated LIN 2.0 physical layer using UART0 and Timer RA eliminates external transceiver for cost-sensitive automotive sub-nodes |
| Dual Data Flash Blocks | Two independent 1 KB data flash areas allow atomic firmware parameter updates while preserving runtime configuration across resets |
| Low-Power Stop Mode | 0.7 µA typical current draw at 3.0 V enables battery-backed applications with multi-year standby life |
| On-Chip Oscillators | High-speed (adjustable 1–20 MHz) and low-speed (32 kHz) on-chip oscillators reduce BOM count and improve startup reliability |
| Real-Time Clock (RTC) | Timer RE provides calendar-time tracking and alarm interrupts without external RTC IC or crystal |
| 12-Channel A/D Converter | Simultaneous sampling not supported, but 12 dedicated analog inputs simplify sensor hub design in HVAC or lighting controls |
Applications
| Automotive Body Control Unit | Industrial Sensor Interface Module |
|---|---|
Use Scenario: Centralized control of door locks, window lifts, and interior lighting in passenger vehicles. IC Role / Device Role / Timing Role: Main controller executing LIN slave protocol, reading switch inputs, driving relays/LEDs, and managing power sequencing. Use Value: Hardware LIN module reduces component count and EMI vs. software-bitbanged solutions; 32 KB flash accommodates diagnostic stacks and calibration tables. |
Use Scenario: Condition monitoring of temperature, humidity, and vibration in factory automation equipment. IC Role / Device Role / Timing Role: Analog front-end aggregator converting sensor outputs to digital values, applying linearization, and transmitting via UART to PLC. Use Value: 12-channel 10-bit A/D with internal reference eliminates external op-amps; -40°C to +85°C rating ensures operation in unconditioned enclosures. |
| Smart Home Appliance Controller | Office Equipment Power Management |
Use Scenario: Embedded intelligence in washing machines for motor control, water level sensing, and user interface. IC Role / Device Role / Timing Role: Real-time task scheduler coordinating motor drive PWM, A/D sampling, and display refresh via GPIO. Use Value: Dual 1 KB data flash blocks store user preferences and usage logs independently of firmware; low-power stop mode extends standby battery life. |
Use Scenario: Power sequencing and thermal monitoring in multifunction printers and copiers. IC Role / Device Role / Timing Role: Supervisor MCU monitoring DC-DC converters, fan speed, and fuser temperature via analog inputs and PWM outputs. Use Value: On-chip high-speed oscillator enables rapid wake-from-sleep response; integrated watchdog timer ensures fail-safe shutdown during thermal faults. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21276JFP | Same R8C/27 Group, 32 KB flash, but no factory-programmed user ROM; requires full firmware load at first boot | Lacks preloaded bootloader or calibration data; suited for custom firmware-only deployments | Select when full control over initial program content is required and no factory programming is needed |
| R5F21348YDFP | Identical core and peripherals, but D version (-40°C to +85°C) with same package; differs only in screening/test documentation | No functional difference; used where D-version qualification documentation is mandated by OEM procurement policy | Choose when compliance with D-version test reports (e.g., AEC-Q100 stress data) is contractually required |
Compared with R5F21348YJFP#W4, R5F21276JFP offers identical hardware but lacks factory-programmed ROM content, while R5F21348YDFP matches all electrical and functional specs but carries D-version qualification paperwork - neither is pin-compatible drop-in replacement without verifying ROM initialization and test report alignment.
Availability
R5F21348YJFP#W4 is available at Aetrix Electronics and suitable for automotive body electronics, industrial sensor interfaces, smart home appliance controllers, and office equipment power management requiring stable component supply across extended product lifecycles.
Supply support for R5F21348YJFP#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, and power devices for automotive, industrial, and IoT applications.
The R8C/27 Group, including R5F21348YJFP#W4, was designed for cost-sensitive, real-time embedded systems requiring integrated analog peripherals, LIN connectivity, and long-term supply stability in automotive and industrial environments.
FAQ
What is the maximum operating frequency and corresponding supply voltage requirement for R5F21348YJFP#W4?
R5F21348YJFP#W4 achieves a minimum instruction execution time of 50 ns at 20 MHz, requiring VCC ≥ 3.0 V. It supports lower frequencies down to 5 MHz at VCC = 2.2 V (N/D versions), but the J version specifies 2.7–5.5 V operation. This voltage-frequency envelope ensures deterministic timing for real-time control loops in automotive applications.
Does R5F21348YJFP#W4 include on-chip debug capability and what interface does it use?
Yes, R5F21348YJFP#W4 supports on-chip debugging via the single-wire background debug mode (BDM) using the RESET pin as the debug interface. This allows full breakpoint, step-through, and memory inspection without dedicated debug pins, simplifying PCB layout while maintaining development flexibility for the R5F21348YJFP#W4.
How is the data flash organized in R5F21348YJFP#W4 and what endurance does it offer?
R5F21348YJFP#W4 contains two independent 1 KB data flash blocks, each rated for 10,000 erase/write cycles. These blocks are mapped into the memory space separately from program flash and support byte-level writes and sector-level erases, enabling robust nonvolatile storage of calibration data, device IDs, or field-upgradable parameters within the R5F21348YJFP#W4.
Can R5F21348YJFP#W4 operate with an external 32.768 kHz crystal for real-time clock functions?
No - R5F21348YJFP#W4 does not support external 32 kHz crystals. The XCIN/XCOUT pins required for 32 kHz oscillation are only available on N and D versions (e.g., R5F21348YDFP), not the J version. Timer RE in R5F21348YJFP#W4 relies on the internal low-speed oscillator or derived clocks; accurate RTC operation requires calibration against a known time source.
What peripheral resources are shared with GPIO pins on R5F21348YJFP#W4 and how is multiplexing controlled?
R5F21348YJFP#W4 uses register-based peripheral function selection: pins like P0_0 (AN7/TXD1), P1_4 (TXD0), and P3_5 (SCL/TRCIOD) share roles. The PMR (Port Mode Register) and PINSR (Pin Select Register) configure each pin's active function. This allows dynamic reassignment in firmware - for example, using P1_4 as TXD0 during communication and as GPIO during idle - without hardware changes to the R5F21348YJFP#W4.
R5F21348YJFP#W4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-LQFP
- Series:
- R8C/3x/34Y
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- -
- 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:
- 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21348YJFP#W4 FAQ
1.How can I place an order for R5F21348YJFP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21348YJFP#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 R5F21348YJFP#W4 reliable?
The price and inventory of R5F21348YJFP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21348YJFP#W4 is usually 5 days.
3.What payment methods are accepted for R5F21348YJFP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21348YJFP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21348YJFP#W4?
R5F21348YJFP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21348YJFP#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 R5F21348YJFP#W4?
For technical support, including R5F21348YJFP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21348YJFP#W4 requirements.
6.How does Aetrix verify that R5F21348YJFP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F21348YJFP#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 R5F21348YJFP#W4 meets industry standards.
7.What is the process for return or replacement of R5F21348YJFP#W4?
All R5F21348YJFP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21348YJFP#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 R5F21348YJFP#W4 part is unused and in its original packaging.
Return procedure for R5F21348YJFP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21348YJFP#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…

