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

- Shipping:

Inventory:4,627
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21336CNFP#30 from Renesas Electronics is a 16-bit R8C CPU core microcontroller with 32 KB flash program memory, 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 ADC (12 channels), dual 8-bit DACs, LIN hardware module, and real-time clock (Timer RE), targeting embedded control in consumer appliances and office equipment.
For engineers reviewing the R5F21336CNFP#30 datasheet, R5F21336CNFP#30 pinout, R5F21336CNFP#30 application, or R5F21336CNFP#30 equivalent, key selection considerations include its 32-pin LQFP package (PLQP0032GB-A), -20°C to +85°C operating range (N version), integrated voltage detection circuitry, and support for low-power wait/stop modes with typical current as low as 2.0 µA.
Technical Context
The R5F21336CNFP#30 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 starting at 08000h 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. Peripheral integration includes UART0/1/2, I²C-bus, SSU, three 8-bit timers (RA/RB/RE), one 16-bit timer (RC), DTC, watchdog timer, and comparator B.
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 |
| 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 ADC (12 channels, sample-and-hold, sweep mode), dual 8-bit DACs (DA0/DA1), 2× comparator B |
| Timers & RTC | Timer RA/RB (8-bit × 2), Timer RC (16-bit), Timer RE (8-bit real-time clock with sec/min/hr/day-of-week) |
| Communication | UART0/1/2 (UART2 supports I²C mode), I²C-bus (shared with SSU), hardware LIN (via Timer RA + UART0) |
| Power Management | Voltage detection (power-on reset + 3-level detection), wait mode (3.5 µA @ 3.0 V, 32 kHz), stop mode (2.0 µA @ 3.0 V) |
Pinout & Package
Package: 32-pin LQFP (PLQP0032GB-A), 7 mm × 7 mm, 0.8 mm pitch, surface-mount.
| 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 ports | 27 programmable I/O pins with selectable pull-up resistors; all support LED drive |
| P4_2 | Input-only port | Dedicated analog reference voltage input (VREF) for ADC/DAC |
| AN0–AN11 | Analog inputs | 12-channel 10-bit ADC inputs; AN0/AN1 also serve as DA1/DA0 outputs |
| TRAO, TRBO, TREO, TRCIOA–D | Timer I/O | Timer RA output, Timer RB output, Timer RE output, and Timer RC I/O pins for capture/compare/PWM |
| UART0/1/2, SCL2/SDA2, SCL/SDA, SSCK/SSI/SSO/SCS | Serial interface signals | Three UART channels; I²C-bus and SSU share physical pins; LIN uses UART0 + Timer RA |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erase/write during program execution enables seamless firmware updates without halting MCU operation |
| Hardware LIN Module | Integrated LIN 2.0/2.1 support via UART0 and Timer RA eliminates need for external transceiver in basic node applications |
| Real-Time Clock (Timer RE) | Full calendar function (seconds, minutes, hours, day-of-week) with dedicated registers and compare output for alarm generation |
| Low-Power Operating Modes | Wait mode (3.5 µA) and stop mode (2.0 µA) with 32 kHz XCIN clock preserve timing accuracy while minimizing power in battery-backed systems |
| Voltage Detection Circuit | Configurable 3-level voltage monitor with programmable thresholds ensures reliable reset and brown-out protection across supply variations |
Applications
| Home Appliance Control | Office Equipment Interface |
|---|---|
Use Scenario: Microcontroller in washing machine main board managing motor control, water level sensing, and user interface. IC Role / Device Role / Timing Role: Central controller executing real-time motor sequencing, ADC sampling of pressure sensors, and PWM-driven display backlight. Use Value: Integrated 10-bit ADC (12 ch), dual DACs, and LIN enable direct sensor interfacing and actuator control without external signal conditioning. | Use Scenario: Embedded controller in multifunction printer handling paper feed, toner monitoring, and USB-to-parallel bridge logic. IC Role / Device Role / Timing Role: System coordinator managing UART-based host communication, real-time job scheduling, and thermal sensor polling via ADC. Use Value: 32 KB flash supports complex print-job firmware; Timer RE provides accurate job timing; UART2/I²C interfaces connect to PMIC and status sensors. |
| Audio Equipment Signal Path | Consumer Device Power Management |
Use Scenario: Digital audio mixer requiring analog input conditioning, volume control, and LED status indication. IC Role / Device Role / Timing Role: Audio subsystem controller performing ADC digitization of line-in, DAC-based headphone output, and LED driver via high-current I/O ports. Use Value: Dual 8-bit DACs (DA0/DA1) deliver stereo analog output; 27 high-current I/O pins directly drive LEDs without external drivers. | Use Scenario: Battery-powered portable speaker managing charging, battery voltage monitoring, and sleep/wake cycles. IC Role / Device Role / Timing Role: Power supervisor using voltage detection circuit for brown-out reset, ADC for battery voltage measurement, and stop mode for ultra-low standby current. Use Value: 2.0 µA stop-mode current extends battery life; programmable voltage detection levels match Li-ion discharge profile. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21336CDFP | Same core, memory, and peripherals but rated for -40°C to +85°C industrial temperature range | Required for extended ambient temperature environments (e.g., automotive cabin modules, outdoor kiosks) | Select R5F21336CDFP when operating below -20°C is required; otherwise R5F21336CNFP#30 suffices for commercial-grade appliances. |
| R5F21335CNFP | 24 KB program ROM, 2 KB RAM, identical peripheral set and package | Suitable where firmware size is constrained and full 32 KB is unnecessary | Choose R5F21335CNFP to reduce cost if application firmware fits within 24 KB and no future expansion is planned. |
Compared with R5F21336CDFP, R5F21336CNFP#30 trades industrial temperature range for lower cost in commercial environments; compared with R5F21335CNFP, it provides 8 KB additional flash and 0.5 KB more RAM for enhanced feature sets or field-upgrade headroom.
Availability
R5F21336CNFP#30 is available at Aetrix Electronics and suitable for home appliance control, office equipment interface, and consumer audio equipment requiring stable component supply and long-term production continuity.
Supply support for R5F21336CNFP#30 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 R5F21336CNFP#30, was designed for cost-sensitive, low-power embedded control applications in consumer electronics-emphasizing integration of analog peripherals, real-time clock, and communication interfaces in compact 32-pin packages.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21336CNFP#30?
The R5F21336CNFP#30 supports a maximum operating frequency of 20 MHz at VCC = 2.7–5.5 V, and 5 MHz at VCC = 1.8–5.5 V. Its wide supply range enables direct compatibility with common 3.3 V and 5 V system rails, and the 1.8 V minimum allows integration into mixed-voltage designs with level-shifting only where necessary. The R5F21336CNFP#30 maintains full functionality across this range without external regulators.
Does the R5F21336CNFP#30 support in-circuit debugging and flash programming?
Yes, the R5F21336CNFP#30 includes on-chip debug capability and on-board flash rewrite functionality, enabling real-time debugging and firmware updates without removing the device from the PCB. It supports standard Renesas E8/E8a debug interfaces and requires no external debug probe beyond the standard JTAG/SWD connection. The R5F21336CNFP#30 also implements ROM code protection and ID code check to secure firmware during development and production.
How many analog-to-digital converter (ADC) channels does the R5F21336CNFP#30 provide, and what is its resolution?
The R5F21336CNFP#30 integrates a single 10-bit successive-approximation ADC with 12 input channels (AN0–AN11), including sample-and-hold and hardware sweep mode for automatic channel scanning. All channels support differential input configurations via internal routing, and conversion results are accessible via dedicated AD0–AD7 registers. The R5F21336CNFP#30 ADC operates across the full VCC range and supports external trigger inputs (ADTRG) for synchronized sampling.
What communication interfaces are built into the R5F21336CNFP#30?
The R5F21336CNFP#30 includes UART0, UART1, and UART2 (with I²C-bus mode), a shared SSU/I²C-bus peripheral, and a hardware LIN module implemented using UART0 and Timer RA. UART2 supports multiprocessor communication and clock-synchronous serial I/O. The R5F21336CNFP#30 does not include SPI or CAN interfaces natively; those require software emulation or external ICs. All serial modules share I/O pins and are configured via SFRs.
Is the R5F21336CNFP#30 pin-compatible with other devices in the R8C/33C Group?
Yes, all R8C/33C Group MCUs-including R5F21331CNFP through R5F21336CNFP and their D-version counterparts-share identical 32-pin LQFP (PLQP0032GB-A) packaging and pin assignments. This allows direct PCB reuse across memory variants (4–32 KB ROM) and temperature grades (N/D), provided firmware accommodates differences in RAM size, data flash layout, and SFR initialization. The R5F21336CNFP#30 requires no layout changes when substituting for lower-memory variants in the same package.
R5F21336CNFP#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-LQFP
- Series:
- R8C/3x/33C
- 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:
R5F21336CNFP#30 FAQ
1.How can I place an order for R5F21336CNFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21336CNFP#30 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 R5F21336CNFP#30 reliable?
The price and inventory of R5F21336CNFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21336CNFP#30 is usually 5 days.
3.What payment methods are accepted for R5F21336CNFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21336CNFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21336CNFP#30?
R5F21336CNFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21336CNFP#30 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 R5F21336CNFP#30?
For technical support, including R5F21336CNFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21336CNFP#30 requirements.
6.How does Aetrix verify that R5F21336CNFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F21336CNFP#30 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 R5F21336CNFP#30 meets industry standards.
7.What is the process for return or replacement of R5F21336CNFP#30?
All R5F21336CNFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21336CNFP#30, 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 R5F21336CNFP#30 part is unused and in its original packaging.
Return procedure for R5F21336CNFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21336CNFP#30 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…

