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 R5F21321CNSP#W4

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

Inventory:3,405

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

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

R5F21321CNSP#W4 from Renesas is a 16-bit R8C CPU core MCU with 4 KB flash program ROM, 1 KB × 4 data flash (BGO-capable), 512 bytes RAM, and 20-pin LSSOP package. It operates at up to 20 MHz (VCC = 2.7–5.5 V), features 10-bit × 4-channel ADC, LIN hardware module, and real-time clock (Timer RE), targeting cost-sensitive embedded control in consumer appliances.

For engineers reviewing the R5F21321CNSP#W4 datasheet, R5F21321CNSP#W4 pinout, R5F21321CNSP#W4 application, or R5F21321CNSP#W4 equivalent, key selection criteria include its N-version temperature range (−20°C to +85°C), integrated LIN transceiver support via Timer RA + UART0, background operation for data flash updates, and low-power stop mode (2.0 µA).

Technical Context

The R5F21321CNSP#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 (00000h–FFFFFh), with fixed interrupt vector table at 0FFDCh–0FFFFh and data flash blocks at 03000h–03FFFh.

Peripheral integration includes UART0/UART2 (with I²C mode), SSU/I²C shared bus, hardware LIN (using Timer RA and UART0), four independent timers (RA/RB/RC/RE), DTC with 21 activation sources, and voltage detection with selectable thresholds - all controlled via dedicated SFRs mapped to 0000h–02FFFh address space.

Key Specifications

ParameterValue and Actual Design Meaning
CPU CoreR8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC support for efficient signal processing.
Memory4 KB program flash ROM, 1 KB × 4 data flash (10,000 erase/write cycles, BGO enabled), 512 bytes RAM.
Operating Frequency20 MHz max (VCC = 2.7–5.5 V); 5 MHz max (VCC = 1.8–5.5 V) - supports dual-speed clocking for power/performance trade-offs.
ADC10-bit resolution × 4 channels with sample-and-hold and sweep mode - enables simultaneous analog sensing in appliance UI or motor feedback.
Low-Power ModesWait mode (3.5 µA @ 3.0 V, f(XCIN) = 32 kHz) and stop mode (2.0 µA @ 3.0 V) - critical for battery-backed real-time clock applications.
Package20-pin LSSOP (PLSP0020JB-A, 0.65 mm pitch) - surface-mount compatible with compact consumer PCB layouts.
LIN SupportHardware LIN module using Timer RA and UART0 - eliminates external transceiver need for automotive body electronics or appliance sub-networks.

Pinout & Package

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

Pin/TerminalCircuit RoleDesign Meaning
P1_0/AN8/KI0Analog input / Key interrupt / Timer RC inputSupports touch-key sensing, ADC channel 8, or external trigger for timer capture - configurable per application need.
P1_4/TXD0/TRCCLKUART0 transmit / Timer RC clock inputEnables serial debug output while simultaneously providing external clock source for 16-bit Timer RC timing precision.
P1_5/INT1/RXD0/TRAIOInterrupt input / UART0 receive / Timer RA I/OCombines debug interface (RXD0), system event signaling (INT1), and PWM waveform generation (TRAIO) on single pin.
P3_7/SDA2/TXD2/RX D2/SCL2I²C data / UART2 TX/RX / I²C clockShared pin for dual-protocol communication - simplifies wiring in multi-sensor systems using I²C or UART2 with multiprocessor mode.
P4_5/ADTRG/INT0A/D trigger / External interruptAllows precise synchronization of ADC conversions to external events (e.g., motor commutation edge) or serves as general-purpose wake-up interrupt.

Key Features

FeatureDesign Value
Background Operation (BGO)Enables real-time data flash programming/erasure without halting CPU execution - essential for firmware-over-the-air updates in deployed appliances.
Hardware LIN ModuleIntegrates LIN protocol timing and framing logic using Timer RA and UART0 - reduces BOM cost and design complexity vs. discrete LIN transceivers.
Real-Time Clock (Timer RE)Provides calendar-based timekeeping (seconds/minutes/hours/days) with output compare - supports sleep/wake scheduling and timestamped logging without external RTC IC.
DTC with 21 Activation SourcesOffloads CPU from memory-mapped peripheral transfers (e.g., ADC → RAM, UART → buffer) - improves deterministic response in interrupt-driven systems.
Voltage Detection CircuitConfigurable reset and detection levels (VDD monitor 0/1) - ensures reliable brown-out protection across varying supply conditions in unregulated AC/DC adapters.

Applications

Home Appliance ControlOffice Equipment UI

Use Scenario: Microcontroller in washing machine main board managing motor drive, water level sensing, and user interface.

IC Role / Device Role / Timing Role: Central control unit executing state machine logic, sampling 4-channel ADC for pressure/temperature, and generating PWM via Timer RB for brushless motor commutation.

Use Value: Integrated 10-bit ADC, high-current I/O ports, and LIN interface reduce external component count and simplify compliance with IEC 60335 safety standards.

Use Scenario: Embedded controller in multifunction printer handling paper feed sensors, button inputs, and display backlight dimming.

IC Role / Device Role / Timing Role: System coordinator using Key Input interrupts (KI0–KI3) for tactile buttons, Timer RE for sleep/wake scheduling, and UART2 for host communication.

Use Value: Low-power stop mode (2.0 µA) extends standby battery life; built-in voltage detection prevents erratic behavior during AC power brownouts.

Audio Equipment RemoteConsumer IoT Sensor Node

Use Scenario: IR remote control for AV receiver with button matrix, LED feedback, and IR carrier generation.

