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

- Shipping:

Inventory:3,288
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21346CNFP#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 delivers 50 ns minimum instruction execution at 20 MHz (VCC = 2.7–5.5 V), integrates dual 8-bit timers (RA/RB), dual 16-bit timers (RC/RD), real-time clock (RE), 10-bit × 12-channel ADC, dual 8-bit DACs, LIN hardware module, and operates across –20°C to +85°C in a 48-pin LQFP package - deployed in consumer audio and office equipment control systems.
For engineers reviewing the R5F21346CNFP#50 datasheet, R5F21346CNFP#50 pinout, R5F21346CNFP#50 application, or R5F21346CNFP#50 equivalent, key selection criteria include its 32 KB flash capacity, BGO-enabled data flash for firmware updates without halting execution, integrated LIN transceiver support via UART0+TimerRA, low-power stop mode (2.0 µA), and 48-pin PLQP0048KB-A package compatibility with legacy R8C/34C designs.
Technical Context
The R5F21346CNFP#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 starting at 08000h, data flash at 03000h–03FFFh, and RAM at 00400h–00DFFh.
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 - all selectable via CM0/CM1 registers. Power management includes wait mode (3.5 µA @ 32 kHz) and stop mode (2.0 µA), with voltage detection circuits (VDD monitoring, POR, selectable thresholds).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 50 ns min. instruction time at 20 MHz - enables deterministic real-time control in resource-constrained embedded systems. |
| Memory | 32 KB flash program ROM, 2.5 KB RAM, 4 KB data flash (1 KB × 4 blocks) with BGO - supports field firmware updates without interrupting main application flow. |
| Timers | Timer RA/RB (8-bit × 2), Timer RC (16-bit × 1), Timer RD (16-bit × 2 with 6-pin PWM & complementary PWM), Timer RE (8-bit RTC) - provides flexible timing, motor control, and calendar functions. |
| Analog Peripherals | 10-bit × 12-channel ADC with sample-and-hold and sweep mode; dual 8-bit DACs (DA0/DA1); two comparator B channels - suitable for sensor signal conditioning and audio output generation. |
| Communication | UART0/1/2 (UART2 supports I²C-bus mode), SSU, LIN hardware module (UART0 + TimerRA), 3-wire SPI-like interface - enables multi-protocol connectivity in appliance HMI and motor subsystems. |
| Power & Temp | Operating voltage: 1.8–5.5 V; current: 6.5 mA typ. @ 5 V/20 MHz, 2.0 µA @ stop mode; ambient temp: –20°C to +85°C (N version) - meets industrial-grade reliability for consumer electronics. |
Pinout & Package
Package: 48-pin LQFP (PLQP0048KB-A), 7 mm × 7 mm, 0.5 mm pitch, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_0–P0_7 | CMOS I/O port / AN0–AN7 / DA0/DA1 | Primary analog input bank (12-bit capable) and dual DAC outputs - used for potentiometer sensing and audio DAC output routing. |
| P1_0–P1_7 | CMOS I/O port / AN8–AN11 / KI0–KI3 | Secondary analog inputs and key interrupt pins - supports front-panel button scanning with hardware debouncing. |
| P2_0–P2_7 | CMOS I/O port / TRDIOx0/TRDIOx1 | Dedicated Timer RD I/O for 3-phase motor PWM generation - enables direct gate drive of 6 MOSFETs in BLDC inverters. |
| P3_3–P3_7 | I/O / SCL2/SDA2 / RXD2/TXD2 / SSO | Multiplexed I²C-bus, UART2, and SSU signals - allows shared bus access for display controllers and sensor hubs. |
| XIN/XOUT | External crystal oscillator input/output | Supports precise 20 MHz system clock; external resonator option reduces BOM cost vs. full crystal solution. |
| XCIN/XCOUT | 32 kHz real-time clock crystal interface | Enables battery-backed RTC operation independent of main system clock - critical for power-loss event logging. |
| RESET | Active-low reset input | Asynchronous hardware reset with internal pull-up - ensures reliable initialization after brown-out or ESD events. |
| MODE | Boot mode configuration | Must be tied to VCC via resistor to enable normal flash execution - prevents accidental entry into ROM bootloader mode. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erasure/programming proceeds concurrently with CPU code execution - eliminates runtime stalls during firmware patching. |
| Hardware LIN Module | Integrated LIN 2.1 compliance via UART0 + TimerRA - removes need for external LIN transceiver in automotive HVAC and seat control nodes. |
| Low-Power Stop Mode | 2.0 µA consumption with 32 kHz RTC active - extends battery life in always-on remote controls and smart sensors. |
| Multi-Source Clock System | Four independent clocks (XIN, XCIN, high-speed/low-speed on-chip) with dynamic switching - enables seamless transition between performance and ultra-low-power states. |
| On-Chip Debug Support | Fully integrated on-chip debug interface with flash rewrite capability - simplifies development and field firmware recovery without JTAG emulator. |
Applications
| Audio Equipment Control | Office Equipment Motor Drive |
|---|---|
Use Scenario: Volume control, source selection, and LED display management in compact stereo receivers. IC Role / Device Role / Timing Role: Main system controller executing UI logic, ADC-based rotary encoder sampling, and DAC-driven headphone amplifier bias control. Use Value: Integrated 10-bit ADC and dual 8-bit DAC eliminate external signal conditioning ICs; BGO enables silent firmware updates during playback. |
Use Scenario: Precision paper feed and scanner carriage motion in multifunction printers. IC Role / Device Role / Timing Role: Motion controller generating synchronized 3-phase PWM waveforms via Timer RD for stepper/servo drivers. Use Value: Complementary PWM mode with dead-time insertion ensures safe MOSFET switching; 16-bit resolution enables fine-grained speed control. |
| Consumer Appliance HMI | Industrial Sensor Node |
Use Scenario: Touchless button interface and temperature feedback in microwave ovens and induction cooktops. IC Role / Device Role / Timing Role: Front-end processor handling capacitive touch sensing (via ADC sweep), thermal monitoring, and relay driver timing. Use Value: Key input interrupt (KI0–KI3) with hardware debounce reduces MCU load; voltage detection circuit ensures safe shutdown during brown-out. |
Use Scenario: Battery-powered environmental monitor logging temperature/humidity via I²C sensors. IC Role / Device Role / Timing Role: Low-power data aggregator using UART2 in I²C mode, RTC-triggered wake-up, and ADC sampling. Use Value: 2.0 µA stop mode with 32 kHz RTC preserves battery for >1 year; integrated I²C eliminates level-shifter components. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21346CDFP | Same core, memory, and peripherals; rated for –40°C to +85°C industrial temperature range. | Required for outdoor or automotive-adjacent deployments where extended ambient temperature tolerance is mandatory. | Select R5F21346CDFP when operating outside –20°C to +85°C envelope; pinout and firmware are identical. |
| R5F21345CNFP | 24 KB program ROM, 2 KB RAM, otherwise identical peripheral set and package. | Suitable for less complex firmware (e.g., basic timer-based appliances) where 32 KB flash headroom is unnecessary. | Choose R5F21345CNFP to reduce cost in volume production where code size remains under 24 KB. |
Compared with R5F21346CDFP, the R5F21346CNFP#50 trades industrial temperature rating for lower cost in commercial environments; compared with R5F21345CNFP, it provides 8 KB additional flash and 0.5 KB more RAM for feature-rich UIs or expanded communication stacks - making it optimal for next-generation audio and office equipment requiring BGO and LIN.
Availability
R5F21346CNFP#50 is available at Aetrix Electronics and suitable for audio equipment control, office equipment motor drive, consumer appliance HMI, and industrial sensor node applications requiring stable component supply, long-term lifecycle support, and RoHS-compliant manufacturing.
Supply support for R5F21346CNFP#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, and power solutions for automotive, industrial, and IoT markets.
The R8C/34C Group, including the R5F21346CNFP#50, was designed for cost-sensitive, low-power embedded control in consumer electronics - emphasizing integration of analog peripherals, real-time timers, and communication interfaces in compact LQFP packages.
FAQ
What is the maximum operating frequency and corresponding supply voltage range for the R5F21346CNFP#50?
The R5F21346CNFP#50 supports a maximum operating frequency of 20 MHz at VCC = 2.7–5.5 V, with minimum instruction execution time of 50 ns. At reduced frequency (5 MHz), it operates down to 1.8 V, enabling ultra-low-voltage operation in battery-powered devices while maintaining full peripheral functionality.
Does the R5F21346CNFP#50 support in-system programming of its data flash memory?
Yes, the R5F21346CNFP#50 supports background operation (BGO) for data flash, allowing erase and write operations to proceed concurrently with CPU program execution. This enables seamless firmware updates and parameter storage without halting the main application - a key capability confirmed in the R01DS0007EJ0100 datasheet Section 1.1.
How many interrupt vectors does the R5F21346CNFP#50 provide, and what priority levels are supported?
The R5F21346CNFP#50 provides 69 interrupt vectors with 7 programmable priority levels. Interrupt sources include 9 external interrupts (INT0–INT4, KI0–KI3), timer overflows, UART receive/transmit events, ADC completion, and LIN bus activity - enabling deterministic real-time response in multi-tasking embedded applications.
What is the function of the MODE pin on the R5F21346CNFP#50, and how must it be configured?
The MODE pin on the R5F21346CNFP#50 selects boot mode: it must be externally pulled high to VCC via a resistor to enable normal flash program execution. Leaving MODE floating or pulling low forces entry into ROM-resident bootloader mode - a configuration detail specified in Table 1.6 of the R01DS0007EJ0100 datasheet.
Can the R5F21346CNFP#50 generate three-phase PWM waveforms for BLDC motor control?
Yes, the R5F21346CNFP#50's Timer RD supports reset synchronous PWM and complementary PWM modes, each driving six output pins with programmable dead-time insertion. This enables direct generation of three-phase sinusoidal or trapezoidal waveforms for brushless DC motor control without external gate drivers or timing ICs.
R5F21346CNFP#50 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-LQFP
- Series:
- R8C/3x/34C
- 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:
- 43
- 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:
R5F21346CNFP#50 FAQ
1.How can I place an order for R5F21346CNFP#50 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21346CNFP#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 R5F21346CNFP#50 reliable?
The price and inventory of R5F21346CNFP#50 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21346CNFP#50 is usually 5 days.
3.What payment methods are accepted for R5F21346CNFP#50?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21346CNFP#50 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21346CNFP#50?
R5F21346CNFP#50 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21346CNFP#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 R5F21346CNFP#50?
For technical support, including R5F21346CNFP#50 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21346CNFP#50 requirements.
6.How does Aetrix verify that R5F21346CNFP#50 is sourced from the original manufacturer or authorized distributors?
All R5F21346CNFP#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 R5F21346CNFP#50 meets industry standards.
7.What is the process for return or replacement of R5F21346CNFP#50?
All R5F21346CNFP#50 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21346CNFP#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 R5F21346CNFP#50 part is unused and in its original packaging.
Return procedure for R5F21346CNFP#50:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21346CNFP#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…

