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

- Shipping:

Inventory:2,853
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21345MNFP#50 from Renesas Electronics is a 16-bit R8C CPU core MCU with 24 KB flash program ROM, 2 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), features 43 CMOS I/O ports with pull-up select, and integrates UART0/1/2, I²C, LIN, 10-bit × 12-channel ADC, dual 8-bit DACs, and six timer modules (RA–RE + RD dual-channel) - deployed in consumer audio equipment and office automation control systems.
For engineers reviewing the R5F21345MNFP#50 datasheet, R5F21345MNFP#50 pinout, R5F21345MNFP#50 application, or R5F21345MNFP#50 equivalent, key selection criteria include its N-version temperature range (−20°C to +85°C), 48-pin LQFP package (PLQP0048KB-A), on-chip high-speed/low-speed oscillators, voltage detection circuitry, and hardware LIN module timing compliance with ISO 9141-2.
Technical Context
The R5F21345MNFP#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 fixed interrupt vector table at 0FFDCh–0FFFFh and data flash at 03000h–03FFFh.
Peripheral integration includes DTC (1 channel, 33 activation sources), real-time clock (Timer RE), four independent timer units (RA–RD) with PWM, input capture, and complementary output modes, plus dual UARTs with multiprocessor support and UART2 operating in I²C-bus mode.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions, 50 ns min instruction time @20 MHz |
| Memory | 24 KB flash program ROM, 2 KB RAM, 4 KB data flash (BGO-capable) |
| Operating Voltage | 1.8–5.5 V; supports low-power wait/stop modes (2.0 µA stop current @3.0 V) |
| Timers | Timer RA (8-bit), RB (8-bit PWM), RC (16-bit ×1), RD (16-bit ×2 with 6-pin complementary PWM), RE (8-bit RTC) |
| Analog Peripherals | 10-bit ×12-channel ADC with sample-and-hold and sweep mode; dual 8-bit DACs (DA0/DA1) |
| Serial Interfaces | UART0/1/2 (UART2 supports I²C-bus & LIN); SSU/I²C shared peripheral; hardware LIN module (ISO 9141-2) |
| I/O & Packaging | 43 programmable CMOS I/O ports (with pull-up select), 1 input-only port, 48-pin LQFP (PLQP0048KB-A, 7 mm × 7 mm) |
Pinout & Package
Package: 48-pin LQFP (PLQP0048KB-A), 0.5 mm pitch, 7 mm × 7 mm body, N-version (−20°C to +85°C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_0–P0_7 | Analog/Digital I/O | AN0–AN7 inputs for ADC; DA0/DA1 outputs; TRCIOx timer I/O functions |
| P1_0–P1_7 | Multifunction I/O | AN8–AN11, KI0–KI3 key inputs, TRAO/TRBO timer outputs, CLK0/CLK1/CLK2 serial clocks |
| P2_0–P2_7 | Timer RD I/O | TRDIOA0–TRDIOD1 (8 pins), TRDCLK - dedicated for 16-bit Timer RD PWM and capture operations |
| P3_0, P3_1, P3_3–P3_5, P3_7 | Serial & Peripheral I/O | UART2 (RXD2/TXD2/SCL2/SDA2), SSU (SSI/SSCK/SSO/SCS), I²C (SCL/SDA), LIN (TRAO/TRBO) |
| P4_2–P4_7, P6_0–P6_7 | System Control & Clock | VREF (ADC/DAC reference), MODE (startup configuration), XIN/XOUT, XCIN/XCOUT, RESET, TREO (RTC output), INT0–INT4 |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Data flash erase/write during program execution enables seamless firmware updates without halting real-time control |
| Hardware LIN Module | Integrated LIN controller compliant with ISO 9141-2 using Timer RA and UART0 - eliminates external transceiver for automotive sub-node communication |
| Dual 8-bit DAC Outputs | DA0/DA1 provide simultaneous analog waveform generation for audio tone control or sensor biasing without external DAC ICs |
| Low-Power Operating Modes | Wait mode (3.5 µA @3.0 V, f(XCIN)=32 kHz) and stop mode (2.0 µA) enable battery-powered appliance standby functionality |
| 10-bit ×12-Channel ADC with Sweep Mode | Automated sequential conversion across all 12 channels reduces CPU overhead in multi-sensor monitoring applications |
Applications
| Audio Equipment Control | Office Equipment Motor Control |
|---|---|
|
Use Scenario: Volume, tone, and source selection logic in portable CD players and mini-component systems. IC Role / Device Role / Timing Role: Main system controller executing UI state machine, processing rotary encoder inputs, driving LED displays, and generating analog audio bias via DA0/DA1. Use Value: Integrated 10-bit ADC reads potentiometer positions; dual DACs generate variable reference voltages for op-amp-based tone circuits - reducing BOM count by 3 discrete components. |
Use Scenario: Paper feed, jam detection, and stepper motor sequencing in compact laser printers and multifunction peripherals. IC Role / Device Role / Timing Role: Real-time motion controller managing pulse-width-modulated (PWM) drive signals to motor drivers and interpreting optical sensor feedback via Timer RD input capture. Use Value: Timer RD's complementary PWM mode generates precise three-phase waveforms for brushless DC fan control; 12-channel ADC monitors thermal sensors and power rail voltages. |
| Consumer Appliance UI Panel | Industrial HVAC Sensor Node |
|
Use Scenario: Keypad scanning, display backlight dimming, and temperature regulation in microwave ovens and induction cooktops. IC Role / Device Role / Timing Role: Embedded UI processor handling KI0–KI3 key interrupts, driving 7-segment displays via GPIO, and modulating heater duty cycle using Timer RB PWM. Use Value: Four high-current drive ports directly sink LED segments; hardware key input detection offloads CPU; voltage detection circuit ensures safe shutdown during brownout events. |
Use Scenario: Remote air quality and ambient temperature monitoring in smart thermostats and duct-mounted HVAC controllers. IC Role / Device Role / Timing Role: Low-power sensor aggregator reading thermistor/CO₂ sensor analog outputs via ADC, transmitting data over UART2-I²C to master controller, and maintaining RTC timekeeping. Use Value: Stop-mode current of 2.0 µA extends battery life in wireless nodes; integrated RTC (Timer RE) maintains calendar time without external crystal; data flash stores calibration coefficients with BGO. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21344MNFP | 16 KB program ROM, 1.5 KB RAM - 8 KB less flash and 0.5 KB less RAM than R5F21345MNFP#50 | Suitable for simpler UI-only appliances without complex motor control or data logging | Select when firmware footprint fits within 16 KB and no background data flash writes are required |
| R5F21345MDFP | Identical memory and peripherals but D-version (-40°C to +85°C) vs. N-version (-20°C to +85°C) operating range | Required for industrial or automotive-adjacent environments with extended cold-start requirements | Choose only if full industrial temperature range is mandated; otherwise R5F21345MNFP#50 suffices for consumer-grade applications |
Compared with R5F21344MNFP, R5F21345MNFP#50 provides 8 KB more program storage and 0.5 KB additional RAM for enhanced feature sets; compared with R5F21345MDFP, it trades extended temperature rating for cost efficiency in commercial indoor environments.
Availability
R5F21345MNFP#50 is available at Aetrix Electronics and suitable for audio equipment control, office automation motor sequencing, consumer appliance UI panels, and industrial HVAC sensor nodes requiring stable component supply and long-term production continuity.
Supply support for R5F21345MNFP#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 is a global semiconductor leader specializing in microcontrollers, analog, power, and SoC solutions for automotive, industrial, and IoT markets.
The R8C/34M Group, including R5F21345MNFP#50, was designed for cost-sensitive, low-power embedded control in consumer electronics - emphasizing EMI/EMS robustness, integrated analog peripherals, and hardware-assisted communication protocols like LIN and I²C.
FAQ
What is the maximum operating frequency and supply voltage range for the R5F21345MNFP#50?
The R5F21345MNFP#50 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 minimum supply voltage is 1.8 V, enabling compatibility with single-cell Li-ion or 3×AA battery systems when paired with appropriate regulators. The R5F21345MNFP#50 achieves this performance while maintaining EMI/EMS compliance across its full voltage range.
Does the R5F21345MNFP#50 support background operation (BGO) for data flash writes?
Yes, the R5F21345MNFP#50 includes 4 KB of data flash (1 KB × 4 blocks) with full background operation (BGO) support, allowing program execution to continue uninterrupted during flash erase or write cycles. This capability is essential for field firmware updates and runtime parameter storage in applications such as audio equipment calibration or HVAC sensor node configuration - all implemented directly within the R5F21345MNFP#50 without external memory.
How many hardware PWM channels does the R5F21345MNFP#50 provide, and which timers support them?
The R5F21345MNFP#50 delivers up to 11 hardware PWM outputs: Timer RB offers 1-channel programmable waveform generation; Timer RC supports 3-pin PWM output; Timer RD provides 6-pin complementary PWM (including reset-synchronous and triangular modulation modes). These are physically mapped to dedicated pins (e.g., TRBO, TRCIOx, TRDIOx) and require no CPU intervention once configured - making the R5F21345MNFP#50 suitable for precision motor and lighting control.
Is the R5F21345MNFP#50 pin-compatible with other members of the R8C/34M Group?
Yes, all R8C/34M Group MCUs - including R5F21344MNFP, R5F21345MNFP#50, and R5F21346MNFP - share identical 48-pin LQFP packaging (PLQP0048KB-A) and pin assignments. Memory size differences (16/24/32 KB ROM) and temperature grade (N/D) do not affect pinout or peripheral signal mapping, enabling scalable design reuse across product tiers while retaining the same PCB layout for the R5F21345MNFP#50.
What communication interfaces with hardware protocol acceleration does the R5F21345MNFP#50 integrate?
The R5F21345MNFP#50 integrates UART0/1/2 with multiprocessor mode, I²C-bus support (via UART2 or SSU), and a dedicated hardware LIN module compliant with ISO 9141-2. The LIN function uses Timer RA and UART0 resources internally - eliminating need for external LIN transceivers in automotive sub-nodes or appliance interconnects. All interfaces are register-configurable and support interrupt-driven operation, reducing CPU load in the R5F21345MNFP#50.
R5F21345MNFP#50 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 48-LQFP
- Series:
- R8C/3x/34M
- Packaging:
- Tape & Reel (TR)
- 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:
- 24KB (24K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2K 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:
R5F21345MNFP#50 FAQ
1.How can I place an order for R5F21345MNFP#50 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21345MNFP#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 R5F21345MNFP#50 reliable?
The price and inventory of R5F21345MNFP#50 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21345MNFP#50 is usually 5 days.
3.What payment methods are accepted for R5F21345MNFP#50?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21345MNFP#50 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21345MNFP#50?
R5F21345MNFP#50 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21345MNFP#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 R5F21345MNFP#50?
For technical support, including R5F21345MNFP#50 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21345MNFP#50 requirements.
6.How does Aetrix verify that R5F21345MNFP#50 is sourced from the original manufacturer or authorized distributors?
All R5F21345MNFP#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 R5F21345MNFP#50 meets industry standards.
7.What is the process for return or replacement of R5F21345MNFP#50?
All R5F21345MNFP#50 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21345MNFP#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 R5F21345MNFP#50 part is unused and in its original packaging.
Return procedure for R5F21345MNFP#50:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21345MNFP#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…

