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

- Shipping:

Inventory:2,450
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F12047GNA#20 from Renesas Electronics is a 16-pin HWQFN-packaged RL78/G15 16-bit microcontroller with 4 KB code flash, 1 KB RAM, and 1 KB data flash, operating at 2.4–5.5 V. It integrates an 8-channel 16-bit timer array, 7-channel 8/10-bit ADC, dual comparators, UART, two simplified SPI (CSI) channels, two simplified I²C channels, and supports industrial temperature range −40°C to +105°C for motor control and sensor interface applications.
For engineers reviewing the R5F12047GNA#20 datasheet, R5F12047GNA#20 pinout, R5F12047GNA#20 application, or R5F12047GNA#20 equivalent, key selection criteria include its 16-pin HWQFN (3 × 3 mm, 0.5-mm pitch) package, 4 KB flash / 1 KB RAM memory configuration, dual comparator support, 7-channel analog input capability, and industrial-grade thermal rating up to +105°C.
Technical Context
The R5F12047GNA#20 implements the RL78 CPU core with CISC architecture and 3-stage pipeline, enabling minimum instruction execution time of 0.0625 μs at 16 MHz using the high-speed on-chip oscillator. Its clock system includes selectable 1–16 MHz high-speed on-chip oscillator (±1.0% accuracy at −20°C to +85°C), 15 kHz low-speed on-chip oscillator, and external crystal support (X1/X2, 1–12 MHz).
Peripheral integration centers on the TAU0 timer array (8 channels), SAU0 serial array unit (2 channels supporting CSI/UART/I²C), and dual independent comparators (COMP0/COMP1) with selectable internal/external reference voltage. The device uses peripheral I/O redirection registers (PIOR) to assign multiplexed functions-including PCLBUZ0, VCOUT0/VCOUT1, and multiple interrupt sources-without hardware redesign.
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 | 4 KB code flash (1 KB block size) and 1 KB data flash (512 B block size, 1M rewrite cycles) |
| Operating Voltage | 2.4 V to 5.5 V single supply - enables direct battery or industrial rail interfacing without level-shifting |
| Temperature Range | −40°C to +105°C (Industrial G-grade) - qualified for under-hood automotive and factory automation environments |
| Analog Peripherals | 7-channel 8/10-bit ADC (VDD-referenced), dual independent comparators with internal 0.815 V reference |
| Timer Resources | 8-channel 16-bit timer array (TAU0), 1-channel 12-bit interval timer, 1-channel watchdog timer |
| Communication Interfaces | 1 UART channel, 2 simplified SPI (CSI) channels, 2 simplified I²C channels, 1 standard I²C channel |
Pinout & Package
Package: 16-pin HWQFN (3 × 3 mm, 0.5-mm pitch) with exposed die pad requiring PCB thermal pad connection per datasheet Remark 3.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P125 | RESET/INTP1/(VCOUT0) | Active-low reset input with interrupt capability; also serves as comparator output VCOUT0 when configured |
| P137 | INTP0/TI00 | External interrupt source and timer input channel 0 - supports edge-triggered wake-up from STOP/HALT modes |
| P122 | X2/EXCLK/TI05/TO05/(INTP2) | Crystal oscillator second terminal or external clock input; also provides timer I/O and interrupt routing |
| P121 | X1/TI07/TO07/(INTP3) | Crystal oscillator primary terminal; supports timer I/O and interrupt assignment via PIOR register |
| VSS | Ground | Dedicated power ground pin - must be connected to low-impedance PCB plane for noise immunity |
| VDD | Power Supply | Primary 2.4–5.5 V supply - decoupling capacitor required within 1 cm per datasheet layout guidelines |
| P00 | TOOLTxD/INTP6/SO00/TxD0/(SCK01/SCL01)/(SCLA0) | Tool communication TX, interrupt source, UART TX, and serial clock output - multiplexed via PIOR |
| P01 | TOOLRxD/ANI0/INTP5/SI00/RxD0/SDA00/(TI02/TO02) | Tool RX, analog input channel 0, interrupt, UART RX, I²C data, and timer I/O - all configurable in software |
| P02 | PCLBUZ0/ANI1/VCOUT0/INTP7/SCK00/SCL00/(TI01/TO01) | Buzzer/clock output, analog input 1, comparator output 0, interrupt, and CSI/I²C clock - shared function pin |
| P03 | ANI2/IVCMP0/INTP4/TO00/(TI00)/(SO00/TxD0) | Analog input 2, comparator input 0, interrupt, timer output, and UART TX - supports mixed-signal signal routing |
| P04 | ANI3/IVREF0/INTP3/TI01/TO01/(SI00/RxD0/SDA00) | Analog input 3, comparator reference 0, interrupt, timer I/O, and UART RX - enables local reference for precision sensing |
| P05 | ANI4/TI02/TO02/SO01/(INTP6)/(SCK00/SCL00) | Analog input 4, timer I/O, serial output, and interrupt - supports PWM generation and sensor readout simultaneously |
| P06 | ANI5/SI01/SDA01/SCLA0/(PCLBUZ0)/(INTP7) | Analog input 5, I²C data, serial clock, and buzzer output - allows dual-role use in compact designs |
| P07 | ANI6/SCK01/SCL01/SDAA0/(INTP5)/(TO03) | Analog input 6, secondary CSI/I²C clock, I²C addressable data, and timer output - extends serial bus flexibility |
| P40 | TOOL0/INTP2/(PCLBUZ0)/(TI01/TO01) | Debug tool interface, interrupt source, and timer I/O - used for programming and real-time diagnostics |
| P41 | VCOUT1/TI03/TO03/(INTP4)/(TI02/TO02) | Comparator output 1, timer I/O, and interrupt - enables dual-threshold monitoring with independent outputs |
Key Features
| Feature | Design Value |
|---|---|
| Low-power operation | HALT/STOP modes enable sub-μA current draw; 54-μA/MHz active current at TA = 125°C supports battery-powered longevity |
| On-chip debug | Integrated on-chip debug circuit eliminates need for external JTAG emulator during development and validation |
| Self-programming flash | Code and data flash support in-application reprogramming without boot swap - simplifies field firmware updates |
| Flexible clocking | High-speed on-chip oscillator (1–16 MHz, ±1.0%) eliminates external crystal cost while maintaining timing accuracy for UART and PWM |
| Dual comparator system | Two independent comparators (COMP0/COMP1) with selectable internal/external reference allow simultaneous overvoltage and undervoltage detection |
| Peripheral I/O redirection | PIOR registers enable dynamic remapping of up to 19 peripheral functions across 16 pins - maximizes pin utility in constrained layouts |
Applications
| Motor Control Interface | Sensor Signal Conditioning |
|---|---|
Use Scenario: Brushless DC motor driver with hall-effect position feedback and current sensing. IC Role / Device Role / Timing Role: R5F12047GNA#20 acts as main controller executing commutation logic, reading 7-channel ADC inputs (phase currents, temperature, voltage), and generating PWM via TAU0 timer outputs. Use Value: Integrated 7-channel ADC and 8-channel 16-bit timer eliminate external ADC and PWM generator ICs, reducing BOM count by ≥2 components. | Use Scenario: Industrial temperature/humidity sensor node with analog sensor front-end and RS-485 backhaul. IC Role / Device Role / Timing Role: R5F12047GNA#20 conditions signals from thermistor and capacitive humidity sensors using dual comparators and 8/10-bit ADC, then transmits via UART-driven RS-485 transceiver. Use Value: Dual comparators with internal 0.815 V reference enable precise threshold detection without external voltage references, cutting passive component count by 3–4 parts. |
| Smart Power Outlet | Programmable Logic Controller (PLC) I/O Module |
Use Scenario: Wi-Fi-enabled smart outlet with load current monitoring, overcurrent protection, and energy metering. IC Role / Device Role / Timing Role: R5F12047GNA#20 monitors shunt voltage via ANI0–ANI3, triggers shutdown via TO00 on overcurrent, and logs data to data flash using background BGO-disabled but deterministic write timing. Use Value: 1 MB address space and 4 KB flash support embedded TCP/IP stack and secure OTA update handler within same chip. | Use Scenario: DIN-rail mounted PLC module accepting 0–10 V analog inputs and driving 24 V DC solenoids. IC Role / Device Role / Timing Role: R5F12047GNA#20 reads 7 analog inputs, executes ladder logic in RL78 core, drives N-ch open-drain outputs (P00–P07), and communicates via RS-485 UART. Use Value: −40°C to +105°C rating and 2.4–5.5 V operation ensure reliable operation in unconditioned industrial cabinets without derating. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F12048GNA#20 | 8 KB code flash (vs. 4 KB), identical pinout, package, peripherals, and temperature rating | Required where firmware exceeds 4 KB or future-proofing for feature expansion is needed | Select R5F12048GNA#20 if application requires >4 KB of firmware space or anticipates feature growth |
| R5F12047GSP#20 | Same 4 KB flash, 1 KB RAM, and peripherals but in 16-pin SSOP (4.4 × 5.0 mm, 0.65-mm pitch) instead of HWQFN | Preferred for through-hole prototyping or legacy board compatibility where QFN assembly is unavailable | Choose R5F12047GSP#20 when SSOP footprint is required for manual soldering or existing PCB reuse |
Compared with R5F12047GNA#20, R5F12048GNA#20 offers double flash capacity without layout change, while R5F12047GSP#20 retains full functionality in a larger, leaded package suitable for hand-assembly - both preserve identical peripheral sets and industrial temperature qualification.
Availability
R5F12047GNA#20 is available at Aetrix Electronics and suitable for motor control, sensor interface, smart power outlet, and industrial PLC I/O module applications requiring stable component supply, long-term lifecycle support, and guaranteed industrial temperature performance.
Supply support for R5F12047GNA#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/G15 product line delivers ultra-low-power 16-bit MCUs optimized for cost-sensitive industrial and consumer applications requiring integrated analog peripherals, robust timing, and extended temperature operation - with R5F12047GNA#20 targeting compact, thermally demanding embedded nodes.
FAQ
What is the maximum operating frequency and clock source flexibility of the R5F12047GNA#20?
The R5F12047GNA#20 supports a maximum operating frequency of 16 MHz using its high-speed on-chip oscillator, which is selectable in steps of 1, 2, 4, 8, or 16 MHz. It also accepts external crystal (X1/X2, 1–12 MHz) or external clock input (EXCLK, 1–16 MHz). The ±1.0% oscillator accuracy at −20°C to +85°C ensures reliable UART and PWM timing without external crystals in many applications. R5F12047GNA#20 maintains full functionality across all clock sources.
Does the R5F12047GNA#20 support in-system programming and data retention during power loss?
Yes, the R5F12047GNA#20 supports self-programming of both code and data flash memory without requiring a boot swap mechanism. Data flash endurance is rated at 1,000,000 write/erase cycles (TYP.), with rewrite voltage matching the operating supply (VDD = 2.4–5.5 V). While background operation (BGO) is not supported - meaning code execution halts during data flash writes - the device includes a selectable power-on-reset (SPOR) circuit with four voltage thresholds to ensure safe initialization after brown-out events. R5F12047GNA#20 guarantees data integrity across its full industrial temperature range.
How many analog input channels and comparators does the R5F12047GNA#20 provide, and what reference options are available?
The R5F12047GNA#20 provides 7 analog input channels (ANI0–ANI6) and two independent comparators (COMP0 and COMP1). Each comparator supports selection between internal reference voltage (0.815 V TYP.) and external reference applied to IVREF0/IVREF1 pins. This dual-comparator architecture enables simultaneous high- and low-threshold detection - for example, overvoltage and undervoltage monitoring on the same analog rail - without additional external components. R5F12047GNA#20's analog subsystem operates across the full −40°C to +105°C range with specified accuracy.
What communication interfaces are integrated into the R5F12047GNA#20, and how are they mapped to pins?
The R5F12047GNA#20 integrates one UART channel, two simplified SPI (CSI) channels, two simplified I²C channels, and one standard I²C channel. These are mapped across pins P00–P07, P40–P41, and P121–P122 using peripheral I/O redirection (PIOR) registers - for example, UART uses P00 (TxD0) and P01 (RxD0), while CSI00 uses P02 (SCK00), P03 (SO00), and P04 (SI00). All interfaces operate at full speed with the 16 MHz system clock. R5F12047GNA#20 supports concurrent use of multiple interfaces via software-configurable pin assignment.
What is the package type and thermal specification of the R5F12047GNA#20, and how does it impact PCB design?
The R5F12047GNA#20 uses a 16-pin HWQFN package (3 × 3 mm, 0.5-mm pitch) with an exposed die pad that must be soldered to a non-electrical thermal pad on the PCB per datasheet Remark 3. Its industrial-grade temperature rating is −40°C to +105°C, qualified for continuous operation at full speed across this range. PCB layout requires 100 nF ceramic decoupling capacitance near VDD/VSS pins and adherence to QFN thermal pad guidelines to ensure reliability in high-temperature environments. R5F12047GNA#20's compact footprint supports high-density industrial control modules.
R5F12047GNA#20 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 16-WFQFN Exposed Pad
- Series:
- RL78/G15
- Packaging:
- Tray
- Product Status:
- Last Time Buy
- Programmable:
- -
- Core Processor:
- RL78
- Core Size:
- 16-Bit
- Speed:
- 16MHz
- Connectivity:
- CSI, I2C, SPI, UART/USART
- Peripherals:
- POR, PWM, WDT
- Number of I/O:
- 13
- Program Memory Size:
- 4KB (4K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 1K x 8
- RAM Size:
- 1K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.4V ~ 5.5V
- Data Converters:
- A/D 7x8/10b SAR
- Oscillator Type:
- External
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F12047GNA#20 FAQ
1.How can I place an order for R5F12047GNA#20 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F12047GNA#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 R5F12047GNA#20 reliable?
The price and inventory of R5F12047GNA#20 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F12047GNA#20 is usually 5 days.
3.What payment methods are accepted for R5F12047GNA#20?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F12047GNA#20 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F12047GNA#20?
R5F12047GNA#20 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F12047GNA#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 R5F12047GNA#20?
For technical support, including R5F12047GNA#20 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F12047GNA#20 requirements.
6.How does Aetrix verify that R5F12047GNA#20 is sourced from the original manufacturer or authorized distributors?
All R5F12047GNA#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 R5F12047GNA#20 meets industry standards.
7.What is the process for return or replacement of R5F12047GNA#20?
All R5F12047GNA#20 units undergo pre-shipment inspection (PSI). If there is an issue with R5F12047GNA#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 R5F12047GNA#20 part is unused and in its original packaging.
Return procedure for R5F12047GNA#20:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F12047GNA#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…

