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

- Shipping:

Inventory:3,036
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
ST72F321R6TC from STMicroelectronics is an 8-bit microcontroller featuring 32KB Flash program memory, 1024-byte RAM, 10-bit ADC with up to 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.8V to 5.5V across –40°C to +85°C and targets industrial motor control, sensor interface modules, and embedded power management systems.
For engineers reviewing the ST72F321R6TC datasheet, ST72F321R6TC pinout, ST72F321R6TC application, or ST72F321R6TC equivalent, this MCU delivers deterministic real-time control with nested interrupts, four low-power modes (Halt, Active-Halt, Wait, Slow), and in-application programming support-critical for field-upgradable firmware in constrained embedded designs.
Technical Context
This MCU integrates a 16MHz max CPU clock (via internal RC, crystal, or PLL ×2 multiplication), enhanced low-voltage supervisor (LVD) with interrupt capability, and auxiliary voltage detector (AVD) for analog monitoring. Its nested interrupt controller supports 14 vectors plus TRAP/RESET and Top Level Interrupt (TLI) on 64-pin variants.
The peripheral set includes a Main Clock Controller with RTC/beep/clock-out functions, configurable watchdog timer, and 48 multifunctional I/O lines (34 alternate function capable, 10 high-sink outputs). All peripherals are register-mapped and accessible via ST's standard ST7 architecture instruction set.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit ST7 CPU with 63 instructions and 17 addressing modes-enables compact code footprint and predictable interrupt latency. |
| Flash Memory | 32KB High-Density Flash with read-out protection and 100-cycle endurance-supports secure in-application updates without external programmer. |
| RAM Size | 1024 bytes (256-byte stack)-sufficient for real-time task stacks and small data buffers in sensor fusion or motor commutation routines. |
| ADC Resolution | 10-bit SAR ADC with up to 16 input channels-provides ±1 LSB INL for precision analog sensing in temperature, current, or voltage monitoring. |
| Timers | Five independent timers: 1x MCC/RTC/beep, 1x configurable WDG, 2x 16-bit (input capture/output compare/PWM), 1x 8-bit PWM auto-reload-enables simultaneous motor phase timing, fault detection, and UI beeping. |
| Serial Interfaces | SPI (master/slave), SCI (asynchronous UART), I²C (multimaster)-allows concurrent communication with displays, EEPROMs, sensors, and host controllers. |
| Supply Range | 3.8V to 5.5V-compatible with industrial 5V rails and tolerant of brown-out conditions down to LVD threshold (~3.6V). |
| Operating Temp | –40°C to +85°C-qualified for extended-temperature industrial environments including HVAC controls and factory automation nodes. |
Pinout & Package
LQFP64 14 × 14 mm package with 64 leads; thermally enhanced exposed pad (EPAD) for improved heat dissipation in continuous operation.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core and I/O rail decoupling; EPAD must be soldered to PCB ground plane. |
| OSCIN/OSCOUT | Crystal/resonator interface | Supports 1–16 MHz crystals or ceramic resonators; internal load capacitors eliminate need for external caps in basic configurations. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7 | General-purpose I/O ports | 48 total bidirectional pins; 34 support alternate functions (e.g., TIM1_CH1, SPI_MOSI, SCI_TX); 10 drive ≥20 mA sink for LED/relay direct drive. |
| TLI | Top Level Interrupt input | Dedicated non-maskable interrupt pin for critical system events (e.g., emergency stop, overcurrent latch). |
| BOOT | Boot mode selection | Pulled high at reset to execute from Flash; pulled low to enter bootloader mode for ISP via SCI. |
Key Features
| Feature | Design Value |
|---|---|
| In-Application Programming (IAP) | Enables firmware updates over SCI or SPI without halting real-time tasks-essential for remote maintenance in deployed equipment. |
| Four Power Saving Modes | Halt (CPU off, peripherals active), Active-Halt (CPU off, selected peripherals running), Wait (clock gated, wake on interrupt), Slow (RC oscillator only)-reduces active current to <1 µA in Halt mode. |
| Nested Interrupt Controller | 14 priority-level vectors with automatic context save/restore-guarantees sub-2 µs latency for time-critical ISR entry (e.g., PWM edge capture). |
| Enhanced Low-Voltage Supervisor | Dual-threshold LVD (programmable trip points) with interrupt generation-prevents erratic behavior during brown-out and enables graceful shutdown sequences. |
| Hardware Watchdog with HALT option | WDGHALT feature allows watchdog timeout to trigger Halt mode instead of reset-preserves register state for post-fault diagnostics. |
Applications
| Industrial Motor Control | Sensor Interface Module |
|---|---|
|
Use Scenario: Brushless DC motor commutation with Hall-effect feedback and current sensing. IC Role / Device Role / Timing Role: Real-time PWM generation, ADC sampling synchronization, and fault-interrupt handling via TLI pin. Use Value: Precise 10-bit current measurement and 16-bit timer-based phase timing enable efficient torque control within ±1% speed regulation. |
Use Scenario: Multi-sensor node aggregating temperature, humidity, and analog pressure readings for building automation. IC Role / Device Role / Timing Role: Central sensor hub managing I²C slave devices, performing ADC conversions, and transmitting data via SCI UART. Use Value: Integrated 16-channel ADC and multimaster I²C reduce BOM count and simplify layout versus discrete ADC + microcontroller solutions. |
| Embedded Power Management | Human-Machine Interface (HMI) |
|
Use Scenario: AC/DC adapter supervisory unit monitoring input voltage, output current, and thermal status. IC Role / Device Role / Timing Role: System monitor executing periodic measurements, LVD-triggered alerts, and soft-start sequencing via PWM outputs. Use Value: Dual voltage detectors (LVD + AVD) provide independent thresholds for main rail and auxiliary bias monitoring-enabling layered fault response. |
Use Scenario: Keypad + LED display controller in industrial panel meters or test equipment. IC Role / Device Role / Timing Role: GPIO scanning for keypress detection, PWM dimming for LEDs, and beep tone generation via MCC/RTC module. Use Value: On-chip beep generator and 8-bit PWM auto-reload timer eliminate external audio drivers and LED driver ICs. |
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 | 32KB Flash, 1KB RAM, same 20MHz max CPU but STM8 core; lacks AVD and TLI pin; no hardware RTC/beep. | Better suited for cost-sensitive consumer HMI where advanced supervision features are unnecessary. | Select if migrating to modern STM8 toolchain and lower power (1.65–3.6V) is required-but verify absence of TLI and AVD meets safety requirements. |
| PIC16F1827-I/SP | 14KB Flash, 1KB RAM, 10-bit ADC (12 ch), single 16-bit timer; no I²C; different interrupt model (priority-based, not nested). | Appropriate for simpler sensor nodes where multimaster I²C and multiple PWM channels are unused. | Choose when leveraging Microchip's MPLAB ecosystem and legacy PIC codebase-but expect longer ISR latency and reduced peripheral concurrency. |
Compared with STM8S003F3P6 and PIC16F1827-I/SP, the ST72F321R6TC provides superior real-time determinism via nested interrupts, dedicated TLI for fail-safe response, and integrated AVD/LVD supervision-making it uniquely suitable for industrial control where fault containment and timing predictability are non-negotiable.
Availability
ST72F321R6TC is available at Aetrix Electronics and suitable for industrial motor control, sensor interface modules, and embedded power management requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for ST72F321R6TC 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-effective, deterministic 8-bit control in harsh industrial environments-emphasizing robustness, low-power operation, and integrated analog/mixed-signal peripherals.
FAQ
Does ST72F321R6TC support in-circuit programming (ICP) via its SCI interface?
Yes. The ST72F321R6TC supports In-Circuit Programming (ICP) through its SCI interface using the STVP (ST Visual Programmer) tool and compatible bootloaders. The BOOT pin must be held low during reset to enter ICP mode, and the SCI must be configured at 9600 baud with specific framing (8N1). No external high-voltage programmer is required.
What is the maximum achievable PWM frequency using the 8-bit Auto-Reload Timer (ART)?
With a 16MHz system clock and ART prescaler set to 1, the 8-bit auto-reload timer achieves a maximum PWM frequency of 62.5 kHz (16 MHz ÷ 256). Frequency resolution degrades linearly as prescaler values increase; for example, prescaler=8 yields 7.8125 kHz with 256-step duty cycle control.
Can the 10-bit ADC operate during Wait or Halt power-saving modes?
No. The ADC requires the CPU clock domain to be active and cannot sample in Halt or Wait modes. It remains functional in Active-Halt mode only if the ADC clock source (typically derived from CPU clock) is explicitly enabled via the CLK_CR register-otherwise, conversion halts upon entry to any low-power mode.
Is the TLI (Top Level Interrupt) pin electrically latched or edge-triggered?
The TLI pin is level-sensitive and internally latched. When asserted (low), it forces immediate entry into the highest-priority interrupt vector regardless of global interrupt enable status. The latch clears automatically after the corresponding ISR executes and the TLI signal returns high-no software clearing is required.
ST72F321R6TC 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 ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
ST72F321R6TC FAQ
1.How can I place an order for ST72F321R6TC through Aetrix?
Please submit a Request for Quotation (RFQ) for ST72F321R6TC 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 ST72F321R6TC reliable?
The price and inventory of ST72F321R6TC are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for ST72F321R6TC is usually 5 days.
3.What payment methods are accepted for ST72F321R6TC?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for ST72F321R6TC transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for ST72F321R6TC?
ST72F321R6TC orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your ST72F321R6TC 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 ST72F321R6TC?
For technical support, including ST72F321R6TC datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your ST72F321R6TC requirements.
6.How does Aetrix verify that ST72F321R6TC is sourced from the original manufacturer or authorized distributors?
All ST72F321R6TC 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 ST72F321R6TC meets industry standards.
7.What is the process for return or replacement of ST72F321R6TC?
All ST72F321R6TC units undergo pre-shipment inspection (PSI). If there is an issue with ST72F321R6TC, 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 ST72F321R6TC part is unused and in its original packaging.
Return procedure for ST72F321R6TC:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
ST72F321R6TC 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…

