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

- Shipping:

Inventory:1,576
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21345CDFP#30 from Renesas Electronics is a 16-bit R8C CPU core microcontroller with 24 KB program flash, 2 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 –40°C to +85°C for industrial appliance control.
For engineers reviewing the R5F21345CDFP#30 datasheet, R5F21345CDFP#30 pinout, R5F21345CDFP#30 application, or R5F21345CDFP#30 equivalent, this page provides verified technical context, package mapping to PLQP0048KB-A (48-pin LQFP), validated peripheral register behavior, and direct alternative part comparisons - all grounded in Renesas R01DS0007EJ0100 Rev 1.00 specification.
Technical Context
The R5F21345CDFP#30 implements the R8C CPU core with 89 fundamental instructions, 16×16→32-bit hardware multiplier, and multiply-accumulate capability. Its memory map spans 1 Mbyte (00000h–FFFFFh), with program ROM starting at 0A000h, data flash at 03000h–03FFFh, and RAM at 00400h–00BFFh.
It supports four clock sources: XIN (up to 20 MHz), XCIN (32 kHz), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator. Peripheral control uses dedicated SFRs (e.g., TRACR at 0100h, ADINSEL at 00D5h), and interrupt handling employs 69 vectors with 7 priority levels and DTC-assisted transfers from 33 activation sources.
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 - enables efficient motor control math without software overhead. |
| Memory | 24 KB program flash (0A000h–0FFFFh), 2 KB RAM (00400h–00BFFh), 4 KB data flash (03000h–03FFFh, BGO-capable) - supports field firmware updates and parameter storage. |
| Timing Performance | 50 ns min instruction time @ 20 MHz (VCC = 2.7–5.5 V); 200 ns @ 5 MHz (VCC = 1.8–5.5 V) - ensures deterministic response in real-time appliance subsystems. |
| Analog Peripherals | 10-bit × 12-channel ADC with sample-and-hold and sweep mode; dual 8-bit DACs (DA0/DA1) - enables closed-loop sensor conditioning and analog actuator drive. |
| Timers & Communication | Timer RD (16-bit × 2, 6-pin PWM, complementary/triangular modulation), LIN hardware module (UART0 + RA), UART0/1/2, I²C, SSU - targets motor commutation and automotive-grade serial diagnostics. |
| Operating Range | –40°C to +85°C (D version), 1.8–5.5 V supply - qualified for industrial ambient and wide-input power rail designs. |
| Power Modes | Wait mode (3.5 µA @ 3.0 V, 32 kHz XCIN), stop mode (2.0 µA) - extends battery life in always-on consumer device subsystems. |
Pinout & Package
Package: 48-pin LQFP (PLQP0048KB-A), 7 mm × 7 mm body, 0.5 mm pitch. Pin functions include multiplexed I/O (e.g., P0_7/AN0/DA1/TRCIOC), dedicated analog inputs (AN0–AN11), DAC outputs (DA0/DA1), LIN transceiver pins (TRAO, RXD1/TXD1), and system clocks (XIN/XOUT, XCIN/XCOUT).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_7 / AN0 / DA1 / TRCIOC | Port P0 bit 7, ADC channel 0, DAC output 1, Timer RC I/O C | Shared analog/digital/timer resource - requires software configuration for functional assignment; supports simultaneous ADC sampling and DAC output in BGO mode. |
| XIN / XOUT | External crystal/resonator interface (main system clock) | Drives high-frequency timing up to 20 MHz; XOUT is bidirectional - external clock input possible if XIN left open. |
| XCIN / XCOUT | 32 kHz crystal interface (RTC/low-power clock) | Enables accurate real-time clock operation and ultra-low-power wait/stop modes independent of main clock domain. |
| RESET | Active-low reset input | Hardware reset assertion clears CPU registers, disables peripherals, and forces boot vector fetch - critical for fail-safe recovery in appliance safety logic. |
| VCC / VSS / AVCC / AVSS | Power and ground rails | Dual power domains isolate digital noise from analog converters; AVCC/AVSS require local decoupling capacitor per datasheet layout guidance. |
| DA0 / DA1 | Digital-to-analog converter outputs | 8-bit voltage outputs referenced to VREF; used for analog setpoint generation or sensor calibration offset correction. |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) for Data Flash | Enables concurrent program execution and flash erase/write - essential for over-the-air parameter updates without halting control loops. |
| Hardware LIN Module | Integrated LIN 2.1 protocol engine using UART0 and Timer RA - eliminates external transceiver for cost-sensitive automotive body electronics. |
| Real-Time Clock (Timer RE) | 8-bit timer with dedicated registers (TREHR, TREMIN, TRESEC, TREWK) for calendar timekeeping - supports alarm interrupts and timestamping without CPU polling. |
| 14-bit Watchdog Timer with Prescaler | Configurable timeout period and selectable low-speed on-chip oscillator source - ensures robust fault recovery even during main clock failure. |
| Data Transfer Controller (DTC) | Single-channel DMA-like controller with 33 activation sources - offloads ADC result buffering and UART transmit/receive transfers from CPU. |
Applications
| Home Appliance Motor Control | Industrial Sensor Signal Conditioning |
|---|---|
Use Scenario: Variable-speed BLDC motor drive in washing machine drum control. IC Role / Device Role / Timing Role: MCU executes FOC algorithm, generates complementary PWM via Timer RD, reads current sensors via ADC, and manages LIN communication with main controller. Use Value: Integrated 6-pin complementary PWM with triangular wave modulation reduces external gate driver count; BGO allows runtime calibration data update without interrupting motor spin. |
Use Scenario: Multi-sensor environmental monitoring node in HVAC ductwork. IC Role / Device Role / Timing Role: Simultaneous sampling of temperature, humidity, and CO₂ analog outputs; digitization via 10-bit ADC sweep mode; local compensation via DAC outputs. Use Value: 12-channel ADC with sample-and-hold enables synchronized acquisition across sensors; 3.5 µA wait mode extends battery life in wireless edge nodes. |
| Consumer Audio System UI | Automotive Body Control Module |
Use Scenario: Keypad scanning and display backlight dimming in smart speaker front panel. IC Role / Device Role / Timing Role: Key input interrupt (KI0–KI3) detection, PWM-driven LED dimming via Timer RB, UART communication with audio SoC. Use Value: Dedicated key input pins with debouncing support reduce firmware overhead; dual 8-bit DACs provide smooth analog volume control reference. |
Use Scenario: Door module controlling window lift, mirror fold, and interior lighting. IC Role / Device Role / Timing Role: LIN slave node executing commands from central gateway; drives relays/motors via high-current I/O ports; monitors switch inputs. Use Value: Hardware LIN module ensures protocol compliance and timing accuracy; –40°C to +85°C rating guarantees operation in under-hood thermal environments. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21345CNFP#30 | N version: operating ambient temperature –20°C to +85°C; identical memory, peripherals, and pinout. | Limited to commercial/indoor environments without extended cold exposure. | Select when full industrial temperature range is unnecessary and cost optimization is prioritized. |
| R5F21346CDFP#30 | D version with 32 KB program flash (+8 KB), 2.5 KB RAM (+0.5 KB); otherwise identical architecture and pinout. | Supports larger firmware images (e.g., enhanced encryption stacks or multi-language UI) without board redesign. | Choose when future firmware expansion headroom or additional RAM for complex state machines is required. |
Compared with R5F21345CNFP#30, the R5F21345CDFP#30 adds guaranteed operation down to –40°C - critical for outdoor or automotive-adjacent deployments - while R5F21346CDFP#30 trades pin-compatible footprint for scalable memory, enabling feature-rich derivatives without PCB revision.
Availability
R5F21345CDFP#30 is available at Aetrix Electronics and suitable for industrial appliance control, automotive body electronics, consumer audio UI, and sensor signal conditioning requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F21345CDFP#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, and power solutions for automotive, industrial, and IoT markets.
The R8C/34C Group, including R5F21345CDFP#30, was designed for cost-sensitive, real-time embedded control in appliances and industrial equipment - emphasizing EMI/EMS robustness, integrated analog peripherals, and low-power operation.
FAQ
What is the maximum operating frequency and corresponding supply voltage range for the R5F21345CDFP#30?
The R5F21345CDFP#30 supports a maximum operating frequency of 20 MHz when supplied at 2.7–5.5 V. At lower voltages (1.8–5.5 V), the maximum frequency is reduced to 5 MHz to maintain timing margin and stability. This dual-voltage/frequency profile enables flexible power management across battery-powered and line-powered applications.
Does the R5F21345CDFP#30 support in-circuit debugging and flash programming?
Yes, the R5F21345CDFP#30 includes on-chip debug functionality and on-board flash rewrite capability. It supports standard Renesas E1/E20 debug interfaces and permits full read/write/erase operations on both program ROM and data flash - including background operation - without requiring external programming hardware beyond a debug probe.
How many analog input channels does the R5F21345CDFP#30 ADC support, and what is its resolution?
The R5F21345CDFP#30 integrates a 10-bit successive-approximation ADC with 12 dedicated analog input channels (AN0–AN11). It includes sample-and-hold circuitry and sweep mode for automatic sequential conversion - enabling precise, synchronized acquisition across multiple sensors without CPU intervention.
What peripheral modules are available for motor control applications on the R5F21345CDFP#30?
The R5F21345CDFP#30 provides Timer RD (16-bit × 2) with complementary PWM, triangular/sawtooth wave modulation, and three-phase waveform generation on six pins - directly supporting BLDC and PMSM motor commutation. Combined with the 10-bit ADC for current sensing and hardware LIN for system-level coordination, it forms a complete motor subsystem controller.
Is the R5F21345CDFP#30 pin-compatible with other members of the R8C/34C Group?
Yes, all R8C/34C Group MCUs - including R5F21344CDFP#30, R5F21345CDFP#30, and R5F21346CDFP#30 - share identical 48-pin LQFP (PLQP0048KB-A) packaging and pin assignments. Memory size differences (16/24/32 KB) do not affect I/O mapping, allowing drop-in replacement within the same temperature grade for design scalability.
R5F21345CDFP#30 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:
- 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:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21345CDFP#30 FAQ
1.How can I place an order for R5F21345CDFP#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21345CDFP#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 R5F21345CDFP#30 reliable?
The price and inventory of R5F21345CDFP#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21345CDFP#30 is usually 5 days.
3.What payment methods are accepted for R5F21345CDFP#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21345CDFP#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21345CDFP#30?
R5F21345CDFP#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21345CDFP#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 R5F21345CDFP#30?
For technical support, including R5F21345CDFP#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21345CDFP#30 requirements.
6.How does Aetrix verify that R5F21345CDFP#30 is sourced from the original manufacturer or authorized distributors?
All R5F21345CDFP#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 R5F21345CDFP#30 meets industry standards.
7.What is the process for return or replacement of R5F21345CDFP#30?
All R5F21345CDFP#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21345CDFP#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 R5F21345CDFP#30 part is unused and in its original packaging.
Return procedure for R5F21345CDFP#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21345CDFP#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…

