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

- Shipping:

Inventory:2,380
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21162SP#U0 from Renesas Electronics is a 16-bit R8C/Tiny Series microcontroller in 20-pin LSSOP package, featuring an 8 KB flash program memory, 512 bytes RAM, and a 1 Mbyte address space. It integrates a 10-bit 4-channel ADC, UART/I²C/serial interface, three timers (8-bit ×2, 16-bit ×1), watchdog timer, and operates from 2.7–5.5 V at up to 20 MHz for embedded control in consumer appliances and industrial sensors.
For engineers reviewing the R5F21162SP#U0 datasheet, R5F21162SP#U0 pinout, R5F21162SP#U0 application, or R5F21162SP#U0 equivalent, this MCU delivers deterministic real-time control with low-power wait/stop modes (35 µA / 0.7 µA), on-chip oscillators with frequency adjustment, and I/O pins supporting LED drive and key input detection - critical for cost-sensitive, space-constrained designs requiring firmware update capability and analog sensing.
Technical Context
The R5F21162SP#U0 implements the R8C/Tiny CPU core with 89 instructions and executes at 50 ns minimum instruction time (20 MHz, 3.0–5.5 V). Its memory architecture separates 8 KB flash program ROM (no data flash) from 512 bytes RAM and includes fixed interrupt vectors at 0FFDCh–0FFFFh.
Peripheral integration includes dual on-chip oscillators (high-speed with trimmable frequency, low-speed), main clock stop detection, voltage monitor circuits, and a programmable I/O structure where P1_0–P1_3 serve as both general-purpose ports and LED drivers - enabling direct interface to indicator LEDs without external drivers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C/Tiny 16-bit, 89-instruction set, 50 ns min. instruction time at 20 MHz |
| Memory | 8 KB flash program ROM, 512 bytes RAM, 1 Mbyte linear address space |
| ADC | 10-bit resolution, 4-channel single-ended analog input with internal reference |
| Timers | Timer X/Z (8-bit ×2, each with 8-bit prescaler), Timer C (16-bit with input capture/output compare) |
| Serial Interfaces | 1 UART channel, 1 clock-synchronous serial I/O, 1 I²C bus interface (SCL/SDA) |
| Power Management | Wait mode: 35 µA @ 3.0 V; Stop mode: 0.7 µA @ 3.0 V; VCC range: 2.7–5.5 V |
| Operating Temp | -20°C to +85°C (standard grade); no D suffix indicates non-extended temperature version |
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 event counter input for Timer X; supports edge-triggered counting |
| 3 (RESET) | Active-Low Reset Input | Asynchronous reset assertion halts CPU and initializes registers; internal pull-down |
| 4 (XOUT) | Main Clock Output | Output from crystal/resonator oscillator circuit; leave open when using external clock |
| 5 (VSS/AVSS) | Digital & Analog Ground | Common ground reference for digital logic and A/D converter; separate AVSS improves ADC noise immunity |
| 6 (XIN) | Main Clock Input | Input for crystal/resonator or external clock source; internal feedback resistor enables standalone operation |
| 7 (VCC) | Supply Voltage | Primary power rail (2.7–5.5 V); powers all digital and analog blocks except AVCC-decoupled A/D section |
| 8 (MODE) | Boot Mode Select | Must be tied to VCC via resistor to enable normal flash execution mode; floating or low forces test mode |
| 9 (P4_5) | External Interrupt 0 (INT0) | Edge-sensitive interrupt input; configurable polarity; supports wake-up from low-power modes |
| 10 (P1_7) | Timer C Input 0 (CNTR00) | First input capture/compare channel of 16-bit Timer C; supports pulse-width measurement |
| 11 (P1_6) | UART Clock (CLK0) | Transfer clock I/O for synchronous serial communication; also used as general-purpose I/O |
| 12 (P1_5) | UART Receive (RXD0) | Asynchronous serial data input; supports full-duplex UART operation with programmable baud rate |
| 13 (P1_4) | UART Transmit (TXD0) | Asynchronous serial data output; complements RXD0 for standard UART communication |
| 14 (P1_3) | LED Drive / Timer Z Output (TZOUT) | Configurable as LED sink driver (up to 20 mA) or Timer Z PWM output; direct visual status indication |
| 15 (P1_2) | LED Drive / Analog Input (AN10) | Supports simultaneous LED drive and analog sensing; shared pin requires functional multiplexing |
| 16 (AVCC/VREF) | Analog Supply / Reference | Separate analog power input; VREF can be internally connected to AVCC for stable ADC reference |
| 17 (P1_1) | LED Drive / Analog Input (AN9) | Dual-role pin: drives LEDs or samples analog signal; software-configurable direction and function |
| 18 (P1_0) | LED Drive / Analog Input (AN8) | Primary analog input channel with LED drive capability; enables compact sensor+indicator subsystems |
| 19 (P3_3) | Timer C Input (TCIN) | Second input capture source for Timer C; supports quadrature decoding or frequency measurement |
| 20 (P3_4) | I²C Data (SDA) | Open-drain bidirectional I²C bus data line; shares pin with comparator output CMP1_1 |
Key Features
| Feature | Design Value |
|---|---|
| On-chip Oscillators | High-speed and low-speed RC oscillators with trimmable frequency; eliminates need for external crystals in many applications |
| LED Drive Capability | P1_0–P1_3 support direct LED sinking (20 mA typical), reducing BOM count and PCB area for status indicators |
| Low-Power Operation | Stop mode current ≤0.7 µA enables battery-powered operation for years in sensor nodes and remote controls |
| Integrated Voltage Monitoring | Dual voltage detection circuits (VCA1/VCA2) provide brown-out reset and supply supervision without external components |
| Flexible Interrupt System | 16 interrupt sources (9 internal, 4 external, 4 software), 7 priority levels, and individual enable/disable per source |
| Flash Memory Endurance | 1,000 program/erase cycles guaranteed - sufficient for field firmware updates and configuration storage |
Applications
| Home Appliance Control | Industrial Sensor Node |
|---|---|
|
Use Scenario: Microcontroller in washing machine control board managing motor sequencing, water level sensing, and user interface. IC Role / Device Role / Timing Role: Primary system controller executing real-time motor timing, ADC-based pressure transducer reading, and LED display driving. Use Value: Integrated LED drive pins eliminate discrete drivers; 10-bit ADC resolves water level changes with ±1% accuracy; low-power stop mode extends standby battery life. |
Use Scenario: Standalone temperature/humidity sensor node transmitting data via UART to gateway in factory HVAC monitoring. IC Role / Device Role / Timing Role: Sensor interface MCU acquiring analog signals, performing local calibration, and serially reporting via UART. Use Value: On-chip voltage monitor ensures reliable operation during supply fluctuations; 35 µA wait mode extends coin-cell battery life to >2 years. |
| Office Equipment Panel | Security Keypad Interface |
|
Use Scenario: Control unit for multifunction printer panel handling button presses, LCD backlight control, and status LED feedback. IC Role / Device Role / Timing Role: Human interface processor scanning matrix keys, driving segmented LCD segments, and pulsing status LEDs. Use Value: Key input interrupt (KI0–KI3) enables immediate response to button press; P1_0–P1_3 LED drive pins directly control multi-color indicators without external transistors. |
Use Scenario: Entry keypad for access control system detecting keypresses, validating codes, and signaling lock actuation. IC Role / Device Role / Timing Role: Dedicated keypad controller with debounced key scan, secure code comparison, and relay driver interface. Use Value: Hardware key input interrupts reduce CPU load and latency; internal oscillator eliminates crystal cost and layout sensitivity in security-critical hardware. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21162DSP#U0 | Same core, memory, and peripherals; extended temperature range (-40°C to +85°C) and enhanced ESD rating | Required for automotive cabin modules or outdoor industrial enclosures subject to thermal cycling | Select when operating ambient exceeds -20°C to +85°C specification; otherwise identical firmware compatibility |
| R5F21172SP#U0 | Adds 2 KB data flash (1 KB × 2 blocks); same package, pinout, and peripheral set | Enables field-updatable calibration tables or secure parameter storage without external EEPROM | Choose when non-volatile data logging or firmware parameter persistence is required; flash endurance differs (10,000 vs. 1,000 cycles) |
Compared with R5F21162SP#U0, R5F21162DSP#U0 offers wider temperature tolerance for harsh environments, while R5F21172SP#U0 provides higher data flash endurance for frequent configuration writes - both retain identical code compatibility and pin mapping but address distinct reliability and data retention requirements.
Availability
R5F21162SP#U0 is available at Aetrix Electronics and suitable for home appliance control, industrial sensor nodes, and office equipment panels requiring stable component supply across long production lifecycles.
Supply support for R5F21162SP#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 R5F21162SP#U0 belongs to the R8C/16 Group - a cost-optimized 16-bit MCU family designed for high-volume consumer and industrial embedded applications demanding low power, integrated peripherals, and robust flash programming.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21162SP#U0?
The R5F21162SP#U0 operates at up to 20 MHz when supplied with 3.0–5.5 V, and at up to 10 MHz with 2.7–5.5 V. Its minimum instruction execution time is 50 ns under the 20 MHz condition, enabling deterministic real-time response in time-critical control loops. The device maintains full functionality across its specified voltage range without performance derating.
Does the R5F21162SP#U0 include data flash memory?
No, the R5F21162SP#U0 contains only 8 KB of program flash memory and does not include dedicated data flash. It belongs to the R8C/16 Group, which lacks the 1 KB × 2 data flash blocks found in the R8C/17 Group (e.g., R5F21172SP#U0). For applications requiring frequent non-volatile data writes, an alternative R8C/17 part or external EEPROM is necessary.
How many analog input channels does the R5F21162SP#U0 support, and what is the ADC resolution?
The R5F21162SP#U0 integrates a single 10-bit successive-approximation ADC with four analog input channels (AN8–AN11), mapped to P1_0–P1_3 pins. Each channel supports single-ended measurement referenced to AVCC/VREF, delivering 1024 quantization levels with typical INL of ±1 LSB - sufficient for precision temperature sensing and potentiometer position detection.
Can the R5F21162SP#U0 drive LEDs directly, and which pins support this function?
Yes, the R5F21162SP#U0 supports direct LED drive on P1_0 through P1_3, each capable of sinking up to 20 mA. These pins are configured as open-drain outputs with internal current-limiting capability, eliminating the need for external current-limiting resistors in basic indicator applications. Software must configure the port direction register and output latch appropriately for LED on/off control.
What low-power modes are available on the R5F21162SP#U0, and what are their typical current draws?
The R5F21162SP#U0 offers Wait mode (35 µA @ 3.0 V, peripheral clocks off) and Stop mode (0.7 µA @ 3.0 V, all clocks halted). Both modes retain RAM contents and allow wake-up via external interrupt or reset. These ultra-low quiescent currents make the R5F21162SP#U0 suitable for battery-powered remote sensors and energy-harvesting systems requiring multi-year operational life.
R5F21162SP#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:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 512 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:
R5F21162SP#U0 FAQ
1.How can I place an order for R5F21162SP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21162SP#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 R5F21162SP#U0 reliable?
The price and inventory of R5F21162SP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21162SP#U0 is usually 5 days.
3.What payment methods are accepted for R5F21162SP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21162SP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21162SP#U0?
R5F21162SP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21162SP#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 R5F21162SP#U0?
For technical support, including R5F21162SP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21162SP#U0 requirements.
6.How does Aetrix verify that R5F21162SP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F21162SP#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 R5F21162SP#U0 meets industry standards.
7.What is the process for return or replacement of R5F21162SP#U0?
All R5F21162SP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21162SP#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 R5F21162SP#U0 part is unused and in its original packaging.
Return procedure for R5F21162SP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21162SP#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…

