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

- Shipping:

Inventory:1,170
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21336MNFP#50 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 embedded control in consumer audio and office equipment.
For engineers reviewing the R5F21336MNFP#50 datasheet, R5F21336MNFP#50 pinout, R5F21336MNFP#50 application, or R5F21336MNFP#50 equivalent, key selection criteria include its 32-pin LQFP package, -20°C to +85°C temperature grade (N version), integrated LIN transceiver support via Timer RA and UART0, and BGO-enabled in-system reprogramming of data flash without halting CPU execution.
Technical Context
The R5F21336MNFP#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 program ROM at 08000h–0FFFFh and data flash 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. Power management includes wait mode (3.5 µA @ 3.0 V, 32 kHz) and stop mode (2.0 µA).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 16×16→32-bit multiplier, and MAC unit for signal processing acceleration |
| Memory | 32 KB flash program ROM, 2.5 KB RAM, 4 KB data flash (1 KB × 4 blocks) with BGO for concurrent read/write |
| Operating Frequency | 20 MHz max (VCC = 2.7–5.5 V); 5 MHz min (VCC = 1.8–5.5 V) - supports dual-voltage design flexibility |
| A/D Converter | 10-bit resolution, 12-channel input with sample-and-hold and sweep mode for multi-sensor monitoring |
| D/A Converters | Two independent 8-bit voltage-output DACs (DA0, DA1) for analog actuator control or bias generation |
| Peripheral Integration | Hardware LIN module (Timer RA + UART0), UART0/1/2, I²C-bus, SSU, 16-bit Timer RC (3-PWM output), RTC (Timer RE) |
| Power Modes | Standard, wait (3.5 µA @ 32 kHz), and stop (2.0 µA) modes - enables battery-powered or energy-sensitive applications |
Pinout & Package
Package: 32-pin LQFP (PLQP0032GB-A), 7 mm × 7 mm, 0.8 mm pitch, surface-mount compatible with standard reflow profiles.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC/AVCC | Power supply input | Core and analog domain supply (1.8–5.5 V); AVCC requires local decoupling for A/D/DAC accuracy |
| VSS/AVSS | Ground reference | Digital and analog ground planes must be connected at single point to minimize noise coupling into ADC/DAC |
| RESET | Active-low reset input | Asynchronous reset assertion clears CPU registers and initializes peripherals; external pull-up required |
| XIN/XOUT | Primary crystal oscillator interface | Supports 20 MHz ceramic resonator or crystal; enables precise timing for UART/LIN communication |
| XCIN/XCOUT | 32 kHz sub-clock oscillator | Drives real-time clock (Timer RE) and low-power wake-up during stop/wait modes |
| P0_0–P0_7, P1_0–P1_7, etc. | Programmable CMOS I/O ports | 27 total CMOS I/O pins with software-selectable pull-up resistors and high-current drive capability for LED direct drive |
| AN0–AN11 | Analog inputs | 12-channel 10-bit A/D inputs; AN0/AN1 double as DAC outputs (DA1/DA0) - enables mixed-signal feedback loops |
| DA0/DA1 | Digital-to-analog outputs | 8-bit voltage outputs mapped to P0_6/P0_7; usable as programmable references or control voltages |
| UART0 TXD0/RXD0 | Full-duplex serial interface | Hardware LIN physical layer support via UART0 + Timer RA - eliminates need for external LIN transceiver in basic implementations |
| TRAO/TRBO/TRCIOx | Timer peripheral I/O | Timer RA output (TRAIO), Timer RB output (TRBO), and Timer RC I/O (TRCIOA–D) enable PWM, capture, compare, and waveform generation |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming occurs concurrently with CPU code execution - enables seamless firmware updates and parameter logging |
| Hardware LIN Module | Integrated LIN 2.0/2.1 support via UART0 and Timer RA - reduces BOM cost and PCB area vs. discrete transceivers |
| Real-Time Clock (Timer RE) | Independent 8-bit timer with seconds/minutes/hours/day-of-week counting using 32 kHz XCIN clock - no external RTC IC needed |
| Dual 8-bit D/A Converters | Simultaneous analog output generation on P0_6 (DA0) and P0_7 (DA1) - supports dual-channel control (e.g., audio balance, motor bias) |
| Low-Power Stop Mode | 2.0 µA typical current draw at 3.0 V - extends battery life in portable remote controls or sensor nodes |
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, decoding rotary encoder inputs, and driving display segments via I/O ports. Use Value: Integrated 10-bit A/D reads potentiometer wipers; dual 8-bit DACs generate analog bias for op-amp stages; LIN handles remote subwoofer sync. | Use Scenario: Paper feed, jam detection, and toner level monitoring in laser printers and multifunction copiers. IC Role / Device Role / Timing Role: Real-time motion sequencer managing stepper motor phases via Timer RC PWM outputs and monitoring limit switches via INT0/INT1. Use Value: 12-channel A/D monitors thermistors and photodiodes; RTC tracks maintenance intervals; data flash stores calibration offsets across power cycles. |
| Consumer Appliance UI | Home Automation Sensor Hub |
Use Scenario: Keypad scanning, LED backlight dimming, and temperature regulation in microwave ovens and induction cooktops. IC Role / Device Role / Timing Role: Human interface processor handling KI0–KI3 key interrupts, driving high-current LED segments, and regulating heater duty cycle via Timer RB PWM. Use Value: 27 high-drive I/O pins eliminate external drivers; comparator A monitors overtemperature shutdown thresholds; BGO preserves cooking state during firmware update. | Use Scenario: Aggregating occupancy, ambient light, and humidity data from multiple sensors before forwarding via UART to gateway MCU. IC Role / Device Role / Timing Role: Low-power sensor concentrator sampling A/D channels in sweep mode, timestamping readings with Timer RE, and buffering in 2.5 KB RAM. Use Value: Wait mode (3.5 µA) enables years of operation on coin cell; I²C-bus interfaces to digital sensors; data flash logs historical trends without host intervention. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21336MDFP | Same core, memory, and peripherals but rated for -40°C to +85°C industrial temperature range | Suitable for automotive cabin modules or outdoor appliances requiring extended thermal tolerance | Select R5F21336MDFP when operating ambient exceeds 85°C or requires industrial-grade qualification |
| R5F21335MNFP | 24 KB program ROM, 2 KB RAM, identical peripherals and package - 8 KB smaller flash footprint | Ideal for cost-sensitive designs where firmware size fits within 24 KB and future expansion headroom is limited | Choose R5F21335MNFP to reduce BoM cost when application code size is verified ≤24 KB |
Compared with R5F21336MDFP, the R5F21336MNFP#50 offers identical functionality at commercial temperature grade, reducing cost and qualification overhead; versus R5F21335MNFP, it provides 8 KB additional flash for feature-rich firmware or field-upgradable capabilities without changing PCB layout.
Availability
R5F21336MNFP#50 is available at Aetrix Electronics and suitable for audio equipment control, office equipment motor control, consumer appliance UI, and home automation sensor hub applications requiring stable component supply and long-term production continuity.
Supply support for R5F21336MNFP#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/33M Group, including R5F21336MNFP#50, was designed for cost-effective, low-power embedded control in consumer electronics - emphasizing integration of LIN, RTC, A/D, and D/A to minimize external components in space-constrained designs.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21336MNFP#50?
The R5F21336MNFP#50 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 capability allows flexible power design - for example, running at 10 MHz with 3.0 V for reduced EMI and power consumption while maintaining sufficient performance for UI and sensor tasks. The R5F21336MNFP#50's wide voltage range simplifies compatibility with legacy 5 V systems or modern 3.3 V rails.
Does the R5F21336MNFP#50 support in-system programming of its data flash memory?
Yes, the R5F21336MNFP#50 supports background operation (BGO) for data flash, enabling erase and write operations while the CPU executes application code from program ROM. This allows real-time parameter storage - such as user preferences or calibration data - without interrupting system operation. The R5F21336MNFP#50's data flash is organized as four 1 KB blocks, each independently erasable, and rated for 10,000 write/erase cycles per block.
How does the hardware LIN module in the R5F21336MNFP#50 function?
The R5F21336MNFP#50 implements LIN 2.0/2.1 protocol support through dedicated hardware combining UART0 and Timer RA - eliminating the need for an external LIN transceiver in basic node applications. UART0 handles byte-level framing and error checking, while Timer RA generates precise baud-rate timing and manages break field detection. The R5F21336MNFP#50's LIN module supports slave-only operation and integrates seamlessly with its 32-pin LQFP footprint, reducing component count in automotive body electronics or appliance sub-networks.
What are the key low-power modes supported by the R5F21336MNFP#50, and their typical current consumption?
The R5F21336MNFP#50 offers three primary low-power modes: standard active mode (6.5 mA @ 5.0 V, 20 MHz), wait mode (3.5 µA @ 3.0 V, 32 kHz sub-clock active), and stop mode (2.0 µA @ 3.0 V, all clocks halted except reset circuit). These modes are controlled via system clock registers (CM0/CM1) and enable rapid wake-up from external interrupts or RTC alarms. The R5F21336MNFP#50's sub-microamp stop mode makes it suitable for battery-backed applications like remote controls or wireless sensors requiring multi-year operation.
Can the R5F21336MNFP#50's A/D converter operate in scan mode, and how many channels does it support?
Yes, the R5F21336MNFP#50's 10-bit A/D converter supports sweep (scan) mode, automatically sequencing through up to 12 analog input channels (AN0–AN11) without CPU intervention. Conversion results are stored in AD0–AD7 registers, and the sweep can be triggered by software, timer, or external signal (ADTRG pin). This capability enables efficient multi-sensor monitoring - for example, reading thermistor, light sensor, and potentiometer values in sequence - and is essential for applications like climate control or audio input level detection in the R5F21336MNFP#50.
R5F21336MNFP#50 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-LQFP
- Series:
- R8C/3x/33M
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Not For New Designs
- 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:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21336MNFP#50 FAQ
1.How can I place an order for R5F21336MNFP#50 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21336MNFP#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 R5F21336MNFP#50 reliable?
The price and inventory of R5F21336MNFP#50 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21336MNFP#50 is usually 5 days.
3.What payment methods are accepted for R5F21336MNFP#50?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21336MNFP#50 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21336MNFP#50?
R5F21336MNFP#50 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21336MNFP#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 R5F21336MNFP#50?
For technical support, including R5F21336MNFP#50 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21336MNFP#50 requirements.
6.How does Aetrix verify that R5F21336MNFP#50 is sourced from the original manufacturer or authorized distributors?
All R5F21336MNFP#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 R5F21336MNFP#50 meets industry standards.
7.What is the process for return or replacement of R5F21336MNFP#50?
All R5F21336MNFP#50 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21336MNFP#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 R5F21336MNFP#50 part is unused and in its original packaging.
Return procedure for R5F21336MNFP#50:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21336MNFP#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…

