STMicroelectronics ST90R158Q6
- Part No.:
- ST90R158Q6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 80-BQFP
- Datasheet:
-
ST90R158Q6.pdf
- Description:
- IC MCU 8/16BIT ROMLESS 80PQFP
- Quantity:
- Payment:

- Shipping:

Inventory:4,995
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
ST90R158Q6 from STMicroelectronics is a ROMless 8/16-bit microcontroller with 2KB RAM, fully programmable PLL clock generator, and integrated peripherals including three 16-bit multifunction timers, two serial communication interfaces (SCI), one SPI/I²C-capable interface, an 8-channel 8-bit ADC, and DMA controller - deployed in industrial motor control and embedded instrumentation systems requiring deterministic real-time response.
For engineers reviewing the ST90R158Q6 datasheet, ST90R158Q6 pinout, ST90R158Q6 application, or ST90R158Q6 equivalent, key selection criteria include its 24 MHz max CPU frequency at 4.5–5.5 V, TQFP80 package compatibility, register-file-based architecture with 224 general-purpose registers, and support for RUN/WFI/SLOW/HALT power modes in safety-critical firmware designs.
Technical Context
The ST90R158Q6 implements the ST9 core architecture featuring a register-file-based execution model where 224 general-purpose registers serve as RAM, accumulators, or index pointers - enabling zero-cycle operand access and eliminating memory bottlenecks in tight control loops. Its memory management unit supports 64 KB segmented addressing via CSR, ISR, and DMASR registers for flexible code/data partitioning.
Peripherals are tightly coupled to the core through dedicated interrupt vectors and DMA channels: the three MFTs each support 12 operating modes and DMA-triggered capture/compare, while the dual SCI interfaces provide asynchronous/synchronous framing with hardware baud-rate generation and automatic break detection - critical for fieldbus node interoperability.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | ST9 8/16-bit register-file architecture with RUN, WFI, SLOW, HALT power modes |
| Max Clock Frequency | 24 MHz internal (at 4.5–5.5 V supply); enables 83 ns 8-bit instruction cycle time |
| RAM Size | 2 KB on-chip SRAM - sufficient for real-time task stacks, PID buffers, and SCI receive FIFOs |
| Program Memory | ROMless configuration - requires external EPROM/Flash bootloading via parallel bus interface |
| ADC | 8-channel 8-bit SAR ADC with external reference input and automatic voltage monitoring |
| Timers | Three 16-bit multifunction timers (MFT) + one 16-bit standard timer (STIM) + watchdog (WDT) |
| Serial Interfaces | Two SCI (asynchronous/synchronous/DMA), one SPI with I²C-bus emulation capability |
| I/O Pins | 67 fully programmable bidirectional I/O bits mapped across Ports A–E with alternate function routing |
Pinout & Package
TQFP80 (Thin Quad Flat Package, 80-pin, 12 × 12 mm, 0.65 mm pitch) - RoHS-compliant, thermally enhanced for industrial ambient operation up to +85°C.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual-supply support: 2.7–3.3 V or 4.5–5.5 V; separate analog/digital ground pins reduce noise coupling |
| OSCIN, OSCOUT | Crystal oscillator input/output | Drives low-cost external crystal (e.g., 4 MHz) feeding PLL for precise 24 MHz system clock |
| RESET | Active-low reset input | Asynchronous reset with internal pull-up; supports external debounced push-button or supervisor IC |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE3 | General-purpose I/O ports | 67 total configurable pins; Port E includes dedicated SCI-M TX/RX and MFT channel outputs |
| AD0–AD7 | ADC input channels | 8 single-ended analog inputs with programmable sampling timing and auto-scan sequencing |
| CS0–CS3, AS, DS, RW | External memory interface signals | Supports 64 KB external program/data space with wait-state control for slow EPROM/NVRAM |
| CLKOUT | Programmable clock output | Divided system clock output for synchronizing external logic or test equipment |
Key Features
| Feature | Design Value |
|---|---|
| Register File Architecture | 224 general-purpose registers eliminate memory-access latency in interrupt service routines and control algorithms |
| Programmable PLL Clock Generator | Enables high-precision 24 MHz core clock from low-cost 4 MHz crystal - reduces BOM cost and EMI |
| Multifunction Timer (MFT) | Three independent 16-bit timers with 12 operating modes (PWM, input capture, quadrature decode) and DMA trigger support |
| SCI-M Dual Protocol Interface | Single hardware block supporting UART, LIN, and custom synchronous protocols - simplifies fieldbus gateway design |
| Division-by-Zero Trap | Hardware exception generation prevents silent math errors in safety-critical control calculations |
Applications
| Industrial Motor Control | Embedded Instrumentation |
|---|---|
Use Scenario: Closed-loop speed/position control of BLDC motors using hall-effect feedback and PWM-driven gate drivers. IC Role / Device Role / Timing Role: Real-time execution of FOC algorithms, ADC sampling synchronization, and MFT-generated 3-phase PWM with dead-time insertion. Use Value: Deterministic 250 ns 16-bit instruction cycle ensures sub-microsecond jitter in commutation timing - critical for torque ripple reduction. |
Use Scenario: Portable multimeter with auto-ranging, data logging, and USB host interface via external bridge IC. IC Role / Device Role / Timing Role: Sensor signal conditioning, 8-channel ADC scanning, SCI-based command parsing, and SPI-controlled display driver. Use Value: On-chip 2 KB RAM buffers full measurement cycles; register-file architecture minimizes context-switch overhead during interrupt-driven sampling. |
| Building Automation Node | Industrial PLC I/O Module |
Use Scenario: BACnet MS/TP field device managing HVAC damper actuation, temperature sensing, and occupancy detection. IC Role / Device Role / Timing Role: SCI-M configured for MS/TP physical layer, MFT for pulse-width modulated valve control, and ADC for thermistor linearization. Use Value: Hardware SCI-M baud-rate generation and automatic frame delimiter detection ensure robust RS-485 communication without CPU intervention. |
Use Scenario: DIN-rail mounted digital I/O expansion module with 16-channel isolated inputs and 8-channel relay outputs. IC Role / Device Role / Timing Role: Parallel port bit-banging for optocoupler status reads, MFT-based watchdog supervision, and SCI-based Modbus RTU slave stack. Use Value: 67 GPIOs directly drive isolation logic; ROMless design allows field-upgradable firmware via external Flash over parallel bus. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8/16-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| ST90158M9 | 64 KB on-chip ROM instead of ROMless; identical peripheral set and TQFP80 package | Eliminates external memory interface but lacks field firmware update flexibility | Select when boot code is fixed and external memory cost/complexity must be avoided |
| STM8S208MB | 32 MHz max clock, 6 KB RAM, enhanced ADC (10-bit), but no external memory interface or MFT-level timer flexibility | Higher performance per MHz but limited to internal memory and simplified timer architecture | Select for cost-sensitive, memory-constrained applications where legacy ST9 toolchain migration is acceptable |
Compared with ST90R158Q6, ST90158M9 trades external memory expandability for reduced BOM count, while STM8S208MB offers modern peripherals and higher clock rate but abandons the register-file architecture and segmented memory model essential for deterministic real-time control.
Availability
ST90R158Q6 is available at Aetrix Electronics and suitable for industrial motor control, embedded instrumentation, building automation nodes, and PLC I/O modules requiring stable component supply across extended product lifecycles.
Supply support for ST90R158Q6 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
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, designing and manufacturing microcontrollers, power management ICs, sensors, and automotive-grade components since 1987.
The ST9 microcontroller family was engineered for deterministic real-time control in industrial and instrumentation applications - emphasizing low-latency interrupt response, register-file efficiency, and flexible memory expansion for legacy and long-lifecycle systems.
FAQ
Is ST90R158Q6 still in active production?
No - ST90R158Q6 is marked obsolete by STMicroelectronics per the January 2001 datasheet revision notes. However, Aetrix Electronics maintains legacy inventory and provides lifecycle management support, including obsolescence forecasting, last-time-buy coordination, and cross-reference engineering for drop-in or functionally aligned replacements.
What development tools are compatible with ST90R158Q6?
The ST9 IDE suite - including ST9 Assembler, C compiler, linker, archiver, and source-level debugger - is fully supported. Hardware tools include the ST9 Real-Time Emulator (RTE) and EPROM Programming Board. Third-party RTOSes and gang programmers were validated during the product's active lifecycle and remain usable with archived toolchains.
Does ST90R158Q6 support in-circuit debugging?
Yes - the device implements a dedicated debug interface accessible via the RESET pin and specific I/O lines, enabling non-intrusive breakpoint setting, register inspection, and real-time memory read/write through the ST9 RTE. No JTAG port is present; debugging relies on proprietary ST9 protocol over dedicated pins.
Can ST90R158Q6 operate from a 3.3 V supply?
No - ST90R158Q6 supports only two supply ranges: 2.7–3.3 V or 4.5–5.5 V. Operation at exactly 3.3 V falls within the lower range, but the datasheet specifies strict 2.7 V minimum and requires stable regulation. The TQFP80 package variant is qualified for both ranges, unlike PQFP80 which is limited to 4.5–5.5 V.
ST90R158Q6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 80-BQFP
- Series:
- ST9
- Packaging:
- Bulk
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- ST9
- Core Size:
- 8/16-Bit
- Speed:
- 24MHz
- Connectivity:
- EBI/EMI, I2C, SCI, SPI
- Peripherals:
- DMA, POR, PWM, WDT
- Number of I/O:
- 67
- Program Memory Size:
- -
- Program Memory Type:
- ROMless
- EEPROM Size:
- -
- RAM Size:
- 2K x 8
- Voltage - Supply (Vcc/Vdd):
- 4.5V ~ 5.5V
- Data Converters:
- A/D 8x8b
- Oscillator Type:
- External
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
ST90R158Q6 FAQ
1.How can I place an order for ST90R158Q6 through Aetrix?
Please submit a Request for Quotation (RFQ) for ST90R158Q6 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 ST90R158Q6 reliable?
The price and inventory of ST90R158Q6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for ST90R158Q6 is usually 5 days.
3.What payment methods are accepted for ST90R158Q6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for ST90R158Q6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for ST90R158Q6?
ST90R158Q6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your ST90R158Q6 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 ST90R158Q6?
For technical support, including ST90R158Q6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your ST90R158Q6 requirements.
6.How does Aetrix verify that ST90R158Q6 is sourced from the original manufacturer or authorized distributors?
All ST90R158Q6 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 ST90R158Q6 meets industry standards.
7.What is the process for return or replacement of ST90R158Q6?
All ST90R158Q6 units undergo pre-shipment inspection (PSI). If there is an issue with ST90R158Q6, 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 ST90R158Q6 part is unused and in its original packaging.
Return procedure for ST90R158Q6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
ST90R158Q6 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
A practical engineering and sourcing framework covering lifecycle verification, lifetime-buy calculations, replacement qualification, supplier checks and counterfeit-risk controls.
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…

