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

- Shipping:

Inventory:2,335
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21152SP#U0 from Renesas Electronics is a 16-bit R8C/Tiny Series microcontroller with 8 KB program flash ROM, 1 KB × 2 data flash memory, and 512 bytes RAM, built on silicon gate CMOS process and packaged in 20-pin LSSOP (PLSP0020JB-A). It integrates an 8-bit × 1 Timer X, 8-bit × 1 Timer Z, 16-bit × 1 Timer C with input capture/output compare, 10-bit 4-channel A/D converter, UART/serial I/O, and operates across -20°C to +85°C for electric household appliances and industrial sensor control.
For engineers reviewing the R5F21152SP#U0 datasheet, R5F21152SP#U0 pinout, R5F21152SP#U0 application, or R5F21152SP#U0 equivalent, key selection criteria include its dual-block data flash endurance (10,000 cycles), low-power stop mode (0.7 µA), 20 MHz max clock speed at 3.0–5.5 V, and integrated voltage detection and oscillation stop detection for robust embedded control.
Technical Context
The R5F21152SP#U0 implements the R8C/Tiny CPU core with 89 basic instructions and executes at 50 ns minimum instruction time (20 MHz, 3.0–5.5 V). Its memory architecture provides 1 Mbyte address space, with program ROM mapped from 0C000h–0FFFFh and dual 1 KB data flash blocks at 02400h–02BFFh.
Peripheral integration includes two independent clock generation circuits (main crystal oscillator + high/low-speed on-chip oscillators with frequency adjustment), a 15-bit watchdog timer with prescaler and reset-start selectability, and seven-level priority interrupt system supporting 9 internal, 4 external, and 4 software interrupt sources.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C/Tiny 16-bit, 89 instructions, 50 ns min instruction time at 20 MHz |
| Memory | 8 KB program flash ROM + 2 KB data flash (1 KB × 2 blocks) + 512 B RAM |
| Operating Voltage | 2.7–5.5 V - supports single-supply operation across wide industrial range |
| Power Consumption | 0.7 µA in stop mode - enables battery-backed or ultra-low-power sensor nodes |
| A/D Converter | 10-bit resolution, 4 input channels - sufficient for analog sensor interfacing without external ADC |
| Timers | Timer X/Z (8-bit × 2), Timer C (16-bit with input capture/output compare) - supports PWM, pulse measurement, and event timing |
| Package | 20-pin LSSOP (PLSP0020JB-A), 0.65 mm pitch - compact surface-mount footprint for space-constrained PCBs |
Pinout & Package
Package: 20-pin plastic molded LSSOP (PLSP0020JB-A), 0.65 mm lead pitch, JEDEC MS-013AC compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply inputs | Primary digital power (2.7–5.5 V) and ground reference for all logic and peripherals |
| AVCC / AVSS / VREF | Analog supply & reference | Dedicated analog power domain; VREF tied to VCC enables ratiometric A/D conversion |
| XIN / XOUT | Main clock oscillator interface | Supports ceramic resonator or crystal up to 20 MHz; external clock input possible on XIN only |
| P1_0–P1_3 | LED drive I/O ports | CMOS I/O with enhanced current drive capability for direct LED segment control |
| AN8–AN11 | Analog inputs | Four dedicated pins for 10-bit A/D conversion; share physical pins with P1_0–P1_3 |
| RXD0 / TXD0 / CLK0 | UART interface signals | Full-duplex asynchronous serial communication with programmable baud rate generator |
| RESET | Active-low reset input | Hardware reset assertion; internal pull-up ensures reliable startup without external resistor |
| MODE | Boot mode selection | Must be externally pulled high to VCC via resistor to enable normal flash execution mode |
Key Features
| Feature | Design Value |
|---|---|
| Data flash endurance | 10,000 program/erase cycles per block - enables reliable firmware parameter storage and field updates |
| Low-power modes | Stop mode draws only 0.7 µA at 3.0 V - extends battery life in portable or energy-harvesting systems |
| On-chip oscillators | High-speed and low-speed on-chip oscillators with frequency adjustment - eliminates need for external crystals in cost-sensitive designs |
| Integrated protection | Oscillation stop detection, voltage detection circuit, and power-on reset - ensures safe initialization and fault recovery without external supervisors |
| Interrupt flexibility | 7-level priority with 17 total interrupt sources (9 internal, 4 external, 4 software) - supports responsive real-time task scheduling |
Applications
| Home Appliance Control | Industrial Sensor Node |
|---|---|
Use Scenario: Microcontroller in washing machine main control board managing motor drive sequencing, water level sensing, and user interface. IC Role / Device Role / Timing Role: Central 16-bit MCU executing real-time control loop, reading analog sensor inputs (water temp, pressure), and driving LED indicators via P1_0–P1_3. Use Value: Integrated 10-bit A/D and LED drive ports reduce BOM count; dual data flash blocks allow safe storage of calibration data and usage logs. | Use Scenario: Standalone temperature/humidity monitoring node in factory HVAC system with periodic wireless reporting. IC Role / Device Role / Timing Role: Low-power sensor aggregator sampling analog sensors, processing data, and triggering UART-based transmission to gateway. Use Value: 0.7 µA stop mode enables multi-year battery life; on-chip oscillators eliminate timing component cost and layout area. |
| Office Equipment | Security System Perimeter Sensor |
Use Scenario: Embedded controller in document scanner managing paper feed motor, CIS image sensor interface, and button panel. IC Role / Device Role / Timing Role: Real-time peripheral coordinator handling UART command parsing, timer-based motor control, and key input interrupts (KI0–KI3). Use Value: 16-bit R8C core delivers sufficient MIPS for image preprocessing; 20-pin LSSOP fits tight mechanical envelopes in compact scanners. | Use Scenario: PIR motion detector with tamper switch and battery backup in residential alarm system. IC Role / Device Role / Timing Role: Event-triggered controller waking from stop mode on interrupt, validating sensor signal, and asserting alarm line or UART alert. Use Value: Oscillation stop detection and voltage monitor ensure reliable operation during brown-out or crystal failure; RESET pin enables external watchdog supervision. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21152DSP#U0 | Identical functionality with extended temperature range (-40°C to +85°C) and same 20-pin LSSOP package | Suitable for automotive under-hood or industrial outdoor enclosures requiring wider thermal margin | Select when ambient operating temperature exceeds 85°C or drops below -20°C |
| R5F21153SP#U0 | 12 KB program ROM + 2 KB data flash + 768 B RAM - larger code/data capacity, otherwise identical peripheral set and pinout | Required for applications with complex control algorithms or larger firmware images exceeding 8 KB | Choose when firmware size or runtime data requirements exceed R5F21152SP#U0's 8 KB/512 B limits |
Compared with R5F21152DSP#U0, the R5F21152SP#U0 trades extended temperature rating for lower cost in commercial-grade environments; versus R5F21153SP#U0, it offers identical feature set at reduced memory capacity-ideal for cost-optimized, functionally bounded control tasks.
Availability
R5F21152SP#U0 is available at Aetrix Electronics and suitable for electric household appliance control, industrial sensor nodes, and office equipment requiring stable component supply and long-term production continuity.
Supply support for R5F21152SP#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 specializing in microcontrollers, analog, power, and SoC solutions for industrial, automotive, and consumer markets.
The R8C/15 Group, including the R5F21152SP#U0, was designed for cost-sensitive, low-power embedded control applications in home appliances, office equipment, and general industrial systems-emphasizing integration, reliability, and ease of use.
FAQ
What is the maximum operating frequency of the R5F21152SP#U0?
The R5F21152SP#U0 supports a maximum operating frequency of 20 MHz when powered at 3.0–5.5 V, achieving a minimum instruction execution time of 50 ns. At 2.7–5.5 V, the maximum frequency is 10 MHz (100 ns min instruction time). This specification is validated in the official Renesas datasheet REJ03B0102-0200, Rev.2.00.
Does the R5F21152SP#U0 include on-chip debug support?
Yes, the R5F21152SP#U0 includes on-chip debug functionality via the single-wire debug interface using the RESET pin. It supports breakpoints, watchpoints, and register inspection without requiring additional pins. This capability is documented in Section 5.3 of the R8C/15 Group hardware manual and is fully supported by Renesas E1/E20 emulators.
How many A/D converter channels does the R5F21152SP#U0 support, and what is their resolution?
The R5F21152SP#U0 integrates a single 10-bit successive approximation A/D converter with four input channels (AN8–AN11), multiplexed onto P1_0–P1_3. Each conversion completes in 28 µs typical at 20 MHz, and the module supports both software and timer-triggered sampling modes as specified in Table 1.2 of the datasheet.
What is the data flash endurance rating for the R5F21152SP#U0?
The R5F21152SP#U0 features two independent 1 KB data flash blocks (Block A and Block B), each rated for 10,000 program/erase cycles. This endurance is guaranteed under standard operating conditions (VCC = 2.7–5.5 V, TA = –20°C to +85°C) and is distinct from the 1,000-cycle rating of the main program ROM.
Is the R5F21152SP#U0 pin-compatible with other devices in the R8C/15 Group?
Yes, all R8C/15 Group devices-including R5F21152SP#U0, R5F21153SP#U0, and R5F21154SP#U0-share identical 20-pin LSSOP (PLSP0020JB-A) packaging and full pin-to-pin compatibility. Peripheral functions, pin assignments, and electrical characteristics are consistent across the group, enabling scalable memory upgrades without PCB redesign.
R5F21152SP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 20-LSSOP (0.173", 4.40mm Width)
- Series:
- R8C/1x/15
- Packaging:
- Tube
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- SIO, SSU, 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:
R5F21152SP#U0 FAQ
1.How can I place an order for R5F21152SP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21152SP#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 R5F21152SP#U0 reliable?
The price and inventory of R5F21152SP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21152SP#U0 is usually 5 days.
3.What payment methods are accepted for R5F21152SP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21152SP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21152SP#U0?
R5F21152SP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21152SP#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 R5F21152SP#U0?
For technical support, including R5F21152SP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21152SP#U0 requirements.
6.How does Aetrix verify that R5F21152SP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F21152SP#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 R5F21152SP#U0 meets industry standards.
7.What is the process for return or replacement of R5F21152SP#U0?
All R5F21152SP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21152SP#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 R5F21152SP#U0 part is unused and in its original packaging.
Return procedure for R5F21152SP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21152SP#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
A practical engineering and sourcing framework covering lifecycle verification, lifetime-buy calculations, replacement qualification, supplier checks and counterfeit-risk controls.
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…

