Send an Inquiry

To receive a quote for your project, please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Part Number*
Quantity*
Message
Submit Inventory List

Please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Upload My List
Message

Renesas R5F21321CDSP#W4

Part No.:
R5F21321CDSP#W4
Manufacturer:
Renesas
Category:
Microcontrollers
Package:
20-LSSOP (0.173", 4.40mm Width)
Datasheet:
AetrixR5F21321CDSP#W4.pdf
Description:
IC MCU 16BIT 4KB FLASH 20LSSOP
Quantity:
Payment:
Payment
Shipping:
Shipping

Inventory:1,257

Please send an inquiry. Send us your inquiry, and we will respond immediately.

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

R5F21321CDSP#W4 from Renesas is a 16-bit R8C CPU core microcontroller in 20-pin LSSOP package, featuring 4 KB program flash, 1 KB × 4 data flash with background operation (BGO), 512 bytes RAM, and operating temperature range of −40°C to +85°C. It integrates UART0/UART2 (with I²C mode), LIN hardware module, 10-bit × 4-channel ADC, two comparators, four timers (RA/RB/RC/RE), DTC, and low-power wait/stop modes - deployed in consumer audio equipment and office automation control systems.

For engineers reviewing the R5F21321CDSP#W4 datasheet, R5F21321CDSP#W4 pinout, R5F21321CDSP#W4 application, or R5F21321CDSP#W4 equivalent, key selection considerations include its −40°C industrial temperature rating, BGO-enabled data flash for firmware updates during runtime, LIN bus support via UART0+Timer RA, and 20-pin PLSP0020JB-A package compatibility with space-constrained embedded designs.

Technical Context

The R5F21321CDSP#W4 implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit multiplier, and multiply-accumulate capability. Its memory map spans 1 Mbyte address space, with fixed interrupt vector table at 0FFDCh–0FFFFh and data flash blocks A–D mapped to 03000h–03FFFh.

Peripheral integration includes UART0 (LIN-capable), UART2 (I²C-bus compatible), SSU/I²C shared interface, Timer RC with 4 capture/compare registers and 3-PWM output, and real-time clock (Timer RE) supporting seconds/minutes/hours/week-day counting using XCIN 32 kHz input.

Key Specifications

Parameter Value and Actual Design Meaning
CPU Core R8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC instruction - enables efficient motor control and sensor fusion algorithms.
Memory 4 KB program ROM + 1 KB × 4 data flash (10,000 erase/write cycles) + 512 bytes RAM - supports field firmware updates via BGO without halting execution.
Operating Voltage 1.8 V to 5.5 V supply - allows direct interfacing with 3.3 V and 5 V logic systems without level shifters.
Current Consumption Typ. 2.0 µA in stop mode (VCC = 3.0 V) - extends battery life in always-on remote controls and sensor nodes.
Temperature Range −40°C to +85°C (D version) - certified for industrial-grade deployment in HVAC controllers and factory automation terminals.
ADC 10-bit resolution × 4 channels with sample-and-hold and sweep mode - captures analog sensor signals (e.g., thermistors, potentiometers) with single-trigger sequencing.
Timers Timer RA (8-bit), RB (8-bit PWM), RC (16-bit with 4 compare registers & 3-PWM output), RE (real-time clock) - provides flexible timing for motor commutation, LED dimming, and calendar-based scheduling.

Pinout & Package

Package: 20-pin LSSOP (PLSP0020JB-A, 0.65 mm pitch), surface-mount, RoHS-compliant.

Pin/Terminal Circuit Role Design Meaning
P1_0 / AN8 / KI0 Analog input / key interrupt / timer trigger Supports simultaneous analog sensing (AN8), wake-up on button press (KI0), and external event synchronization (TRCIOD).
P1_4 / TXD0 / TRCCLK UART0 transmit / timer clock input Enables LIN physical layer transmission (TXD0) and provides external clock source for Timer RC (TRCCLK).
P3_7 / SDA2 / SSO / TRAO I²C data / SSU output / timer output Shared pin for I²C-bus communication (SDA2), SPI slave select output (SSO), and Timer RA output (TRAO) - requires software pin function selection.
P4_6 / XIN / XCIN Crystal oscillator input Dual-mode input accepting either 20 MHz crystal (XIN) or 32 kHz watch crystal (XCIN) - eliminates need for separate RTC crystal.
RESET Active-low reset input Asynchronous reset with internal pull-up; asserts full system initialization including register banks, SFRs, and peripheral states.

Key Features

Feature Design Value
Background Operation (BGO) Data flash erasure/programming proceeds concurrently with CPU code execution - enables seamless over-the-air firmware patching.
Hardware LIN Module Integrated LIN 2.0/2.1 support via UART0 + Timer RA - reduces external transceiver count and simplifies automotive body electronics integration.
Low-Power Modes Wait mode (3.5 µA @ 32 kHz) and stop mode (2.0 µA) - extends operational lifetime in battery-powered remote sensors and portable devices.
Voltage Detection Configurable voltage monitor (VCA1/VCA2) with 3 detection levels - prevents erratic behavior during brown-out conditions in unregulated power supplies.
Program Security ROM code protect and ID code check - blocks unauthorized readout of firmware, satisfying basic IP protection requirements for OEM products.

Applications

Audio Equipment Control Office Automation Terminal

Use Scenario: Volume knob interface, display backlight dimming, and IR remote decoding in compact stereo receivers.

IC Role / Device Role / Timing Role: Main system controller executing UI state machine, driving 8-bit PWM for LED brightness, and sampling rotary encoder inputs via KI0–KI3.

Use Value: Integrated 10-bit ADC and programmable pull-up resistors eliminate external signal conditioning components; 20-pin LSSOP fits tight PCB layouts.

Use Scenario: Keypad scanning, paper jam detection, and status LED control in desktop printers and multifunction peripherals.

IC Role / Device Role / Timing Role: Peripheral coordinator managing GPIO interrupts (INT0–INT3), UART2 for host PC communication, and Timer RB for precise pulse-width modulation of status indicators.

Use Value: Hardware LIN capability enables optional connection to upstream print server modules; −40°C rating ensures reliability in warehouse environments.

Consumer Appliance Interface Industrial Sensor Node

Use Scenario: Temperature monitoring, fan speed control, and user button response in smart air purifiers and humidifiers.

IC Role / Device Role / Timing Role: Real-time sensor hub reading thermistor (AN8–AN11), generating PWM fan drive (Timer RB), and maintaining time-of-day via Timer RE with XCIN 32 kHz crystal.

Use Value: Data flash BGO allows silent firmware updates during device idle periods; integrated comparator B detects threshold breaches without CPU polling.

Use Scenario: Battery-powered environmental sensor collecting temperature/humidity data and transmitting via UART to gateway.

IC Role / Device Role / Timing Role: Ultra-low-power data logger using stop mode between ADC conversions, wake-up on ADTRG trigger, and UART0 for burst transmission.

Use Value: 2.0 µA stop current and 1.8 V minimum VCC enable coin-cell operation; 4 KB flash accommodates sensor fusion algorithms and communication stack.

Equivalent & Alternatives

The following parts are listed as comparable options for similar 16-bit MCU applications.

Alternative Part Technical Difference Application Difference Selection Advice
R5F21321CNSP N version (−20°C to +85°C); identical memory, peripherals, and pinout Limited to commercial indoor environments; unsuitable for cold-storage or outdoor enclosures Select when cost sensitivity outweighs extended temperature requirement and ambient stays above −20°C.
R5F21322CDSP D version with 8 KB program ROM (vs. 4 KB), same data flash, RAM, and package Supports larger firmware images (e.g., USB HID stack, enhanced encryption libraries) Choose when application complexity exceeds 4 KB code space but retains identical peripheral set and thermal profile.

Compared with R5F21321CNSP, the R5F21321CDSP#W4 adds −40°C operation for harsh environments; compared with R5F21322CDSP, it trades 4 KB ROM capacity for lower cost and smaller footprint in resource-constrained designs.

Availability

R5F21321CDSP#W4 is available at Aetrix Electronics and suitable for consumer audio equipment, office automation terminals, and industrial sensor nodes requiring stable component supply across extended temperature ranges and long production lifecycles.

Supply support for R5F21321CDSP#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/32C Group, including R5F21321CDSP#W4, was designed for cost-sensitive, low-power embedded control in consumer appliances and office equipment - emphasizing integration, EMI/EMS robustness, and simplified board design.

FAQ

What is the maximum operating frequency of the R5F21321CDSP#W4?

The R5F21321CDSP#W4 supports up to 20 MHz external crystal (XIN) operation at VCC = 2.7–5.5 V, delivering a minimum instruction execution time of 50 ns. At reduced 5 MHz operation, it functions down to 1.8 V supply - enabling flexible clock scaling for power/performance trade-offs in battery-powered R5F21321CDSP#W4 deployments.

Does the R5F21321CDSP#W4 support in-circuit debugging?

Yes, the R5F21321CDSP#W4 includes on-chip debug functionality accessible via dedicated debug pins and compatible with Renesas E8/E8a emulators. This enables real-time breakpoint setting, register inspection, and flash programming - critical for rapid firmware validation and field issue diagnosis on R5F21321CDSP#W4-based boards.

How many I/O pins does the R5F21321CDSP#W4 provide, and what are their capabilities?

The R5F21321CDSP#W4 offers 15 CMOS I/O ports (P1_0–P1_7, P3_3–P3_5, P3_7, P4_5–P4_7) with programmable direction and selectable pull-up resistors, plus one input-only pin (P4_2). All I/Os support high-current drive and LED sinking - allowing direct LED interfacing without external drivers in R5F21321CDSP#W4 applications.

Can the R5F21321CDSP#W4 operate from a single 3.3 V supply?

Yes, the R5F21321CDSP#W4 operates across 1.8 V to 5.5 V, making 3.3 V a fully supported and commonly used supply voltage. At 3.3 V and 10 MHz, typical current consumption is 3.5 mA in active mode and 3.5 µA in wait mode - ideal for mixed-signal R5F21321CDSP#W4 designs powered by standard LDO regulators.

What peripheral resources does the R5F21321CDSP#W4 allocate for LIN bus communication?

The R5F21321CDSP#W4 implements hardware LIN 2.0/2.1 using UART0 for serial framing and Timer RA for baud rate generation and sync field timing - eliminating software bit-banging overhead. This dedicated LIN module reduces CPU load and improves timing accuracy in R5F21321CDSP#W4 automotive body control modules.

R5F21321CDSP#W4 Specifications

Product attributes
Attribute value
Manufacturer:
Renesas
Package/Case:
20-LSSOP (0.173", 4.40mm Width)
Series:
R8C/3x/32C
Packaging:
Tape & Reel (TR)
Product Status:
Last Time Buy
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:
15
Program Memory Size:
4KB (4K x 8)
Program Memory Type:
FLASH
EEPROM Size:
4K x 8
RAM Size:
512 x 8
Voltage - Supply (Vcc/Vdd):
1.8V ~ 5.5V
Data Converters:
A/D 4x10b
Oscillator Type:
Internal
Operating Temperature:
-40°C ~ 85°C (TA)
Grade:
-
Qualification:
-
Mounting Type:
Surface Mount
Supplier Device Package:

R5F21321CDSP#W4 FAQ

1.How can I place an order for R5F21321CDSP#W4 through Aetrix?

Please submit a Request for Quotation (RFQ) for R5F21321CDSP#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 R5F21321CDSP#W4 reliable?

The price and inventory of R5F21321CDSP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21321CDSP#W4 is usually 5 days.

3.What payment methods are accepted for R5F21321CDSP#W4?

We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21321CDSP#W4 transactions.

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for R5F21321CDSP#W4?

R5F21321CDSP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.

Once your R5F21321CDSP#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 R5F21321CDSP#W4?

For technical support, including R5F21321CDSP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21321CDSP#W4 requirements.

6.How does Aetrix verify that R5F21321CDSP#W4 is sourced from the original manufacturer or authorized distributors?

All R5F21321CDSP#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 R5F21321CDSP#W4 meets industry standards.

7.What is the process for return or replacement of R5F21321CDSP#W4?

All R5F21321CDSP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21321CDSP#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 R5F21321CDSP#W4 part is unused and in its original packaging.

Return procedure for R5F21321CDSP#W4:

1.Submit a request within 90 days.

2.Obtain a Return Material Authorization (RMA) from Aetrix.

R5F21321CDSP#W4 Tags

  • R5F21321CDSP#W4
  • R5F21321CDSP#W4 PDF
  • R5F21321CDSP#W4 Datasheet
  • R5F21321CDSP#W4 Specifications
  • R5F21321CDSP#W4 Images
  • Renesas
  • Renesas R5F21321CDSP#W4
  • Buy R5F21321CDSP#W4
  • R5F21321CDSP#W4 Price
  • R5F21321CDSP#W4 Distributor
  • R5F21321CDSP#W4 Supplier
  • R5F21321CDSP#W4 Wholesale
Related Products
ATTINY4-TSHR
ATTINY4-TSHR

Microchip Technology

ATTINY10-TSHR
ATTINY10-TSHR

Microchip Technology

ATTINY10-TS8R
ATTINY10-TS8R

Microchip Technology

ATTINY202-SSNR
ATTINY202-SSNR

Microchip Technology

ATTINY202-SSFR
ATTINY202-SSFR

Microchip Technology

ATTINY402-SSNR
ATTINY402-SSNR

Microchip Technology

PIC16F15213T-I/MF
PIC16F15213T-I/MF

Microchip Technology

PIC16F15213-E/MF
PIC16F15213-E/MF

Microchip Technology

PIC10F200T-I/OT
PIC10F200T-I/OT

Microchip Technology

ATTINY412-SSNR
ATTINY412-SSNR

Microchip Technology

PIC10F202T-I/OT
PIC10F202T-I/OT

Microchip Technology

ATTINY404-SSNR
ATTINY404-SSNR

Microchip Technology

Tech Hub

Search

Search

PRODUCT

PRODUCT

PHONE

PHONE

USER

USER