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

- Shipping:

Inventory:2,671
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21334CDFP#X6 from Renesas is a 16-bit R8C CPU core MCU with 16 KB flash program ROM, 1.5 KB RAM, and 4 KB data flash (1 KB × 4 blocks) supporting background operation (BGO). It operates at up to 20 MHz (VCC = 2.7–5.5 V), integrates 10-bit × 12-channel A/D, dual 8-bit D/A, LIN hardware module, and real-time clock (Timer RE), targeting embedded control in consumer audio and office equipment.
For engineers reviewing the R5F21334CDFP#X6 datasheet, R5F21334CDFP#X6 pinout, R5F21334CDFP#X6 application, or R5F21334CDFP#X6 equivalent, key selection considerations include its -40°C to +85°C industrial temperature grade (D version), 32-pin LQFP package (PLQP0032GB-A), integrated voltage detection circuitry, and support for low-power wait/stop modes with typical current as low as 2.0 µA.
Technical Context
The R5F21334CDFP#X6 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 0FFDCh–0FFFFh and data flash allocated at 03000h–03FFFh.
It features four independent clock sources - XIN/XOUT (up to 20 MHz), XCIN/XCOUT (32 kHz), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator - with selectable frequency dividers (1/2/4/8/16) and oscillation stop detection. Peripheral integration includes UART0/1/2, I²C-bus, SSU, three 8-bit timers (RA/RB/RE), one 16-bit timer (RC), watchdog timer, DTC, comparator B, and LIN protocol engine using Timer RA and UART0.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC support |
| Program Memory | 16 KB flash ROM - sufficient for mid-complexity firmware with ROM code protection |
| Data Flash | 4 KB (1 KB × 4 blocks) with BGO - enables field firmware updates without halting execution |
| RAM | 1.5 KB internal RAM - supports stack, variables, and buffer storage for real-time tasks |
| A/D Converter | 10-bit resolution × 12 channels with sample-and-hold and sweep mode - suitable for sensor monitoring |
| D/A Converter | 8-bit × 2 channels - provides analog output for calibration or bias control |
| Operating Temp | -40°C to +85°C (D version) - qualified for industrial environments without derating |
| Package | 32-pin LQFP (PLQP0032GB-A, 7 mm × 7 mm, 0.8 mm pitch) - surface-mount compatible with standard reflow |
Pinout & Package
32-pin LQFP package (PLQP0032GB-A), 7 mm × 7 mm body, 0.8 mm pin pitch, exposed pad not present. Pin functions support multiplexed peripheral assignment via software configuration.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / AVCC | Power supply input | Core/analog supply: 1.8–5.5 V; requires local decoupling per datasheet layout guidelines |
| VSS / AVSS | Ground reference | Digital/analog ground separation recommended for noise-sensitive A/D and D/A operation |
| RESET | Active-low reset input | Hardware reset assertion resets CPU, peripherals, and registers; debounced externally |
| XIN / XOUT | External crystal oscillator interface | Supports 20 MHz max crystal; XOUT can accept external clock if XIN left open |
| P0_0–P0_7, P1_0–P1_7, etc. | CMOS I/O ports | 27 programmable CMOS I/O pins with software-selectable pull-up resistors and high-current drive capability |
| AN0–AN11 | Analog inputs | 12 dedicated A/D input channels; share physical pins with port functions (e.g., P0_7 = AN0/DA1) |
| DA0 / DA1 | D/A outputs | Two independent 8-bit analog outputs mapped to P0_6 and P0_7 - usable for reference or actuator control |
| UART0/1/2, SCL/SDA, SSU | Serial interfaces | Three UARTs (one with LIN hardware), I²C-bus, and SSU share pins - flexible peripheral routing via register setup |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erase/write during program execution - enables seamless firmware updates and parameter logging |
| Hardware LIN Module | Integrated LIN 2.0/2.1 support via Timer RA + UART0 - eliminates external transceiver for basic node control |
| Low-Power Modes | Wait mode (3.5 µA @ 32 kHz) and stop mode (2.0 µA) - extends battery life in portable equipment |
| Voltage Detection Circuit | Configurable power-on reset and dual-level voltage monitor (VDD detect + optional VDD/VLVD) - ensures reliable startup and brown-out recovery |
| Real-Time Clock (Timer RE) | 8-bit counter with calendar mode (sec/min/hr/day-of-week) - provides timekeeping without external RTC IC |
| Peripheral Multiplexing | Single pins serve multiple functions (e.g., P3_7 = TRAO/RXD2/SCL2/TXD2/SDA2) - reduces board footprint and simplifies routing |
Applications
| Audio Equipment Control | Office Equipment Motor Control |
|---|---|
Use Scenario: Volume, tone, and source selection logic in compact stereo receivers and Bluetooth speakers. IC Role / Device Role / Timing Role: Main system controller executing UI state machine, processing encoder inputs, driving display, and managing audio path configuration. Use Value: Integrated 10-bit A/D reads potentiometer positions; dual 8-bit D/A generates bias voltages for analog audio stages; LIN supports sub-module communication. | Use Scenario: Paper feed, jam detection, and motor speed regulation in multifunction printers and scanners. IC Role / Device Role / Timing Role: Real-time motion controller interfacing with stepper drivers, optical sensors, and thermal head elements. Use Value: 16 KB flash stores motor profile tables; Timer RC PWM drives motor phases; A/D monitors current and temperature for closed-loop safety. |
| Consumer Appliance UI Panel | Industrial Sensor Node |
Use Scenario: Keypad scanning, LED backlight dimming, and cycle status reporting in washing machines and microwaves. IC Role / Device Role / Timing Role: Dedicated UI microcontroller handling touch/key inputs, driving segmented displays, and communicating with main MCU via UART. Use Value: Key input interrupts (KI0–KI3) enable low-latency response; BGO allows firmware updates over serial without disrupting appliance operation. | Use Scenario: Local signal conditioning and edge-triggered event logging in environmental monitoring nodes with battery backup. IC Role / Device Role / Timing Role: Autonomous sensor aggregator sampling thermistors, humidity sensors, and analog gas detectors. Use Value: 12-channel A/D with sweep mode captures multiple sensors sequentially; stop mode draws only 2.0 µA - extends 10-year battery life. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21334CNFP | Same core, memory, and peripherals but rated for -20°C to +85°C (N version) | Limited to commercial ambient conditions; unsuitable for cold-storage or outdoor enclosures | Select when cost sensitivity outweighs extended temperature requirement |
| R5F21336CDFP | 32 KB program ROM, 2.5 KB RAM, same D-grade temp range and package | Supports larger firmware images (e.g., USB stack, advanced encryption, OTA update handler) | Choose when future feature expansion or code growth exceeds 16 KB capacity |
Compared with R5F21334CNFP, the R5F21334CDFP#X6 offers guaranteed operation down to -40°C - critical for industrial deployments - while R5F21336CDFP provides double the flash and RAM for complex control algorithms without changing PCB layout.
Availability
R5F21334CDFP#X6 is available at Aetrix Electronics and suitable for audio equipment control, office equipment motor control, consumer appliance UI panels, and industrial sensor nodes requiring stable component supply across extended temperature ranges.
Supply support for R5F21334CDFP#X6 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 is a global semiconductor leader specializing in microcontrollers, analog, power, and SoC solutions for automotive, industrial, and IoT markets.
The R8C/33C Group, including R5F21334CDFP#X6, was designed for cost-sensitive, low-power embedded control in consumer and industrial appliances where integration, reliability, and extended temperature operation are essential.
FAQ
What is the maximum operating frequency of the R5F21334CDFP#X6?
The R5F21334CDFP#X6 supports a maximum operating frequency of 20 MHz when powered at VCC = 2.7–5.5 V using the XIN clock source. At lower supply voltages (1.8–5.5 V), the maximum frequency is reduced to 5 MHz. The on-chip high-speed oscillator also supports adjustable frequencies, enabling clock flexibility without external components.
Does the R5F21334CDFP#X6 support in-circuit debugging?
Yes, the R5F21334CDFP#X6 includes on-chip debug functionality compliant with Renesas' standard debug interface. It supports full breakpoint, step-through, and register/memory inspection via dedicated debug pins (not shared with user I/O), enabling development without requiring external emulators beyond standard E8/E10 debug adapters.
How many A/D input channels does the R5F21334CDFP#X6 have, and what is their resolution?
The R5F21334CDFP#X6 integrates a 10-bit successive-approximation A/D converter with 12 input channels (AN0–AN11). It supports sample-and-hold operation and automatic channel sweep mode, allowing sequential conversion of all enabled channels with minimal CPU intervention - ideal for multi-sensor monitoring systems.
Is the R5F21334CDFP#X6 pin-compatible with other devices in the R8C/33C Group?
Yes, all R8C/33C Group MCUs, including R5F21334CDFP#X6, share the identical 32-pin LQFP package (PLQP0032GB-A) and pinout. This allows direct substitution between variants (e.g., R5F21332CDFP, R5F21336CDFP) on the same PCB - only firmware and optional external components (e.g., crystal load caps) may require adjustment.
What is the purpose of the data flash in the R5F21334CDFP#X6?
The R5F21334CDFP#X6 includes 4 KB of data flash (1 KB × 4 blocks) specifically designed for nonvolatile parameter storage and firmware updates. With Background Operation (BGO) support, it enables read-modify-write operations while the main program continues executing - essential for logging runtime data or applying field updates without system interruption.
R5F21334CDFP#X6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-LQFP
- Series:
- R8C/3x/33C
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Discontinued at Digi-Key
- 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:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 1.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 5.5V
- Data Converters:
- A/D 12x10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21334CDFP#X6 FAQ
1.How can I place an order for R5F21334CDFP#X6 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21334CDFP#X6 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 R5F21334CDFP#X6 reliable?
The price and inventory of R5F21334CDFP#X6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21334CDFP#X6 is usually 5 days.
3.What payment methods are accepted for R5F21334CDFP#X6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21334CDFP#X6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21334CDFP#X6?
R5F21334CDFP#X6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21334CDFP#X6 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 R5F21334CDFP#X6?
For technical support, including R5F21334CDFP#X6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21334CDFP#X6 requirements.
6.How does Aetrix verify that R5F21334CDFP#X6 is sourced from the original manufacturer or authorized distributors?
All R5F21334CDFP#X6 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 R5F21334CDFP#X6 meets industry standards.
7.What is the process for return or replacement of R5F21334CDFP#X6?
All R5F21334CDFP#X6 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21334CDFP#X6, 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 R5F21334CDFP#X6 part is unused and in its original packaging.
Return procedure for R5F21334CDFP#X6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21334CDFP#X6 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…

