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

- Shipping:

Inventory:4,862
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F51138AGFM#1A 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, and 8 KB data flash. It integrates USB 2.0 full-speed host/function/OTG, 17-channel 12-bit A/D converter, dual 12-bit D/A converters, LCD controller/driver (36×8), capacitive touch sensing unit (CTSU), RTC, and operates from 1.8–3.6 V across –40 to +105°C. It targets industrial HMI, portable medical devices, and smart sensor nodes requiring integrated analog, timing, and USB connectivity.
For engineers reviewing the R5F51138AGFM#1A datasheet, R5F51138AGFM#1A pinout, R5F51138AGFM#1A application, or R5F51138AGFM#1A equivalent, this page delivers verified technical context, package-specific pin roles, real-world use cases, and validated alternative MCUs - all grounded in Renesas' official RX113 Group documentation (R01DS0216EJ0120 Rev.1.20).
Technical Context
The R5F51138AGFM#1A implements a CISC Harvard-architecture RX CPU with five-stage pipeline, variable-length instructions, and 64-bit accumulator for single-cycle 32×32 multiply-accumulate operations. Its clock system includes independent PLL, USB-dedicated PLL, IWDT-dedicated 15 kHz oscillator, and CAC for frequency accuracy monitoring.
Peripheral integration centers on event-driven operation: the Event Link Controller (ELC) enables direct module-to-module triggering without CPU intervention, while the Data Transfer Controller (DTC) supports chain transfers triggered by 44 event sources - critical for low-latency sensor acquisition and USB audio streaming in sleep-aware designs.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | RX 32-bit CISC core, 32 MHz max, 50 DMIPS - enables real-time control with deterministic interrupt latency & compact code footprint. |
| Memory | 512 KB flash (no wait states @32 MHz), 64 KB SRAM, 8 KB data flash (1M erase/write cycles) - supports field firmware updates and parameter storage without external EEPROM. |
| USB Interface | USB 2.0 full-speed (12 Mbps) host/function/OTG with BC (Battery Charger) detection - enables direct connection to PCs, peripherals, and charging ports without external PHY. |
| Analog Peripherals | 17-channel 12-bit A/D (1.0 µs conversion), 2-channel 12-bit D/A, 2-channel comparator B, temperature sensor - sufficient for closed-loop motor control and multi-sensor signal conditioning. |
| Timing & Low Power | RTC with calendar mode, LPT running in software standby (0.44 µA), 4.8 µs wake-up - ideal for battery-powered logging and time-stamped event capture. |
| Package & Temp | 64-pin LFQFP (PLQP0064KB-A), 10×10 mm, 0.5 mm pitch, –40 to +105°C - suitable for industrial-grade PCB layouts with thermal reliability. |
| Communication | 7× SCI (with IrDA/Smart Card), 1× I²C (400 kbps), 1× RSPI (16 Mbps), 1× SSI (audio formats), 1× USB - provides flexible wired interface stacking for HMI backplanes. |
Pinout & Package
Package: 64-pin LFQFP (PLQP0064KB-A), 10 × 10 mm body, 0.5 mm pitch, exposed pad not specified - compatible with standard reflow profiles and automated optical inspection.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply / Ground | Dual power domains: VCC (1.8–3.6 V digital/analog), VSS reference - requires local 100 nF + 4.7 µF decoupling per supply pair. |
| USB0_DP / USB0_DM | USB differential data lines | Integrated full-speed transceiver - no external PHY needed; requires 27 Ω series resistors and 1.5 kΩ pull-up on DP for device mode. |
| AN000–AN015, AN021 | A/D input channels | 17 total analog inputs; AN000–AN015 mapped to P0x/P1x/P2x pins - supports simultaneous sampling via double-trigger mode for motor phase current sensing. |
| DA0 / DA1 | D/A output channels | Two buffered 12-bit outputs (0.35–AVCC−0.47 V range) - usable for programmable biasing, calibration references, or analog waveform generation. |
| MTIOC0A–MTIOC3D | PWM/complementary output pins | 16 dedicated MTU2 waveform pins across 4 timer units - enables 3-phase inverter control with dead-time insertion via POE2. |
| SCI0–SCI9 (e.g., TXD0, RXD0) | Asynchronous serial I/O | 7 SCI channels support UART, SPI, I²C emulation, and IrDA (SCI5 only) - allows concurrent debug, sensor comms, and legacy protocol bridging. |
Key Features
| Feature | Design Value |
|---|---|
| Capacitive Touch Sensing Unit (CTSU) | 12-channel self/mutual capacitance sensing with on-chip noise canceller - enables robust touch buttons/sliders on 64-pin variant despite pin count constraint. |
| Event Link Controller (ELC) | Direct hardware linking of 44 event sources (e.g., timer overflow → ADC start → DTC transfer) - eliminates CPU polling and reduces active time in low-power modes. |
| Background Operation (BGO) | Data flash erase/write during program execution - permits seamless firmware updates and runtime parameter logging without halting application logic. |
| Multi-function Pin Controller (MPC) | Per-pin peripheral function selection (e.g., P10 can be SCI0_TXD, MTU0_TIOCA, or GPIO) - simplifies PCB routing and enables late-stage interface reassignment. |
| IEC 60730 Support | On-chip CAC, IWDT, RAM test assist - reduces certification effort for Class B safety-compliant appliances and industrial controls. |
Applications
| Industrial HMI Panel | Portable Medical Monitor |
|---|---|
|
Use Scenario: Compact touchscreen display with real-time vital sign visualization, USB data export, and battery-backed logging. IC Role / Device Role / Timing Role: Main application MCU handling LCD driving (36×8), capacitive touch decoding, USB mass storage class, and RTC timestamping. Use Value: Integrated CTSU and LCD driver eliminate external touch controller and display IC; USB OTG enables plug-and-play PC sync without host negotiation overhead. |
Use Scenario: Battery-powered pulse oximeter with analog front-end, OLED display, and USB configuration interface. IC Role / Device Role / Timing Role: Signal processor acquiring ADC samples from photodiode/LED drivers, computing SpO₂, updating display, and managing USB CDC communication. Use Value: 1.0 µs ADC conversion and double-trigger mode ensure accurate synchronous sampling of AC/DC photoplethysmogram signals; 0.44 µA software standby extends battery life between readings. |
| Smart Sensor Node | USB-C Powered IoT Gateway |
|
Use Scenario: Environmental sensor hub aggregating temperature, humidity, and gas readings, then transmitting via USB to edge gateway. IC Role / Device Role / Timing Role: Sensor fusion MCU with 12-bit A/D, temperature sensor, I²C master for digital sensors, and USB device interface. Use Value: On-chip temperature sensor calibrated against 12-bit A/D reference enables drift-compensated measurements; USB BC detection identifies charger type for optimized power management. |
Use Scenario: USB-C powered industrial gateway translating Modbus RTU over RS485 to USB CDC ACM for cloud telemetry. IC Role / Device Role / Timing Role: Protocol bridge MCU using SCI12 (SCIf) for RS485 half-duplex control and USB0 for host-facing virtual COM port. Use Value: SCIf's start-frame detection and information-frame framing simplify Modbus CRC handling; USB OTG ID pin detection enables automatic host/peripheral role switching when connected to USB-C PD source. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 32-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F51138ADFM#3A | Same core, flash, RAM, and peripherals, but rated for –40 to +85°C (vs. +105°C); identical 64-pin LFQFP package. | Targeted at commercial/indoor environments where extended temperature is unnecessary. | Select when ambient operating temperature remains below +85°C and cost optimization is prioritized. |
| R5F51136AGFM#3A | 256 KB flash / 32 KB RAM (vs. 512 KB / 64 KB); otherwise identical peripheral set, package, and temperature rating. | Suitable for simpler firmware with smaller memory footprint, e.g., basic sensor node without local UI or logging. | Choose when application code size and data buffers fit within 256 KB flash and 32 KB RAM to reduce BOM cost. |
Compared with R5F51138AGFM#1A, R5F51138ADFM#3A trades extended temperature for lower cost without peripheral loss, while R5F51136AGFM#3A reduces memory capacity by 50% to serve leaner firmware - both retain full pin and functional compatibility for drop-in layout reuse.
Availability
R5F51138AGFM#1A is available at Aetrix Electronics and suitable for industrial HMI, portable medical monitors, and smart sensor nodes requiring stable component supply, long-term lifecycle assurance, and automotive-qualified thermal performance.
Supply support for R5F51138AGFM#1A 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 enterprise applications.
The RX113 Group is designed for cost-sensitive, low-power embedded systems needing rich analog integration, USB connectivity, and capacitive touch - targeting HMI, sensor hubs, and portable instrumentation.
FAQ
What is the maximum operating frequency and CPU performance of the R5F51138AGFM#1A?
The R5F51138AGFM#1A 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 control loops and signal processing tasks within the R5F51138AGFM#1A.
Does the R5F51138AGFM#1A support USB On-The-Go (OTG) functionality?
Yes, the R5F51138AGFM#1A integrates a USB 2.0 full-speed host/function/OTG module compliant with USB specification 2.0. It supports BC (Battery Charger) detection, isochronous transfers, and uses the USB0_ID pin to determine host/peripheral role in OTG mode - all implemented with an on-chip transceiver, eliminating external PHY components in the R5F51138AGFM#1A design.
What analog peripherals are included in the R5F51138AGFM#1A?
The R5F51138AGFM#1A includes a 17-channel 12-bit A/D converter (1.0 µs min conversion time), two 12-bit D/A converters, two comparator B channels, an integrated temperature sensor, and a capacitive touch sensing unit (CTSU) with 12 detection channels. These are fully supported in the 64-pin LFQFP package and directly accessible via dedicated pins in the R5F51138AGFM#1A.
What is the operating temperature range and package type of the R5F51138AGFM#1A?
The R5F51138AGFM#1A is qualified for operation from –40 to +105°C and housed in a 64-pin LFQFP package (PLQP0064KB-A), measuring 10 × 10 mm with 0.5 mm pitch. This industrial-grade temperature range and compact QFP form factor make it suitable for demanding environments where thermal reliability and board space efficiency are critical in the R5F51138AGFM#1A implementation.
How does the R5F51138AGFM#1A manage low-power operation?
The R5F51138AGFM#1A offers three low-power modes including software standby with 0.44 µA typical current draw and 4.8 µs wake-up time. It features a low-power timer (LPT) that runs during standby using the sub-clock oscillator, plus module stop control and operating power modes (high/middle/low speed). These capabilities are fully documented for the R5F51138AGFM#1A in Renesas' RX113 Group datasheet R01DS0216EJ0120.
R5F51138AGFM#1A 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#1A FAQ
1.How can I place an order for R5F51138AGFM#1A through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F51138AGFM#1A 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#1A reliable?
The price and inventory of R5F51138AGFM#1A are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F51138AGFM#1A is usually 5 days.
3.What payment methods are accepted for R5F51138AGFM#1A?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F51138AGFM#1A transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F51138AGFM#1A?
R5F51138AGFM#1A orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F51138AGFM#1A 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#1A?
For technical support, including R5F51138AGFM#1A datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F51138AGFM#1A requirements.
6.How does Aetrix verify that R5F51138AGFM#1A is sourced from the original manufacturer or authorized distributors?
All R5F51138AGFM#1A 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#1A meets industry standards.
7.What is the process for return or replacement of R5F51138AGFM#1A?
All R5F51138AGFM#1A units undergo pre-shipment inspection (PSI). If there is an issue with R5F51138AGFM#1A, 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#1A part is unused and in its original packaging.
Return procedure for R5F51138AGFM#1A:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F51138AGFM#1A 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…

