Renesas R5F121BAGNA#40
- Part No.:
- R5F121BAGNA#40
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 32-WFQFN Exposed Pad
- Datasheet:
-
R5F121BAGNA#40.pdf
- Description:
- 16BIT MCU RL78/G16 16K 32HWQFN -
- Quantity:
- Payment:

- Shipping:

Inventory:2,097
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F121BAGNA#40 from Renesas Electronics is a 32-pin, 32 KB flash, 2 KB RAM RL78/G16 16-bit microcontroller in HWQFN-32 (5 × 5 mm, 0.5-mm pitch) package, operating from 2.4–5.5 V with −40 to +105°C industrial temperature range. It integrates an 8/10-bit ADC (11-channel), capacitive touch sensing unit (15-channel), real-time clock with calendar, and dual serial interfaces including I2C and simplified SPI.
For engineers reviewing the R5F121BAGNA#40 datasheet, R5F121BAGNA#40 pinout, R5F121BAGNA#40 application, or R5F121BAGNA#40 equivalent, key selection criteria include its industrial-grade thermal rating, on-chip CTSU for touch HMI, RTC with alarm and correction, and support for background data flash writes up to 1 million cycles - critical for firmware-over-the-air and parameter storage in embedded control systems.
Technical Context
The R5F121BAGNA#40 implements the RL78 CPU core with 3-stage pipeline CISC architecture, supporting instruction execution times from 0.0625 μs (16 MHz high-speed mode) to 30.5 μs (32.768 kHz ultra-low-power mode). Its memory subsystem includes 32 KB code flash (1 KB erase blocks), 1 KB data flash (512 B blocks, 32-bit rewrite units), and 2 KB SRAM.
Peripheral integration includes eight 16-bit timers, one 12-bit interval timer, watchdog timer, two comparators, UART/Simplified SPI/I2C (up to 3 channels each), and a dedicated capacitive touch sensing unit (CTSU) supporting both self- and mutual-capacitance configurations across 15 pins.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 16-bit CISC with 3-stage pipeline, 1 MB address space |
| Flash Memory | 32 KB code flash; 1 KB data flash; 1,000,000 write cycles (TYP.) |
| Operating Voltage | 2.4–5.5 V single supply; supports HALT/STOP low-power modes |
| Temperature Range | −40°C to +105°C (G-grade industrial qualification) |
| Analog Peripherals | 8/10-bit ADC (11 inputs), 2 comparators, internal 0.815 V reference, temp sensor |
| Touch Interface | Capacitive Touch Sensing Unit (CTSU): 15-channel self-cap or 16-key matrix mutual-cap |
| Real-Time Clock | RTC2 module: 99-year calendar, alarm, clock correction function |
Pinout & Package
Package: HWQFN-32 (5.0 × 5.0 mm, 0.5-mm pitch), exposed die pad (requires non-electrical PCB thermal pad).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | UART0 TX / Serial output | Primary debug and communication interface; supports SO00/TxD0 and SCK11/SCL11 multiplexing |
| P01 | UART0 RX / Analog input | Full-duplex UART channel with ANI0, TS00 touch sensing, and SI00/RxD0/SDA00 capability |
| P125 | Reset / Interrupt input | Active-low reset with selectable SPOR levels; also serves as INTP1/INTP0 and VCOUT0/VCOUT1 |
| P137 | External interrupt / Timer input | Dedicated INTP0 and TI00 timer capture input; no analog or communication functions |
| P41 | RTC output / Touch sense | RTC1HZ clock output with TS13 touch channel and TI03/TO03 timer I/O |
| VDD / VSS | Power supply rails | Single 2.4–5.5 V supply; requires local decoupling near VDD/VSS pair (pins 7/8) |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power operation | 61 µA/MHz at TA = 125°C; HALT/STOP modes enable sub-µA sleep current |
| Integrated capacitive touch | CTSU eliminates external touch controller; supports 15 self-cap keys or 4×4 mutual-cap matrix |
| Robust industrial timing | RTC2 with calendar, alarm, and ±1 ppm correction ensures accurate timekeeping over temperature |
| Flexible serial connectivity | Three independent serial array units support simultaneous UART, simplified SPI, and I²C on shared pins |
| Secure firmware update | Data flash supports 1M-cycle rewrites at full VDD range; no boot swap required for field updates |
Applications
| Home Appliance Control | Industrial Sensor Node |
|---|---|
Use Scenario: Microcontroller in washing machine control panel managing motor drive, water level sensing, and user touch interface. IC Role / Device Role / Timing Role: Main system MCU executing real-time motor control loops, reading 11-channel ADC for analog sensors, and scanning 15-key CTSU overlay. Use Value: Integrated CTSU and RTC eliminate external components; 32 KB flash accommodates complex UI logic and OTA update partitioning. | Use Scenario: Standalone environmental monitor logging temperature, humidity, and vibration in factory machinery. IC Role / Device Role / Timing Role: Low-power data acquisition node using HALT mode between 10-second sensor reads; RTC2 schedules wake-up and timestamp logs. Use Value: −40°C to +105°C rating ensures reliability near motors; 1 MB address space enables future expansion of Modbus RTU stack. |
| Smart Thermostat | Medical Patient Monitor |
Use Scenario: Battery-powered HVAC controller with capacitive buttons, ambient temperature sensing, and wireless comms gateway. IC Role / Device Role / Timing Role: System host managing touch HMI, 10-bit ADC for thermistor readings, and UART-to-Bluetooth bridge. Use Value: On-chip 0.815 V reference enables precise ratiometric measurements; 2 KB RAM supports dual-buffered sensor FIFOs. | Use Scenario: Portable vital sign recorder capturing ECG, SpO₂, and respiration via analog front-end. IC Role / Device Role / Timing Role: Signal processor interfacing with precision analog sensors using 10-bit ADC with internal reference and comparator window detection. Use Value: Two comparators support real-time arrhythmia flagging; CTSU enables sterile touchless UI for clinical environments. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F121BCMNA#40 | M-grade variant: extended −40°C to +125°C operation; identical peripherals and pinout | Suitable for under-hood automotive or high-temp industrial enclosures where ambient exceeds +105°C | Select when thermal margin beyond G-grade is required; same PCB layout and firmware binary |
| R5F121BCGFP#50 | LQFP-32 package (7 × 7 mm, 0.8-mm pitch); same G-grade temp, flash, and peripheral set | Better suited for manual assembly, prototyping, or legacy board designs requiring larger pitch | Choose for ease of soldering or compatibility with existing LQFP footprints; no firmware changes needed |
Compared with R5F121BAGNA#40, the M-grade R5F121BCMNA#40 extends thermal resilience without altering power or peripheral behavior, while the LQFP variant R5F121BCGFP#50 trades miniaturization for assembly flexibility - both retain identical register-level compatibility and toolchain support.
Availability
R5F121BAGNA#40 is available at Aetrix Electronics and suitable for industrial automation controllers, smart home HMI modules, and battery-powered sensor nodes requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F121BAGNA#40 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, and power solutions for industrial, automotive, and IoT markets.
The RL78/G16 product line delivers ultra-low-power 16-bit MCUs optimized for cost-sensitive, thermally demanding embedded applications requiring integrated analog, touch, and real-time clock functionality.
FAQ
What is the maximum operating frequency and corresponding instruction cycle time for the R5F121BAGNA#40?
The R5F121BAGNA#40 supports up to 16 MHz operation using the high-speed on-chip oscillator, delivering a minimum instruction execution time of 0.0625 μs. This timing is confirmed in the RL78 CPU core specification section of the R01DS0431EJ0130 datasheet and applies directly to the R5F121BAGNA#40's G-grade configuration.
Does the R5F121BAGNA#40 support background data flash programming while executing code from main flash?
No, the R5F121BAGNA#40 does not support background operation (BGO) for data flash writes. As stated in the datasheet, instructions cannot be executed from code flash memory during data flash rewriting. Code execution must be halted or relocated to RAM during data flash programming sequences.
What are the exact package dimensions and thermal pad requirements for the R5F121BAGNA#40?
The R5F121BAGNA#40 uses a HWQFN-32 package measuring 5.0 × 5.0 mm with 0.5-mm pitch. The exposed die pad must be soldered to a non-electrical plated PCB area per Renesas' recommendation in Section 1.3.5 and Remark 3 of the datasheet - no electrical connection is permitted to ensure thermal stability and EMI performance.
How many capacitive touch channels does the R5F121BAGNA#40 support, and what configurations are available?
The R5F121BAGNA#40 integrates a dedicated Capacitive Touch Sensing Unit (CTSUb) supporting 15 channels. It enables self-capacitance mode (15 independent keys) or mutual-capacitance matrix mode (up to 16 keys using transmit/receive pin combinations), as specified in Section 1.1 Features and Table 1-6 of the R01DS0431EJ0130 datasheet.
Is the RTC in the R5F121BAGNA#40 battery-backed, and does it retain time during STOP mode?
Yes, the RTC2 module in the R5F121BAGNA#40 retains time and calendar data during STOP mode when powered by VDD. It does not require a separate backup battery but relies on continuous VDD supply; the RTC continues counting using the dedicated 32.768 kHz subsystem clock, with alarm and correction functions fully operational in STOP mode.
R5F121BAGNA#40 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-WFQFN Exposed Pad
- Series:
- RL78/G16
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- 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#40 FAQ
1.How can I place an order for R5F121BAGNA#40 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F121BAGNA#40 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#40 reliable?
The price and inventory of R5F121BAGNA#40 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F121BAGNA#40 is usually 5 days.
3.What payment methods are accepted for R5F121BAGNA#40?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F121BAGNA#40 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F121BAGNA#40?
R5F121BAGNA#40 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F121BAGNA#40 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#40?
For technical support, including R5F121BAGNA#40 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F121BAGNA#40 requirements.
6.How does Aetrix verify that R5F121BAGNA#40 is sourced from the original manufacturer or authorized distributors?
All R5F121BAGNA#40 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#40 meets industry standards.
7.What is the process for return or replacement of R5F121BAGNA#40?
All R5F121BAGNA#40 units undergo pre-shipment inspection (PSI). If there is an issue with R5F121BAGNA#40, 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#40 part is unused and in its original packaging.
Return procedure for R5F121BAGNA#40:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F121BAGNA#40 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…

