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

- Shipping:

Inventory:3,208
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21164SP#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, and integrated 10-bit 4-channel ADC. It executes instructions at 50 ns minimum cycle time (20 MHz XIN), supports UART/I²C/serial I/O, and targets embedded control in appliances and industrial equipment.
For engineers reviewing the R5F21164SP#U0 datasheet, R5F21164SP#U0 pinout, R5F21164SP#U0 application, or R5F21164SP#U0 equivalent, this page delivers verified technical context, validated pin functions, confirmed operating voltage range (2.7–5.5 V), real-world use scenarios, and two rigorously cross-checked alternative parts for design continuity.
Technical Context
The R5F21164SP#U0 implements the R8C/Tiny CPU core with 89 basic instructions and a 1 Mbyte linear address space. Its memory map allocates 16 KB program ROM from 0xC000–0xFFFF and 1 KB RAM from 0x0400–0x07FF, with fixed interrupt vectors at 0xFFDC–0xFFFF.
It integrates dual clock generation circuits - main crystal/ceramic oscillator (XIN/XOUT) and adjustable high-speed/low-speed on-chip oscillators - plus oscillation stop detection, voltage monitor, and power-on reset. Peripheral control uses dedicated SFRs mapped to addresses 0x0000–0x02FF.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C/Tiny 16-bit, 89-instruction set, 20 MHz max operation |
| Memory | 16 KB flash ROM (program), 1 KB RAM - sufficient for standalone sensor/control firmware without external memory |
| ADC | 10-bit resolution, 4 input channels (AN8–AN11) - supports analog sensing of temperature, voltage, or potentiometer signals |
| Timers | Timer X (8-bit), Timer Z (8-bit), Timer C (16-bit with input capture/output compare) - enables PWM generation, pulse measurement, and precise timing intervals |
| Serial Interfaces | 1 UART channel + 1 I²C bus interface + 1 clock-synchronous serial I/O - provides flexible communication with sensors, displays, and host controllers |
| Supply Voltage | 2.7–5.5 V - compatible with both 3.3 V and 5 V system rails without level-shifting |
| Operating Temperature | −20°C to +85°C - suitable for indoor consumer and office equipment environments |
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 clock line for I²C slave/master operation |
| 2 (P3_7) | Timer X Input (CNTR0) | External event counter input for frequency measurement or pulse counting |
| 3 (RESET) | Active-low Reset Input | Hardware reset trigger; requires external pull-up and debouncing for reliable startup |
| 4 (XOUT) | Main Clock Output | Drives crystal/resonator feedback path; must be left open when using external clock |
| 5 (VSS/AVSS) | Digital & Analog Ground | Common reference for logic and ADC; separate AVSS improves analog noise immunity |
| 6 (XIN) | Main Clock Input | Accepts crystal, ceramic resonator, or external clock signal up to 20 MHz |
| 7 (VCC) | Power Supply | Primary 2.7–5.5 V supply for core and I/O; decoupling capacitor required near pin |
| 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-triggered wake-up or event-handling input with programmable filter |
| 10 (P1_7) | Interrupt 10 / CNTR00 | Timer X channel 0 input or external interrupt source |
| 11 (P1_6) | UART Clock (CLK0) | Transfer clock I/O for synchronous serial mode; unused in UART mode |
| 12 (P1_5) | UART RX / INT11 | Asynchronous receive input or external interrupt source |
| 13 (P1_4) | UART TX | Asynchronous transmit output; open-drain capable for wired-OR bus configurations |
| 14 (P1_3) | LED Drive / TZOUT / AN11 | Configurable as LED sink driver (up to 20 mA), Timer Z output, or ADC input |
| 15 (P1_2) | LED Drive / CMP0_2 / AN10 | Multi-function pin supporting LED drive, comparator output, or analog input |
| 16 (AVCC/VREF) | Analog Power / Reference | Separate analog supply and A/D reference; connect to VCC with 0.1 µF bypass capacitor |
| 17 (P1_1) | LED Drive / CMP0_1 / AN9 | Shared LED drive, comparator, and ADC function - enables compact sensor interface |
| 18 (P1_0) | LED Drive / CMP0_0 / AN8 | Primary analog input and LED driver; supports simultaneous analog sensing and status indication |
| 19 (P3_3) | INT3 / TCIN / CMP1_0 | Timer C input capture, external interrupt, or comparator 1 input |
| 20 (P3_4) | I²C Data (SDA) | Open-drain bidirectional data line for I²C communication with EEPROMs or sensors |
Key Features
| Feature | Design Value |
|---|---|
| Data Flash Support | Not present - R5F21164SP#U0 belongs to R8C/16 Group (no data flash); differs from R8C/17 Group's 2×1 KB data flash |
| Low-Power Modes | Wait mode (35 µA @ 3.0 V) and stop mode (0.7 µA @ 3.0 V) - enables battery-powered operation with fast wake-up |
| On-Chip Oscillators | Adjustable high-speed and low-speed on-chip oscillators - eliminates need for external crystals in cost-sensitive designs |
| LED Drive Capability | Four dedicated I/O pins (P1_0–P1_3) support direct LED sinking - reduces BOM count for status indicators |
| Robust Reset Architecture | Integrated power-on reset, voltage detection (VCA1/VCA2), oscillation stop detection, and watchdog timer - ensures reliable boot and fault recovery |
Applications
| Home Appliance Control | Office Equipment Interface |
|---|---|
|
Use Scenario: Microcontroller in washing machine control panel managing motor sequencing, water level sensing, and user interface. IC Role / Device Role / Timing Role: Primary system controller executing real-time motor control loops and ADC-based water level monitoring. Use Value: Integrated 10-bit ADC and 16-bit Timer C enable precise analog feedback and PWM-driven motor timing without external components. |
Use Scenario: Embedded controller in multifunction printer handling paper feed detection, toner level reporting, and button press response. IC Role / Device Role / Timing Role: Peripheral coordinator interfacing mechanical sensors (opto-interrupters), buttons (KI0–KI3), and display drivers. Use Value: Four LED drive ports (P1_0–P1_3) directly drive status LEDs; I²C interface connects to EEPROM for configuration storage. |
| Housing Security Sensor Node | Industrial Panel Meter |
|
Use Scenario: Battery-powered door/window contact sensor transmitting open/close events via UART to central hub. IC Role / Device Role / Timing Role: Low-power sensor node controller with wake-on-interrupt (INT0/INT3) and UART transmission duty cycling. Use Value: Stop mode current of 0.7 µA extends battery life; built-in voltage monitor prevents brown-out during transmission bursts. |
Use Scenario: Front-panel meter in HVAC control system displaying temperature, humidity, and fan speed with local adjustment buttons. IC Role / Device Role / Timing Role: Human-machine interface processor reading rotary encoder inputs (via P1_0–P1_3), driving 7-segment display, and updating LCD via UART. Use Value: Key input interrupt (KI0–KI3) supports debounce-free button scanning; UART and I²C allow dual-path communication with host MCU. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21164DSP#U0 | Same ROM/RAM, −40°C to +85°C extended temperature grade (D suffix), identical pinout and peripherals | Required for industrial environments with wider thermal cycling or outdoor housing exposure | Select R5F21164DSP#U0 when ambient operating temperature exceeds −20°C minimum specification. |
| R5F21174SP#U0 | Adds 2×1 KB data flash (1,000 write/erase cycles), otherwise identical package, pinout, and peripheral set | Enables field-upgradable calibration data storage or firmware parameter retention across power cycles | Choose R5F21174SP#U0 only if nonvolatile parameter storage beyond program ROM is required. |
Compared with R5F21164SP#U0, the R5F21164DSP#U0 offers extended temperature operation without design changes, while R5F21174SP#U0 adds data flash at the cost of reduced program ROM endurance - both require no PCB layout revision but differ in qualification scope and data retention capability.
Availability
R5F21164SP#U0 is available at Aetrix Electronics and suitable for home appliance control, office equipment interface, and housing security sensor nodes requiring stable component supply and long-term production continuity.
Supply support for R5F21164SP#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 R5F21164SP#U0 belongs to the R8C/16 Group - a cost-optimized 16-bit MCU family designed for resource-constrained embedded control in consumer, office, and industrial equipment where flash density and analog integration outweigh data logging needs.
FAQ
What is the maximum operating frequency of the R5F21164SP#U0?
The R5F21164SP#U0 supports a maximum external clock frequency of 20 MHz on the XIN pin, achieving a 50 ns minimum instruction execution time under VCC = 3.0–5.5 V conditions. Its internal high-speed on-chip oscillator is factory-trimmed and adjustable, but rated lower than the crystal-driven mode.
Does the R5F21164SP#U0 include data flash memory?
No, the R5F21164SP#U0 does not include data flash memory. It belongs to the R8C/16 Group, which features only program flash ROM (16 KB). Data flash (1 KB × 2 blocks) is exclusive to the R8C/17 Group, such as the R5F21174SP#U0.
What are the key differences between R5F21164SP#U0 and R5F21164DSP#U0?
The R5F21164DSP#U0 is the extended temperature variant of the R5F21164SP#U0, qualified for −40°C to +85°C operation versus −20°C to +85°C. All electrical specifications, pinout, memory size, and peripheral functions are identical - only the ambient temperature rating differs.
Can the R5F21164SP#U0 operate from a 3.3 V supply?
Yes, the R5F21164SP#U0 operates across 2.7 V to 5.5 V, fully supporting 3.3 V nominal supply. At 3.0 V and 10 MHz XIN, typical active current is 5 mA; in stop mode, it draws just 0.7 µA - making it suitable for 3.3 V battery-backed systems.
Which pins on the R5F21164SP#U0 support LED driving?
Pins P1_0, P1_1, P1_2, and P1_3 on the R5F21164SP#U0 are designated as LED drive ports. Each supports sink-current operation up to 20 mA per pin, enabling direct connection of common-anode LEDs without external drivers or current-limiting resistors in many cases.
R5F21164SP#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:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21164SP#U0 FAQ
1.How can I place an order for R5F21164SP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21164SP#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 R5F21164SP#U0 reliable?
The price and inventory of R5F21164SP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21164SP#U0 is usually 5 days.
3.What payment methods are accepted for R5F21164SP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21164SP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21164SP#U0?
R5F21164SP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21164SP#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 R5F21164SP#U0?
For technical support, including R5F21164SP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21164SP#U0 requirements.
6.How does Aetrix verify that R5F21164SP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F21164SP#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 R5F21164SP#U0 meets industry standards.
7.What is the process for return or replacement of R5F21164SP#U0?
All R5F21164SP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21164SP#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 R5F21164SP#U0 part is unused and in its original packaging.
Return procedure for R5F21164SP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21164SP#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…

