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

- Shipping:

Inventory:4,773
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F51138ADFM#30 from Renesas is a 32-bit RX CPU-based microcontroller operating at up to 32 MHz (50 DMIPS), featuring 512 Kbytes of on-chip flash, 64 Kbytes of SRAM, and 8 Kbytes of 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 (40×4), capacitive touch sensing unit (CTSU), RTC, and low-power software standby mode (0.44 µA). It targets embedded human-interface and sensor-fused industrial control applications.
For engineers reviewing the R5F51138ADFM#30 datasheet, R5F51138ADFM#30 pinout, R5F51138ADFM#30 application, or R5F51138ADFM#30 equivalent, this page delivers verified technical context, package-specific pin mapping for the 64-pin LFQFP (PLQP0064KB-A), real-world use cases in USB-connected HMI and low-power sensor nodes, and two validated alternative parts with documented functional and packaging differences.
Technical Context
The R5F51138ADFM#30 implements the RXv1 CPU core with CISC Harvard architecture, five-stage pipeline, and variable-length instructions enabling ultra-compact code. Its clock system includes a high-speed on-chip oscillator (32 MHz ±1%), PLL, sub-clock (32.768 kHz), and dedicated IWDT oscillator (15 kHz), all managed via independent ICLK/PCLK/FCLK domains.
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 four transfer modes with interrupt-source-specific configuration. The MCU supports IEC 60730 safety compliance via CAC, IWDT, and RAM test assist functions.
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 motor control loops and USB isochronous transfers |
| Flash Memory | 512 Kbytes - supports complex firmware with bootloader, OTA update partition, and safety libraries |
| SRAM | 64 Kbytes - sufficient for USB descriptor buffers, audio FIFOs, and RTOS stacks |
| Data Flash | 8 Kbytes with 1M erase/write cycles - ideal for parameter storage and calibration data retention |
| A/D Converter | 17-channel 12-bit SAR ADC, 1.0 µs min conversion - meets fast-sampling requirements in motor current sensing |
| USB Interface | USB 2.0 full-speed (12 Mbps) host/function/OTG with BC support - enables direct battery charging detection and peripheral enumeration |
| Operating Voltage | 1.8–3.6 V - compatible with single-cell Li-ion, 3.3 V logic, and industrial 24 V supply rails via LDO |
Pinout & Package
Package: PLQP0064KB-A - 64-pin Low-Profile Quad Flat Package, 10 × 10 mm body, 0.5 mm pitch, exposed thermal pad.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply / Ground | Dual power domains: digital core (VCC/VSS) and analog (AVCC0/AVSS0) require separate decoupling |
| XTAL / EXTAL | Main crystal oscillator interface | Supports external 1–20 MHz crystals; essential for USB timing accuracy and RTC synchronization |
| USB0_DP / USB0_DM | Full-speed USB differential pair | On-chip transceiver eliminates need for external PHY; requires 27 Ω series resistors and 1.5 kΩ pull-up on DP |
| AN000–AN015 | Analog input channels | 16 dedicated A/D inputs; AN021 adds 17th channel - enables simultaneous sampling across multi-phase systems |
| DA0 / DA1 | 12-bit D/A output pins | Independent voltage outputs (0.35–AVCC−0.47 V) for analog feedback generation or sensor biasing |
| MTIOC0A–MTIOC3D | PWM/complementary output pins | Six MTU2 timer channels provide hardware-complementary PWM with dead-time insertion for 3-phase inverter control |
| SCI0–SCI9 / SCIf | Serial communication interfaces | Five SCI channels (SCI1,5,6,8,9) + one SCIf channel - supports UART, SPI, I²C, and IrDA coexistence |
| RES# | Active-low reset input | Asynchronous reset pin with internal pull-up; must be held low ≥100 ns for reliable reset assertion |
Key Features
| Feature | Design Value |
|---|---|
| Software Standby Mode | 0.44 µA consumption with RTC and LPT active - enables battery-powered devices with multi-year shelf life |
| Capacitive Touch Sensing Unit (CTSU) | 12-channel self/mutual capacitance detection with on-chip noise canceller - supports robust touch buttons/sliders without external ICs |
| Event Link Controller (ELC) | 44 event sources directly link peripherals (e.g., MTU trigger → A/D start) - eliminates CPU polling and reduces latency to <1 µs |
| Background Operation (BGO) | Data flash erase/write during program execution - allows firmware updates without halting real-time control tasks |
| IEC 60730 Safety Support | Integrated CAC, IWDT, and RAM test assist - reduces certification effort for Class B appliance control applications |
| USB Battery Charging (BC) | Detection of SDP/CDP/DCP chargers per USB BC 1.2 - enables smart power management in portable medical and IoT devices |
Applications
| Industrial HMI Panel | USB-Capable Sensor Node |
|---|---|
|
Use Scenario: A wall-mounted HVAC controller with LCD display, touch keys, temperature/humidity sensors, and USB configuration port. IC Role / Device Role / Timing Role: R5F51138ADFM#30 serves as main system controller - driving 40×4 LCD, scanning 12 CTSU touch inputs, reading analog sensors via 17-channel A/D, and managing USB OTG for field technician setup. Use Value: Integrated LCD driver and CTSU eliminate external components; USB OTG enables zero-downtime firmware updates and diagnostics without opening enclosure. |
Use Scenario: Battery-powered environmental monitor logging CO₂, VOC, and particulate data, uploading via USB to PC or charging via BC-compliant wall adapter. IC Role / Device Role / Timing Role: R5F51138ADFM#30 acts as sensor fusion hub - acquiring analog sensor outputs, running compensation algorithms, storing logs in data flash, and handling USB mass storage/Battery Charging negotiation. Use Value: 0.44 µA software standby extends 2xAA battery life beyond 3 years; integrated USB transceiver and BC support remove need for discrete charger IC. |
| Motor Control Gateway | Smart Appliance Controller |
|
Use Scenario: Small inverter drive for BLDC fan or pump, requiring current sensing, PWM generation, thermal monitoring, and USB-based commissioning. IC Role / Device Role / Timing Role: R5F51138ADFM#30 executes real-time FOC algorithm - using MTU2 complementary PWM outputs, double-trigger A/D for current sampling, and temperature sensor for thermal protection. Use Value: Hardware-accelerated PWM dead-time insertion and synchronized A/D triggers ensure precise phase current measurement without CPU overhead. |
Use Scenario: IEC 60730-certified washing machine control board managing water valves, motor drivers, user interface, and safety monitoring. IC Role / Device Role / Timing Role: R5F51138ADFM#30 provides functional safety foundation - running periodic RAM tests, verifying clock accuracy via CAC, and enforcing watchdog timeouts via IWDT. Use Value: On-chip safety features reduce external component count and simplify Class B compliance documentation versus generic MCUs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F51136ADFM#30 | 256 Kbytes flash, 32 Kbytes SRAM, same 64-pin LFQFP package and peripheral set | Limited firmware complexity headroom; insufficient for USB+LCD+CTSU full-feature deployment | Select when cost sensitivity outweighs feature margin and application fits within 256 KB code space |
| R5F51138ADFP#30 | Same 512 KB/64 KB memory, but 100-pin LFQFP (PLQP0100KB-A); adds 12 CTSU channels and 40×4 LCD support | Enables larger touch panels and higher-resolution displays; not pin-compatible with R5F51138ADFM#30 | Choose when design requires full CTSU capability or expanded I/O beyond 46 GPIOs |
Compared with R5F51138ADFM#30, R5F51136ADFM#30 trades memory capacity for lower unit cost in resource-constrained designs, while R5F51138ADFP#30 expands I/O and analog interface scalability at the expense of PCB area and layout redesign.
Availability
R5F51138ADFM#30 is available at Aetrix Electronics and suitable for industrial HMI, USB-connected sensor nodes, and motor control gateways requiring stable component supply, long-term lifecycle assurance, and traceable sourcing.
Supply support for R5F51138ADFM#30 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 automotive, industrial, and IoT markets.
The RX113 Group targets cost-sensitive, low-power embedded applications requiring rich analog integration, USB connectivity, and functional safety - designed specifically for human-interface and sensor-fused industrial control.
FAQ
What is the maximum operating frequency and CPU performance of the R5F51138ADFM#30?
The R5F51138ADFM#30 operates at a maximum frequency of 32 MHz and delivers 50 DMIPS of processing performance. This is achieved by the 32-bit RXv1 CPU core with five-stage pipeline and single-cycle instruction execution. The R5F51138ADFM#30 maintains this speed across its full 1.8–3.6 V supply range, with no wait states on flash or SRAM access, enabling deterministic real-time response in motor control and USB isochronous applications.
Does the R5F51138ADFM#30 support USB device, host, and OTG functionality?
Yes, the R5F51138ADFM#30 integrates a full-featured USB 2.0 module supporting device, host, and On-The-Go (OTG) modes at full-speed (12 Mbps) and low-speed (1.5 Mbps). It includes an on-chip transceiver, BC 1.2 battery charger detection, and isochronous transfer capability. The R5F51138ADFM#30 requires only external 27 Ω series resistors and a 1.5 kΩ pull-up on USB0_DP to meet USB-IF electrical compliance.
What are the key low-power capabilities of the R5F51138ADFM#30?
The R5F51138ADFM#30 offers three low-power modes, with software standby consuming just 0.44 µA while keeping the RTC and low-power timer (LPT) active. Recovery time from software standby is 4.8 µs. Its high-speed operating mode draws 0.11 mA/MHz, and it supports dynamic voltage/frequency scaling across high/middle/low-speed operating modes. These features make the R5F51138ADFM#30 suitable for battery-powered applications requiring multi-year operation.
How many analog-to-digital and digital-to-analog channels does the R5F51138ADFM#30 include?
The R5F51138ADFM#30 integrates a 17-channel 12-bit successive approximation register (SAR) A/D converter with 1.0 µs minimum conversion time and double-trigger function for motor control. It also includes two independent 12-bit D/A converters (DA0 and DA1) with output voltage range of 0.35 V to AVCC − 0.47 V. These analog resources are fully accessible in the 64-pin LFQFP package and supported by dedicated reference pins (VREFH0/VREFL0, VREFH/VREFL).
Is the R5F51138ADFM#30 pin-compatible with other members of the RX113 Group?
No, the R5F51138ADFM#30 is not pin-compatible with 100-pin RX113 variants like R5F51138ADFP#30 due to differing package footprints (64-pin LFQFP vs. 100-pin LFQFP) and reduced peripheral count - notably omitting CTSU and full 40×4 LCD support. However, it shares identical pinout and peripheral mapping with other 64-pin RX113 parts (e.g., R5F51136ADFM#30), enabling footprint reuse across memory variants within the same package family.
R5F51138ADFM#30 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 64-LQFP
- Series:
- RX113
- Packaging:
- Tray
- Product Status:
- Obsolete
- 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#30 FAQ
1.How can I place an order for R5F51138ADFM#30 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F51138ADFM#30 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#30 reliable?
The price and inventory of R5F51138ADFM#30 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F51138ADFM#30 is usually 5 days.
3.What payment methods are accepted for R5F51138ADFM#30?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F51138ADFM#30 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F51138ADFM#30?
R5F51138ADFM#30 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F51138ADFM#30 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#30?
For technical support, including R5F51138ADFM#30 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F51138ADFM#30 requirements.
6.How does Aetrix verify that R5F51138ADFM#30 is sourced from the original manufacturer or authorized distributors?
All R5F51138ADFM#30 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#30 meets industry standards.
7.What is the process for return or replacement of R5F51138ADFM#30?
All R5F51138ADFM#30 units undergo pre-shipment inspection (PSI). If there is an issue with R5F51138ADFM#30, 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#30 part is unused and in its original packaging.
Return procedure for R5F51138ADFM#30:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F51138ADFM#30 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…

