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

- Shipping:

Inventory:2,327
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F51138ADFM#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, and 8 KB data flash. It integrates USB 2.0 full-speed host/function/OTG, 12-bit A/D (17 channels), 12-bit D/A (2 channels), LCD controller (40×4 segment), capacitive touch sensing (CTSU), RTC, and low-power modes - deployed in industrial HMI, portable medical devices, and smart sensor nodes.
For engineers reviewing the R5F51138ADFM#3A datasheet, R5F51138ADFM#3A pinout, R5F51138ADFM#3A application, or R5F51138ADFM#3A equivalent, key selection criteria include its 64-pin LFQFP package (PLQP0064KB-A), −40 to +85°C temperature grade, USB OTG capability with BC support, CTSU-based touch interface, and dual 12-bit DAC outputs for analog signal generation.
Technical Context
The R5F51138ADFM#3A implements the RXv1 core with CISC Harvard architecture, five-stage pipeline, and variable-length instructions enabling ultra-compact code. Its clock system includes a 32 MHz ±1% high-speed on-chip oscillator, PLL, sub-clock (32.768 kHz), and dedicated IWDT oscillator (15 kHz), all managed via the Clock Frequency Accuracy Measurement Circuit (CAC).
Peripheral coordination is handled by the Event Link Controller (ELC), enabling direct module-to-module triggering without CPU intervention - critical for low-latency motor control and real-time sensor response. The Data Transfer Controller (DTC) supports four transfer modes with chain operation, reducing interrupt overhead during high-bandwidth ADC or USB transfers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | RXv1 32-bit CISC core with 5-stage pipeline, 50 DMIPS @ 32 MHz |
| Max Operating Frequency | 32 MHz - enables real-time execution of USB protocol stack and CTSU firmware without external clock source |
| 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 (Battery Charger) detection support |
| A/D & D/A | 12-bit SAR ADC (17 channels, 1.0 µs min conversion), two 12-bit voltage-output DACs (0.35–AVCC−0.47 V) |
| Low-Power Modes | Software standby mode draws 0.44 µA; wake-up time 4.8 µs - suitable for battery-powered wake-on-touch systems |
| Capacitive Touch | CTSU with 12-channel support (in 100-pin variants); this 64-pin variant omits CTSU per Table 1.2 |
| Package & Temp | 64-pin LFQFP (PLQP0064KB-A), 10 × 10 mm, 0.5 mm pitch; industrial grade (−40 to +85°C) |
Pinout & Package
Package: 64-pin LFQFP (PLQP0064KB-A), 10 × 10 mm body, 0.5 mm pitch, exposed pad not specified. Pin count and I/O allocation match Table 1.2: 46 general-purpose I/O pins, 11 ADC input channels (not 17), no CTSU support, and reduced SCI count (5 channels vs. 7 in 100-pin).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply / Ground | Dual power domains: digital (VCC/VSS) and analog (AVCC0/AVSS0) enable noise-isolated mixed-signal operation |
| USB0_DP / USB0_DM | USB differential data pair | On-chip transceiver eliminates need for external PHY; supports full-speed enumeration and OTG role switching |
| AN000–AN010 | ADC input channels | 11 dedicated analog inputs (per Table 1.2); AVCC0/AVSS0 reference pins required for precision measurement |
| DA0 / DA1 | DAC output pins | Two independent voltage-output DACs; each drives 1 kΩ load with rail-to-rail swing constrained by AVCC0 |
| SCI5_RXD / SCI5_TXD | Asynchronous serial I/O | SCI5 supports IrDA encoding/decoding when paired with IRTXD5/IRRXD5 - enables infrared remote interface |
| RES# | Active-low reset input | Asynchronous hardware reset; debounced externally or via internal LVD circuit for brown-out recovery |
Key Features
| Feature | Design Value |
|---|---|
| Event Link Controller (ELC) | Enables 44 event sources to trigger peripheral modules directly - eliminates CPU polling and reduces latency in motor control loops |
| Data Transfer Controller (DTC) | Four transfer modes (normal, repeat, block, chain) activated by interrupts - offloads ADC-to-memory or USB-to-SRAM transfers autonomously |
| Realtime Clock (RTC) | Calendar mode with leap-year correction and alarm interrupt; can wake CPU from software standby using 32.768 kHz sub-clock |
| USB Battery Charging (BC) | Detects D+/D− line states to identify wall adapters, charging ports, and downstream hosts - essential for portable medical device compliance |
| Low-Power Timer (LPT) | 16-bit timer running on sub-clock or IWDT oscillator during software standby - provides precise wake intervals without CPU wake-up |
| Multi-function Timers (MTU2) | Six 16-bit channels supporting complementary PWM, phase counting, and ADC trigger generation - ideal for BLDC motor commutation |
Applications
| Industrial HMI Panel | Portable Medical Monitor |
|---|---|
|
Use Scenario: Touch-enabled display panel with real-time vital sign visualization and local data logging. IC Role / Device Role / Timing Role: Main controller managing LCD driver, USB mass storage, ADC sampling of ECG/SpO₂ signals, and RTC timestamping. Use Value: Integrated 40×4 LCD controller eliminates external driver IC; dual DACs generate calibration references; USB OTG enables direct PC data export. |
Use Scenario: Battery-powered handheld pulse oximeter with optical sensor interface and Bluetooth LE gateway via USB host. IC Role / Device Role / Timing Role: System-on-chip handling analog front-end (ADC/DAC), USB host for BLE dongle, and low-power sleep/wake scheduling. Use Value: Software standby current of 0.44 µA extends battery life; 4.8 µs wake time ensures responsive button/touch response; USB BC detects charger insertion. |
| Smart Sensor Node | USB-C Enabled Test Fixture |
|
Use Scenario: Environmental sensor hub aggregating temperature, humidity, and gas readings for cloud upload via USB or UART. IC Role / Device Role / Timing Role: Central MCU executing sensor fusion algorithms, managing RSPI/I²C peripherals, and buffering data in SRAM before USB transmission. Use Value: 64 KB SRAM accommodates multi-sensor buffers; RSPI supports fast SPI flash logging; E2 data flash stores calibration coefficients with 1M endurance. |
Use Scenario: Automated production-line test fixture verifying USB-C cable integrity and power delivery negotiation. IC Role / Device Role / Timing Role: USB function controller emulating UFP (Upstream Facing Port) while monitoring VBUS, CC lines, and overcurrent signals. Use Value: Dedicated USB transceiver with OTG and BC support enables accurate USB PD sink emulation; GPIOs monitor USB0_ID, USB0_VBUS, and overcurrent flags. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 32-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F51136ADFM#3A | 256 KB flash, 32 KB SRAM, same 64-pin LFQFP package and peripheral set | Lower memory footprint suits cost-sensitive sensor nodes without USB mass storage or complex UI | Select when firmware size < 200 KB and no background data flash logging is required |
| R5F51138ADFP#3A | Same 512 KB/64 KB memory, but 100-pin LFQFP (PLQP0100KB-A) with CTSU, full 17-channel ADC, and 7 SCI channels | Required for designs needing capacitive touch UI or higher I/O count (82 GPIOs vs. 46) | Choose only if CTSU, extra ADC channels, or additional serial interfaces are mandatory |
Compared with R5F51138ADFM#3A, R5F51136ADFM#3A reduces memory and cost for simpler tasks, while R5F51138ADFP#3A expands I/O and analog capability at the expense of board area and routing complexity - making the R5F51138ADFM#3A optimal for space-constrained USB-connected embedded controllers balancing performance and integration.
Availability
R5F51138ADFM#3A 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 RoHS-compliant packaging.
Supply support for R5F51138ADFM#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 Corporation is a global semiconductor leader specializing in microcontrollers, analog, power, and SoC solutions for automotive, industrial, and IoT markets.
The RX113 Group - including R5F51138ADFM#3A - was designed for cost-sensitive, low-power embedded applications demanding USB connectivity, integrated analog peripherals, and robust real-time performance in compact form factors.
FAQ
What is the maximum operating frequency and CPU performance of the R5F51138ADFM#3A?
The R5F51138ADFM#3A operates at a maximum frequency of 32 MHz and delivers 50 DMIPS of processing performance. This is achieved using the 32-bit RXv1 CPU core with a five-stage pipeline and variable-length instruction set. The R5F51138ADFM#3A sustains full-speed execution without wait states on its 512 KB flash memory, enabling deterministic real-time behavior in USB and motor control applications.
Does the R5F51138ADFM#3A support capacitive touch sensing (CTSU)?
No, the R5F51138ADFM#3A does not support the Capacitive Touch Sensing Unit (CTSU). According to Table 1.2 in the official datasheet (R01DS0216EJ0120), CTSU is only available on the 100-pin variants (e.g., R5F51138ADFP#3A) and is explicitly omitted from the 64-pin LFQFP package. The R5F51138ADFM#3A retains all other core peripherals - USB, ADC, DAC, RTC, and timers - but excludes CTSU to align with its compact I/O count.
What are the USB capabilities of the R5F51138ADFM#3A?
The R5F51138ADFM#3A integrates a full-featured USB 2.0 module supporting host, function, and OTG roles at full-speed (12 Mbps) and low-speed (1.5 Mbps). It includes isochronous transfer support and Battery Charging (BC) detection compliant with USB BC 1.2. The on-chip transceiver eliminates external PHY components, and USB0_DP/USB0_DM pins are routed to dedicated package pins - confirmed in Table 1.4 and Figure 1.4 of the datasheet.
How many ADC and DAC channels does the R5F51138ADFM#3A provide?
The R5F51138ADFM#3A features a 12-bit successive approximation ADC with 11 input channels (AN000–AN010), as specified in Table 1.2 for the 64-pin variant. It also includes two independent 12-bit voltage-output DAC channels (DA0 and DA1), each capable of generating analog outputs from 0.35 V to AVCC − 0.47 V. These DACs are fully functional in the R5F51138ADFM#3A and do not depend on package size.
What low-power modes are supported by the R5F51138ADFM#3A, and what is its standby current?
The R5F51138ADFM#3A supports three low-power modes: sleep, deep sleep, and software standby. In software standby mode - the lowest-power active state - it draws just 0.44 µA (typical) while retaining SRAM content and enabling wake-up via RTC alarm, LPT match, or external interrupt. Recovery time from this mode is 4.8 µs, allowing rapid responsiveness in battery-powered touch or sensor wake-up scenarios.
R5F51138ADFM#3A Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 64-LQFP
- Series:
- RX113
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- RX
- Core Size:
- 32-Bit Single-Core
- Speed:
- 32MHz
- Connectivity:
- I2C, IrDA, SCI, SPI, SSI, USB OTG
- Peripherals:
- DMA, LCD, LVD, POR, PWM, WDT
- Number of I/O:
- 44
- 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F51138ADFM#3A FAQ
1.How can I place an order for R5F51138ADFM#3A through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F51138ADFM#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 R5F51138ADFM#3A reliable?
The price and inventory of R5F51138ADFM#3A are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F51138ADFM#3A is usually 5 days.
3.What payment methods are accepted for R5F51138ADFM#3A?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F51138ADFM#3A transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F51138ADFM#3A?
R5F51138ADFM#3A orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F51138ADFM#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 R5F51138ADFM#3A?
For technical support, including R5F51138ADFM#3A datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F51138ADFM#3A requirements.
6.How does Aetrix verify that R5F51138ADFM#3A is sourced from the original manufacturer or authorized distributors?
All R5F51138ADFM#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 R5F51138ADFM#3A meets industry standards.
7.What is the process for return or replacement of R5F51138ADFM#3A?
All R5F51138ADFM#3A units undergo pre-shipment inspection (PSI). If there is an issue with R5F51138ADFM#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 R5F51138ADFM#3A part is unused and in its original packaging.
Return procedure for R5F51138ADFM#3A:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F51138ADFM#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…

