Renesas R5F21331CNFP#50
- Part No.:
- R5F21331CNFP#50
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 32-LQFP
- Datasheet:
-
R5F21331CNFP#50.pdf
- Description:
- IC MCU 16BIT 4KB FLASH 32LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:3,714
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21331CNFP#50 from Renesas Electronics is a 16-bit R8C CPU core MCU with 4 KB flash program ROM, 1 KB × 4 data flash (BGO-capable), 512 bytes RAM, and integrated peripherals including 10-bit A/D converter (12 channels), dual 8-bit D/A converters, LIN hardware module, and three UART/serial interfaces. It operates at up to 20 MHz (VCC = 2.7–5.5 V) and targets embedded control in consumer audio and office equipment.
For engineers reviewing the R5F21331CNFP#50 datasheet, R5F21331CNFP#50 pinout, R5F21331CNFP#50 application, or R5F21331CNFP#50 equivalent, key selection considerations include its 32-pin LQFP package, -20°C to +85°C N-version temperature grade, background operation for data flash, real-time clock (Timer RE), and hardware LIN support using Timer RA and UART0.
Technical Context
The R5F21331CNFP#50 implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit multiplier, and multiply-accumulate capability. Its memory map spans 1 Mbyte (00000h–FFFFFh), with fixed interrupt vector table at FFDCh–FFFFh and data flash blocks at 03000h–03FFFh.
Peripheral integration includes Timer RA/RB/RC/RE, UART0/UART1/UART2 (with I²C mode), SSU, LIN module, watchdog timer (14-bit), DTC (1 channel, 23 activation sources), and voltage detection circuit supporting power-on reset and dual-level voltage monitoring.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC instruction |
| Max Operating Frequency | 20 MHz at VCC = 2.7–5.5 V; minimum instruction time = 50 ns |
| Memory | 4 KB program flash ROM, 1 KB × 4 data flash (10,000 erase/write cycles), 512 bytes RAM |
| A/D Converter | 10-bit resolution, 12 input channels, sample-and-hold, sweep mode |
| D/A Converter | 8-bit resolution × 2 independent outputs (DA0, DA1) |
| Serial Interfaces | UART0/UART1 (clock sync serial I/O), UART2 with I²C-bus and multiprocessor modes |
| Operating Temperature | -20°C to +85°C (N version); specified for consumer/office equipment ambient conditions |
| Package | 32-pin LQFP (PLQP0032GB-A), 7 mm × 7 mm, 0.8 mm pin pitch |
Pinout & Package
Package: 32-pin LQFP (PLQP0032GB-A), 7 mm × 7 mm body, 0.8 mm pin pitch, exposed pad not present.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_0–P0_7, P1_0–P1_7, P2_0–P2_2, P3_1, P3_3–P3_5, P3_7, P4_5–P4_7 | CMOS I/O port pins | 27 programmable I/Os with selectable pull-up resistors; all support high-current LED drive |
| P4_2 | Input-only pin | Analog reference voltage input (VREF) for A/D and D/A converters |
| XIN/XOUT | External crystal oscillator interface | Supports 20 MHz ceramic resonator or crystal; enables precise timing for system clock |
| XCIN/XCOUT | 32 kHz low-frequency oscillator interface | Enables RTC operation and ultra-low-power stop/wait modes (2.0 µA stop current) |
| RESET | Active-low reset input | Hardware reset initiation; compatible with external reset ICs or push-button circuits |
| MODE | Boot mode select | Must be tied to VCC via resistor to enable single-chip operation (default configuration) |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming while CPU executes code - enables seamless firmware updates without halting operation |
| Hardware LIN Module | Integrated LIN 2.0/2.1 support via Timer RA and UART0 - eliminates need for external LIN transceiver in basic node designs |
| Real-Time Clock (Timer RE) | 8-bit timer with dedicated registers for seconds/minutes/hours/days-of-week - provides autonomous timekeeping with low-power 32 kHz XCIN source |
| Voltage Detection Circuit | Dual-level detection (VDD monitor + configurable threshold) with POR and interrupt capability - ensures reliable startup and brown-out recovery |
| Low-Power Modes | Wait mode (3.5 µA @ 3.0 V, 32 kHz) and stop mode (2.0 µA) - extends battery life in portable consumer devices |
| DTC (Data Transfer Controller) | 1-channel DMA-like controller with 23 activation sources - offloads CPU during peripheral-to-memory transfers (e.g., A/D sweeps) |
Applications
| Audio Equipment Control | Office Equipment Motor Control |
|---|---|
Use Scenario: Volume, tone, and input source management in compact stereo receivers and portable speakers. IC Role / Device Role / Timing Role: Main system controller executing UI logic, analog signal conditioning via A/D/D/A, and UART-based remote control protocol handling. Use Value: Integrated 10-bit A/D (12 ch) and dual 8-bit D/A enable direct knob/sensor interfacing and analog output generation without external converters. | Use Scenario: Precision speed and position control of paper feed and scanning motors in multifunction printers. IC Role / Device Role / Timing Role: Real-time motor sequencing controller using Timer RC PWM outputs and encoder feedback via INT3/INT0 inputs. Use Value: Hardware LIN support allows communication with upstream host controllers, reducing wiring complexity versus discrete UART+transceiver solutions. |
| Consumer Appliance UI Panel | Home Automation Sensor Hub |
Use Scenario: Keypad scanning, display backlight dimming, and temperature sensing in microwave ovens and washing machines. IC Role / Device Role / Timing Role: Embedded UI processor managing KI0–KI3 key interrupts, PWM-driven LED dimming (Timer RB), and analog thermistor readings (A/D channels). Use Value: 27 high-current I/O ports drive LEDs and relays directly; BGO data flash enables field-upgradable cooking profiles. | Use Scenario: Aggregating and preprocessing sensor data (temperature, humidity, motion) before forwarding via UART to gateway MCU. IC Role / Device Role / Timing Role: Low-power sensor fusion node using stop mode between measurements and wake-on-interrupt (INT0/INT1) for event-triggered sampling. Use Value: 2.0 µA stop-mode current and 32 kHz XCIN RTC allow multi-year battery operation in wireless sensor nodes. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21332CNFP | 8 KB program ROM, 1 KB RAM - double flash and RAM vs. R5F21331CNFP#50 | Suitable for larger firmware images requiring more code space or complex state machines | Select when application firmware exceeds 4 KB or requires additional RAM for buffering/stack depth |
| R5F21331CDFP | Identical memory and peripherals but rated for -40°C to +85°C (D version) | Required for industrial or automotive cabin-ambient deployments outside consumer temperature range | Choose only if extended temperature qualification is mandatory; otherwise R5F21331CNFP#50 suffices for office/audio use |
Compared with R5F21332CNFP and R5F21331CDFP, the R5F21331CNFP#50 offers optimal cost/performance balance for temperature-stable consumer applications where 4 KB flash and N-grade operation are sufficient - avoiding over-specification while retaining full peripheral compatibility.
Availability
R5F21331CNFP#50 is available at Aetrix Electronics and suitable for audio equipment control, office equipment motor control, and consumer appliance UI panels requiring stable component supply across production lifecycles.
Supply support for R5F21331CNFP#50 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 automotive, industrial, and IoT markets.
The R8C/33C Group, including R5F21331CNFP#50, was designed for cost-sensitive, low-power embedded control in consumer electronics - emphasizing EMI/EMS robustness, integrated analog peripherals, and flash flexibility for rapid product iteration.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21331CNFP#50?
The R5F21331CNFP#50 operates at up to 20 MHz when supplied with VCC = 2.7 V to 5.5 V. At lower frequencies (e.g., 5 MHz), it supports down to 1.8 V, enabling flexible power design. The minimum instruction execution time is 50 ns under 20 MHz/2.7–5.5 V conditions, confirmed in the R01DS0008EJ0100 datasheet Section 1.1.2.
Does the R5F21331CNFP#50 support background operation for data flash programming?
Yes, the R5F21331CNFP#50 supports Background Operation (BGO) for its 1 KB × 4 data flash blocks. This allows simultaneous CPU code execution and flash erase/write operations - critical for in-field firmware updates without system interruption. BGO functionality is enabled via the FMRDYIC and related SFRs per Section 1.1 and Table 1.2 of the datasheet.
What peripheral interfaces are included in the R5F21331CNFP#50 for communication with sensors and displays?
The R5F21331CNFP#50 integrates UART0/UART1/UART2 (with I²C-bus mode), a synchronous serial unit (SSU), and hardware LIN. These support direct connection to temperature/humidity sensors (I²C), motor drivers (LIN), and character LCDs (UART), eliminating external level shifters or protocol translators in many consumer designs.
How does the R5F21331CNFP#50 handle low-power operation in battery-powered devices?
The R5F21331CNFP#50 achieves ultra-low standby current: 3.5 µA in wait mode (32 kHz XCIN active) and 2.0 µA in stop mode. Its voltage detection circuit, multiple clock sources (including low-speed on-chip oscillator), and programmable I/O pull-ups enable robust battery monitoring and wake-on-event operation - validated in Section 1.1.2 current consumption tables.
Is the R5F21331CNFP#50 pin-compatible with other members of the R8C/33C Group?
Yes, all R8C/33C Group MCUs, including R5F21331CNFP#50, share the identical 32-pin LQFP (PLQP0032GB-A) package and pin assignment. Memory size, temperature grade, and minor feature sets differ across variants, but PCB layout and peripheral routing remain consistent - simplifying platform scaling from 4 KB to 32 KB ROM versions.
R5F21331CNFP#50 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-LQFP
- Series:
- R8C/3x/33C
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- I2C, LINbus, SIO, SSU, UART/USART
- Peripherals:
- POR, PWM, Voltage Detect, WDT
- Number of I/O:
- 27
- Program Memory Size:
- 4KB (4K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 512 x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 5.5V
- Data Converters:
- A/D 12x10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21331CNFP#50 FAQ
1.How can I place an order for R5F21331CNFP#50 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21331CNFP#50 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 R5F21331CNFP#50 reliable?
The price and inventory of R5F21331CNFP#50 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21331CNFP#50 is usually 5 days.
3.What payment methods are accepted for R5F21331CNFP#50?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21331CNFP#50 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21331CNFP#50?
R5F21331CNFP#50 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21331CNFP#50 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 R5F21331CNFP#50?
For technical support, including R5F21331CNFP#50 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21331CNFP#50 requirements.
6.How does Aetrix verify that R5F21331CNFP#50 is sourced from the original manufacturer or authorized distributors?
All R5F21331CNFP#50 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 R5F21331CNFP#50 meets industry standards.
7.What is the process for return or replacement of R5F21331CNFP#50?
All R5F21331CNFP#50 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21331CNFP#50, 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 R5F21331CNFP#50 part is unused and in its original packaging.
Return procedure for R5F21331CNFP#50:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21331CNFP#50 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…

