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

- Shipping:

Inventory:3,333
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21336MDFP#V2 from Renesas Electronics is a 16-bit R8C CPU core microcontroller with 32 KB flash program ROM, 2.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 A/D (12 channels), dual 8-bit D/A converters, LIN hardware module, and real-time clock (Timer RE), targeting cost-sensitive embedded control in consumer appliances.
For engineers reviewing the R5F21336MDFP#V2 datasheet, R5F21336MDFP#V2 pinout, R5F21336MDFP#V2 application, or R5F21336MDFP#V2 equivalent, key selection criteria include industrial-grade temperature range (−40°C to +85°C), 32-pin LQFP package with 0.8 mm pitch, on-chip debug capability, and hardware LIN support for automotive body electronics integration.
Technical Context
The R5F21336MDFP#V2 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 at 03000h–03FFFh.
Peripheral integration includes three UART/serial interfaces (UART0/1/2), I²C-bus (shared with SSU), hardware LIN (using Timer RA and UART0), four independent timers (RA/RB/RC/RE), DTC with 23 activation sources, and voltage detection circuitry with selectable levels for power-on reset and brown-out protection.
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 |
| Memory | 32 KB flash program ROM, 2.5 KB RAM, 4 KB data flash (1 KB × 4 blocks) with BGO |
| Operating Frequency | 20 MHz max (VCC = 2.7–5.5 V); 5 MHz min (VCC = 1.8–5.5 V) |
| Analog Peripherals | 10-bit A/D converter × 12 channels; 8-bit D/A × 2; Comparator A × 2; Comparator B × 2 |
| Timers & Clocks | Timer RA/RB (8-bit), Timer RC (16-bit, 4 capture/compare), Timer RE (real-time clock), 4 clock sources including 32 kHz XCIN |
| Communication | UART0/1/2, I²C-bus (shared with SSU), hardware LIN module, DTC with 23 activation sources |
| Package & Temp | 32-pin LQFP (PLQP0032GB-A, 7 mm × 7 mm, 0.8 mm pitch); −40°C to +85°C (D version) |
Pinout & Package
Package: 32-pin LQFP (PLQP0032GB-A), 7 mm × 7 mm body, 0.8 mm pin pitch, exposed pad not specified.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC/AVCC | Power supply input | Main digital and analog supply (1.8–5.5 V); AVCC requires decoupling to AVSS for A/D/D/A stability |
| VSS/AVSS | Ground reference | Digital and analog ground; separate routing recommended to minimize noise coupling into analog peripherals |
| RESET | Reset input | Active-low asynchronous reset; internal pull-up enabled; external debounced signal required for robust operation |
| XIN/XOUT | High-frequency oscillator interface | Supports ceramic resonator or crystal (up to 20 MHz); XOUT can accept external clock input |
| XCIN/XCOUT | Low-frequency oscillator interface | 32 kHz crystal connection for RTC and low-power modes; XCIN accepts external 32 kHz clock |
| 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 ports | 27 programmable CMOS I/O pins with software-selectable pull-up resistors; all support LED drive capability |
| P4_2 | Input-only port | Dedicated analog reference voltage input (VREF) for A/D and D/A converters; no output capability |
| AN0–AN11 | Analog inputs | 12-channel 10-bit A/D inputs; shared with port pins (e.g., P0_0 = AN0/DA1); require proper sampling timing per sweep mode |
| DA0/DA1 | D/A outputs | Two independent 8-bit voltage-output DACs mapped to P0_6 (DA0) and P0_7 (DA1); rail-to-rail output swing |
| TRCIOA–TRCIOD | Timer RC I/O | Four dedicated pins for Timer RC capture/compare/PWM functions; support complementary PWM with dead-time control via software |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming while executing code from main ROM - enables firmware updates without halting system operation |
| Hardware LIN Module | Full LIN 2.0/2.1 protocol support using Timer RA and UART0 - eliminates need for external LIN transceiver in basic node applications |
| Real-Time Clock (Timer RE) | Integrated calendar function (seconds/minutes/hours/days of week) with 32 kHz crystal input - provides autonomous timekeeping in stop/wait modes consuming ≤2 µA |
| On-Chip Debug Interface | Fully integrated debug circuit supporting breakpoints, watchpoints, and flash rewrite - enables in-system programming and real-time trace without external emulator |
| Voltage Detection Circuit | Configurable voltage monitor with 3 detection levels (including POR and selectable brown-out thresholds) - ensures safe reset behavior across wide VCC range (1.8–5.5 V) |
Applications
| Home Appliance Control | Office Equipment Motor Control |
|---|---|
Use Scenario: Washing machine drum motor speed regulation and water level sensing via analog inputs. IC Role / Device Role / Timing Role: Main system controller executing PID loop, managing UART-based user interface, and driving relay/LED outputs via high-current I/O ports. Use Value: Integrated 10-bit A/D (12 ch), dual 8-bit D/A, and hardware LIN reduce BOM count by eliminating external ADC/DAC and communication ICs. | Use Scenario: Laser printer paper feed and fuser temperature regulation with precise timing and analog feedback. IC Role / Device Role / Timing Role: Real-time coordinator for stepper motor sequencing (via Timer RB PWM), thermal monitoring (A/D), and serial status reporting (UART1). Use Value: 20 MHz R8C core delivers deterministic 50 ns instruction cycle for tight motion control loops; 2.5 KB RAM supports multi-buffered print job queues. |
| Audio System Front Panel | Industrial Sensor Node |
Use Scenario: Keypad scanning, display backlight dimming, and audio codec configuration in portable speaker systems. IC Role / Device Role / Timing Role: Peripheral manager handling KI0–KI3 key interrupts, Timer RA pulse output for LED dimming, and I²C bus to audio DAC. Use Value: Key input interrupt with debounce logic and programmable waveform generation (PWM) enable smooth UI response without external components. | Use Scenario: Environmental sensor aggregation (temperature/humidity) with battery-backed RTC and low-power wireless wake-up. IC Role / Device Role / Timing Role: Ultra-low-power data logger using stop mode (2.0 µA), 32 kHz XCIN-driven Timer RE, and A/D sweep mode for periodic measurements. Use Value: Sub-µA RTC operation and BGO-capable data flash allow firmware field updates and long-term calibration storage without external nonvolatile memory. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21336MNFP | Same core, memory, and peripherals but rated for −20°C to +85°C (N version) | Suitable for commercial indoor environments only; lacks extended industrial temperature qualification | Select when operating ambient stays above −20°C and cost sensitivity outweighs industrial certification needs |
| R5F21335MDFP | 24 KB program ROM, 2 KB RAM, identical peripheral set and package | Lower memory capacity limits complex protocol stacks or large UI buffers | Choose when application firmware fits within 24 KB and marginal cost reduction justifies reduced headroom |
Compared with R5F21336MNFP and R5F21335MDFP, the R5F21336MDFP#V2 uniquely combines industrial temperature rating (−40°C to +85°C), full 32 KB program ROM, and hardware LIN in a 32-pin LQFP - making it optimal for automotive body electronics and harsh-environment appliance control where reliability and feature completeness are critical.
Availability
R5F21336MDFP#V2 is available at Aetrix Electronics and suitable for home appliance control, office equipment motor management, audio front-panel interfaces, and industrial sensor nodes requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F21336MDFP#V2 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/33M Group, including R5F21336MDFP#V2, was designed for cost-effective, low-power embedded control in consumer electronics - emphasizing integrated analog peripherals, hardware communication accelerators (LIN/I²C), and robust flash reliability for mass-market appliance applications.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21336MDFP#V2?
The R5F21336MDFP#V2 supports a maximum operating frequency of 20 MHz at VCC = 2.7–5.5 V, and a minimum frequency of 5 MHz at VCC = 1.8–5.5 V. This dual-voltage/frequency specification allows flexible power-performance trade-offs: high-speed operation for compute-intensive tasks or ultra-low-power 5 MHz mode for battery-powered standby functions. The R5F21336MDFP#V2 maintains full peripheral functionality across this entire voltage range.
Does the R5F21336MDFP#V2 include hardware LIN support, and how is it implemented?
Yes, the R5F21336MDFP#V2 integrates a dedicated hardware LIN module compliant with LIN 2.0/2.1 standards. It uses Timer RA for baud rate generation and UART0 for serial framing, enabling full protocol handling (header detection, checksum calculation, response transmission) without CPU intervention. This offloads LIN communication from the R8C core, freeing cycles for application logic while ensuring timing-critical frame compliance - a key advantage over software-emulated LIN on general-purpose MCUs.
What are the data flash endurance and programming voltage requirements for the R5F21336MDFP#V2?
The R5F21336MDFP#V2 provides 4 KB of data flash (1 KB × 4 blocks) rated for 10,000 erase/write cycles, with programming and erasure performed at standard VCC (2.7–5.5 V) - no external high-voltage supply needed. Background operation (BGO) allows concurrent code execution and data flash updates, essential for field firmware upgrades. The R5F21336MDFP#V2 also includes ROM code protection and ID code check features to prevent unauthorized access during programming.
How does the R5F21336MDFP#V2 manage power consumption in low-power modes?
The R5F21336MDFP#V2 offers multiple low-power states: wait mode consumes 3.5 µA (VCC = 3.0 V, f(XCIN) = 32 kHz), and stop mode draws just 2.0 µA under the same conditions. These modes retain RAM content and allow wake-up via external interrupt, key input, or timer event. The R5F21336MDFP#V2 achieves this through selective peripheral clock gating, on-chip oscillator switching (to low-speed 32 kHz source), and deep-sleep register retention - enabling multi-year battery life in sensor nodes.
What development tools and debug capabilities are supported for the R5F21336MDFP#V2?
The R5F21336MDFP#V2 supports Renesas' E1/E20 emulators and CS+ IDE for full on-chip debugging, including breakpoints, watchpoints, real-time variable monitoring, and flash programming. Its integrated debug circuit eliminates the need for external JTAG adapters. The R5F21336MDFP#V2 also enables in-application programming (IAP) via its BGO-capable data flash, allowing secure firmware updates over UART or CAN without halting system operation - critical for deployed appliance maintenance.
R5F21336MDFP#V2 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-LQFP
- Series:
- R8C/3x/33M
- Packaging:
- Tray
- Product Status:
- Obsolete
- 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:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2.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:
R5F21336MDFP#V2 FAQ
1.How can I place an order for R5F21336MDFP#V2 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21336MDFP#V2 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 R5F21336MDFP#V2 reliable?
The price and inventory of R5F21336MDFP#V2 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21336MDFP#V2 is usually 5 days.
3.What payment methods are accepted for R5F21336MDFP#V2?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21336MDFP#V2 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21336MDFP#V2?
R5F21336MDFP#V2 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21336MDFP#V2 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 R5F21336MDFP#V2?
For technical support, including R5F21336MDFP#V2 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21336MDFP#V2 requirements.
6.How does Aetrix verify that R5F21336MDFP#V2 is sourced from the original manufacturer or authorized distributors?
All R5F21336MDFP#V2 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 R5F21336MDFP#V2 meets industry standards.
7.What is the process for return or replacement of R5F21336MDFP#V2?
All R5F21336MDFP#V2 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21336MDFP#V2, 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 R5F21336MDFP#V2 part is unused and in its original packaging.
Return procedure for R5F21336MDFP#V2:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21336MDFP#V2 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…

