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

- Shipping:

Inventory:1,845
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21284SDSP#W4 from Renesas Electronics is a 16-bit R8C/28 Group single-chip microcontroller with 16 KB flash program memory, 1 KB RAM, and 13 I/O pins in a 20-pin LSSOP package. It features an 89-instruction R8C CPU core, 10-bit 4-channel ADC, UART0/UART1 serial interfaces, hardware LIN module, and operates from 2.2 V to 5.5 V across -40°C to +85°C ambient temperature.
For engineers reviewing the R5F21284SDSP#W4 datasheet, R5F21284SDSP#W4 pinout, R5F21284SDSP#W4 application, or R5F21284SDSP#W4 equivalent, this MCU is selected for cost-sensitive embedded control where integrated LIN, low-power stop mode (0.7 µA), and on-chip oscillators reduce BOM count in appliance motor control, industrial sensor nodes, and automotive body electronics.
Technical Context
The R5F21284SDSP#W4 implements the R8C CPU core with two register banks, 20-bit program counter, and 11-bit flag register supporting interrupt priority levels 0–7. Its memory map allocates 16 KB program ROM from 0C000h–0FFFFh and 1 KB RAM from 00400h–007FFh, with fixed interrupt vectors at 0FFDCh–0FFFFh.
Peripheral integration includes Timer RA/RB (8-bit ×2), Timer RC (16-bit), Timer RE (real-time clock capable), I²C bus interface, clock-synchronous serial I/O with chip select, and hardware LIN using Timer RA and UART0 - all controlled via dedicated SFRs mapped to 00000h–002FFh.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit CISC core with 89 instructions and register bank switching |
| Flash Memory | 16 KB program ROM; supports 1,000 erase/write cycles; VCC = 2.7–5.5 V programming |
| RAM | 1 KB internal SRAM used for data storage, subroutine stacks, and interrupt handling |
| ADC | 10-bit successive-approximation A/D converter with 4 input channels (AN8–AN11) |
| Timers | Timer RA/RB (8-bit ×2 w/ prescaler), Timer RC (16-bit w/ input capture/output compare), Timer RE (RTC + compare match) |
| Serial Interfaces | UART0 (clock sync + UART), UART1 (UART only), I²C bus, clock-sync serial I/O w/ chip select, hardware LIN (1 channel) |
| Supply & Temp | VCC = 2.2–5.5 V; operating ambient: –40°C to +85°C (D version); stop mode current = 0.7 µA @ 3.0 V |
Pinout & Package
Package: 20-pin molded-plastic LSSOP (PLSP0020JB-A), 0.65 mm pitch, surface-mount, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P1_0 / KI0 / AN8 | Multi-function I/O port | Key interrupt input, analog input channel 0, LED drive (D version) |
| P1_1 / KI1 / AN9 / TRCIOA / TRCTRG | Multi-function I/O port | Key interrupt input, analog input channel 1, timer RC input-capture A or trigger |
| P1_2 / KI2 / AN10 / TRCIOB | Multi-function I/O port | Key interrupt input, analog input channel 2, timer RC input-capture B |
| P1_3 / KI3 / AN11 / TRBO | Multi-function I/O port | Key interrupt input, analog input channel 3, timer RB output |
| P1_4 / TXD0 | UART0 transmit output | Asynchronous serial data output for primary UART interface |
| P1_5 / RXD0 / (TRAIO) / (INT1) | UART0 receive input | Asynchronous serial data input; optionally configured as timer RA I/O or INT1 |
| P1_6 / CLK0 / (SSI) | Clock I/O | UART0/UART1 clock source or clock signal for synchronous serial interface |
| P1_7 / TRAIO / INT1 | Timer RA I/O | Timer RA input/output pin; also serves as external interrupt source INT1 |
| P3_3 / INT3 / TRCCLK / SSI | External timer clock input | Provides external clock to Timer RC; also supports synchronous serial I/O and INT3 |
| P3_4 / SDA / SCS / TRCIOC | I²C data / chip select / timer RC I/O | Open-drain bidirectional I²C data line; chip-select for synchronous serial; timer RC input-capture C |
| P3_5 / SCL / SSCK / TRCIOD | I²C clock / sync clock / timer RC I/O | I²C clock line; synchronous serial clock; timer RC input-capture D |
| P3_7 / TRAO / RXD1 / (TXD1) | Timer RA output / UART1 receive | Timer RA output signal; UART1 receive input; optionally configured as UART1 transmit |
| P4_2 / VREF | Analog reference input | External reference voltage input for 10-bit ADC conversion accuracy |
| P4_5 / INT0 / (RXD1) | External interrupt / UART1 receive | Level-sensitive external interrupt input; optionally assigned as UART1 receive |
| P4_6 / XIN / XCIN | Crystal oscillator input | Primary system clock input (XIN) or 32 kHz real-time clock input (XCIN, D version only) |
| P4_7 / XOUT / XCOUT | Crystal oscillator output | Oscillator feedback output; supports 32 kHz crystal for RTC when XCIN/XCOUT enabled |
| RESET | Active-low reset input | Hardware reset assertion; must be held low ≥100 ns to initiate reset sequence |
| MODE | Boot mode selection | Connected to VCC via pull-up resistor to enable normal operation mode |
| VCC / AVCC | Power supply | Digital and analog power supply (2.2–5.5 V); separate AVCC/AVSS required for ADC noise immunity |
| VSS / AVSS | Ground | Digital and analog ground; decoupling capacitor required between AVCC and AVSS |
Key Features
| Feature | Design Value |
|---|---|
| Integrated Hardware LIN | Full LIN 2.0/2.1 protocol support via dedicated module using Timer RA and UART0 - eliminates external transceiver in body control modules |
| Low-Power Stop Mode | 0.7 µA typical current at 3.0 V enables battery-powered sensor nodes with multi-year runtime |
| On-Chip Oscillators | High-speed (adjustable 1–20 MHz) and low-speed (32 kHz) on-chip oscillators eliminate external crystals in cost-sensitive designs |
| Real-Time Clock (RTC) | Timer RE provides calendar/timekeeping with compare match; powered by XCIN/XCOUT (32 kHz) in D version |
| LED Drive Capability | 8 I/O pins (P1_0–P1_7) support direct LED sinking up to 20 mA per pin - reduces external driver IC count in HMI applications |
Applications
| Home Appliance Motor Control | Automotive Body Electronics |
|---|---|
Use Scenario: Variable-speed fan control in air purifiers and HVAC units using PWM-driven BLDC motors. IC Role / Device Role / Timing Role: Main system controller executing motor commutation logic, reading hall sensors, and managing user interface via key interrupts. Use Value: Integrated 16-bit Timer RC with input capture enables precise rotor position sensing; 10-bit ADC monitors current feedback without external amplifiers. | Use Scenario: Smart door lock module with LIN communication to central body controller and local keypad sensing. IC Role / Device Role / Timing Role: LIN node controller handling secure authentication, actuator drive, and tamper detection via key inputs and GPIO monitoring. Use Value: Hardware LIN module ensures deterministic timing and protocol compliance; 0.7 µA stop mode extends battery life during standby. |
| Industrial Sensor Node | Office Equipment Power Management |
Use Scenario: Wireless temperature/humidity sensor node with local display and battery backup. IC Role / Device Role / Timing Role: Data acquisition controller sampling analog sensors, driving 7-segment LED display, and managing sleep/wake cycles. Use Value: On-chip 32 kHz oscillator powers RTC and wake timers; 4-channel 10-bit ADC digitizes sensor outputs with internal reference. | Use Scenario: Standby power controller in multifunction printers that monitors USB activity and triggers main power rail activation. IC Role / Device Role / Timing Role: Low-power supervisor monitoring host signals and controlling DC-DC enable lines via GPIO. Use Value: VCC range down to 2.2 V allows operation during brown-out conditions; 13 GPIOs manage multiple power domains and status LEDs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21284SNSP | N version: –20°C to +85°C operating range; no XCIN/XCOUT RTC support; same 16 KB flash/1 KB RAM | Suitable for indoor consumer appliances without extended temperature or RTC requirements | Select R5F21284SNSP when ambient temperature stays above –20°C and real-time clock functionality is unnecessary. |
| R5F21294SDSP | R8C/29 Group: adds 2×1 KB data flash (10,000-cycle endurance); identical pinout, peripherals, and D-version temp grade | Required for field-upgradable calibration data or parameter storage needing frequent rewrites | Choose R5F21294SDSP if nonvolatile data logging or firmware patching in the field is needed - retains full software compatibility. |
Compared with R5F21284SNSP, the R5F21284SDSP#W4 offers extended temperature range and RTC capability; compared with R5F21294SDSP, it lacks data flash but reduces cost and simplifies firmware update architecture for static-parameter applications.
Availability
R5F21284SDSP#W4 is available at Aetrix Electronics and suitable for home appliance motor control, automotive body electronics, and industrial sensor node designs requiring stable component supply, long-term lifecycle support, and RoHS-compliant manufacturing.
Supply support for R5F21284SDSP#W4 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/28 Group, including R5F21284SDSP#W4, was designed for cost-optimized 16-bit embedded control in appliances, industrial equipment, and automotive sub-systems where integration, low power, and reliability are critical.
FAQ
What is the maximum operating frequency of the R5F21284SDSP#W4?
The R5F21284SDSP#W4 achieves a minimum instruction execution time of 50 ns at 20 MHz system clock (VCC = 3.0–5.5 V), corresponding to a maximum operating frequency of 20 MHz. This is supported by the high-speed on-chip oscillator or external crystal connected to XIN/XOUT pins.
Does the R5F21284SDSP#W4 include a real-time clock (RTC)?
Yes, the R5F21284SDSP#W4 includes RTC functionality via Timer RE, enabled in the D version using the XCIN/XCOUT 32 kHz crystal oscillator circuit. The RTC supports real-time counting and compare match events for alarm or periodic wake-up operations.
What are the key differences between R5F21284SDSP#W4 and R5F21294SDSP?
The R5F21284SDSP#W4 belongs to the R8C/28 Group and has 16 KB program flash only, while R5F21294SDSP is in the R8C/29 Group and adds 2×1 KB data flash with 10,000 write/erase cycles. All other peripherals, pinout, and D-version temperature rating (–40°C to +85°C) are identical.
Can the R5F21284SDSP#W4 drive LEDs directly?
Yes, the R5F21284SDSP#W4 supports direct LED drive on P1_0 through P1_7 (8 pins), rated for up to 20 mA sink current per pin in the D version. This eliminates external LED drivers in simple HMI applications like status indicators or numeric displays.
Is hardware LIN support built into the R5F21284SDSP#W4?
Yes, the R5F21284SDSP#W4 integrates a hardware LIN module compliant with LIN 2.0/2.1 standards, implemented using Timer RA and UART0. It handles frame generation, checksum calculation, and synchronization without CPU intervention, reducing firmware overhead in automotive body networks.
R5F21284SDSP#W4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 20-LSSOP (0.173", 4.40mm Width)
- Series:
- R8C/2x/28
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- I2C, LINbus, SIO, SSU, 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.2V ~ 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:
R5F21284SDSP#W4 FAQ
1.How can I place an order for R5F21284SDSP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21284SDSP#W4 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 R5F21284SDSP#W4 reliable?
The price and inventory of R5F21284SDSP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21284SDSP#W4 is usually 5 days.
3.What payment methods are accepted for R5F21284SDSP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21284SDSP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21284SDSP#W4?
R5F21284SDSP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21284SDSP#W4 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 R5F21284SDSP#W4?
For technical support, including R5F21284SDSP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21284SDSP#W4 requirements.
6.How does Aetrix verify that R5F21284SDSP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F21284SDSP#W4 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 R5F21284SDSP#W4 meets industry standards.
7.What is the process for return or replacement of R5F21284SDSP#W4?
All R5F21284SDSP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21284SDSP#W4, 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 R5F21284SDSP#W4 part is unused and in its original packaging.
Return procedure for R5F21284SDSP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21284SDSP#W4 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…

