STMicroelectronics ST7FOXF1M6
- Part No.:
- ST7FOXF1M6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-SOIC (0.295", 7.50mm Width)
- Datasheet:
-
ST7FOXF1M6.pdf
- Description:
- IC MCU 8BIT 4KB FLASH 20SOIC
- Quantity:
- Payment:

- Shipping:

Inventory:1,920
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
ST7FOXF1M6 from STMicroelectronics is an 8-bit Flash microcontroller featuring 4 KB XFlash program memory, 384 bytes RAM, integrated SPI and I²C interfaces, 10-bit ADC with up to 10 channels, six timers (including dual 12-bit auto-reload timers with 4 PWM outputs), and five power-saving modes. It operates from a single 2.7–5.5 V supply and targets embedded control in industrial sensors and low-power metering systems.
For engineers reviewing the ST7FOXF1M6 datasheet, ST7FOXF1M6 pinout, ST7FOXF1M6 application, or ST7FOXF1M6 equivalent, key selection criteria include its single-voltage Flash endurance (1K write/erase cycles), internal 8 MHz RC oscillator with trimming, LVD reset supervision, high-sink I/O capability (up to 8 pins), and support for In-Application Programming (IAP) in resource-constrained designs.
Technical Context
The ST7FOXF1M6 implements the ST7 CPU core with 63 basic instructions, 17 addressing modes, and illegal opcode detection. Its clock system integrates three oscillators: trimmable 8 MHz RC, auto-wakeup low-frequency RC, and external crystal/resonator support - enabling dynamic mode switching between active and ultra-low-power Halt/Wait states.
Peripheral integration includes a multimaster I²C interface compliant with standard/fast-mode timing, a full-duplex SPI supporting master/slave operation with configurable phase/polarity, and a 10-bit ADC with programmable sampling time and scan mode - all accessible via dedicated interrupt vectors and managed through memory-mapped registers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit ST7 CPU with 63 instructions and 17 addressing modes; enables compact firmware and deterministic real-time response. |
| Flash Memory | 4 Kbytes single-voltage XFlash with Read-Out Protection; supports field updates via ICP/IAP without external voltage programming. |
| RAM Size | 384 bytes of on-chip SRAM; sufficient for stack, variables, and small buffers in sensor node or actuator control firmware. |
| ADC Resolution | 10-bit successive approximation ADC with up to 10 input channels; delivers ±1 LSB INL for precision analog monitoring. |
| Timers | Dual 12-bit auto-reload timers (4 PWM outputs, dead-time generation), dual 8-bit Lite timers, and one 16-bit timer; supports motor control, signal generation, and time-critical event capture. |
| I/O Capability | Up to 24 multifunctional bidirectional I/Os, including 8 high-sink outputs (20 mA); drives LEDs, relays, and discrete loads directly. |
| Power Modes | Five modes: Halt (0.3 µA), Active-Halt, Auto Wakeup from Halt, Wait, and Slow; enables sub-µA sleep with configurable wake sources. |
Pinout & Package
LQFP32 package (7 × 7 mm, 0.8 mm pitch) with 32-pin quad flat lead frame; thermally enhanced for industrial ambient operation up to 85 °C.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Supply voltage input | Primary 2.7–5.5 V power rail; decoupling required within 10 mm of pin for stable core/peripheral operation. |
| VSS | Ground reference | Digital ground return path; must be low-impedance and separated from analog ground if ADC used with precision references. |
| PA0–PA7 | Port A bidirectional I/O | 8-bit port with alternate functions including ADC inputs, SPI signals, and timer outputs; supports pull-up/pull-down configuration. |
| PB0–PB7 | Port B bidirectional I/O | 8-bit port with I²C SDA/SCL, reset input, and external interrupt capability; includes high-sink outputs (PB0–PB7). |
| PC0–PC7 | Port C bidirectional I/O | 8-bit port with UART, timer inputs, and clock source options; shares pins with oscillator connections (OSCIN/OSCOUT). |
| NRST | Active-low reset input | Asynchronous external reset pin; triggers hardware reset and clears all registers; compatible with open-drain or push-pull drivers. |
| CLK | External clock input | Accepts external clock source (0–8 MHz) or crystal/resonator (1–8 MHz); enables precise timing when internal RC is insufficient. |
Key Features
| Feature | Design Value |
|---|---|
| In-Application Programming (IAP) | Enables firmware updates during runtime without halting system operation - critical for remote field devices requiring zero-downtime upgrades. |
| Low Voltage Detector (LVD) | Monitors VDD and asserts reset below programmable threshold (2.5 V / 2.8 V / 3.0 V / 3.3 V); prevents erratic behavior during brown-out conditions. |
| Dual 12-bit auto-reload timers | Provide four independent PWM outputs with programmable dead-time insertion - supports brushless DC motor commutation and digital power control. |
| Auto Wakeup from Halt mode | Uses internal low-frequency RC oscillator to wake MCU after programmable delay (1 ms–1 s); eliminates need for external wake timer ICs. |
| High-sink I/O capability | Eight pins deliver 20 mA sink current each - directly drives LEDs, small solenoids, or optocouplers without external drivers. |
Applications
| Industrial Sensor Node | Smart Energy Meter |
|---|---|
|
Use Scenario: Compact battery-powered temperature/humidity sensor with wireless telemetry. IC Role / Device Role / Timing Role: Central controller managing ADC sampling, SPI communication with RF transceiver, and low-power state transitions. Use Value: Auto Wakeup from Halt mode extends battery life by >3× versus continuous polling; 4 KB Flash accommodates sensor fusion algorithms and OTA update handler. |
Use Scenario: Residential electricity meter with pulse counting, LCD display, and tamper detection. IC Role / Device Role / Timing Role: Main metering controller executing tariff calculation, real-time clock management, and secure data logging. Use Value: Dual 12-bit timers generate precise 50/60 Hz sync pulses for energy integration; LVD ensures accurate measurement during grid voltage dips. |
| Motor Control Module | Home Appliance Controller |
|
Use Scenario: Brushless DC fan driver in HVAC system with speed regulation and thermal protection. IC Role / Device Role / Timing Role: Real-time PWM generator and fault monitor interfacing with gate drivers and current sense circuitry. Use Value: Dead-time generation prevents shoot-through in half-bridge inverters; 10-bit ADC measures phase currents with <1% error at 25 °C. |
Use Scenario: Washing machine main board controlling water valves, pump, heater, and user interface. IC Role / Device Role / Timing Role: System coordinator handling I²C touch panel, relay sequencing, and safety interlocks. Use Value: High-sink I/Os drive 12 V relays directly; 384 bytes RAM supports multitask state machines for wash cycle sequencing. |
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 ST8 core, 8 KB Flash, 1 KB RAM, higher clock (16 MHz), but no auto-wakeup RC oscillator. | Better suited for higher-performance control loops; lacks ST7FOXF1M6's ultra-low-power Halt mode current (<0.5 µA). | Select when processing throughput >2× is required and power budget allows ~2 µA standby. |
| EFM8BB10F8G-A-QFN20 | Silicon Labs 8051 core, 8 KB Flash, 512 bytes RAM, integrated USB, but only 12 I/O pins and no dedicated PWM dead-time control. | Preferred for USB-connected appliances; lacks ST7FOXF1M6's high-sink I/O and dual 12-bit timer PWM flexibility. | Choose when native USB device interface is mandatory and motor control complexity is low. |
Compared with STM8S003F3P6 and EFM8BB10F8G-A-QFN20, the ST7FOXF1M6 offers superior ultra-low-power operation and integrated high-drive I/O, making it optimal for cost-sensitive, battery-operated industrial controls where PWM precision and sub-µA sleep are critical.
Availability
ST7FOXF1M6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart energy meters, motor control modules, and home appliance controllers requiring stable component supply across multi-year production cycles.
Supply support for ST7FOXF1M6 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, and MEMS sensors for industrial, automotive, and consumer markets.
The ST7 family was engineered for cost-effective, ultra-low-power embedded control in resource-constrained applications - emphasizing Flash endurance, mixed-signal integration, and robust operation across extended temperature ranges.
FAQ
Does ST7FOXF1M6 support in-system programming via its SPI interface?
No. ST7FOXF1M6 uses the ICC (In-Circuit Communication) interface - a dedicated 4-wire serial protocol - for In-Circuit Programming (ICP). The SPI peripheral is reserved for application-level communication and cannot be repurposed for Flash programming. ICC requires dedicated pins (ICCCLK, ICCDAT, NRST, VDD) and is supported by ST's STVP and ST-LINK tools.
What is the maximum ADC conversion rate and how is it configured?
The ST7FOXF1M6 ADC achieves up to 100 kSPS with a 1 MHz ADC clock derived from the system clock via programmable prescaler. Conversion time is fixed at 13 ADC clock cycles per sample (13 µs at 1 MHz), and scan mode allows automatic sequencing across up to 10 channels without CPU intervention.
Can the internal 8 MHz RC oscillator be calibrated for improved accuracy?
Yes. The internal RC oscillator can be trimmed using the RCCRH/RCCRL registers to adjust frequency within ±1% over temperature and voltage. Calibration data is stored in option bytes or loaded dynamically from EEPROM, enabling compensation for process variation without external crystal.
Is ST7FOXF1M6 qualified for automotive applications?
No. ST7FOXF1M6 is specified for industrial temperature range (−40 to +85 °C) and carries industrial-grade qualification (IEC 60730 Class B support), but lacks AEC-Q100 certification, automotive-specific failure-in-time (FIT) data, or extended temperature grade (−40 to +125 °C) required for automotive ECUs.
ST7FOXF1M6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-SOIC (0.295", 7.50mm Width)
- Series:
- ST7
- Packaging:
- Tube
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- ST7
- Core Size:
- 8-Bit
- Speed:
- 8MHz
- Connectivity:
- I2C
- Peripherals:
- LVD, POR, PWM, WDT
- Number of I/O:
- 16
- Program Memory Size:
- 4KB (4K 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:
ST7FOXF1M6 FAQ
1.How can I place an order for ST7FOXF1M6 through Aetrix?
Please submit a Request for Quotation (RFQ) for ST7FOXF1M6 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 ST7FOXF1M6 reliable?
The price and inventory of ST7FOXF1M6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for ST7FOXF1M6 is usually 5 days.
3.What payment methods are accepted for ST7FOXF1M6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for ST7FOXF1M6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for ST7FOXF1M6?
ST7FOXF1M6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your ST7FOXF1M6 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 ST7FOXF1M6?
For technical support, including ST7FOXF1M6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your ST7FOXF1M6 requirements.
6.How does Aetrix verify that ST7FOXF1M6 is sourced from the original manufacturer or authorized distributors?
All ST7FOXF1M6 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 ST7FOXF1M6 meets industry standards.
7.What is the process for return or replacement of ST7FOXF1M6?
All ST7FOXF1M6 units undergo pre-shipment inspection (PSI). If there is an issue with ST7FOXF1M6, 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 ST7FOXF1M6 part is unused and in its original packaging.
Return procedure for ST7FOXF1M6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
ST7FOXF1M6 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…

