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

- Shipping:

Inventory:3,869
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21164DSP#U0 from Renesas Electronics is a 16-bit R8C/Tiny Series microcontroller in 20-pin LSSOP package, featuring 16 KB flash ROM, 1 KB RAM, 10-bit 4-channel ADC, UART/I²C/serial interface, and three timers (8-bit ×2, 16-bit ×1). It operates from 2.7–5.5 V across –40°C to +85°C and targets embedded control in household appliances and industrial sensors.
For engineers reviewing the R5F21164DSP#U0 datasheet, R5F21164DSP#U0 pinout, R5F21164DSP#U0 application, or R5F21164DSP#U0 equivalent, this page delivers verified specifications, validated pin functions, confirmed operating temperature range (–40°C to +85°C), real-world use cases in sensor-based housing equipment, and two documented alternative parts with explicit functional and memory differences.
Technical Context
The R5F21164DSP#U0 implements the R8C/Tiny CPU core with 89 instructions and executes at 50 ns minimum cycle time (20 MHz XIN, 3.0–5.5 V). Its memory map allocates 1 Mbyte address space, with fixed interrupt vectors at 0FFDCh–0FFFFh and internal RAM starting at 00400h.
It integrates dual clock generation circuits - main crystal/ceramic oscillator (XIN/XOUT) and adjustable high-/low-speed on-chip oscillators - plus oscillation stop detection, voltage monitor, and power-on reset. Peripheral control uses dedicated SFRs mapped to addresses 0000h–002Fh and 0040h–007Fh.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C/Tiny 16-bit, 89-instruction set, 50 ns min. instruction time @ 20 MHz |
| Memory | 16 KB flash ROM, 1 KB RAM, no data flash (R8C/16 Group) |
| ADC | 10-bit resolution, 4 input channels (AN8–AN11), referenced to AVCC/VREF |
| Timers | Timer X/Z (8-bit ×2 w/ 8-bit prescaler), Timer C (16-bit w/ input capture/output compare) |
| Serial Interfaces | 1 UART channel, 1 I²C bus interface, 1 clock-synchronous serial I/O |
| Supply & Temp | 2.7–5.5 V operation, –40°C to +85°C ambient range (D Version) |
| Power Modes | Wait mode: 35 µA @ 3.0 V; Stop mode: 0.7 µA @ 3.0 V |
Pinout & Package
Package: 20-pin plastic molded LSSOP (PLSP0020JB-A), 0.65 mm pitch, surface-mount, JEDEC MS-013AC compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (P3_5) | I²C Clock (SCL) | Open-drain bidirectional I²C bus clock line; requires external pull-up |
| 2 (P3_7) | Timer X Input (CNTR0) | External count input for Timer X; supports edge-triggered event counting |
| 3 (RESET) | Active-Low Reset Input | Asynchronous reset assertion resets CPU, peripherals, and registers; internal pull-down |
| 4 (XOUT) | Main Clock Output | Output of crystal/resonator oscillator circuit; must be left open if external clock used |
| 5 (VSS/AVSS) | Digital & Analog Ground | Common reference for digital logic and A/D converter; separate AVSS minimizes noise coupling |
| 6 (XIN) | Main Clock Input | Input for crystal/resonator or external clock source; drives internal oscillator amplifier |
| 7 (VCC) | Supply Voltage | Primary power rail (2.7–5.5 V); powers CPU, RAM, flash, and most peripherals |
| 8 (MODE) | Boot Mode Select | Must be tied to VCC via resistor to enable normal flash execution mode |
| 9 (P4_5) | External Interrupt 0 (INT0) | Edge-sensitive interrupt input; configurable polarity via SFR; supports wake-up from low-power modes |
| 10 (P1_7) | Interrupt 10 / CNTR00 | Shared function: external interrupt input or Timer X counter output (CNTR00) |
| 11 (P1_6) | UART Clock (CLK0) | Transfer clock I/O for synchronous serial communication; also used as UART baud rate reference |
| 12 (P1_5) | UART RX / INT11 / CNTR01 | Primary UART receive input; doubles as external interrupt or Timer X counter output |
| 13 (P1_4) | UART TX (TXD0) | UART transmit output; driven by internal shift register; supports full-duplex operation |
| 14 (P1_3) | LED Drive / TZOUT / AN11 | Configurable as LED sink driver (up to 20 mA), Timer Z output, or ADC input channel 11 |
| 15 (P1_2) | LED Drive / CMP0_2 / AN10 | Triple-function pin: LED drive, comparator 0 output, or ADC input channel 10 |
| 16 (AVCC/VREF) | Analog Supply / Reference | Separate analog power rail; also serves as A/D reference voltage when VREF is connected to VCC |
| 17 (P1_1) | LED Drive / CMP0_1 / AN9 | Supports LED sinking, comparator 0 output, or ADC input channel 9 |
| 18 (P1_0) | LED Drive / CMP0_0 / AN8 | LED drive capable, comparator 0 output, or ADC input channel 8 |
| 19 (P3_3) | INT3 / TCIN / CMP1_0 | External interrupt, Timer C input capture, or comparator 1 output |
| 20 (P3_4) | I²C Data (SDA) | Open-drain bidirectional I²C bus data line; requires external pull-up resistor |
Key Features
| Feature | Design Value |
|---|---|
| Flash endurance | 1,000 program/erase cycles - sufficient for firmware updates in field-deployed appliances |
| Low-power operation | 0.7 µA stop mode current enables battery-backed operation in security sensors |
| Integrated analog front-end | 4-channel 10-bit ADC with dedicated AVCC/AVSS and VREF input reduces external component count |
| Dual clock sources | Crystal oscillator + tunable high-speed on-chip oscillator allow flexible timing architecture and fail-safe clock switching |
| LED drive capability | P1_0–P1_3 support direct LED sinking (20 mA typical) - eliminates discrete drivers in status indicator designs |
Applications
| Smart Thermostat Control | Industrial Sensor Node |
|---|---|
|
Use Scenario: Local temperature/humidity sensing with display and relay control in HVAC systems. IC Role / Device Role / Timing Role: Main system controller executing PID loop, managing I²C sensor reads, driving LED indicators, and controlling relay via GPIO. Use Value: Integrated 10-bit ADC and LED drive ports reduce BOM cost; –40°C to +85°C rating ensures reliability in unconditioned environments. |
Use Scenario: Battery-powered vibration/temperature monitoring node in factory machinery. IC Role / Device Role / Timing Role: Low-power data acquisition unit sampling analog sensors, storing logs in RAM, and transmitting via UART to gateway. Use Value: 0.7 µA stop mode extends battery life; UART and I²C interfaces enable flexible connectivity to transceivers or local sensors. |
| Home Security Keypad | Office Equipment Motor Control |
|
Use Scenario: Entry keypad with key scan, buzzer feedback, and tamper detection. IC Role / Device Role / Timing Role: Key input interrupt handler (KI0–KI3), buzzer PWM generator (via Timer Z), and secure boot controller. Use Value: Dedicated key input pins with programmable pull-ups simplify matrix scanning; 89-instruction R8C core delivers responsive UI latency. |
Use Scenario: Fan speed regulation and error reporting in printers/copiers. IC Role / Device Role / Timing Role: Closed-loop motor controller using Timer C for precise PWM generation and ADC for current sensing. Use Value: 16-bit Timer C with input capture supports accurate tachometer feedback; 16 KB flash accommodates motor control algorithms and diagnostics. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21164SP | No extended temperature grade: rated –20°C to +85°C only; identical memory, peripherals, and pinout | Suitable for indoor office equipment but not automotive under-hood or outdoor housing units | Select R5F21164SP only if ambient operating temperature remains above –20°C |
| R5F21174DSP | Adds 2 KB data flash (1 KB ×2 blocks); same 16 KB program ROM, 1 KB RAM, and –40°C to +85°C rating | Required where field firmware updates or parameter storage (e.g., calibration data) must survive power loss | Choose R5F21174DSP when nonvolatile data logging or over-the-air update capability is mandatory |
Compared with R5F21164DSP#U0, R5F21164SP lacks industrial temperature support but matches all electrical and functional specs, while R5F21174DSP adds data flash for persistent storage without altering code footprint or timing behavior.
Availability
R5F21164DSP#U0 is available at Aetrix Electronics and suitable for smart thermostat control, industrial sensor nodes, home security keypads, and office equipment motor control requiring stable component supply across extended temperature ranges.
Supply support for R5F21164DSP#U0 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 formed in 2010 through the merger of NEC Electronics and Renesas Technology, specializing in microcontrollers, analog, and power solutions.
The R8C/16 Group, including R5F21164DSP#U0, was designed for cost-sensitive, low-power embedded control in consumer and industrial equipment where compact size, integrated peripherals, and extended temperature operation are critical.
FAQ
What is the maximum operating frequency of the R5F21164DSP#U0?
The R5F21164DSP#U0 achieves a minimum instruction execution time of 50 ns when operating at 20 MHz with VCC = 3.0–5.5 V. This corresponds to a maximum reliable system clock frequency of 20 MHz using the main crystal oscillator or high-speed on-chip oscillator. The device supports lower frequencies down to DC in stop mode.
Does the R5F21164DSP#U0 include data flash memory?
No, the R5F21164DSP#U0 belongs to the R8C/16 Group and contains only program flash ROM (16 KB). It does not integrate data flash memory. Data flash (1 KB ×2 blocks) is exclusive to the R8C/17 Group, such as the R5F21174DSP. This distinction is explicitly defined in Renesas documentation.
What are the key differences between R5F21164DSP#U0 and R5F21164SP?
The R5F21164DSP#U0 and R5F21164SP share identical memory (16 KB ROM, 1 KB RAM), peripherals, and pinout. Their sole difference is operating temperature range: R5F21164DSP#U0 is rated –40°C to +85°C (D Version), while R5F21164SP is rated –20°C to +85°C. Both use the same PLSP0020JB-A package.
Which communication interfaces does the R5F21164DSP#U0 support?
The R5F21164DSP#U0 supports three serial interfaces: one UART channel (TXD0/RXD0), one I²C bus interface (SCL/SDA), and one clock-synchronous serial I/O channel (CLK0). All are implemented in hardware and accessible via dedicated pins and SFR-controlled registers.
Can the R5F21164DSP#U0 drive LEDs directly?
Yes, pins P1_0 through P1_3 on the R5F21164DSP#U0 are designated as LED drive ports, capable of sinking up to 20 mA per pin. This allows direct connection of common-anode LEDs without external drivers, simplifying PCB layout in status-indicator applications.
R5F21164DSP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 20-LSSOP (0.173", 4.40mm Width)
- Series:
- R8C/1x/16
- Packaging:
- Tube
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- I2C, SIO, UART/USART
- Peripherals:
- LED, POR, Voltage Detect, WDT
- Number of I/O:
- 13
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 1K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.7V ~ 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:
R5F21164DSP#U0 FAQ
1.How can I place an order for R5F21164DSP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21164DSP#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 R5F21164DSP#U0 reliable?
The price and inventory of R5F21164DSP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21164DSP#U0 is usually 5 days.
3.What payment methods are accepted for R5F21164DSP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21164DSP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21164DSP#U0?
R5F21164DSP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21164DSP#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 R5F21164DSP#U0?
For technical support, including R5F21164DSP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21164DSP#U0 requirements.
6.How does Aetrix verify that R5F21164DSP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F21164DSP#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 R5F21164DSP#U0 meets industry standards.
7.What is the process for return or replacement of R5F21164DSP#U0?
All R5F21164DSP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21164DSP#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 R5F21164DSP#U0 part is unused and in its original packaging.
Return procedure for R5F21164DSP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21164DSP#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…

