Renesas M38513E4FP#U0
- Part No.:
- M38513E4FP#U0
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 42-SDIP (0.600", 15.24mm)
- Datasheet:
-
M38513E4FP#U0.pdf
- Description:
- IC MCU 8BIT 16KB OTP 42SDIP
- Quantity:
- Payment:

- Shipping:

Inventory:2,232
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
M38513E4FP#U0 from Mitsubishi Electric is an 8-bit CMOS microcomputer based on the 740-family core, integrating 16 KB ROM, 512 bytes RAM, five 10-bit A-D converter channels, four 8-bit timers, UART/clock-synchronous serial I/O, and a multi-master I²C-bus interface - designed for embedded control in office automation and household appliances.
For engineers reviewing the M38513E4FP#U0 datasheet, M38513E4FP#U0 pinout, M38513E4FP#U0 application, or M38513E4FP#U0 equivalent, key selection considerations include its 42-pin SSOP (42P2R-A) package, 8 MHz max operating frequency, 2.7–5.5 V supply range, built-in clock generation with ceramic resonator support, and LED-driving capability on P13–P17.
Technical Context
The M38513E4FP#U0 implements a standard 740-family instruction set with 71 basic machine-language instructions and a minimum instruction execution time of 0.5 µs at 8 MHz. Its CPU supports single-chip mode and features stack page selection, main clock division (φ = f(XIN)/2, /8, or f(XCIN)/2), and port XC switching between I/O and oscillation functions.
Memory architecture includes a 16 KB ROM user area (with reserved test space), 512-byte RAM used for data and stack, zero-page and special-page addressing modes, and an SFR area containing dedicated registers for all peripherals - including I/O direction latches, timer/counter control, A-D conversion, I²C, UART, and interrupt management.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 740-family 8-bit CPU with 71 instructions; supports STP, WIT, MUL, DIV but excludes FST/SLW. |
| Memory | 16 KB mask-ROM program memory and 512 bytes RAM - sufficient for mid-complexity appliance firmware with real-time I/O handling. |
| Operating Voltage | 2.7–5.5 V across all speed modes - enables direct compatibility with 3.3 V and 5 V system rails without level-shifting. |
| Max Clock Frequency | 8 MHz in high-speed mode (4.0–5.5 V); also supports 4 MHz, 32 kHz sub-clock - allows dynamic power/performance scaling. |
| A-D Converter | 10-bit resolution, 5-channel input (AN0–AN4) - suitable for analog sensor interfacing (e.g., temperature, light, potentiometer). |
| I/O Capability | 34 programmable CMOS I/O pins; P13–P17 support high-current LED drive - eliminates need for external drivers in indicator applications. |
| Interrupt System | 16 interrupt sources with 16 vectors and configurable edge-triggered external inputs (INT0–INT3, CNTR0/CNTR1) - enables responsive event-driven control. |
| Power Dissipation | 34 mW at 8 MHz/5 V; drops to 60 µW at 32 kHz/3 V - optimized for battery-backed or energy-sensitive consumer devices. |
Pinout & Package
Package type: FP - 42-pin plastic-molded SSOP (42P2R-A), 0.65 mm pitch, surface-mount compatible.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00–P07 | 8-bit general-purpose I/O port | Individually configurable as input/output via P0D register; CMOS 3-state output structure. |
| P10–P17 | 8-bit I/O port with LED drive | P13–P17 support high-current sink/source - directly drives LEDs without external transistors. |
| P20/XCOUT, P21/XCIN | Sub-clock oscillator interface | Connect external ceramic resonator (32 kHz) for low-power timing; enables RTC-like functionality. |
| P22/SDA1, P23/SCL1 | I²C-bus channel 1 | N-channel open-drain outputs - compliant with I²C bus electrical specifications (400 kHz max). |
| P24/SDA2/RxD, P25/SCL2/TxD | I²C-bus channel 2 / UART interface | Shared pins support dual I²C or UART (TxD/RxD) - flexible peripheral routing in space-constrained layouts. |
| P26/SCLK | Serial clock output | Provides synchronous clock for external SPI-like peripherals or ADCs during clock-synchronous serial I/O mode. |
| P27/CNTR0/SRDY | Event counter input / ready signal | Counts external pulses (rising/falling edge selectable); SRDY output signals data-ready to external devices. |
| P30/AN0–P34/AN4 | Analog input channels | Five 10-bit A-D converter inputs referenced to VREF - supports simultaneous sampling of multiple sensors. |
| P40/CNTR1, P41/INT0–P43/INT2 | External interrupt/event inputs | Four independent edge-triggered interrupt sources - ideal for button debouncing, encoder counting, or fault detection. |
| P44/INT3/PWM | Interrupt input / PWM output | Configurable as 8-bit PWM generator (single channel) or interrupt source - enables dimming or motor speed control. |
| XIN/XOUT | Main crystal/resonator interface | Supports 8 MHz ceramic resonator or quartz crystal - sets system clock for high-speed operation. |
| RESET | Active-low reset input | Asynchronous reset pin; requires external pull-up and debounce circuit for reliable power-on initialization. |
| VCC/VSS, AVSS, CNVSS | Power and ground domains | Dedicated analog ground (AVSS) and noise-isolated converter ground (CNVSS) - critical for A-D accuracy. |
Key Features
| Feature | Design Value |
|---|---|
| Multi-mode clock system | Built-in main clock (XIN/XOUT) and sub-clock (XCIN/XCOUT) circuits - enables seamless transition between high-performance and ultra-low-power operation. |
| Dual I²C-bus interface | Two independent I²C channels (SCL1/SDA1 and SCL2/SDA2) - supports communication with multiple sensors, EEPROMs, or displays without bus arbitration overhead. |
| Flexible serial I/O | Selectable UART or clock-synchronous mode with dedicated baud-rate generator - simplifies integration with legacy RS-232 peripherals or synchronous ADCs. |
| Hardware watchdog timer | 16-bit WDT with configurable timeout - prevents system lockup in unattended consumer equipment without software intervention. |
| Interrupt vectoring | 16 distinct interrupt vectors with priority-based servicing - ensures deterministic response to time-critical events like encoder edges or A-D completion. |
| LED-optimized I/O | P13–P17 configured as high-current sink outputs - reduces BOM count and PCB area in indicator-heavy designs (e.g., printer status panels). |
Applications
| Printer Control Unit | Smart Thermostat Interface |
|---|---|
|
Use Scenario: Real-time coordination of paper feed, print head movement, and status LED feedback in compact inkjet printers. IC Role / Device Role / Timing Role: Central controller executing motion algorithms, reading optical encoders via CNTR0/CNTR1, and driving status LEDs through P13–P17. Use Value: Integrated 34-pin I/O, 5-channel A-D (for ambient/temp sensing), and dual I²C eliminate external glue logic - reducing board cost and footprint. |
Use Scenario: Local environmental monitoring and HVAC actuation in residential smart thermostats with display and wireless module interfaces. IC Role / Device Role / Timing Role: Sensor hub aggregating thermistor (AN0), humidity (I²C), and button inputs (INT0–INT3), then commanding relay drivers via PWM (P44) and UART (P24/P25). Use Value: Sub-clock oscillator (XCIN/XCOUT) enables accurate timekeeping for scheduling; 2.7–5.5 V operation supports both 3.3 V MCU and 5 V relay power domains. |
| Office Copier Panel | Home Appliance Mainboard |
|
Use Scenario: Front-panel UI management for multifunction copiers, including keypad scanning, LCD backlight control, and error-code LED sequencing. IC Role / Device Role / Timing Role: Dedicated UI controller handling matrix keypad scan (P00–P07), driving 5-segment status LEDs (P13–P17), and communicating with main SoC via I²C (P22/P23). Use Value: 8-bit timers (T1/T2) generate precise LED blink intervals; UART mode supports firmware updates over USB-to-serial bridge without redesign. |
Use Scenario: Core control unit in washing machines or microwaves managing motor sequencing, temperature regulation, and safety interlocks. IC Role / Device Role / Timing Role: Safety-critical supervisor reading door switch (INT0), NTC thermistor (AN1), water level sensor (AN2), and generating PWM for heater control (P44). Use Value: Watchdog timer and reset circuit ensure fail-safe shutdown; 16 interrupt vectors guarantee immediate response to lid-open or overtemperature faults. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F100PLAFB#30 | RL78/G13 core; 32 KB flash, 4 KB RAM; integrated debug interface; no built-in sub-clock oscillator. | Requires external 32 kHz crystal for RTC; superior code density and lower active current, but lacks direct LED-drive pins. | Preferred for new designs requiring flash reprogrammability and lower power, where LED drive is handled externally. |
| HD64F3687FP | Same 740-family core; 32 KB ROM, 1 KB RAM; identical 42-pin SSOP package; supports same I²C/UART peripherals. | Higher memory capacity and extended interrupt vector table - suited for more complex firmware with larger state machines. | Drop-in replacement for memory-intensive upgrades of existing M38513E4FP#U0 designs, with no PCB changes required. |
Compared with R5F100PLAFB#30 and HD64F3687FP, the M38513E4FP#U0 offers optimal balance of cost, integrated LED drive, and proven reliability in mature appliance platforms - making it ideal for high-volume, fixed-function control where flash flexibility is unnecessary.
Availability
M38513E4FP#U0 is available at Aetrix Electronics and suitable for office automation equipment, household appliance control, and industrial FA systems requiring stable component supply across long production lifecycles.
Supply support for M38513E4FP#U0 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
Mitsubishi Electric Corporation is a Japanese multinational specializing in power systems, industrial automation, and semiconductor solutions, with decades of leadership in embedded microcontrollers for consumer and industrial markets.
The 3851 Group was developed specifically for cost-sensitive, high-reliability embedded control in household and office equipment - emphasizing integrated analog peripherals, low-power operation, and robust I/O for direct human-machine interface.
FAQ
What is the maximum operating frequency of the M38513E4FP#U0?
The M38513E4FP#U0 operates up to 8 MHz in high-speed mode when powered at 4.0–5.5 V using the main clock (XIN/XOUT). At 4 MHz or 32 kHz, it supports wider voltage ranges down to 2.7 V, enabling flexible power/performance trade-offs in battery-powered or energy-harvesting applications. The M38513E4FP#U0 achieves a minimum instruction execution time of 0.5 µs at 8 MHz.
Does the M38513E4FP#U0 support both UART and synchronous serial communication?
Yes, the M38513E4FP#U0 supports two serial I/O modes: asynchronous UART (using P24/RxD and P25/TxD) and clock-synchronous serial (using P24/RxD, P25/TxD, and P26/SCLK). Mode selection is controlled by bit 6 of the serial I/O control register (address 001A16). The M38513E4FP#U0 includes a dedicated baud-rate generator for precise timing in both configurations.
How many analog input channels does the M38513E4FP#U0 have, and what is their resolution?
The M38513E4FP#U0 integrates a 10-bit successive-approximation A-D converter with five input channels (AN0–AN4), mapped to pins P30–P34. Each channel supports programmable reference voltage (VREF) and can be sampled individually or in sequence. The M38513E4FP#U0's A-D converter delivers ±1 LSB integral nonlinearity and supports conversion times as low as 64 µs per sample.
Can the M38513E4FP#U0 drive LEDs directly without external transistors?
Yes, ports P13 through P17 (five pins) are specifically designed for high-current LED drive, supporting sink currents sufficient for standard indicator LEDs. This capability eliminates the need for external driver transistors in panel-interface applications. The M38513E4FP#U0's I/O structure ensures safe operation within specified voltage and current limits without additional components.
What packaging and pin count does the M38513E4FP#U0 use?
The M38513E4FP#U0 uses a 42-pin plastic-molded SSOP package designated 42P2R-A, with 0.65 mm lead pitch and surface-mount compatibility. This package matches the pinout of other 3851 Group variants like M38513M4-XXXFP, ensuring mechanical and layout consistency across family members. The M38513E4FP#U0's pin configuration supports full access to all integrated peripherals including dual I²C, UART, A-D, and timers.
M38513E4FP#U0 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 42-SDIP (0.600", 15.24mm)
- Series:
- 740/38000
- Packaging:
- Tube
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- 740
- Core Size:
- 8-Bit
- Speed:
- 8MHz
- Connectivity:
- SIO, UART/USART
- Peripherals:
- PWM, WDT
- Number of I/O:
- 34
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- OTP
- EEPROM Size:
- -
- RAM Size:
- 512 x 8
- Voltage - Supply (Vcc/Vdd):
- 2.7V ~ 5.5V
- Data Converters:
- A/D 5x10b
- Oscillator Type:
- External
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Through Hole
- Supplier Device Package:
M38513E4FP#U0 FAQ
1.How can I place an order for M38513E4FP#U0 through Aetrix?
Please submit a Request for Quotation (RFQ) for M38513E4FP#U0 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 M38513E4FP#U0 reliable?
The price and inventory of M38513E4FP#U0 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for M38513E4FP#U0 is usually 5 days.
3.What payment methods are accepted for M38513E4FP#U0?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for M38513E4FP#U0 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for M38513E4FP#U0?
M38513E4FP#U0 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your M38513E4FP#U0 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 M38513E4FP#U0?
For technical support, including M38513E4FP#U0 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your M38513E4FP#U0 requirements.
6.How does Aetrix verify that M38513E4FP#U0 is sourced from the original manufacturer or authorized distributors?
All M38513E4FP#U0 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 M38513E4FP#U0 meets industry standards.
7.What is the process for return or replacement of M38513E4FP#U0?
All M38513E4FP#U0 units undergo pre-shipment inspection (PSI). If there is an issue with M38513E4FP#U0, 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 M38513E4FP#U0 part is unused and in its original packaging.
Return procedure for M38513E4FP#U0:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
M38513E4FP#U0 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…
