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

- Shipping:

Inventory:2,533
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21174SP#U0 from Renesas Electronics is a 16-bit R8C/Tiny Series microcontroller in 20-pin LSSOP package, featuring 16 KB program flash ROM, 1 KB RAM, and dual 1 KB data flash blocks for nonvolatile parameter storage. It integrates a 10-bit 4-channel ADC, UART/I²C/serial I/O, three timers (8-bit ×2, 16-bit ×1), LED drive ports, and operates from 2.7–5.5 V across –20°C to +85°C ambient. Used in sensor-based housing equipment and industrial control interfaces.
For engineers reviewing the R5F21174SP#U0 datasheet, R5F21174SP#U0 pinout, R5F21174SP#U0 application, or R5F21174SP#U0 equivalent, key selection criteria include its dual data flash endurance (10,000 erase/write cycles), integrated voltage detection and oscillation stop detection, low-power stop mode (0.7 µA), and compatibility with ceramic resonator or crystal clock sources.
Technical Context
The R5F21174SP#U0 implements the R8C/Tiny CPU core with 89 basic instructions and executes at 50 ns minimum instruction time (20 MHz XIN, 3.0–5.5 V). Its memory architecture supports 1 Mbyte address space, with fixed interrupt vector table at 0FFDCh–0FFFFh and data flash mapped at 02400h–02BFFh.
Peripheral integration includes a dedicated I²C interface (SCL/SDA pins), UART with TXD0/RXD0, timer input capture/output compare on TCIN/CMP0–CMP1 pins, and analog inputs AN8–AN11 referenced to AVCC/VREF. All I/O ports support programmable direction and pull-up selection, with P1_0–P1_3 configured as LED drive outputs.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C/Tiny 16-bit, 89-instruction set, 50 ns min. execution (20 MHz) |
| Memory | 16 KB program flash ROM + 2 × 1 KB data flash + 1 KB RAM |
| ADC | 10-bit resolution, 4-channel single-ended input (AN8–AN11) |
| Timers | Timer X/Z (8-bit ×2 w/ prescaler), Timer C (16-bit w/ input capture & output compare) |
| Serial Interfaces | 1 UART, 1 I²C bus, 1 clock-synchronous serial I/O |
| Power Modes | Stop mode: 0.7 µA @ 3.0 V; Wait mode: 35 µA @ 3.0 V, peripheral clock off |
| Operating Range | VCC = 2.7–5.5 V; Ambient temperature = –20°C to +85°C |
Pinout & Package
Package: 20-pin plastic molded LSSOP (PLSP0020JB-A), 0.65 mm pitch, surface-mount.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1 (P3_5) | I²C Clock / Comparator Output | SCL signal I/O; CMP1_2 output for analog window comparison |
| 2 (P3_7) | Timer X Input / Counter | CNTR0 input for external event counting or timer gating |
| 3 (RESET) | Active-Low Reset Input | Asynchronous reset assertion resets CPU, peripherals, and registers |
| 4 (XOUT) | Main Clock Output | Drives crystal/resonator feedback path; open when using external clock |
| 5 (VSS/AVSS) | Digital & Analog Ground | Common reference for logic and ADC; requires local decoupling to AVCC |
| 6 (XIN) | Main Clock Input | Accepts crystal, ceramic resonator, or external clock up to 20 MHz |
| 7 (VCC) | Supply Voltage | Primary power rail (2.7–5.5 V); powers digital core and I/O |
| 8 (MODE) | Boot Mode Select | Pulled high to enable normal operation; tied to VCC via resistor |
| 9 (P4_5) | External Interrupt Input | INT0 trigger source; edge-sensitive, configurable via INT0IC register |
| 10 (P1_7) | Interrupt/Counter Input | INT10 and CNTR00 for timer/event capture on rising/falling edges |
| 11 (P1_6) | Serial Clock I/O | CLK0 bidirectional clock line for synchronous serial communication |
| 12 (P1_5) | UART Receive / Counter | RXD0 input for UART; also CNTR01 for secondary counter channel |
| 13 (P1_4) | UART Transmit | TXD0 output for UART data transmission |
| 14 (P1_3) | LED Drive / Timer Z Output | KI3 key input or TZOUT pulse output; sink current up to 20 mA |
| 15 (P1_2) | LED Drive / Comparator | KI2 key input or CMP0_2 analog comparator output |
| 16 (AVCC/VREF) | Analog Supply / Reference | Separate analog rail; VREF input tied to AVCC for ADC full-scale reference |
| 17 (P1_1) | LED Drive / ADC Input | KI1 key input or AN9 analog input to 10-bit ADC |
| 18 (P1_0) | LED Drive / ADC Input | KI0 key input or AN8 analog input to 10-bit ADC |
| 19 (P3_3) | Timer C Input / Interrupt | TCIN for timer capture; INT3 external interrupt trigger |
| 20 (P3_4) | I²C Data / Comparator | SDA bidirectional data line; CMP1_1 analog comparator output |
Key Features
| Feature | Design Value |
|---|---|
| Dual data flash blocks | 2 × 1 KB independent sectors with 10,000 erase/write cycles for firmware parameter storage |
| Integrated analog subsystem | 10-bit 4-channel ADC with internal reference; comparator outputs (CMP0/CMP1) for threshold detection |
| Low-power operation | 0.7 µA stop mode current enables battery-backed applications without external supervisors |
| Robust clock management | Main crystal/resonator circuit + high-speed/low-speed on-chip oscillators with frequency adjustment |
| Dedicated LED drive ports | P1_0–P1_3 support direct LED sinking (20 mA per pin) without external drivers |
| Hardware safety functions | Oscillation stop detection, voltage monitor (VW1C/VW2C), and watchdog timer with count-source protection |
Applications
| Smart Thermostat Interface | Industrial Sensor Node |
|---|---|
|
Use Scenario: Local temperature/humidity sensing with display and relay control in residential HVAC systems. IC Role / Device Role / Timing Role: Main controller executing sensor readout, PID computation, and I²C display updates. Use Value: Dual data flash stores calibration offsets and user preferences across power cycles; 10-bit ADC resolves ±0.1°C thermal changes. |
Use Scenario: Remote monitoring of pressure, flow, or vibration in factory machinery with RS-485 gateway. IC Role / Device Role / Timing Role: Edge node processor handling analog sensor acquisition, UART-to-RS485 translation, and watchdog-monitored operation. Use Value: Stop mode current <1 µA extends battery life in wireless nodes; built-in voltage detection prevents brownout-induced firmware corruption. |
| Home Security Keypad | Office Equipment Control |
|
Use Scenario: Keypad matrix scanning, LED status indication, and tamper-switch monitoring in entry-point security panels. IC Role / Device Role / Timing Role: Dedicated keypad controller with KI0–KI3 interrupt-driven scan and P1_0–P1_3 LED drive outputs. Use Value: Hardware key input interrupts reduce CPU polling overhead; LED drive capability eliminates discrete transistor drivers. |
Use Scenario: Embedded control of paper feed, motor timing, and error reporting in multifunction printers. IC Role / Device Role / Timing Role: Real-time coordinator managing stepper motor PWM (via Timer C), paper sensor interrupts (INT0/INT3), and USB bridge communication. Use Value: 16-bit Timer C provides precise 100 µs motor step timing; UART handles host command parsing without software FIFO overhead. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21173SP | 12 KB program ROM, same 2 × 1 KB data flash, identical pinout and peripherals | Suitable where firmware size <12 KB reduces BOM cost without sacrificing data logging capacity | Select when application code fits within 12 KB and dual data flash retention is required |
| R5F21164SP | No data flash; 16 KB program ROM only; otherwise identical peripheral set and package | Applicable in cost-sensitive designs where nonvolatile parameter storage is handled externally | Choose when firmware update persistence is managed via external EEPROM or serial flash |
Compared with R5F21174SP#U0, R5F21173SP offers reduced program memory but retains identical data flash and low-power features, while R5F21164SP removes data flash entirely-making it suitable only when external nonvolatile storage is available and firmware size permits.
Availability
R5F21174SP#U0 is available at Aetrix Electronics and suitable for smart thermostat interfaces, industrial sensor nodes, home security keypads, and office equipment control requiring stable component supply and long-term lifecycle support.
Supply support for R5F21174SP#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 IoT applications.
The R8C/17 Group-including R5F21174SP#U0-is designed for cost-effective, low-power embedded control in consumer and industrial equipment where integrated data flash, analog interfaces, and robust clock supervision are essential.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21174SP#U0?
The R5F21174SP#U0 supports a maximum main clock frequency of 20 MHz when powered at 3.0–5.5 V. At lower supply voltages (2.7–5.5 V), the maximum clock frequency is 10 MHz. These ratings are specified in the electrical characteristics section of the Renesas REJ03B0101-0200 datasheet and define the valid operating envelope for reliable instruction execution and peripheral timing.
Does the R5F21174SP#U0 include hardware support for I²C communication?
Yes, the R5F21174SP#U0 integrates a dedicated I²C bus interface with SCL and SDA pins (P3_5 and P3_4), supporting standard-mode (100 kbps) communication. The IIC2AIC register enables interrupt-driven transaction handling, and the peripheral operates independently of CPU intervention during byte transfers-reducing firmware overhead in sensor hub or display interface applications.
How many analog input channels does the R5F21174SP#U0 ADC support, and what is its resolution?
The R5F21174SP#U0 includes a single 10-bit successive-approximation ADC with four analog input channels: AN8, AN9, AN10, and AN11. Each channel accepts single-ended signals referenced to AVCC, and conversion results are accessible via dedicated SFRs. This resolution supports ±0.1% measurement accuracy in temperature, light, or voltage sensing applications.
What are the data flash endurance and sector organization of the R5F21174SP#U0?
The R5F21174SP#U0 contains two independent 1 KB data flash blocks (Block A and Block B), each rated for 10,000 erase/write cycles. These blocks reside at memory addresses 02400h–027FFh (Block A) and 02800h–02BFFh (Block B), enabling wear-leveling strategies and safe firmware parameter storage without affecting program ROM integrity.
Can the R5F21174SP#U0 operate in ultra-low-power modes, and what are the typical currents?
Yes, the R5F21174SP#U0 supports multiple low-power states: wait mode draws 35 µA (VCC = 3.0 V, peripheral clocks disabled), and stop mode draws just 0.7 µA (VCC = 3.0 V). These modes retain RAM contents and allow wake-up via external interrupt or reset, making the R5F21174SP#U0 suitable for battery-powered sensor nodes and energy-harvesting systems.
R5F21174SP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 20-LSSOP (0.173", 4.40mm Width)
- Series:
- R8C/1x/17
- 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:
R5F21174SP#U0 FAQ
1.How can I place an order for R5F21174SP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21174SP#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 R5F21174SP#U0 reliable?
The price and inventory of R5F21174SP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21174SP#U0 is usually 5 days.
3.What payment methods are accepted for R5F21174SP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21174SP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21174SP#U0?
R5F21174SP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21174SP#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 R5F21174SP#U0?
For technical support, including R5F21174SP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21174SP#U0 requirements.
6.How does Aetrix verify that R5F21174SP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F21174SP#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 R5F21174SP#U0 meets industry standards.
7.What is the process for return or replacement of R5F21174SP#U0?
All R5F21174SP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21174SP#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 R5F21174SP#U0 part is unused and in its original packaging.
Return procedure for R5F21174SP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21174SP#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…