IC Role / Device Role / Timing Role: Signal generator using Timer RA's programmable waveform mode to produce 38 kHz IR carrier, with KI inputs scanning keypad matrix.

Use Value: Hardware PWM generation eliminates software timing jitter; 20-pin LSSOP fits compact remote PCBs with minimal layout area.

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

IC Role / Device Role / Timing Role: Data acquisition engine using ADC sweep mode across AN8–AN11, storing calibrated values in data flash, and waking periodically via Timer RE alarm.

Use Value: Background operation allows firmware updates without disrupting sensor logging; 3.5 µA wait mode extends coin-cell battery life to >2 years.

Equivalent & Alternatives

The following parts are listed as comparable options for similar microcontroller applications.

Alternative PartTechnical DifferenceApplication DifferenceSelection Advice
R5F21321CDSP#W4D-version with −40°C to +85°C operating range; identical memory, peripherals, and pinout.Required for industrial or automotive cabin environments where extended temperature tolerance is mandatory.Select when ambient operating temperature exceeds −20°C minimum; otherwise, R5F21321CNSP#W4 offers lower cost for commercial-grade appliances.
R5F21322CNSP#W48 KB program ROM, 1 KB RAM, same data flash and peripherals; pin-compatible 20-pin LSSOP.Suitable for applications needing larger firmware footprint (e.g., USB HID stack, enhanced UI logic) without PCB redesign.Choose when future firmware expansion is anticipated; retains full hardware compatibility and toolchain support.

Compared with R5F21321CDSP#W4, the R5F21321CNSP#W4 trades extended temperature rating for cost efficiency in consumer settings; versus R5F21322CNSP#W4, it provides sufficient code space for basic control tasks while reducing flash overhead and power consumption in idle states.

Availability

R5F21321CNSP#W4 is available at Aetrix Electronics and suitable for home appliance control, office equipment UI, audio remote systems, and consumer IoT sensor nodes requiring stable component supply and long-term production continuity.

Supply support for R5F21321CNSP#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 is a global semiconductor leader specializing in microcontrollers, analog, and power solutions for automotive, industrial, and consumer markets.

The R8C/32C Group, including R5F21321CNSP#W4, was designed for cost-optimized, low-power embedded control in resource-constrained consumer electronics - emphasizing integration of LIN, ADC, RTC, and flash BGO to minimize external components.

FAQ

What is the maximum operating frequency of the R5F21321CNSP#W4 and under what supply conditions?

The R5F21321CNSP#W4 supports a maximum operating frequency of 20 MHz when powered at VCC = 2.7–5.5 V using the XIN clock source. At lower supply voltages (1.8–5.5 V), the maximum frequency is reduced to 5 MHz to ensure stable operation. This dual-frequency capability allows designers to optimize performance versus power consumption based on system requirements and power supply architecture.

Does the R5F21321CNSP#W4 support hardware LIN communication, and how is it implemented?

Yes, the R5F21321CNSP#W4 includes a dedicated hardware LIN module that uses Timer RA for baud rate generation and UART0 for data framing and checksum calculation. This implementation offloads LIN protocol handling from firmware, enabling reliable sub-network communication in automotive body electronics or appliance interconnects without requiring an external LIN transceiver IC.

What are the data flash endurance specifications and background operation capabilities of the R5F21321CNSP#W4?

The R5F21321CNSP#W4 provides 1 KB × 4 blocks of data flash with 10,000 erase/write cycles and full background operation (BGO) support. BGO allows the CPU to execute application code concurrently while programming or erasing data flash - a critical feature for field-upgradable firmware and persistent parameter storage in deployed R5F21321CNSP#W4-based systems.

How does the R5F21321CNSP#W4 manage low-power operation, and what are the lowest current consumption figures?

The R5F21321CNSP#W4 offers multiple low-power modes: wait mode draws 3.5 µA at 3.0 V with 32 kHz XCIN clock active, and stop mode consumes just 2.0 µA at 3.0 V. These modes retain RAM content and allow wake-up via INT0/INT1/KI interrupts or Timer RE alarm - making R5F21321CNSP#W4 suitable for battery-powered devices requiring multi-year operational life.

Is the R5F21321CNSP#W4 pin-compatible with other members of the R8C/32C Group, and which variants share the same package?

Yes, the R5F21321CNSP#W4 is pin-compatible with all R8C/32C Group members in the 20-pin LSSOP package (PLSP0020JB-A), including R5F21322CNSP#W4, R5F21324CNSP#W4, and their D-version counterparts. This allows scalable design reuse - for example, upgrading from 4 KB to 8 KB program ROM without PCB changes - while maintaining identical footprint, thermal profile, and assembly process.

R5F21321CNSP#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:
-20°C ~ 85°C (TA)
Grade:
-
Qualification:
-
Mounting Type:
Surface Mount
Supplier Device Package:

R5F21321CNSP#W4 FAQ

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

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

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

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

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

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for R5F21321CNSP#W4?

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

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

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

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

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

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

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

Return procedure for R5F21321CNSP#W4:

1.Submit a request within 90 days.

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

R5F21321CNSP#W4 Tags

  • R5F21321CNSP#W4
  • R5F21321CNSP#W4 PDF
  • R5F21321CNSP#W4 Datasheet
  • R5F21321CNSP#W4 Specifications
  • R5F21321CNSP#W4 Images
  • Renesas
  • Renesas R5F21321CNSP#W4
  • Buy R5F21321CNSP#W4
  • R5F21321CNSP#W4 Price
  • R5F21321CNSP#W4 Distributor
  • R5F21321CNSP#W4 Supplier
  • R5F21321CNSP#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