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

- Shipping:

Inventory:2,616
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
ST72F321R6T6 from STMicroelectronics is an 8-bit Flash microcontroller in LQFP64 (14 × 14 mm) package, featuring 32 KB on-chip HDFlash, 1 KB RAM, 10-bit ADC with 16 input channels, five timers (including PWM auto-reload and dual 16-bit timers), and three serial interfaces (SPI, SCI, I²C). It operates from 3.8–5.5 V across –40 to +85°C and targets industrial control panels requiring deterministic real-time response, low-power sensor node firmware, and embedded HMI subsystems.
For engineers reviewing the ST72F321R6T6 datasheet, ST72F321R6T6 pinout, ST72F321R6T6 application, or ST72F321R6T6 equivalent, this MCU delivers verified in-application programming (IAP), nested interrupt handling with 14 vectors, PLL-based clock multiplication, four power-saving modes (Halt/Active-Halt/Wait/Slow), and high-sink I/O capability-critical for direct LED driving and relay interface design.
Technical Context
The ST72F321R6T6 implements the ST7 core with 63 basic instructions and 17 addressing modes, supporting 8 × 8 unsigned multiply. Its clock system integrates crystal/resonator oscillators, internal RC oscillator, external clock bypass, and a 2× PLL for frequency scaling-enabling precise timing control in motor control loops and communication baud rate generation.
Interrupt management uses a nested controller with Top-Level Interrupt (TLI) support on 64-pin variants and 15 external interrupt lines mapped across four vectors. Peripheral integration includes a configurable watchdog timer, main clock controller with RTC/beeper, and dedicated hardware for SPI frame synchronization, SCI framing/parity, and I²C multimaster arbitration-all accessible via memory-mapped registers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | ST7 8-bit CISC CPU with 63 instructions and 17 addressing modes; enables compact firmware and deterministic cycle-counted ISR execution. |
| Flash Memory | 32 KB HDFlash with read-out protection and 100-program/erase cycles; supports in-application programming for field firmware updates. |
| RAM Size | 1024 bytes RAM + 256-byte stack; sufficient for real-time task context storage and small buffer handling in SCI/I²C protocols. |
| ADC Resolution | 10-bit successive-approximation ADC with up to 16 input channels; provides ±1 LSB INL for analog sensor signal digitization. |
| Timers | Five independent timers: 16-bit (×2), 8-bit PWM auto-reload, main clock controller (RTC/beeper), and watchdog; enables simultaneous PWM generation, time-stamped event capture, and fail-safe timeout monitoring. |
| Communication Interfaces | SPI (master/slave), SCI (asynchronous UART with framing/parity), I²C (multimaster); supports daisy-chained sensors, RS-232/485 gateways, and EEPROM configuration storage. |
| Supply Voltage | 3.8 V to 5.5 V operation; compatible with standard 5 V industrial bus rails and tolerant of brown-out conditions down to 3.8 V. |
| Temperature Range | –40°C to +85°C; validated for use in non-automotive industrial enclosures without active thermal management. |
Pinout & Package
LQFP64 (14 × 14 mm, 0.5 mm pitch) package with exposed thermal pad; RoHS-compliant, moisture-sensitive level 3.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core and I/O rail decoupling; mandatory 100 nF ceramic capacitor per VDD pin. |
| OSCIN/OSCOUT | Crystal/resonator interface | Supports 1–8 MHz quartz crystals or ceramic resonators; internal load capacitors eliminate external caps in basic configurations. |
| RESET | Asynchronous reset input | Active-low, Schmitt-triggered; initiates full hardware reset including peripheral register initialization and flash boot vector fetch. |
| TLI | Top-Level Interrupt input | Non-maskable interrupt source with highest priority; used for emergency stop or safety-critical fault signaling. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7 | General-purpose I/O ports | 48 total bidirectional pins; 16 support high-sink (20 mA) for direct LED/relay drive without external drivers. |
| CLKOUT, TLI, BEP, SDA, SCL, MOSI, MISO, SCK, TX, RX | Alternate function pins | Shared with GPIO; configured via peripheral enable registers and port control bits-no hardware multiplexing conflicts. |
Key Features
| Feature | Design Value |
|---|---|
| In-Application Programming (IAP) | Enables firmware updates over SCI or SPI without external programmer; critical for remote device maintenance and OTA-like field upgrades. |
| Nested Interrupt Controller | 14 vectored interrupts plus TRAP/RESET; allows prioritized servicing of time-critical events (e.g., ADC conversion complete before PWM update). |
| Four Power-Saving Modes | Halt (CPU stopped, peripherals active), Active-Halt (CPU halted, clocks running), Wait (CPU + peripherals clock-gated), Slow (reduced system clock); reduces active current to <1 µA in Halt mode. |
| Enhanced Low-Voltage Detector (LVD) | Programmable threshold with interrupt capability; triggers early warning before brown-out, enabling graceful state save and controlled shutdown. |
| Hardware Watchdog Timer | Configurable timeout (1–65 ms); resets MCU if firmware hangs-essential for unattended industrial controllers. |
| 10-Bit ADC with 16 Inputs | Simultaneous sampling not supported, but sequencer allows automatic channel scanning; ideal for multi-sensor environmental monitoring. |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Closed-loop speed regulation of 3-phase BLDC motors using hall-effect feedback and six-step commutation. IC Role / Device Role / Timing Role: Primary controller executing PWM timing, ADC sampling of current/voltage, and SCI-based host command parsing. Use Value: Integrated 16-bit timers with PWM outputs and input capture provide sub-microsecond phase alignment; 32 KB Flash stores complex commutation tables and PID coefficients. |
Use Scenario: Battery-powered temperature/humidity/pressure node transmitting data via RS-485 to central PLC. IC Role / Device Role / Timing Role: Sensor aggregator and protocol translator managing I²C sensor reads, SCI UART framing, and low-power wake-on-event. Use Value: Four power-saving modes reduce average current to <50 µA in Wait mode; 10-bit ADC achieves ±0.5°C temperature resolution with NTC thermistors. |
| Human-Machine Interface (HMI) | Power Supply Monitoring |
Use Scenario: Keypad-driven display panel with LED backlight dimming and button debouncing logic. IC Role / Device Role / Timing Role: Input scanner, PWM backlight driver, and SPI interface to character LCD or OLED display controller. Use Value: 16 high-sink I/O pins directly drive LEDs and tactile switches; built-in beeper generator eliminates external audio components. |
Use Scenario: Real-time monitoring of 24 V DC input rail voltage, current, and temperature in DIN-rail mounted PSUs. IC Role / Device Role / Timing Role: Analog front-end processor capturing voltage/current via resistive dividers and shunt sensing, logging faults to EEPROM. Use Value: LVD and AVD circuits detect undervoltage/overvoltage conditions with interrupt-driven response; 32 KB Flash stores extended fault history and calibration data. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8S105K4T6 | STM8 core, 16 KB Flash, 2 KB RAM, higher clock speed (16 MHz), no TLI pin | Lacks top-level interrupt; requires software-based NMI emulation for safety-critical edge detection | Preferred when higher code density and faster execution are needed, but TLI is not required |
| EFM8BB52F16G-A-QFP64 | Silicon Labs 8051 core, 16 KB Flash, 2.25 KB RAM, integrated USB, no native I²C multimaster | USB interface replaces SCI for PC connectivity; I²C slave-only limits sensor network topology | Chosen for USB-CDC host communication needs where I²C master functionality is secondary |
Compared with STM8S105K4T6 and EFM8BB52F16G-A-QFP64, the ST72F321R6T6 uniquely combines TLI support, true I²C multimaster capability, and verified IAP over SCI-making it optimal for legacy industrial designs requiring deterministic fault response and field-upgradable firmware without toolchain migration.
Availability
ST72F321R6T6 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, human-machine interface (HMI) panels, and power supply monitoring systems requiring stable component supply and long-term production continuity.
Supply support for ST72F321R6T6 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 industrial, automotive, and consumer markets.
The ST7 family was engineered for cost-sensitive, real-time embedded control applications demanding high I/O count, robust peripheral integration, and field-programmable Flash-targeting industrial automation, appliance control, and building management systems.
FAQ
Does ST72F321R6T6 support in-circuit programming (ICP) via its standard pins?
Yes. The ST72F321R6T6 supports In-Circuit Programming through the SCI interface using the standard UART pins (TX/RX) and RESET pin, without requiring dedicated debug headers. This enables factory programming and field reprogramming using ST's STVP software and compatible UART-to-USB adapters, provided the BOOT bit is set during reset entry.
What is the maximum ADC sampling rate achievable with the 10-bit converter?
The ADC achieves a maximum conversion rate of 125 kSPS under typical conditions (VDD = 5 V, fADC = 1 MHz). Each conversion requires 13 clock cycles, and the sample-and-hold is internally synchronized to the ADC clock-enabling accurate measurement of signals up to ~40 kHz bandwidth with proper anti-aliasing filtering.
Can the PWM auto-reload timer generate complementary outputs with dead-time insertion?
No. The 8-bit PWM auto-reload timer (ART) supports four independent PWM outputs but lacks hardware dead-time generation or complementary pair control. Dead-time must be implemented in firmware using timer compare interrupts and GPIO toggling, limiting minimum controllable dead-time to ~2 µs at 16 MHz system clock.
Is the LQFP64 package of ST72F321R6T6 lead-free and RoHS compliant?
Yes. The ST72F321R6T6 in LQFP64 (14 × 14 mm) package is manufactured with lead-free terminations and fully complies with EU RoHS Directive 2011/65/EU and REACH Regulation (EC) No. 1907/2006, with homogeneous material declarations available upon request from STMicroelectronics.
ST72F321R6T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 64-LQFP
- Series:
- ST7
- Packaging:
- Tray
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- ST7
- Core Size:
- 8-Bit
- Speed:
- 8MHz
- Connectivity:
- I2C, SCI, SPI
- Peripherals:
- LVD, POR, PWM, WDT
- Number of I/O:
- 48
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 1K x 8
- Voltage - Supply (Vcc/Vdd):
- 3.8V ~ 5.5V
- Data Converters:
- A/D 16x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
ST72F321R6T6 FAQ
1.How can I place an order for ST72F321R6T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for ST72F321R6T6 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 ST72F321R6T6 reliable?
The price and inventory of ST72F321R6T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for ST72F321R6T6 is usually 5 days.
3.What payment methods are accepted for ST72F321R6T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for ST72F321R6T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for ST72F321R6T6?
ST72F321R6T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your ST72F321R6T6 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 ST72F321R6T6?
For technical support, including ST72F321R6T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your ST72F321R6T6 requirements.
6.How does Aetrix verify that ST72F321R6T6 is sourced from the original manufacturer or authorized distributors?
All ST72F321R6T6 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 ST72F321R6T6 meets industry standards.
7.What is the process for return or replacement of ST72F321R6T6?
All ST72F321R6T6 units undergo pre-shipment inspection (PSI). If there is an issue with ST72F321R6T6, 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 ST72F321R6T6 part is unused and in its original packaging.
Return procedure for ST72F321R6T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
ST72F321R6T6 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…

