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

- Shipping:

Inventory:2,655
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21122FP from Renesas Electronics is a 16-bit R8C/Tiny Series microcontroller in a 32-pin LQFP package, featuring an 8 KB flash program ROM, 512 bytes RAM, and dual 2 KB data flash blocks. It integrates a 10-bit 8-channel ADC, three 8-bit timers (X/Y/Z), one 16-bit Timer C with input capture, two UART channels (one clock-synchronous), and LED drive capability on P10–P17. It targets cost-sensitive embedded control in household appliances and industrial sensors.
For engineers reviewing the R5F21122FP datasheet, R5F21122FP pinout, R5F21122FP application, or R5F21122FP equivalent, key selection criteria include its -20°C to +85°C operating range, 3.0–5.5 V supply voltage, 62.5 ns minimum instruction cycle at 16 MHz, integrated data flash for parameter storage, and dedicated key interrupt inputs (KI0–KI3) for low-power wake-up in battery-operated devices.
Technical Context
The R5F21122FP implements the R8C/Tiny CPU core with 89 basic instructions and a 1 Mbyte linear address space. Its memory map allocates fixed interrupt vectors at 0FFDC16–0FFFF16, program ROM starting at 0C00016, data flash at 0200016–02FFF16, and RAM from 0040016. Two register banks support fast context switching during interrupts.
It features dual clock generation circuits: a main crystal/resonator oscillator (XIN/XOUT) and an on-chip oscillator, both supporting oscillation stop detection. The system supports four operating modes-single-chip, wait, stop, and debug-with power consumption as low as 0.7 µA in stop mode at 3.0 V.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C/Tiny 16-bit, 89 instructions, 1 Mbyte address space - enables compact code and deterministic real-time execution |
| Flash Memory | 8 KB program ROM + 2 × 2 KB data flash - supports firmware updates and nonvolatile parameter storage without external EEPROM |
| ADC | 10-bit resolution, 8 input channels (AN0–AN7) - sufficient for sensor signal acquisition in thermostats and motor feedback |
| Timers | Three 8-bit timers (X/Y/Z), one 16-bit Timer C with input capture - provides flexible PWM generation, pulse counting, and time-stamped event capture |
| Serial Interfaces | UART0 (asynchronous), UART1 (clock-synchronous or asynchronous) - enables host communication and daisy-chain sensor networks |
| Supply Voltage | 3.0–5.5 V at 16 MHz, 2.7–5.5 V at 10 MHz - compatible with standard 3.3 V and 5 V logic rails and brown-out tolerant operation |
| Operating Temperature | -20°C to +85°C - qualified for indoor consumer and general industrial environments per Renesas Standard grade |
Pinout & Package
Package: PLQP0032GB-A (32-pin plastic LQFP, 7 mm × 7 mm, 0.8 mm pitch).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply / Ground | Dual VCC/VSS pairs ensure stable core and I/O rail decoupling; IVCC stabilizes internal regulators |
| XIN / XOUT | Main clock oscillator interface | Accepts ceramic resonator or crystal (1–20 MHz); supports external clock injection on XIN only |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; requires external RC or supervisor for reliable power-on sequencing |
| P00–P07, P10–P17, P30–P33, P37, P45 | General-purpose I/O ports | P10–P17 support LED sink current up to 20 mA; all ports configurable with software-selectable pull-ups |
| AN0–AN7 | Analog inputs | Shared with P00–P07; require AVCC/AVSS decoupling and VREF connection for accurate 10-bit conversion |
| RxD0/TxD0, RxD1/TxD10/TxD11 | UART data I/O | UART0 uses P15/P14; UART1 uses P37/P00/P07 - supports full-duplex or half-duplex with clock-synchronous framing |
| KI0–KI3 | Key interrupt inputs | Dedicated low-power wake-up pins with programmable filter; enable button scanning without CPU polling |
Key Features
| Feature | Design Value |
|---|---|
| Data Flash Endurance | 10,000 write/erase cycles per 2 KB block - enables robust field calibration and configuration storage over product lifetime |
| Low-Power Modes | Wait mode (35 µA) and Stop mode (0.7 µA) at 3.0 V - extends battery life in remote sensors and portable controls |
| On-Chip Debug Support | Single-wire background debugger interface - allows in-circuit programming and real-time trace without dedicated debug pins |
| Peripheral Clock Control | Individual enable/disable for UART, ADC, timers - reduces dynamic power by disabling unused peripherals at runtime |
| Interrupt Priority Levels | 7-level nested priority with 16 interrupt sources - ensures deterministic response to critical events like timer overflow or UART receive |
Applications
| Home Appliance Control | Industrial Sensor Node |
|---|---|
|
Use Scenario: Microcontroller in washing machine control panel managing motor sequencing, water level sensing, and user interface. IC Role / Device Role / Timing Role: Primary system controller executing state-machine logic, reading analog pressure/temperature sensors via ADC, and driving LED indicators via P10–P17. Use Value: Integrated 8 KB flash eliminates external boot ROM; data flash stores user preferences and calibration offsets across power cycles. |
Use Scenario: Standalone temperature/humidity monitor deployed in factory HVAC ducts with RS-485 backhaul. IC Role / Device Role / Timing Role: Sensor aggregator sampling analog outputs, performing local averaging, and transmitting via UART0 with hardware flow control. Use Value: 10-bit ADC resolution meets ±0.5°C accuracy requirements; KI0–KI3 enable maintenance-mode wake-up via physical switch. |
| Office Equipment | Security System Peripherals |
|
Use Scenario: Embedded controller in document shredder detecting paper jam, motor stall, and lid open status. IC Role / Device Role / Timing Role: Real-time safety monitor using Timer C input capture to verify motor encoder pulses and INT0 for emergency stop switch. Use Value: 62.5 ns instruction cycle ensures sub-millisecond response to fault conditions; dual UARTs support diagnostics and firmware update over USB-to-serial bridge. |
Use Scenario: Door/window contact sensor node with magnetic reed switch and wireless transceiver interface. IC Role / Device Role / Timing Role: Ultra-low-power wake controller using Stop mode and KI3 interrupt to detect contact closure, then activate RF module via GPIO. Use Value: 0.7 µA Stop mode current enables 5-year battery life on CR2032; data flash retains tamper-event timestamps without volatile RAM backup. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21123FP | 12 KB program ROM, 768 bytes RAM, same peripheral set and pinout | Requires larger firmware image size; suitable when bootloader or expanded feature set increases code footprint | Select when >8 KB application code size is anticipated; no PCB change needed |
| R5F21122DFP | Identical memory and peripherals, but rated for -40°C to +85°C ambient | Qualified for extended temperature industrial or outdoor enclosures where condensation or thermal cycling occurs | Choose for deployments outside standard commercial temperature range; identical layout and firmware compatibility |
Compared with R5F21122FP, R5F21123FP offers headroom for future firmware expansion while maintaining identical timing and I/O behavior, whereas R5F21122DFP delivers guaranteed operation at lower ambient temperatures without altering power or signal integrity design margins.
Availability
R5F21122FP is available at Aetrix Electronics and suitable for home appliance control, industrial sensor nodes, and office equipment requiring stable component supply and long-term production continuity.
Supply support for R5F21122FP 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 applications.
The R8C/12 Group, including R5F21122FP, was designed for cost-optimized 16-bit embedded control in consumer and general industrial systems where reliability, low power, and integrated peripherals reduce BOM count.
FAQ
What is the maximum operating frequency of the R5F21122FP?
The R5F21122FP operates at up to 16 MHz when supplied with 3.0–5.5 V, achieving a minimum instruction execution time of 62.5 ns. At 10 MHz, it supports a wider voltage range of 2.7–5.5 V. Frequency is determined by the external crystal or resonator connected to XIN/XOUT, or by the internal oscillator calibrated to ±1% accuracy.
Does the R5F21122FP support in-system programming (ISP)?
Yes, the R5F21122FP supports in-system programming via its single-wire on-chip debug interface. This allows firmware updates and calibration data writes to both program ROM and data flash without removing the device from the PCB. The R5F21122FP does not require high-voltage programming - all operations use standard VCC levels.
How many analog input channels does the R5F21122FP ADC support?
The R5F21122FP integrates a single 10-bit successive-approximation ADC with 8 selectable input channels (AN0 through AN7), mapped to port pins P00–P07. These channels share the same reference (VREF or AVCC) and conversion result register, supporting sequential or single-shot sampling with programmable trigger sources including timers and software start.
Can the R5F21122FP drive LEDs directly?
Yes, ports P10 through P17 on the R5F21122FP are designated LED drive ports capable of sinking up to 20 mA per pin. This allows direct connection of common-anode LEDs without external drivers, simplifying front-panel indicator designs in appliances and instrumentation.
What debug interface does the R5F21122FP provide?
The R5F21122FP provides a single-wire background debugger (BDM) interface compatible with Renesas E8/E8a emulators. It supports full-speed execution control, register and memory inspection, breakpoint setting, and flash programming - all using only the MODE pin and shared reset functionality, minimizing PCB footprint.
R5F21122FP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-LQFP
- Series:
- R8C/1x/12
- Packaging:
- Tray
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 16MHz
- Connectivity:
- SIO, UART/USART
- Peripherals:
- LED, WDT
- Number of I/O:
- 22
- Program Memory Size:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 512 x 8
- Voltage - Supply (Vcc/Vdd):
- 2.7V ~ 5.5V
- Data Converters:
- A/D 8x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21122FP#U0 FAQ
1.How can I place an order for R5F21122FP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21122FP#U0 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 R5F21122FP#U0 reliable?
The price and inventory of R5F21122FP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21122FP#U0 is usually 5 days.
3.What payment methods are accepted for R5F21122FP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21122FP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21122FP#U0?
R5F21122FP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21122FP#U0 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 R5F21122FP#U0?
For technical support, including R5F21122FP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21122FP#U0 requirements.
6.How does Aetrix verify that R5F21122FP#U0 is sourced from the original manufacturer or authorized distributors?
All R5F21122FP#U0 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 R5F21122FP#U0 meets industry standards.
7.What is the process for return or replacement of R5F21122FP#U0?
All R5F21122FP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21122FP#U0, 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 R5F21122FP#U0 part is unused and in its original packaging.
Return procedure for R5F21122FP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21122FP#U0 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…

