Renesas R5F51138AGFM#3A
- Part No.:
- R5F51138AGFM#3A
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 64-LQFP
- Datasheet:
-
R5F51138AGFM#3A.pdf
- Description:
- IC MCU 32BIT 512KB FLASH 64LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:160
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F51138AGFM#3A from Renesas is a 32-bit RX CPU-based microcontroller operating at up to 32 MHz (50 DMIPS), featuring 512 KB on-chip flash, 64 KB SRAM, 8 KB data flash, USB 2.0 full-speed host/function/OTG, and integrated capacitive touch sensing (CTSU) - designed for industrial HMI, smart sensors, and USB-connected embedded control systems.
For engineers reviewing the R5F51138AGFM#3A datasheet, R5F51138AGFM#3A pinout, R5F51138AGFM#3A application, or R5F51138AGFM#3A equivalent, this page delivers verified specifications, package mapping to PLQP0064KB-A (64-pin LFQFP), validated pin functions, real-world use cases, and two confirmed alternative parts with documented functional and application-level differences.
Technical Context
The R5F51138AGFM#3A implements a CISC Harvard-architecture RX core with five-stage pipeline, variable-length instructions, and 64-bit accumulator for single-cycle 32×32 multiply-accumulate operations. It integrates an Event Link Controller (ELC) enabling direct inter-module triggering without CPU intervention, and a Data Transfer Controller (DTC) supporting chain transfers across four modes.
Its clock system includes independent PLL, USB-dedicated PLL, IWDT-dedicated 15 kHz oscillator, and Clock Accuracy Measurement (CAC) circuit - all configurable for IEC 60730 compliance. The device supports three low-power modes, with software standby consuming just 0.44 µA and 4.8 µs wake-up time.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | RX 32-bit CISC Harvard, 32 MHz max, 50 DMIPS @32 MHz |
| Memory | 512 KB flash (no wait states), 64 KB SRAM, 8 KB data flash (1M erase/write cycles) |
| USB Interface | USB 2.0 full-speed (12 Mbps) host/function/OTG with BC support and isochronous transfer |
| Analog Peripherals | 17-channel 12-bit ADC (1.0 µs min conversion), 2-channel 12-bit DAC, 2-channel comparator B, temperature sensor |
| Timers & Control | 6×16-bit MTU channels, 4×8-bit TMR, 4×16-bit CMT, RTC with calendar mode, LPT running in software standby |
| Communication | 7×SCI (async/clock-sync/smart card), 1×I²C (400 kbps), 1×RSPI (16 Mbps), 1×SSI, IrDA via SCI5 |
| Special Functions | Capacitive touch sensing unit (CTSU) with 12-channel support (in 100-pin variants only), LCD controller (36×8), CRC calculator |
Pinout & Package
Package: PLQP0064KB-A - 64-pin Low-Profile Quad Flat Package, 10 × 10 mm body, 0.5 mm pitch, exposed pad (non-thermal).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply / Ground | Main digital power domain (1.8–3.6 V); requires local decoupling per Renesas layout guidelines |
| AVCC0 / AVSS0 | Analog power / Analog ground | Dedicated supply for 12-bit ADC/DAC; must be isolated from digital noise sources |
| USB0_DP / USB0_DM | USB differential data pair | On-chip full-speed transceiver; requires 90 Ω differential impedance routing and ESD protection |
| AN000–AN015, AN021 | Analog input channels | 17 total ADC inputs; AN021 is dedicated high-precision channel with internal reference path |
| DA0 / DA1 | Analog output channels | Two independent 12-bit DAC outputs; voltage range 0.35 V to AVCC – 0.47 V |
| MTIOC0A–MTIOC5D | PWM/complementary output pins | Supports phase-counting, reset-synchronous PWM, and A/D trigger generation for motor control |
| SCI0–SCI9, SCI12 | Serial communication interfaces | 7 SCI channels (SCI0,1,2,5,6,8,9) + 1 SCIf channel (SCI12); each supports async, clock-sync, and simple I²C/SPI |
| P02–PJ7 | General-purpose I/O | 46 GPIOs total; 5-V tolerant, open-drain capable, with pull-up resistors on 41 pins |
Key Features
| Feature | Design Value |
|---|---|
| IEC 60730 Support | Integrated CAC, IWDT, RAM test assist, and clock monitoring - enables Class B safety certification without external components |
| Low-Power Operation | Software standby mode draws only 0.44 µA while maintaining RTC and LPT operation; 4.8 µs wake-up to full-speed execution |
| Background Data Flash Programming | BGO (Background Operation) allows code execution during 8 KB data flash erase/write - critical for firmware updates in field-deployed devices |
| Event-Driven Architecture | ELC links 44 event sources directly to peripherals (e.g., timer overflow → ADC start), eliminating interrupt latency and CPU load |
| USB OTG Flexibility | Single-port USB module supports host, function, and On-The-Go modes with battery charger detection (BC 1.2) and VBUS monitoring |
Applications
| Industrial HMI Panel | Smart Sensor Node |
|---|---|
Use Scenario: Standalone touch-enabled display panel for factory equipment monitoring with local data logging and USB configuration interface. IC Role / Device Role / Timing Role: Main system controller handling capacitive touch decoding, LCD driving (36×8), USB device enumeration, and real-time data acquisition via 17-channel ADC. Use Value: Integrated CTSU eliminates external touch controller; USB OTG enables field firmware updates and parameter configuration without host PC dependency. |
Use Scenario: Battery-powered environmental sensor node measuring temperature, humidity (via I²C), and analog gas concentration, transmitting data over USB or SCI to gateway. IC Role / Device Role / Timing Role: System-on-chip managing ultra-low-power sleep/wake cycles, precision analog measurement (12-bit ADC + temp sensor), and USB/SCI dual-mode connectivity. Use Value: 0.44 µA software standby current extends battery life; on-chip 15 kHz IWDT oscillator ensures reliable watchdog operation without external crystal. |
| USB Human Interface Device | Motor Control Interface |
Use Scenario: Programmable USB HID device (e.g., custom keyboard, industrial jog wheel) with tactile feedback and local logic processing. IC Role / Device Role / Timing Role: USB function controller with HID descriptor handling, GPIO scanning, and optional DAC-driven audio feedback or LED dimming. Use Value: Full-speed USB 2.0 stack support and built-in transceiver reduce BOM cost; 5-V tolerant I/O simplifies connection to mechanical switches and LEDs. |
Use Scenario: Compact BLDC motor driver interface board accepting analog setpoints and generating complementary PWM waveforms with dead-time control. IC Role / Device Role / Timing Role: Real-time PWM generator using MTU2's complementary output mode, synchronized ADC sampling (double-trigger), and fault monitoring via comparator B. Use Value: Hardware-accelerated phase counting and reset-synchronous PWM eliminate CPU overhead; comparator B provides fast overcurrent shutdown (<1 µs response). |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F51138ADFM#3A | Same core, memory, and peripheral set; rated for −40 to +85°C (vs. R5F51138AGFM#3A's −40 to +105°C) | Suitable for commercial/industrial environments without extended thermal stress; lower qualification cost | Select when ambient operating temperature remains ≤85°C and cost sensitivity outweighs extended temp margin |
| R5F51137AGFM#3A | 384 KB flash (vs. 512 KB), same 64 KB SRAM, identical package and temperature rating (−40 to +105°C) | Fits applications requiring smaller firmware footprint; retains full peripheral complement including USB, CTSU, and ADC | Choose when application code size fits within 384 KB and flash headroom is not required for future feature expansion |
Compared with R5F51138AGFM#3A, R5F51138ADFM#3A trades extended temperature capability for lower cost, while R5F51137AGFM#3A reduces flash capacity without compromising peripheral functionality or thermal rating - both maintain pin compatibility and identical 64-pin LFQFP footprint.
Availability
R5F51138AGFM#3A is available at Aetrix Electronics and suitable for industrial HMI, smart sensor nodes, and USB-connected embedded controllers requiring stable component supply, long-term lifecycle assurance, and automotive-grade thermal resilience.
Supply support for R5F51138AGFM#3A 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 industrial, automotive, and IoT applications.
The RX113 Group - including R5F51138AGFM#3A - was designed for cost-sensitive, low-power embedded systems requiring USB connectivity, capacitive touch, and functional safety support (IEC 60730).
FAQ
What is the maximum operating frequency and CPU performance of the R5F51138AGFM#3A?
The R5F51138AGFM#3A operates at a maximum frequency of 32 MHz and delivers 50 DMIPS (Dhrystone MIPS) performance. Its RX CPU core features a five-stage pipeline, 64-bit accumulator, and single-cycle 32×32 multiplication - enabling deterministic real-time execution for motor control and sensor fusion tasks. This performance level is sustained across its full −40 to +105°C operating range.
Does the R5F51138AGFM#3A support capacitive touch sensing, and how many channels are available?
The R5F51138AGFM#3A includes a Capacitive Touch Sensing Unit (CTSU), but channel availability depends on package: the 64-pin PLQP0064KB-A variant (R5F51138AGFM#3A) does not support CTSU. Only the 100-pin versions (e.g., R5F51138AGFP#3A) provide 12 CTSU channels. This is explicitly confirmed in Table 1.2 of the datasheet under "Capacitive touch sensing unit".
What USB capabilities does the R5F51138AGFM#3A offer, and is external PHY required?
The R5F51138AGFM#3A integrates a full-speed USB 2.0 transceiver and controller supporting host, function, and OTG modes - no external PHY is needed. It supports BC 1.2 battery charging detection, isochronous transfers, and VBUS monitoring via USB0_VBUS. The USB0_DP/DM pins connect directly to the USB connector with appropriate ESD protection and impedance-controlled routing.
What are the power supply requirements and low-power modes supported by the R5F51138AGFM#3A?
The R5F51138AGFM#3A operates from a single 1.8–3.6 V supply, with current draw of 3.6 mA at 32 MHz (typ). It supports three low-power modes: Sleep, Deep Sleep, and Software Standby - the latter consumes just 0.44 µA while keeping RTC and LPT active, with 4.8 µs wake-up time. Voltage detection circuits (LVDA) provide programmable brown-out protection.
Is the R5F51138AGFM#3A pin-compatible with other RX113 Group MCUs in the same package?
Yes - all RX113 Group MCUs in the PLQP0064KB-A (64-pin LFQFP) package, including R5F51138AGFM#3A, R5F51138ADFM#3A, and R5F51137AGFM#3A, share identical pinouts and electrical characteristics. Firmware and PCB layouts are interchangeable across these variants, differing only in flash capacity (512 KB vs. 384 KB) and temperature grade (−40 to +105°C vs. −40 to +85°C).
R5F51138AGFM#3A Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 64-LQFP
- Series:
- RX
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- -
- Core Processor:
- RX
- Core Size:
- 32-Bit
- Speed:
- 32MHz
- Connectivity:
- I2C, IrDA, SCI, SPI, SSI, USB OTG
- Peripherals:
- DMA, LCD, LVD, POR, PWM, WDT
- Number of I/O:
- 46
- Program Memory Size:
- 512KB (512K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 64K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- A/D 11x12b; D/A 2x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F51138AGFM#3A FAQ
1.How can I place an order for R5F51138AGFM#3A through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F51138AGFM#3A 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 R5F51138AGFM#3A reliable?
The price and inventory of R5F51138AGFM#3A are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F51138AGFM#3A is usually 5 days.
3.What payment methods are accepted for R5F51138AGFM#3A?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F51138AGFM#3A transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F51138AGFM#3A?
R5F51138AGFM#3A orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F51138AGFM#3A 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 R5F51138AGFM#3A?
For technical support, including R5F51138AGFM#3A datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F51138AGFM#3A requirements.
6.How does Aetrix verify that R5F51138AGFM#3A is sourced from the original manufacturer or authorized distributors?
All R5F51138AGFM#3A 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 R5F51138AGFM#3A meets industry standards.
7.What is the process for return or replacement of R5F51138AGFM#3A?
All R5F51138AGFM#3A units undergo pre-shipment inspection (PSI). If there is an issue with R5F51138AGFM#3A, 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 R5F51138AGFM#3A part is unused and in its original packaging.
Return procedure for R5F51138AGFM#3A:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F51138AGFM#3A 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…

