STMicroelectronics ST7FOXK2T6
- Part No.:
- ST7FOXK2T6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-LQFP
- Datasheet:
-
ST7FOXK2T6.pdf
- Description:
- IC MCU 8BIT 8KB FLASH 32LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:4,000
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
ST7FOXK2T6 from STMicroelectronics is an 8-bit Flash microcontroller featuring 8 Kbytes of single-voltage XFlash program memory, 384 bytes of RAM, integrated SPI and I²C interfaces, a 10-bit ADC with up to 10 input channels, and six timers-including dual 12-bit auto-reload timers with PWM and dead-time generation-targeted for cost-sensitive industrial control and sensor interface applications.
For engineers reviewing the ST7FOXK2T6 datasheet, ST7FOXK2T6 pinout, ST7FOXK2T6 application, or ST7FOXK2T6 equivalent, key selection considerations include its 8 MHz internal RC oscillator with trimming, five low-power modes (Halt, Active-Halt, Auto Wakeup from Halt, Wait, Slow), high-sink I/O capability (up to 8 pins), and in-application programming (IAP) support for field firmware updates.
Technical Context
The ST7FOXK2T6 implements a Harvard-architecture 8-bit CPU with 63 basic instructions, 17 addressing modes, and hardware 8×8 unsigned multiply. Its clock system integrates a trimmable 8 MHz RC oscillator, auto-wakeup low-frequency oscillator, and external crystal/ceramic or clock input support-managed via dedicated RCC_CSR, MCCSR, and CKCNTCSR registers.
Interrupt handling supports 13 vectors plus TRAP and RESET, with software-configurable priority via ISPRx registers. Peripheral timing is synchronized through a centralized prescaler (PSCR) and independent timer control registers-including AWUCSR for auto-wakeup events and dual 12-bit timer mode configuration registers enabling enhanced one-pulse and input capture functions.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit ST7 CPU with Harvard bus, 63 instructions, 17 addressing modes |
| Flash Memory | 8 Kbytes XFlash with Read-Out Protection, 1K write/erase cycles, 20-year data retention at 55 °C |
| RAM | 384 bytes static RAM for variable storage and stack operations |
| ADC | 10-bit successive approximation ADC with up to 10 analog inputs and programmable sampling time |
| Timers | Dual 12-bit auto-reload timers (4 PWM outputs, dead-time, input capture), dual 8-bit Lite timers, one 16-bit timer |
| I/O Ports | Up to 24 multifunctional bidirectional I/Os; 8 pins support high-sink (20 mA) output for direct LED/drivers |
| Power Modes | Five modes: Halt (0.3 µA), Active-Halt, Auto Wakeup from Halt, Wait, Slow-enabling ultra-low-power sensor polling |
Pinout & Package
LQFP32 package (7 × 7 mm, 0.8 mm pitch) with 32-pin quad flat lead-free封装. Pin functions mapped per ST's official pin description table (Section 2, p.15).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Supply voltage | Core and I/O power rail (2.95–5.5 V); decoupling required at pin |
| VSS | Ground reference | Digital ground return path; separate analog ground not provided |
| PA0–PA7 | Port A I/O | Bidirectional port with alternate functions including ADC inputs, SPI, I²C, and timer outputs |
| PB0–PB7 | Port B I/O | Bidirectional port supporting high-sink outputs (20 mA) on PB0–PB7 for direct actuator drive |
| PC0–PC7 | Port C I/O | Multifunction port with crystal oscillator inputs (PC6/PC7), reset (PC3), and debug module (DM) signals |
| PD0–PD7 | Port D I/O | General-purpose I/O with interrupt-on-change capability and analog alternate function support |
| OSCIN/OSCOUT | Clock input/output | Connects to external crystal (1–8 MHz) or ceramic resonator; internal RC oscillator bypassable |
| RESET | Asynchronous reset input | Active-low, Schmitt-triggered; initiates cold start or watchdog recovery sequence |
Key Features
| Feature | Design Value |
|---|---|
| In-Application Programming (IAP) | Enables firmware update without external programmer via user code executing from RAM or protected Flash sector |
| Auto Wakeup from Halt | Uses internal low-frequency oscillator to trigger wake-up events (e.g., timer expiry, external interrupt) while consuming ≤0.3 µA |
| Dual 12-bit Timer PWM | Generates complementary PWM pairs with programmable dead-time insertion for motor gate drive safety |
| Integrated LVD Reset | Low Voltage Detector monitors VDD and asserts hardware reset below 2.7 V (±0.1 V), preventing erratic operation |
| Hardware Debug Module (DM) | On-chip debug interface supporting full-speed execution control, register inspection, and breakpoint setting via SWD-compatible protocol |
Applications
| Industrial Sensor Node | Smart HVAC Actuator |
|---|---|
|
Use Scenario: Battery-powered temperature/humidity node with local display and wireless reporting. IC Role / Device Role / Timing Role: Main controller managing ADC sampling, SPI communication to RF transceiver, and low-power sleep/wake scheduling. Use Value: Auto Wakeup from Halt mode enables 10-second periodic sampling with sub-µA quiescent current, extending battery life beyond 5 years. |
Use Scenario: Fan speed and damper position control in commercial HVAC systems. IC Role / Device Role / Timing Role: Real-time PWM generator for BLDC fan drivers and I²C master for digital thermostat sensors. Use Value: Dual 12-bit timers deliver precise 16-bit resolution PWM with dead-time control, eliminating external gate driver ICs. |
| Programmable Power Supply Monitor | Legacy Equipment Retrofit Controller |
|
Use Scenario: DIN-rail mounted AC/DC supply with overvoltage, undervoltage, and thermal shutdown logging. IC Role / Device Role / Timing Role: System supervisor using LVD, ADC monitoring of rail voltages, and nonvolatile event logging to Flash. Use Value: Read-Out Protection and Flash write/erase protection prevent unauthorized firmware modification during field service. |
Use Scenario: Replacing obsolete 8051-based logic in legacy PLC I/O modules with minimal board redesign. IC Role / Device Role / Timing Role: Drop-in replacement MCU providing same pin-compatible I/O mapping and interrupt latency profile. Use Value: Identical LQFP32 footprint and 24 I/O count enable direct PCB reuse; ST7 instruction set ensures near-identical assembly migration path. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8S003F3P6 | Enhanced 16-MHz STM8 core, 8 Kbytes Flash, 1 Kbyte RAM, no XFlash endurance guarantee | Higher performance but lacks IAP and auto-wakeup oscillator calibration; requires external reset IC | Preferred for new designs needing higher throughput; not suitable where field firmware update or ultra-low-power wake timing precision is critical |
| EFM8BB10F8G-A-QSOP24 | Silicon Labs 8051 core, 8 Kbytes Flash, 512 bytes RAM, integrated USB interface, 2.5–3.6 V only | USB-native connectivity replaces need for external UART-to-USB bridge; narrower VDD range limits supply flexibility | Best when USB device enumeration and HID-class interface are required; unsuitable for 5 V industrial bus environments |
Compared with STM8S003F3P6 and EFM8BB10F8G-A-QSOP24, the ST7FOXK2T6 uniquely balances Flash endurance, IAP reliability, and multi-voltage operation (2.95–5.5 V) for long-lifecycle industrial deployments where firmware update integrity and wide supply tolerance are non-negotiable.
Availability
ST7FOXK2T6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart HVAC actuators, programmable power supply monitors, and legacy equipment retrofit controllers requiring stable component supply across extended product lifecycles.
Supply support for ST7FOXK2T6 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 devices, sensors, and analog ICs for automotive, industrial, and consumer markets.
The ST7 family was engineered specifically for cost-optimized, low-power 8-bit control in industrial automation, appliance control, and sensor interface applications-prioritizing Flash reliability, mixed-signal integration, and robustness in harsh electrical environments.
FAQ
Does ST7FOXK2T6 support true in-system programming (ISP) via its ICC interface?
Yes. The ST7FOXK2T6 implements an on-chip ICC (In-Circuit Communication) interface compliant with ST's standard protocol, enabling full Flash erase, program, and verification using a 4-wire connection (VDD, VSS, ICCCLK, ICCDAT). This allows programming after soldering without removing the device from the PCB, provided the target board supplies regulated VDD and exposes the ICC pins.
What is the maximum guaranteed ADC accuracy across temperature and supply voltage?
The ST7FOXK2T6 ADC achieves ±2 LSB integral nonlinearity (INL) and ±1.5 LSB differential nonlinearity (DNL) over the full operating range (–40 to +85 °C, VDD = 2.95–5.5 V), as specified in Section 12.11 of the datasheet. Calibration is factory-performed; no user trimming is required for this accuracy level.
Can the internal 8 MHz RC oscillator be trimmed in-circuit, and what is the achievable accuracy?
Yes. The RCCRH/RCCRL registers allow real-time adjustment of the internal RC oscillator frequency in steps of approximately 0.5%, achieving ±1% accuracy over temperature and voltage when calibrated against an external reference (e.g., crystal or scope-measured signal). Trim values persist across power cycles if stored in option bytes.
Is the ST7FOXK2T6 pin-compatible with other ST7FOX variants like ST7FOXK1 or ST7FOXF1?
No. While sharing the same LQFP32 package, ST7FOXK2T6 has distinct pin mappings for peripheral functions (e.g., I²C SDA/SCL, SPI MOSI/MISO) versus ST7FOXK1 and ST7FOXF1. Pin compatibility is limited to power (VDD/VSS), reset, and basic I/O; peripheral routing and alternate function assignments differ and require schematic review per device-specific pin description tables.
ST7FOXK2T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-LQFP
- Series:
- ST7
- Packaging:
- Tray
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- ST7
- Core Size:
- 8-Bit
- Speed:
- 8MHz
- Connectivity:
- I2C, SPI
- Peripherals:
- LVD, POR, PWM, WDT
- Number of I/O:
- 24
- Program Memory Size:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 384 x 8
- Voltage - Supply (Vcc/Vdd):
- 4.5V ~ 5.5V
- Data Converters:
- A/D 10x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
ST7FOXK2T6 FAQ
1.How can I place an order for ST7FOXK2T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for ST7FOXK2T6 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 ST7FOXK2T6 reliable?
The price and inventory of ST7FOXK2T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for ST7FOXK2T6 is usually 5 days.
3.What payment methods are accepted for ST7FOXK2T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for ST7FOXK2T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for ST7FOXK2T6?
ST7FOXK2T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your ST7FOXK2T6 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 ST7FOXK2T6?
For technical support, including ST7FOXK2T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your ST7FOXK2T6 requirements.
6.How does Aetrix verify that ST7FOXK2T6 is sourced from the original manufacturer or authorized distributors?
All ST7FOXK2T6 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 ST7FOXK2T6 meets industry standards.
7.What is the process for return or replacement of ST7FOXK2T6?
All ST7FOXK2T6 units undergo pre-shipment inspection (PSI). If there is an issue with ST7FOXK2T6, 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 ST7FOXK2T6 part is unused and in its original packaging.
Return procedure for ST7FOXK2T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
ST7FOXK2T6 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 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…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

