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

- Shipping:

Inventory:2,629
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21322DNSP from Renesas Electronics is an 8 KB Flash, 1 KB RAM 20-pin LSSOP microcontroller in the R8C/32D Group, featuring an R8C CPU core with 16×16-bit multiplier, 10-bit ×4-channel ADC, dual UART/I²C serial interfaces, and real-time clock (Timer RE). It operates from 1.8–5.5 V at up to 20 MHz and targets low-power embedded control in consumer appliances and office equipment.
For engineers reviewing the R5F21322DNSP datasheet, R5F21322DNSP pinout, R5F21322DNSP application, or R5F21322DNSP equivalent, this page delivers verified specifications, validated package mapping, confirmed peripheral functions (UART0/UART2/I²C/ADC/timers), ambient temperature range (−20°C to +85°C), and two documented alternative MCUs for design continuity.
Technical Context
The R5F21322DNSP implements the R8C CPU core with 89 fundamental instructions, 20-bit address space (1 Mbyte), and hardware multiplier supporting 16×16→32-bit multiply and MAC operations. Its memory map allocates 8 KB Flash (0E000h–0FFFFh) and 1 KB RAM (00400h–007FFh), with fixed interrupt vector table at 0FFDCh–0FFFFh.
It integrates four independent clock sources: XIN/XOUT (up to 20 MHz), XCIN/XCOUT (32 kHz), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator - enabling flexible power management across standard, wait, and stop modes with current as low as 2.0 µA in stop mode at 3.0 V.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C core with 89 instructions, 20-bit PC, 16×16-bit hardware multiplier |
| Flash / RAM | 8 KB program Flash (endurance: 1,000 cycles), 1 KB SRAM for data and stack |
| Operating Voltage | 1.8–5.5 V - supports single-supply operation across battery and line-powered systems |
| Max Clock Frequency | 20 MHz at VCC ≥ 2.7 V; 5 MHz at VCC ≥ 1.8 V - enables performance scaling with supply |
| ADC | 10-bit resolution × 4 channels with sample-and-hold and sweep mode - suitable for sensor interfacing |
| Timers | Timer RA (8-bit), RB (8-bit PWM), RC (16-bit w/ 4 capture/compare), RE (real-time clock) |
| Serial Interfaces | UART0 (full-duplex), UART2 (UART/I²C/multiprocessor mode) - dual-protocol flexibility |
| Package | 20-pin LSSOP (PLSP0020JB-A, 0.65 mm pitch) - surface-mount compatible with compact PCB layouts |
Pinout & Package
Package: 20-pin LSSOP (PLSP0020JB-A, JEDEC MO-153 variant, 0.65 mm lead pitch, body size 7.6 × 4.4 mm).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (P4_2) | VREF | Analog reference voltage input for ADC - sets full-scale conversion range |
| 2 (MODE) | Mode Select | Boot configuration input - tied to VCC via resistor for normal operation |
| 3 (RESET) | Active-Low Reset | Hardware reset initiation - synchronous deassertion required for reliable startup |
| 4 (P4_7/XOUT) | XIN Clock Output | Crystal oscillator output or external clock input - drives external resonator |
| 5 (VSS/AVSS) | Digital & Analog Ground | Common return path; AVSS must be decoupled separately for ADC noise immunity |
| 6 (P4_6/XIN) | XIN Clock Input | Primary system clock input - supports ceramic resonator or crystal up to 20 MHz |
| 7 (VCC/AVCC) | Supply Voltage | Core and analog supply - AVCC requires dedicated 0.1 µF bypass to AVSS |
| 8 (P3_7) | TRAO/RXD2/SCL2/TXD2/SDA2 | Multifunction I/O - UART2 data I/O or I²C clock/data depending on module configuration |
| 9 (P3_5) | CLK2/TRCIOD | UART2 clock I/O or Timer RC debug trace signal - configurable per peripheral enable |
| 10 (P3_4) | RXD2/SCL2/TXD2/SDA2/IVREF3 | I²C bidirectional data or UART2 I/O or comparator reference - software-selectable function |
| 11 (P3_3) | INT3/CTS2/RTS2/TRCCLK | Interrupt source or UART2 flow control or Timer RC clock input - role defined by SFR settings |
| 12 (P4_5) | INT0/RXD2/SCL2/ADTRG | External interrupt trigger or UART2 receive or I²C clock or ADC start pulse - shared peripheral resource |
| 13 (P1_7) | INT1/TRAIO/IVCMP1 | Interrupt input or Timer RA I/O or Comparator B input - multiplexed analog/digital path |
| 14 (P1_6) | CLK0/IVREF1 | UART0 clock I/O or comparator reference voltage - avoids external reference components |
| 15 (P1_5) | INT1/RXD0/TRAIO | UART0 receive or Timer RA I/O or secondary interrupt - supports dual-role timing control |
| 16 (P1_4) | TXD0/TRCCLK | UART0 transmit or Timer RC clock - enables synchronized peripheral triggering |
| 17 (P1_3) | KI3/TRBO/AN11 | Key interrupt input or Timer RB output or ADC channel 11 - direct sensor or UI interface |
| 18 (P1_2) | KI2/TRCIOB/AN10 | Key interrupt or Timer RC I/O or ADC channel 10 - supports capacitive touch or analog sensing |
| 19 (P1_1) | KI1/TRCIOA/TRCTRG | Key interrupt or Timer RC I/O or external trigger - enables event-driven wake-up from low-power modes |
| 20 (P1_0) | KI0/TRCIOD/AN8 | Key interrupt or Timer RC debug signal or ADC channel 8 - primary entry point for user interaction |
Key Features
| Feature | Design Value |
|---|---|
| On-chip debug support | Enables real-time firmware debugging and flash reprogramming without external emulator |
| Low-power operating modes | Wait mode (3.5 µA @ 32 kHz) and stop mode (2.0 µA) extend battery life in portable devices |
| Voltage detection circuit | Configurable reset and detection thresholds (VDD monitor + 2 selectable levels) prevent brown-out failures |
| High-current drive I/O | 15 pins support 20 mA sink/source - directly drive LEDs or small relays without external drivers |
| Real-time clock (Timer RE) | 8-bit counter with calendar logic (seconds/minutes/hours/days) - eliminates external RTC IC |
| Comparator B (2 circuits) | Independent analog comparators with internal reference inputs - enable zero-crossing detection or threshold alarms |
Applications
| Home Appliance Control | Office Equipment Interface |
|---|---|
Use Scenario: Embedded controller in microwave oven or rice cooker managing keypad scan, display backlight, relay sequencing, and temperature monitoring via thermistor. IC Role / Device Role / Timing Role: Primary system MCU executing real-time cooking logic, ADC sampling, and PWM fan control. Use Value: Integrated 10-bit ADC, high-current I/O, and RTC eliminate discrete support components - reducing BOM count and board area. |
Use Scenario: Control unit in multifunction printer handling paper feed sensors, button panel, LED status indicators, and USB-to-parallel bridge coordination. IC Role / Device Role / Timing Role: Peripheral manager interfacing mechanical sensors, driving indicator LEDs, and synchronizing print engine timing. Use Value: Dual UARTs support host communication and internal module handshaking; 20-pin LSSOP fits tight mechanical envelopes. |
| Audio System Remote Interface | Consumer IoT Sensor Node |
Use Scenario: IR remote receiver and command decoder in stereo amplifier or soundbar, interpreting NEC/RC-5 protocols and updating display. IC Role / Device Role / Timing Role: Dedicated protocol processor using INT-based edge detection and timer-based pulse measurement. Use Value: Key input interrupts (KI0–KI3) and programmable waveform timers enable precise IR carrier decoding without CPU overhead. |
Use Scenario: Battery-powered environmental monitor collecting temperature/humidity data, logging to EEPROM, and transmitting via UART to gateway. IC Role / Device Role / Timing Role: Low-power data acquisition node using stop mode between 10-second ADC sweeps and UART burst transmission. Use Value: 2.0 µA stop mode current and on-chip voltage detection ensure >1-year coin-cell operation with robust brown-out protection. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21324DNSP | 16 KB Flash (vs. 8 KB), same RAM, package, and peripheral set | Supports larger firmware images - preferred when bootloader, OTA updates, or complex UI logic require extra code space | Select when future firmware expansion is anticipated; pin-compatible with no layout change |
| R5F21322DDSP | Identical Flash/RAM/peripherals; extended temp range (−40°C to +85°C vs. −20°C to +85°C) | Suitable for industrial enclosures or automotive cabin environments where ambient extremes exceed N-grade limits | Choose for harsher thermal environments; same footprint and firmware - only qualification differs |
Compared with R5F21322DNSP, R5F21324DNSP offers double Flash capacity for feature-rich firmware, while R5F21322DDSP provides extended temperature operation without altering code or PCB - both retain identical peripheral functionality and pinout.
Availability
R5F21322DNSP is available at Aetrix Electronics and suitable for home appliance control, office equipment interface, and consumer audio remote applications requiring stable component supply and long-term production continuity.
Supply support for R5F21322DNSP 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 industrial, automotive, and consumer markets.
The R5F21322DNSP belongs to the R8C/32D Group - a family of low-power, cost-optimized 8-bit MCUs designed for resource-constrained embedded control in appliances, office automation, and audio systems.
FAQ
What is the maximum operating frequency of the R5F21322DNSP and under what supply conditions?
The R5F21322DNSP achieves 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 supported frequency reduces to 5 MHz to ensure timing margin and stability. This dual-frequency capability allows designers to optimize performance versus power consumption based on system requirements and battery state.
Does the R5F21322DNSP support in-circuit debugging and flash programming without external hardware?
Yes, the R5F21322DNSP includes on-chip debug functionality that enables full firmware debugging, breakpoint setting, and flash memory rewriting via a single-wire interface - no external emulator or debug probe is required. This capability is implemented in silicon and documented in the R8C/32D Group hardware manual, allowing rapid development and field firmware updates.
What are the key differences between the R5F21322DNSP and R5F21322DDSP variants?
The R5F21322DNSP and R5F21322DDSP share identical Flash (8 KB), RAM (1 KB), peripherals, and pinout. Their sole difference is operating ambient temperature range: R5F21322DNSP is rated for −20°C to +85°C (N grade), while R5F21322DDSP extends to −40°C to +85°C (D grade) for industrial or automotive cabin use. Firmware and PCB layout are fully interchangeable.
Can the R5F21322DNSP's UART2 module operate in I²C mode, and what pins are used?
Yes, UART2 on the R5F21322DNSP supports I²C-bus mode using pins P3_7 (SCL2), P3_4 (SDA2), and P3_3 (optional TRCCLK for clock stretching). Configuration is performed via U2MR and U2C0 registers. This dual-mode capability allows reuse of the same peripheral for either asynchronous serial or synchronous I²C communication - reducing pin count and simplifying system architecture.
How does the R5F21322DNSP handle power-on reset and brown-out detection?
The R5F21322DNSP integrates a voltage detection circuit with power-on reset (POR) and three configurable detection levels. Level 0 (VDD monitor) triggers reset during startup; Levels 1 and 2 provide programmable brown-out warnings or resets. Detection thresholds are selected via VD1LS register, and interrupt flags (VCMP1IC/VCMP2IC) allow firmware to initiate safe shutdown before supply collapse.
R5F21322DNSP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 20-LSSOP (0.173", 4.40mm Width)
- Series:
- R8C/3x/32D
- Packaging:
- Tray
- 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:
- -
- RAM Size:
- 1K 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:
R5F21322DNSP#U0 FAQ
1.How can I place an order for R5F21322DNSP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21322DNSP#U0 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 R5F21322DNSP#U0 reliable?
The price and inventory of R5F21322DNSP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21322DNSP#U0 is usually 5 days.
3.What payment methods are accepted for R5F21322DNSP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21322DNSP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21322DNSP#U0?
R5F21322DNSP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21322DNSP#U0 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 R5F21322DNSP#U0?
For technical support, including R5F21322DNSP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21322DNSP#U0 requirements.
6.How does Aetrix verify that R5F21322DNSP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F21322DNSP#U0 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 R5F21322DNSP#U0 meets industry standards.
7.What is the process for return or replacement of R5F21322DNSP#U0?
All R5F21322DNSP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21322DNSP#U0, 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 R5F21322DNSP#U0 part is unused and in its original packaging.
Return procedure for R5F21322DNSP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21322DNSP#U0 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…

