NXP Semiconductors

MC9S08SH4MTG - 8-bit MCU, 4KB Flash, 40MHz, 16-TSSOP | NXP

MPN: MC9S08SH4MTG ✗ End of Life
In Stock Ships in 1-3 business days
2.7 V to 5.5 V (3.3V/5V operation) Vdss 16-TSSOP (0.173", 4.40mm width) Package 40 MHz Speed 4 KB (4K x 8) Memory
From $4 USD / Unit
MOQ: 1 |
Price updated: 2026-10-18
Volume Pricing
Qty Unit Price Extended
1 $6.11 $6.11
10 $5.5 $55.00
100 $4.95 $495.00
500 $4.45 $2,225.00
1,000 $4 $4,000.00
ℹ️ All prices are in USD

MC9S08SH4MTG Overview

The NXP MC9S08SH4MTG is an 8-bit HCS08 microcontroller with 4KB flash memory, 512B RAM, and a 40MHz HCS08 CPU core, housed in a 16-pin TSSOP package. It belongs to the S08SH family, a low-end option purpose-built for 5V applications in cost-sensitive embedded designs.

An 8-bit microcontroller (MCU) integrates a processor core, program memory, data RAM, and peripherals such as timers, ADCs, and serial interfaces on a single chip. Within the embedded systems hierarchy, it sits below 32-bit MCUs in complexity and cost, making it the workhorse for simple control tasks, appliance logic, and board-level supervision where a full application processor is unnecessary.

Key features of the MC9S08SH4MTG include the 40MHz HCS08 CPU executing the HC08 instruction set with an added BGND instruction, 4KB of on-chip flash program memory with in-circuit reprogrammability, and support for up to 32 interrupt/reset sources. The S08SH family is pin, tool, and software compatible with the S08SG family, giving designers migration headroom within the same footprint. Supply operation spans the 3.3V/5V range with an operating voltage window of approximately 2.7V to 5.5V.

Technical depth: the device integrates an analog comparator and a 12-channel, 10-bit ADC with a 2.5 microsecond conversion time, an automatic compare function, and an on-chip temperature sensor. The built-in clock generator removes the need for an external crystal in many designs, reducing BOM cost. Debugging is handled through the single-wire background debug interface (BGND).

Typical applications include 5V industrial sensing nodes leveraging the 10-bit ADC and temperature sensor, low-cost appliance and consumer appliance control, and system supervision or auxiliary control in larger boards. The 16-TSSOP package with gull-wing terminals suits compact, hand-solderable and reflowable designs.

Design consideration: note that NXP lists this part as NRND (Not Recommended for New Designs), so new projects should evaluate the compatible S08SG successors or newer Kinetis/LPC parts while legacy production can continue sourcing existing stock.

This page synthesizes distributor pricing, drop-in alternatives, lifecycle status, and practical design notes not found in the manufacturer datasheet.

Drop-in alternatives for MC9S08SH4MTG — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with MC9S08SH4MTG (same form factor and footprint) — differing in Package, RAM, Core Processor, Lifecycle Status, Mounting Type.

NXP Semiconductors
Package: 8-SOIC
RAM: 256 B
Core Processor: S08 (HCS08)
Compare with MC9S08SH4MTG →
NXP Semiconductors
Package: 16-pin TSSOP
Mounting Type: Surface Mount
Compare with MC9S08SH4MTG →
NXP Semiconductors
Package: 16-pin TSSOP
RAM: 256 B
Mounting Type: Surface Mount
Compare with MC9S08SH4MTG →
NXP Semiconductors
Package: 20-TSSOP (0.173 inch, 4.40 mm width)
RAM: 0.512 KB
Core Processor: S08 (HCS08), 8-bit CISC
Compare with MC9S08SH4MTG →

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

MC9S08SE8MTG

✅ Drop-In ⚠️ Specs Unverified
NXP Semiconductors
📦 16-TSSOP
S08 (HCS08 CISC) · 8 bit · 8 KB (8K x 8) Flash · 512 B · 20 MHz · 2.7 V to 5.5 V · -40 C to +125 C · 10-bit on-chip

✓ In Stock

$1.74 / Unit

View Datasheet →

MC9S08SH4MTG Maximum Ratings & Electrical Characteristics

Core Processor HCS08 (S08 core)
Core Size 8-bit
Maximum CPU Frequency 40 MHz
Flash Memory 4 KB (4K x 8)
RAM 512 B
Instruction Set HC08 with added BGND instruction
Interrupt/Reset Sources Up to 32
ADC Resolution 10-bit
ADC Channels 12-channel
ADC Conversion Time 2.5 us
Analog Comparator Yes
On-chip Temperature Sensor Yes
Operating Voltage Range 2.7 V to 5.5 V (3.3V/5V operation)
Package 16-TSSOP (0.173", 4.40mm width)
Mounting Type Surface Mount (gull-wing terminals)
Family Compatibility Pin, tool and software compatible with S08SG
Lifecycle Status NRND (Not Recommended for New Designs)

MC9S08SH4MTG 16-tssop (0.173", 4.40mm width) Pin Configuration Guide

Pin configuration for MC9S08SH4MTG (16-tssop (0.173", 4.40mm width) package). This digital IC includes GPIO, communication interfaces (UART, SPI, I2C), and power pins. Refer to the manufacturer datasheet for alternate pin functions and configuration options. Essential for embedded system design and PCB layout.

16-tssop (0.173", 4.40mm width) package pinout diagram for MC9S08SH4MTG

No detailed pinout data available for MC9S08SH4MTG.

Refer to the datasheet for full pin configuration.

Typical Applications

MC9S08SH4MTG is suitable for 6 applications: 5V Industrial Sensing Nodes, Low-Cost Appliance and Consumer Control, System Supervision and Auxiliary Control, Automotive Body and Convenience Modules (legacy), Battery-Powered Portable Devices, Analog Front-End and Comparator-Based Monitoring.

🏭

5V Industrial Sensing Nodes

The MC9S08SH4MTG fits 5V industrial sensing nodes because its 12-channel 10-bit ADC with 2.5 microsecond conversion time, automatic compare function, analog comparator, and on-chip temperature sensor operate natively on the same 5V rail that powers industrial transducers, eliminating level-shifting between the sensor and MCU. In a typical node, analog channels feed the ADC directly while the comparator provides fast over-threshold trips without CPU intervention; the automatic compare function generates interrupts when a reading crosses a programmed limit. Placed on a compact 16-TSSOP footprint with an internal clock generator, the design omits external oscillators and reference components. The trade-off is that the 4KB flash bounds the firmware, so filtering and protocol stacks must be kept lean.

⚡

Low-Cost Appliance and Consumer Control

Cost-sensitive appliance control is a natural fit for the MC9S08SH4MTG: the S08SH family was created by NXP specifically as a low-end 5V-range option, and the device integrates everything a small appliance board needs - 40MHz HCS08 core, 4KB flash, 512B RAM, 10-bit ADC, comparator, and internal clock generator - in a 16-TSSOP package that keeps the PCB area and assembly cost minimal. Button inputs, LED indicators, relay or triac drive outputs, and a temperature-sensor loop for thermostatic control all map onto its peripherals. Because the internal oscillator removes the crystal, the bill of materials shrinks further. The main consideration is the NRND status: for new appliance platforms, start with a currently-active S08 successor and treat the SH4 as a maintenance fit only.

🔧

System Supervision and Auxiliary Control

In larger systems the MC9S08SH4MTG serves as a housekeeping controller: monitoring power-supply voltages through the 10-bit ADC and comparator, sequencing rails, driving status LEDs, and handling front-panel buttons while the main processor runs the application. Support for up to 32 interrupt/reset sources lets it react quickly to fault flags, and the wide 2.7V to 5.5V supply range lets it ride on the same 5V or 3.3V standby rail as the rest of the supervision circuitry. The single-wire background debug interface (BGND) allows field-friendly firmware updates during production. Because it sleeps between supervisory tasks, average power stays low. Confirm the watchdog and low-voltage detect behavior in the datasheet against your safety requirements.

🚗

Automotive Body and Convenience Modules (legacy)

Distributor data (Partstack) classifies the MC9S08SH4MTG temperature grade as AUTOMOTIVE, and the 5V-native S08SH design suits legacy 12V-vehicle body electronics where simple, robust 5V logic is standard: door modules, seat-adjust memory, lighting switches, and wiper control. The 10-bit ADC reads potentiometer position sensors directly, the comparator flags over-current or over-temperature events, and the 40MHz HCS08 core handles the modest control loops these functions need. The 16-TSSOP gull-wing package reflows reliably on automotive PCB assemblies. However, with NXP marking the part NRND and a replacement PCN published, automotive Tier-1s should design in the announced successor or the active S08S12/Kinetis automotive families for new programs and use this part only for running production.

📱

Battery-Powered Portable Devices

Although the S08SH targets 5V systems, its 2.7V floor and S08-family low-power modes let the MC9S08SH4MTG run in battery products at 3V logic levels, monitoring cell voltage through the ADC and temperature sensor while an internal clock generator keeps the BOM light. Typical roles include handheld meter front-ends, remote controls with analog keypads, and portable instrumentation where the 10-bit ADC and automatic compare wake the MCU only when a threshold is crossed, stretching battery life. The compact 16-TSSOP supports slim handheld PCBs. The design constraint is flash capacity: 4KB forces tight, often assembly-level firmware. For new portable designs, the S08SE or S08PT families with more flash and dedicated low-power modes are the better starting point.

🧩

Analog Front-End and Comparator-Based Monitoring

The MC9S08SH4MTG doubles as a mixed-signal monitor where its analog comparator and 12-channel 10-bit ADC form a low-cost front-end: battery chargers using voltage and temperature windows, over-voltage/under-voltage watchdogs on 5V rails, and simple motor or heater current monitoring through a shunt. The ADC's 2.5 microsecond conversion time supports brisk polling loops, the automatic compare function offloads threshold detection from software, and the on-chip temperature sensor provides a free die-level thermal reading for derating logic. Outputs can drive PWM for fan or heater control directly from the S08 timer channels. Keep firmware under the 4KB flash budget by using the comparator interrupt rather than continuous ADC sampling; this also cuts average current draw significantly.

What is the MC9S08SH4MTG microcontroller?
The MC9S08SH4MTG is an NXP 8-bit HCS08 microcontroller with 4KB flash, 512B RAM, and a 40MHz S08 core in a 16-TSSOP package. According to the NXP product page, it belongs to the S08SH family, a low-end 5V-oriented option that is pin, tool, and software compatible with the S08SG family, and includes a 12-channel 10-bit ADC and analog comparator.
What is the operating voltage range of the MC9S08SH4MTG?
The MC9S08SH4MTG operates from approximately 2.7V to 5.5V, supporting both 3.3V and 5V systems. According to distributor specification data (Xecor/Freescale ordering data), the S08SH family was specifically designed as a low-end option for applications in the 5-volt range, and this wide window lets one design serve both legacy 5V rails and modern 3.3V supplies.
What is the price of MC9S08SH4MTG?
As of 2026-10-18, the MC9S08SH4MTG lists at approximately $6.11 for a single unit at distributor Heisener, with volume tiers declining accordingly (about $4.00 at 1000 pieces on this page). Pricing varies by distributor and stock date, so always confirm the current quote at checkout; Octopart compares bulk discounts across 5 distributors for this part.
Where to buy MC9S08SH4MTG online?
The MC9S08SH4MTG can be purchased from major distributors including DigiKey (listing NXP USA Inc., ships same day), Mouser, Newark, and brokers such as Heisener, Win Source, and Rochester Electronics on the DigiKey Marketplace. According to Heisener, over 18,500 pieces were in stock and able to ship immediately, so authorized-channel availability still exists despite the NRND status.
Is MC9S08SH4MTG still in production or obsolete?
The MC9S08SH4MTG is NRND (Not Recommended for New Designs) per the official NXP product page, with a discontinuance and replacement product change notice published. It is not yet fully obsolete: distributors such as DigiKey and Heisener list active stock, and NXP's authorized last-time-buy channel (Rochester Electronics) also lists the part. New designs should select a current-generation alternative.
What is the best drop-in replacement for MC9S08SH4MTG?
The best drop-in replacement is the NXP MC9S08SE8MTG: the same 16-TSSOP footprint and pinout within the pin-compatible S08SH/SE family, but with 8KB flash instead of 4KB (double the program memory), so existing boards accept it without PCB change. According to NXP family documentation, S08SH is pin, tool, and software compatible across family members, though firmware must fit the larger flash map unchanged.
What is the difference between MC9S08SH4MTG and MC9S08SE8MTG?
The main difference is flash size: MC9S08SH4MTG has 4KB flash and 512B RAM, while MC9S08SE8MTG provides 8KB flash in the same 16-TSSOP package and pinout. Both run the 40MHz HCS08 core. The SE8 variant gives headroom for growing firmware, and per the S08 family compatibility statement, the migration is board-level drop-in with recompilation rather than hardware redesign.
MC9S08SH4MTG vs MC9S08SH8 - which is better for my design?
Choose the MC9S08SH4MTG only if your firmware fits in 4KB flash and the lower cost matters; choose the SH8 variants (8KB flash, 512B RAM) if you need program memory headroom or use more of the ADC/comparator feature set. Both share the 40MHz HCS08 core, 10-bit ADC, and S08SG-compatible architecture, so the decision is essentially a flash-budget and lifecycle decision, especially given the SH4's NRND status.
Is the MC9S08SH4MTG suitable for 5V industrial sensing applications?
Yes, the MC9S08SH4MTG is well suited to 5V industrial sensing. According to the datasheet specifications, it integrates a 12-channel 10-bit ADC with 2.5 microsecond conversion time, an automatic compare function, an analog comparator, and an on-chip temperature sensor, all operating up to 5.5V. This integration eliminates external ADC and reference components in analog sensing nodes such as transducers and industrial sensor pods.
Can MC9S08SH4MTG replace MC9S08SG4 in an existing board?
Yes, in most cases. According to NXP, the S08SH family is pin, tool, and software compatible with the S08SG family, so MC9S08SH4MTG can typically drop onto an S08SG4-designed PCB. Engineers should verify peripheral-level differences (for example, clock source options and package-specific pin functions) against both datasheets and re-run firmware validation, but no board respin is normally required for the same-package variant.
Where can I download the MC9S08SH4MTG datasheet PDF?
The MC9S08SH4MTG datasheet PDF is available from the official NXP product page at nxp.com/part/MC9S08SH4MTG under the Data Sheet section. Distributor mirrors such as digchips.com and FindIC also host the datasheet file (approximately 1444KB per FindIC). Always prefer the NXP official download to ensure you have the latest revision, especially given the NRND discontinuance notices.
What are the key specifications of MC9S08SH4MTG that engineers should know?
The essential facts: an 8-bit HCS08 CISC core running at 40MHz using the HC08 instruction set with BGND support; 4KB flash and 512B RAM; a 12-channel 10-bit ADC with 2.5us conversion, automatic compare, and on-chip temperature sensor; an analog comparator; up to 32 interrupt/reset sources; 2.7V to 5.5V operation; and a 16-pin TSSOP surface-mount package. NXP currently marks the part NRND.
How do I program and debug the MC9S08SH4MTG?
The MC9S08SH4MTG is programmed and debugged through the NXP single-wire background debug interface, supported by the BGND instruction added to the HC08 instruction set. According to NXP S08 family documentation, standard S08 debug tools such as the P&E Multilink work with the S08SH family, and because the family is tool-compatible with S08SG, existing S08 toolchains and CodeWarrior projects carry over directly.
What is the lead time and stock situation for MC9S08SH4MTG?
Stock is currently available through both authorized and broker channels. As of the data captured 2026-10-18, Heisener reported 18,516 pieces in stock that can ship immediately, and DigiKey states it ships the same day. However, because NXP has published a discontinuance notice (NRND), lead times will lengthen as stock depletes; plan last-time-buy quantities now and evaluate Rochester Electronics for post-EOL supply.
Does MC9S08SH4MTG need an external crystal oscillator?
No, the MC9S08SH4MTG includes an internal clock generator, so many designs run without an external crystal. According to the NXP product overview, the family features a built-in clock generator for cost-sensitive embedded applications, which reduces bill-of-materials cost and board area. For applications requiring precise timing or UART baud-rate accuracy over temperature, verify the internal oscillator tolerance in the datasheet before omitting the crystal.

Engineering reference data for MC9S08SH4MTG — comparison, design guidance, and compliance information.

Selection Guide

Choose the MC9S08SH4MTG only for sustaining existing production: it is 5V-native, integrates a 10-bit ADC, comparator, and temperature sensor, and fits cost-optimized 16-TSSOP boards - but NXP has marked it NRND with a replacement PCN, so new designs should not start here. For new 4KB-class projects, select the MC9S08SE8MTG (same footprint, 8KB flash, drop-in board-level migration) or the SE4 for a strict cost match, both in the active S08 family with identical tools and software compatibility. If your application needs more memory or connectivity, step up to the S08SG or DV families, which remain pin, tool, and software compatible per NXP documentation. Verify lifecycle status at order time regardless of choice, since the S08 portfolio is progressively moving through NXP's discontinuance program; budget a last-time-buy if you must stay on the SH4.

Comparison with Alternatives

Parameter This Product MC9S08SE8MTG
Package 16-TSSOP 16-TSSOP - same
Brand NXP Semiconductors NXP Semiconductors - same
Core / Frequency HCS08, 40 MHz HCS08, 40 MHz
Flash Memory 4 KB 8 KB
RAM 512 B 512 B
Operating Voltage 2.7 V to 5.5 V 2.7 V to 5.5 V
ADC 12-ch, 10-bit, 2.5 us 12-ch, 10-bit, 2.5 us

Key Differentiators

  • 5V-native analog integration (vs MC9S08SE8MTG)
  • Flash headroom in the same footprint (vs MC9S08SE8MTG)
  • Family-level tool and software compatibility (vs MC9S08SE8MTG)

Design Notes

Treat the MC9S08SH4MTG as a maintenance part, not a new-design part. The official NXP product page marks it NRND with a Discontinuance and Replacement Product Change Notice published, so new PCB releases should target the announced successor or an active S08 family member such as the S08SE/S08SG. For running production, place a last-time-buy sized to your field-service horizon (typically 5-10 years) and qualify MC9S08SE8MTG as the same-footprint fallback before stock runs out.

Decouple VDD with a 0.1 uF ceramic capacitor placed within a few millimeters of the supply pin, plus a bulk 4.7-10 uF capacitor per board rail. The 2.7V to 5.5V operating window tolerates unregulated 5V supplies with sag, but verify the low-voltage reset threshold in the datasheet if the rail can dip below 2.7V during brownout events. When running from 3.3V, confirm ADC reference options since full-scale accuracy depends on the selected reference configuration.

The 10-bit ADC is only as accurate as its analog environment: keep sensor traces short, route them away from the PWM and clock lines, and add an RC anti-aliasing filter (for example 1 k ohm and 10 nF, giving roughly 1.6 kHz cutoff) ahead of analog inputs carrying slow signals. The on-chip clock generator relaxes layout compared to crystal designs, but if you do use an external oscillator for UART accuracy, follow the crystal layout guidance in the S08 family hardware design notes.

Compliance Information

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
Lead Free
Unknown
Halogen Free
Unknown
Conflict Minerals
Unknown

Compliance details are not stated in the provided verified data. Partstack lists the temperature grade as AUTOMOTIVE, but formal AEC-Q100 qualification is not stated in the data. See the NXP product page Environmental Quality section for official compliance declarations.

Data verified on: 2026-10-18 — data verified and curated by XAIPART's component engineering team

Related Searches

MC9S08SH4MTG MC9S08SH4MTG datasheet NXP MC9S08SH4MTG MC9S08SH4MTG price 16-TSSOP S08SH 8-bit MCU 4KB flash 40MHz MC9S08SH4MTG drop-in replacement MC9S08SH4MTG vs MC9S08SE8MTG MC9S08SH4MTG 5V industrial sensing MC9S08SH4MTG NRND replacement buy MC9S08SH4MTG in stock MC9S08SH4MTG pinout 16-TSSOP MC9S08SH4MTG equivalent microcontroller

Related Components & Terms

NXP Semiconductors MC9S08SH4MTG MC9S08SE8MTG S08SH family S08SG family HCS08 S08 core 8-bit microcontroller MCU 16-TSSOP TSSOP 40 MHz 4KB flash 512B RAM 10-bit ADC analog comparator NRND Rochester Electronics DigiKey Mouser CodeWarrior BGND instruction background debug interface industrial sensing automotive body electronics
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details