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

- Shipping:

Inventory:2,377
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F51138AGFP#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, 17-channel 12-bit A/D converter, 2-channel 12-bit D/A converter, LCD controller/driver (40×4 segments), capacitive touch sensing unit (12 channels), RTC, and operates across –40°C to +105°C for industrial-grade embedded control.
For engineers reviewing the R5F51138AGFP#3A datasheet, R5F51138AGFP#3A pinout, R5F51138AGFP#3A application, or R5F51138AGFP#3A equivalent, key selection criteria include extended temperature support (+105°C), integrated CTSU for robust touch UI, USB OTG capability with BC detection, and dual 12-bit DACs for analog signal generation in motor or sensor interface designs.
Technical Context
The R5F51138AGFP#3A implements the RXv1 CPU core with Harvard architecture, five-stage pipeline, and variable-length instructions-enabling ultra-compact code and single-cycle 32×32-bit multiply. 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 the Clock Frequency Accuracy Measurement Circuit (CAC).
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-including MTU2 timers, A/D conversion completion, and SCI interrupts-reducing CPU load during real-time data movement.
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 with no wait-state flash access; supports 1.8–3.6 V supply |
| Memory | 512 KB flash (1.8 V programmable), 64 KB SRAM, 8 KB data flash (1M erase/write cycles) |
| A/D & D/A | 17-channel 12-bit A/D (1.0 µs min. conversion), 2-channel 12-bit D/A (0.35–AVCC−0.47 V output) |
| USB Interface | USB 2.0 full-speed (12 Mbps) host/function/OTG with BC (Battery Charger) detection and isochronous transfer |
| Temperature Range | –40°C to +105°C (G-grade), qualified for extended industrial environments |
| Capacitive Touch | CTSU with 12 detection pins, self/mutual capacitance modes, and on-chip noise canceller |
| LCD Driver | Integrated LCD controller supporting 40×4 or 36×8 segment-combination drive with on-chip voltage boost |
Pinout & Package
Package: PLQP0100KB-A - 100-pin LFQFP, 14 × 14 mm, 0.5 mm pitch, exposed pad (thermal enhancement), RoHS-compliant Sn-only termination.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply / Ground | Dual power domains: digital (VCC/VSS) and analog (AVCC0/AVSS0); USB-specific rails (VCC_USB/VSS_USB) isolated for noise immunity |
| USB0_DP / USB0_DM | USB differential data pair | On-chip full-speed transceiver; requires 27 Ω series resistors and 1.5 kΩ pull-up on DP for device mode |
| AN000–AN015, AN021 | Analog input channels | 17 dedicated A/D inputs; AN021 supports external trigger (ADTRG0#) for synchronized sampling in motor control |
| DA0 / DA1 | Analog output channels | Two independent 12-bit voltage outputs; rail-to-rail capable with programmable reference (VREFH/VREFL) |
| TS0–TS11 | Capacitive touch sense inputs | 12 CTSU channels; support mutual capacitance for higher channel density with fewer pins and built-in noise suppression |
| SEG00–SEG39 / COM0–COM7 | LCD segment/common drivers | Direct-drive capability for 40×4 or 36×8 LCD panels; internal boost circuit eliminates external charge pump |
| MTIOC0A–MTIOC4D | PWM/complementary output pins | Six 16-bit MTU2 channels with phase-counting, complementary PWM, and dead-time insertion for 3-phase motor control |
| SCI0–SCI9, SCI12 | Serial communication interfaces | Seven SCIe + one SCIf channels supporting UART, SPI, I²C, IrDA (via SCI5), and smart card protocols |
Key Features
| Feature | Design Value |
|---|---|
| Event Link Controller (ELC) | Enables 44 hardware events to directly trigger peripheral operations (e.g., A/D start on MTU2 match), eliminating interrupt latency and CPU overhead |
| Background Operation (BGO) | Data flash erasure/writing proceeds concurrently with program execution-critical for firmware updates without halting real-time tasks |
| Low-Power Timer (LPT) | 16-bit timer running from sub-clock (32.768 kHz) or IWDT oscillator during software standby (0.44 µA), enabling wake-up every 2.0 s minimum |
| IEC 60730 Support | Integrated CAC, IWDT, RAM test assist functions, and clock monitoring-reducing certification effort for Class B safety-critical appliances |
| Multi-Function Pin Controller (MPC) | Per-pin function remapping via register writes; allows dynamic reassignment of SCI, USB, or CTSU functions to alternate pins for PCB layout flexibility |
| USB Battery Charging (BC) | Detects D+/D− line states per BC 1.2 spec to identify wall adapters, charging ports, or standard downstream ports-enabling intelligent power management |
Applications
| Industrial HMI Panel | Smart Thermostat Controller |
|---|---|
|
Use Scenario: Wall-mounted HVAC interface with segmented LCD display, capacitive touch keys, temperature sensing, and USB configuration port. IC Role / Device Role / Timing Role: Main system MCU handling touch decoding, RTC-based scheduling, 12-bit A/D for NTC reading, and USB firmware updates. Use Value: Integrated CTSU eliminates external touch controller; LCD driver reduces BOM; USB OTG enables field technician reprogramming without JTAG. |
Use Scenario: Programmable residential thermostat with ambient/remote temperature sensing, relay control, and local USB diagnostics. IC Role / Device Role / Timing Role: Real-time scheduler (RTC), analog front-end (12-bit A/D + temp sensor), actuator driver (DA0/DA1 for valve control), and USB BC-aware power negotiation. Use Value: Dual 12-bit DACs provide precise analog setpoint outputs; +105°C rating ensures reliability inside enclosed HVAC enclosures; LPT enables low-power wake-on-schedule. |
| USB-Capable Sensor Gateway | Motor Control Module |
|
Use Scenario: Field-deployable gateway aggregating RS485 Modbus sensors, converting to USB CDC virtual COM for PC/cloud upload. IC Role / Device Role / Timing Role: Protocol bridge MCU with SCI-to-USB translation, CRC calculator for data integrity, and ELC-synchronized packet framing. Use Value: Single-chip solution replaces discrete USB PHY + microcontroller; RSPI and SCI peripherals enable multi-protocol support without external logic. |
Use Scenario: Brushless DC motor driver with hall-effect feedback, current sensing, PWM generation, and thermal protection. IC Role / Device Role / Timing Role: Motion controller executing FOC algorithms using MTU2 complementary PWM, A/D for current sampling, and comparator B for overcurrent shutdown. Use Value: Six MTU2 channels support 3-phase complementary PWM with dead-time; double-trigger A/D mode captures simultaneous phase currents; 1.0 µs conversion enables >100 kHz loop rates. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 32-bit industrial MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F51138ADFP#3A | Same package and peripherals, but rated for –40°C to +85°C only; identical flash/SRAM/CTSU/USB specs | Suitable for commercial or indoor industrial use where ambient temperature remains below 85°C | Select R5F51138ADFP#3A when extended temperature qualification is unnecessary and cost optimization is prioritized. |
| R5F51136AGFP#3A | 256 KB flash, 32 KB SRAM, same 100-pin LFQFP package and +105°C rating; retains CTSU, USB, LCD, and A/D/DAC | Applicable where firmware footprint is under 256 KB and memory headroom is acceptable | Choose R5F51136AGFP#3A for cost-sensitive designs with constrained code size and identical environmental requirements. |
Compared with R5F51138AGFP#3A, the R5F51138ADFP#3A offers identical functionality at lower thermal grade, while R5F51136AGFP#3A reduces memory capacity but maintains full peripheral compatibility and extended temperature support-enabling scalable product variants within the same PCB layout.
Availability
R5F51138AGFP#3A is available at Aetrix Electronics and suitable for industrial HMI, smart appliance control, USB sensor gateways, motor drives, and thermostatic systems requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for R5F51138AGFP#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 automotive, industrial, and IoT markets.
The RX113 Group-exemplified by R5F51138AGFP#3A-is designed for cost-sensitive, high-integration industrial and consumer applications demanding USB connectivity, capacitive touch, LCD driving, and extended temperature resilience without sacrificing real-time performance.
FAQ
What is the maximum operating frequency and CPU performance of the R5F51138AGFP#3A?
The R5F51138AGFP#3A operates at a maximum frequency of 32 MHz and delivers 50 DMIPS (Dhrystone MIPS) performance using the 32-bit RXv1 CPU core. Its five-stage pipeline, single-cycle 32×32-bit multiply, and ultra-compact instruction set enable efficient code execution in resource-constrained embedded applications. The R5F51138AGFP#3A sustains this speed with zero-wait-state access to its 512 KB flash memory.
Does the R5F51138AGFP#3A support USB On-The-Go (OTG) and Battery Charging (BC) detection?
Yes, the R5F51138AGFP#3A integrates a full-featured USB 2.0 host/function/OTG module compliant with USB 2.0 specification, supporting full-speed (12 Mbps) and low-speed (1.5 Mbps) modes. It includes hardware-level BC 1.2 detection logic via USB0_ID, USB0_VBUS, and associated control signals-enabling automatic identification of charging ports, dedicated chargers, and standard hosts without firmware polling. The R5F51138AGFP#3A implements this natively in silicon.
How many capacitive touch channels does the R5F51138AGFP#3A support, and what noise mitigation features are included?
The R5F51138AGFP#3A includes a dedicated Capacitive Touch Sensing Unit (CTSU) supporting up to 12 detection pins (TS0–TS11) in 100-pin packages. It employs both self-capacitance and mutual capacitance measurement methods, with an integrated on-chip noise canceller that dynamically suppresses high-frequency disturbance-enabling reliable touch operation in electrically noisy industrial environments. The R5F51138AGFP#3A also supports mutual capacitance to increase effective channel count without adding pins.
What are the analog capabilities of the R5F51138AGFP#3A, including A/D, D/A, and comparator functions?
The R5F51138AGFP#3A integrates a 17-channel 12-bit successive-approximation A/D converter with 1.0 µs minimum conversion time, two independent 12-bit voltage-output D/A converters (DA0/DA1), and two comparator B channels (CMPB0/CMPB1) with window-mode operation. The A/D supports double-trigger mode for motor control synchronization, while the D/As deliver 0.35 V to AVCC − 0.47 V output range. All analog blocks share dedicated reference pins (VREFH0/VREFL0, VREFH/VREFL, CVREFB0/CVREFB1) for precision. This analog suite is fully operational across the R5F51138AGFP#3A's –40°C to +105°C range.
Is the R5F51138AGFP#3A qualified for extended temperature operation, and how does it differ from the 'D' grade variant?
Yes, the R5F51138AGFP#3A is rated for operation from –40°C to +105°C ('G' grade), making it suitable for under-hood automotive accessories, industrial motor drives, and outdoor equipment. It differs from the 'D' grade R5F51138ADFP#3A solely in temperature qualification-the latter is specified only to +85°C-while sharing identical package (PLQP0100KB-A), memory (512 KB flash/64 KB SRAM), peripherals, and pinout. The R5F51138AGFP#3A undergoes additional screening and characterization to guarantee parametric stability across the extended range.
R5F51138AGFP#3A Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 100-LQFP
- Series:
- RX113
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- -
- Core Processor:
- RX
- Core Size:
- 32-Bit Single-Core
- Speed:
- 32MHz
- Connectivity:
- I2C, IrDA, SCI, SPI, SSI, USB OTG
- Peripherals:
- Capacitive Touch, DMA, LCD, LVD, POR, PWM, WDT
- Number of I/O:
- 82
- 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 17x12b; D/A 2x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F51138AGFP#3A FAQ
1.How can I place an order for R5F51138AGFP#3A through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F51138AGFP#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 R5F51138AGFP#3A reliable?
The price and inventory of R5F51138AGFP#3A are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F51138AGFP#3A is usually 5 days.
3.What payment methods are accepted for R5F51138AGFP#3A?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F51138AGFP#3A transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F51138AGFP#3A?
R5F51138AGFP#3A orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F51138AGFP#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 R5F51138AGFP#3A?
For technical support, including R5F51138AGFP#3A datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F51138AGFP#3A requirements.
6.How does Aetrix verify that R5F51138AGFP#3A is sourced from the original manufacturer or authorized distributors?
All R5F51138AGFP#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 R5F51138AGFP#3A meets industry standards.
7.What is the process for return or replacement of R5F51138AGFP#3A?
All R5F51138AGFP#3A units undergo pre-shipment inspection (PSI). If there is an issue with R5F51138AGFP#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 R5F51138AGFP#3A part is unused and in its original packaging.
Return procedure for R5F51138AGFP#3A:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F51138AGFP#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…

