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

- Shipping:

Inventory:2,049
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21322CDSP#W4 from Renesas Electronics is an 8 KB flash, 1 KB RAM, 20-pin LSSOP microcontroller based on the R8C CPU core, operating at up to 20 MHz (VCC = 2.7–5.5 V), featuring integrated 10-bit A/D converter (4 channels), LIN hardware module, and background operation (BGO) data flash for in-system reprogramming - deployed in consumer audio equipment and office automation control systems.
For engineers reviewing the R5F21322CDSP#W4 datasheet, R5F21322CDSP#W4 pinout, R5F21322CDSP#W4 application, or R5F21322CDSP#W4 equivalent, key selection criteria include its -40°C to +85°C industrial temperature grade, 20-pin PLSP0020JB-A package, dual UART/I²C/SSU serial interfaces, real-time clock (Timer RE), and hardware LIN compliance for automotive body electronics interoperability.
Technical Context
The R5F21322CDSP#W4 implements the R8C 16-bit CPU core with 89 fundamental instructions, 16×16→32-bit multiplier, and multiply-accumulate capability. It supports single-chip mode with 1 Mbyte address space and executes instructions in as little as 50 ns at 20 MHz.
Its peripheral set includes Timer RA/RB (8-bit), Timer RC (16-bit with 4 capture/compare registers), Timer RE (real-time clock), DTC (1-channel), watchdog timer (14-bit), voltage detection circuit (3-level), and comparator B (2 circuits), all managed via dedicated SFRs mapped to fixed memory addresses.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC support - enables efficient signal processing in resource-constrained embedded control. |
| Memory | 8 KB program flash + 1 KB × 4 data flash (10,000 erase/write cycles) + 1 KB RAM - supports firmware updates and parameter storage without external EEPROM. |
| Operating Voltage | 1.8–5.5 V supply range - allows direct interface with 3.3 V or 5 V logic and battery-powered operation down to 1.8 V. |
| Current Consumption | Typ. 6.5 mA @ 5.0 V/20 MHz; 3.5 µA in wait mode (32 kHz XCIN) - enables low-power sensor node and standby-mode applications. |
| Temperature Range | -40°C to +85°C (D version) - qualified for industrial and automotive body electronics environments without derating. |
| Serial Interfaces | UART0, UART2 (with I²C mode & multiprocessor comms), SSU, and hardware LIN (using Timer RA + UART0) - reduces external transceiver count in LIN bus nodes. |
| A/D Converter | 10-bit resolution × 4 channels with sample-and-hold and sweep mode - suitable for analog sensor monitoring (e.g., thermistors, potentiometers) without external ADC. |
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 input | Configurable as 10-bit A/D channel 8, key wake-up source, or TRCIOD trigger - enables shared pin usage for cost-sensitive front-panel designs. |
| P1_4 / TXD0 / TRCCLK | UART0 transmit / timer clock input | Drives serial debug output while simultaneously serving as external clock source for Timer RC - simplifies timing-critical communication protocols. |
| P3_7 / SDA2 / TRAO / RXD2 / SCL2 | I²C data / timer output / UART2 receive | Multi-function pin supporting I²C slave/master, LIN response, and UART2 data - eliminates need for external level shifters in mixed-voltage systems. |
| P4_6 / XIN / XCIN | Primary/secondary crystal oscillator input | Accepts either 20 MHz ceramic resonator (XIN/XOUT) or 32.768 kHz crystal (XCIN/XCOUT) - provides precise timing for RTC and high-speed operation from one footprint. |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up - ensures reliable power-on initialization without external RC network. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) Data Flash | Enables concurrent code execution and flash reprogramming - critical for field-upgradable firmware in consumer appliances. |
| Hardware LIN Module | Integrated LIN 2.1-compliant controller using Timer RA and UART0 - eliminates external LIN transceiver in door module and seat control units. |
| Real-Time Clock (Timer RE) | 8-bit counter with seconds/minutes/hours/day-of-week registers and compare match - delivers accurate timekeeping without external RTC IC. |
| Voltage Detection Circuit | Three configurable detection levels with power-on reset and selectable thresholds - ensures safe brown-out recovery in variable-supply environments. |
| Dual Clock Oscillators | High-speed on-chip oscillator (adjustable) + low-speed 32 kHz XCIN oscillator - allows seamless transition between active and ultra-low-power modes. |
Applications
| Audio Equipment Control | Office Automation Device |
|---|---|
|
Use Scenario: Volume, tone, and input source control in compact stereo receivers and Bluetooth speakers. IC Role / Device Role / Timing Role: Main system controller executing user interface logic, managing DAC/ADC interfaces, and driving LED displays. Use Value: Integrated 10-bit A/D and PWM-capable Timer RB enable direct knob/sensor reading and LED dimming - reducing BOM count by two external ICs. |
Use Scenario: Paper jam detection, motor control, and status reporting in desktop printers and multifunction peripherals. IC Role / Device Role / Timing Role: Real-time peripheral coordinator interfacing with stepper drivers, optical sensors, and USB-to-serial bridge. Use Value: Hardware LIN and UART2 with I²C mode allow unified communication with print head, feeder, and mainboard - eliminating protocol translation ICs. |
| Home Appliance Interface | Industrial Sensor Node |
|
Use Scenario: Keypad scanning, display update, and thermal protection in microwave ovens and induction cooktops. IC Role / Device Role / Timing Role: Safety-critical subsystem controller with voltage monitoring, watchdog timer, and fast interrupt response (7 priority levels). Use Value: Built-in voltage detection (3 levels) and 14-bit watchdog timer ensure fail-safe shutdown during power anomalies - meeting IEC 60730 Class B requirements. |
Use Scenario: Battery-powered environmental monitoring (temperature/humidity) with periodic wireless upload in smart building systems. IC Role / Device Role / Timing Role: Ultra-low-power data acquisition engine using stop mode (2.0 µA) and wake-on-interrupt from analog comparators. Use Value: 3.5 µA wait mode current with 32 kHz RTC clock enables >1-year battery life on CR2032 - avoiding costly energy harvesting circuitry. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21322CNSP | Same core, memory, and peripherals but rated for -20°C to +85°C (N version); no industrial temperature qualification. | Suitable for commercial-grade consumer devices only; not certified for extended ambient operation. | Select R5F21322CNSP only when full industrial temperature range is unnecessary and cost sensitivity is high. |
| R5F21324CDSP | 16 KB program ROM + 1.5 KB RAM; otherwise identical peripheral set and pinout. | Required for larger firmware images (e.g., USB HID stack, advanced UI rendering) where 8 KB is insufficient. | Choose R5F21324CDSP when future firmware expansion or feature-rich GUI demands >8 KB code space. |
Compared with R5F21322CDSP#W4, R5F21322CNSP lacks extended temperature validation and R5F21324CDSP adds 8 KB ROM/512 B RAM - making the former unsuitable for harsh environments and the latter optimal for scalable firmware development.
Availability
R5F21322CDSP#W4 is available at Aetrix Electronics and suitable for electronic household appliances, office equipment, and audio equipment requiring stable component supply across long production lifecycles.
Supply support for R5F21322CDSP#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 solutions for automotive, industrial, and IoT markets.
The R8C/32C Group, including R5F21322CDSP#W4, was designed for cost-sensitive, low-power embedded control in consumer and industrial equipment - emphasizing integration, EMI/EMS robustness, and ease of firmware maintenance.
FAQ
What is the maximum operating frequency of the R5F21322CDSP#W4?
The R5F21322CDSP#W4 operates at up to 20 MHz when supplied with 2.7–5.5 V and using an external 20 MHz crystal on XIN/XOUT. At lower voltages (1.8–5.5 V), it supports 5 MHz operation - enabling flexible clock scaling for power/performance trade-offs in battery-powered designs.
Does the R5F21322CDSP#W4 support in-system programming of its flash memory?
Yes, the R5F21322CDSP#W4 supports background operation (BGO) for data flash, allowing program execution while erasing or writing to 1 KB × 4 data flash blocks. This enables field firmware updates without halting real-time control functions - a key requirement for appliance and industrial controllers.
What serial communication interfaces are integrated into the R5F21322CDSP#W4?
The R5F21322CDSP#W4 integrates UART0, UART2 (with I²C-bus mode and multiprocessor communication), synchronous serial unit (SSU), and a hardware LIN module (using Timer RA and UART0). These interfaces support simultaneous use - for example, UART0 for debug, UART2 for LIN bus, and SSU for sensor SPI communication.
Is the R5F21322CDSP#W4 pin-compatible with other members of the R8C/32C Group?
Yes, all R8C/32C Group MCUs in the 20-pin LSSOP package (PLSP0020JB-A), including R5F21322CDSP#W4, R5F21322CNSP, and R5F21324CDSP, share identical pinouts and electrical characteristics. This enables drop-in replacement across memory variants without PCB redesign.
What is the purpose of the "D" suffix in R5F21322CDSP#W4?
The "D" in R5F21322CDSP#W4 denotes the industrial temperature grade (-40°C to +85°C), distinguishing it from the "N" version (-20°C to +85°C). This qualification ensures reliable operation in demanding environments such as automotive cabin modules and factory-floor equipment.
R5F21322CDSP#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:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 1K 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:
R5F21322CDSP#W4 FAQ
1.How can I place an order for R5F21322CDSP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21322CDSP#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 R5F21322CDSP#W4 reliable?
The price and inventory of R5F21322CDSP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21322CDSP#W4 is usually 5 days.
3.What payment methods are accepted for R5F21322CDSP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21322CDSP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21322CDSP#W4?
R5F21322CDSP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21322CDSP#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 R5F21322CDSP#W4?
For technical support, including R5F21322CDSP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21322CDSP#W4 requirements.
6.How does Aetrix verify that R5F21322CDSP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F21322CDSP#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 R5F21322CDSP#W4 meets industry standards.
7.What is the process for return or replacement of R5F21322CDSP#W4?
All R5F21322CDSP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21322CDSP#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 R5F21322CDSP#W4 part is unused and in its original packaging.
Return procedure for R5F21322CDSP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21322CDSP#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…

