Renesas R5F121BAGNA#20
- Part No.:
- R5F121BAGNA#20
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 32-WFQFN Exposed Pad
- Datasheet:
-
R5F121BAGNA#20.pdf
- Description:
- MCU:RL78
- Quantity:
- Payment:

- Shipping:

Inventory:1,960
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F121BAGNA#20 from Renesas Electronics is a 32-pin, 32 KB flash, 2 KB RAM RL78/G16 16-bit microcontroller with industrial-grade temperature range (−40°C to +105°C), integrated capacitive touch sensing unit (15 channels), and dual 10-bit A/D converter (11-channel analog input). It operates from 2.4–5.5 V and supports real-time clock, watchdog timer, and low-power STOP/HALT modes for battery-powered HMI and sensor interface applications.
For engineers reviewing the R5F121BAGNA#20 datasheet, R5F121BAGNA#20 pinout, R5F121BAGNA#20 application, or R5F121BAGNA#20 equivalent, key selection considerations include its HWQFN-32 (5 × 5 mm, 0.5-mm pitch) package, 32 KB code flash with 1 KB data flash, 16-bit timer array (8 channels), and support for UART/SPI/I²C interfaces in compact industrial control designs.
Technical Context
The R5F121BAGNA#20 implements the RL78 CPU core with CISC architecture and 3-stage pipeline, enabling instruction execution times from 0.0625 μs (@16 MHz high-speed on-chip oscillator) to 30.5 μs (@32.768 kHz subsystem clock). It integrates a dedicated low-speed on-chip oscillator for watchdog operation and a 99-year calendar RTC with alarm and clock correction functions.
Its peripheral set includes a 15-channel capacitive touch sensing unit (CTSU) supporting both self- and mutual-capacitance methods, two comparators with selectable reference sources, and serial interfaces including simplified SPI (up to 3 channels), UART (up to 3 channels), simplified I²C (up to 3 channels), and full I²C (1 channel), all configurable via peripheral I/O redirection registers (PIOR).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 16-bit CISC CPU with 3-stage pipeline and 1 MB address space |
| Flash Memory | 32 KB code flash (1 KB block size); supports self-programming without boot swap |
| Data Flash | 1 KB data flash (512 B block size); 1,000,000 rewrite cycles at VDD = 2.4–5.5 V |
| Operating Voltage | 2.4 V to 5.5 V single supply; enables direct battery or wide-input industrial rail compatibility |
| Temperature Range | −40°C to +105°C (G-grade industrial); validated for extended thermal environments |
| A/D Converter | 10-bit resolution (also supports 8-bit mode); 11-channel analog input with internal 0.815 V reference and temperature sensor |
| Capacitive Touch | 15-channel CTSU supporting up to 16 keys in mutual-capacitance matrix configuration |
Pinout & Package
Package: HWQFN-32 (5.0 × 5.0 mm, 0.5-mm pitch) with exposed die pad requiring non-electrical PCB thermal pad connection.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TOOLTxD / SO00 / TxD0 | Primary UART transmit output; also serves as serial array unit output and clocked serial interface TX |
| P01 | TOOLRxD / ANI0 / SI00 / RxD0 | UART receive input with analog input capability; supports debug communication and serial data ingress |
| P02 | PCLBUZ0 / ANI1 / VCOUT0 / TSCAP | Capacitive touch sensing input with buzzer drive and voltage comparator output; critical for touch key acquisition |
| P125 | RESET / INTP1 | Active-low reset input with interrupt capability; primary system initialization and fault recovery signal |
| VDD | Power Supply | Core and I/O supply (2.4–5.5 V); decoupling required per QFN thermal pad layout guidelines |
| VSS | Ground | Digital ground reference; must be connected to PCB ground plane beneath exposed die pad |
Key Features
| Feature | Design Value |
|---|---|
| Low-power operation | 61 µA/MHz active current at TA = 125°C; HALT/STOP modes reduce leakage for battery longevity |
| Integrated RTC | 99-year calendar with alarm, clock correction, and RTC1HZ output-enables time-stamped logging without external IC |
| Hardware CTSU | 15-channel capacitive touch engine with noise immunity algorithms; eliminates need for external touch controller IC |
| Flexible serial interfaces | Up to 3 UART, 3 simplified SPI, 3 simplified I²C, and 1 full I²C-all share pins via PIOR register mapping |
| On-chip debug | Fully integrated on-chip debug function with TOOL0/TOOLRxD/TOOLTxD pins; no external debugger hardware required |
Applications
| Home Appliance Control Panel | Industrial Sensor Node |
|---|---|
Use Scenario: Touch-enabled microwave oven or washing machine front panel with LED indicators and motor control feedback. IC Role / Device Role / Timing Role: Main system controller executing UI logic, reading capacitive touch keys, driving buzzer and display, and managing motor timing via 16-bit timers. Use Value: Single-chip integration of touch sensing, RTC-based cycle timing, and motor PWM reduces BOM count and PCB area versus discrete MCU + touch controller solutions. | Use Scenario: DIN-rail mounted environmental monitor collecting temperature, humidity, and vibration data for cloud upload. IC Role / Device Role / Timing Role: Data acquisition hub with 10-bit A/D conversion, RTC timestamping, and UART-to-LoRaWAN gateway interface. Use Value: −40°C to +105°C rating ensures reliability in uncontrolled enclosures; 1 KB data flash stores calibration coefficients and event logs without external EEPROM. |
| Smart Thermostat Interface | Medical Patient Monitor Frontend |
Use Scenario: Wall-mounted HVAC controller with capacitive slider, ambient light sensing, and wireless update capability. IC Role / Device Role / Timing Role: HMI processor handling touch gestures, ambient ADC readings, real-time scheduling, and secure firmware updates via UART bootloader. Use Value: CTSU supports smooth slider interaction; 32 KB flash accommodates dual-bank OTA update image storage within same die. | Use Scenario: Portable vital sign monitor with ECG lead detection, pulse oximetry interface, and audible alert generation. IC Role / Device Role / Timing Role: Signal conditioning and safety-critical timing controller using watchdog timer, RTC alarm, and comparator-based lead-off detection. Use Value: Dual comparators with internal/external reference support enable robust electrode contact monitoring; STOP mode extends battery life between measurements. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F121BCMNA#20 | M-grade variant: extended operating range (−40°C to +125°C); identical flash/RAM/peripherals | Suitable for under-hood automotive or high-temperature industrial environments beyond G-grade limits | Select when ambient exceeds +105°C; otherwise R5F121BAGNA#20 offers optimal cost/performance for standard industrial use |
| R5F121BCGFP#50 | LQFP-32 package (7 × 7 mm, 0.8-mm pitch); same G-grade temp range and memory/peripheral specs | Preferred for through-hole prototyping, manual rework, or legacy PCB layouts requiring larger pitch | Choose for ease of assembly/testing; HWQFN-32 (R5F121BAGNA#20) saves board space in volume production |
Compared with R5F121BCMNA#20, the R5F121BAGNA#20 provides identical functionality at lower thermal specification and cost; compared with R5F121BCGFP#50, it delivers the same features in a 34% smaller footprint ideal for space-constrained industrial modules.
Availability
R5F121BAGNA#20 is available at Aetrix Electronics and suitable for industrial HMI, sensor node, and smart appliance applications requiring stable component supply, long-term lifecycle support, and RoHS-compliant packaging.
Supply support for R5F121BAGNA#20 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 RL78/G16 product line targets cost-sensitive, low-power embedded systems requiring integrated analog peripherals, capacitive touch, and industrial temperature resilience-designed specifically for appliance, sensor, and control applications.
FAQ
What is the maximum operating frequency of the R5F121BAGNA#20?
The R5F121BAGNA#20 supports a maximum high-speed on-chip oscillator frequency of 16 MHz, delivering a minimum instruction execution time of 0.0625 μs. This frequency is factory-trimmed for ±1.0% accuracy across −20°C to +85°C and VDD = 2.4–5.5 V, making it suitable for timing-critical control loops without external crystal dependency. The R5F121BAGNA#20 also supports ultra-low-speed operation at 32.768 kHz for RTC and low-power wake-up.
Does the R5F121BAGNA#20 support in-system programming (ISP)?
Yes, the R5F121BAGNA#20 supports self-programming of its 32 KB code flash and 1 KB data flash via on-chip debug interface using TOOL0, TOOLRxD, and TOOLTxD pins-no external programmer required. It implements erase-before-write and flash shield window protection, but does not include boot swap functionality. Firmware updates can be performed in-application using the provided flash API libraries documented in the RL78/G16 User's Manual.
How many capacitive touch channels does the R5F121BAGNA#20 support?
The R5F121BAGNA#20 integrates a dedicated Capacitive Touch Sensing Unit (CTSU) with 15 physical channels. It supports both self-capacitance (up to 15 independent keys) and mutual-capacitance (matrix configuration supporting up to 16 keys) modes. All CTSU functions-including noise cancellation, auto-calibration, and threshold adjustment-are handled in hardware, reducing CPU overhead and enabling responsive touch performance even in electrically noisy industrial environments.
What serial communication interfaces are available on the R5F121BAGNA#20?
The R5F121BAGNA#20 provides multiple serial interfaces: up to three UART channels, up to three simplified SPI (CSI) channels, up to three simplified I²C (SIIC) channels, and one full I²C (IICA) channel. These interfaces share I/O pins and are dynamically assigned via the Peripheral I/O Redirection Register (PIOR), allowing flexible routing without hardware redesign. All interfaces operate across the full VDD range (2.4–5.5 V) and temperature grade (−40°C to +105°C).
Is the R5F121BAGNA#20 pin-compatible with other RL78/G16 variants?
The R5F121BAGNA#20 uses the HWQFN-32 (5 × 5 mm, 0.5-mm pitch) package and shares identical pinout and electrical characteristics with all other 32-pin RL78/G16 devices in the NA package family-including R5F121BAANA#20 (16 KB flash), R5F121BCMNA#20 (M-grade), and R5F121BCANA#20 (A-grade). Pin assignments, multiplexed functions, and power/ground locations are fully consistent, enabling drop-in replacement across flash size and temperature grade variants.
R5F121BAGNA#20 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-WFQFN Exposed Pad
- Series:
- RL78/G16
- Packaging:
- Tray
- Product Status:
- Last Time Buy
- Programmable:
- -
- Core Processor:
- RL78
- Core Size:
- 16-Bit
- Speed:
- 16MHz
- Connectivity:
- CSI, I2C, SPI, UART/USART
- Peripherals:
- Capacitive Touch, POR, PWM, Voltage Detect, WDT
- Number of I/O:
- 29
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 1K x 8
- RAM Size:
- 2K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.4V ~ 5.5V
- Data Converters:
- A/D 11x8/10b
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F121BAGNA#20 FAQ
1.How can I place an order for R5F121BAGNA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F121BAGNA#20 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 R5F121BAGNA#20 reliable?
The price and inventory of R5F121BAGNA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F121BAGNA#20 is usually 5 days.
3.What payment methods are accepted for R5F121BAGNA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F121BAGNA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F121BAGNA#20?
R5F121BAGNA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F121BAGNA#20 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 R5F121BAGNA#20?
For technical support, including R5F121BAGNA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F121BAGNA#20 requirements.
6.How does Aetrix verify that R5F121BAGNA#20 is sourced from the original manufacturer or authorized distributors?
All R5F121BAGNA#20 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 R5F121BAGNA#20 meets industry standards.
7.What is the process for return or replacement of R5F121BAGNA#20?
All R5F121BAGNA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F121BAGNA#20, 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 R5F121BAGNA#20 part is unused and in its original packaging.
Return procedure for R5F121BAGNA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F121BAGNA#20 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…

