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

- Shipping:

Inventory:4,482
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
ST72F321BAR6T6 from STMicroelectronics is a 64-pin LQFP 8-bit microcontroller featuring 32 KB Flash/ROM, 1 KB RAM, 10-bit ADC with up to 16 inputs, five timers (including PWM auto-reload and dual 16-bit), and three serial interfaces (SPI, SCI, I²C). It operates from 3.8 V to 5.5 V across –40°C to +125°C and targets automotive body control modules, industrial sensor nodes, and appliance motor control.
For engineers reviewing the ST72F321BAR6T6 datasheet, ST72F321BAR6T6 pinout, ST72F321BAR6T6 application, or ST72F321BAR6T6 equivalent, this MCU delivers deterministic real-time response via nested interrupt controller (14 vectors), configurable watchdog, PLL-based clock multiplication, and four power-saving modes - critical for battery-backed or thermally constrained embedded systems.
Technical Context
This MCU implements an enhanced ST7 core with 63 basic instructions and 17 addressing modes, supporting in-application programming (IAP) and in-circuit programming (ICP) for field firmware updates. Its clock system integrates crystal/resonator oscillators, internal RC, external clock bypass, and a 2× PLL for flexible timing generation.
The peripheral set includes a main clock controller with real-time base, beep generator, and clock-out; a 10-bit ADC with robust input coupling; and dual 16-bit timers with input capture, output compare, PWM, and external event counting - enabling precise motor commutation and sensor sampling synchronization.
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 predictable interrupt latency. |
| Flash Memory | 32 KB HDFlash with read-out protection and 100-program/erase cycles - supports secure firmware storage and field updates. |
| RAM Size | 1024 bytes (1 KB) with 256-byte stack - sufficient for real-time task stacks and small data buffers in resource-constrained applications. |
| ADC Resolution | 10-bit successive approximation ADC with up to 16 input channels - provides adequate dynamic range for temperature, voltage, and current sensing. |
| Timers | Five independent timers: 16-bit ×2 (input capture/output compare/PWM), 8-bit auto-reload (4 PWM outputs), main clock controller (RTC/beep/clock-out), and watchdog - enables multi-function timing without external components. |
| Serial Interfaces | SPI (master/slave), SCI (asynchronous UART), and I²C (multimaster) - allows concurrent communication with displays, sensors, EEPROMs, and CAN transceivers via bridging. |
| Operating Voltage | 3.8 V to 5.5 V - compatible with standard 5 V logic and automotive battery-supplied systems with transient tolerance. |
| Temperature Range | –40°C to +125°C - qualified for under-hood automotive and industrial environments requiring extended thermal reliability. |
Pinout & Package
LQFP64 (10 × 10 mm, 0.5 mm pitch) package with exposed pad for thermal dissipation; RoHS-compliant, lead-free finish.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domains support noise isolation between analog (ADC) and digital sections. |
| OSCIN/OSCOUT | Crystal/resonator interface | Supports 1–16 MHz external crystals or ceramic resonators for precise system timing. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7 | Bi-directional I/O ports | 48 total I/O lines with alternate functions including timer channels, serial signals, and ADC inputs - enables high peripheral integration density. |
| TLI | Top Level Interrupt input | Dedicated non-maskable interrupt pin for critical fault handling (e.g., overtemperature, emergency stop). |
| RESET | Active-low reset input | Asynchronous external reset with internal low-voltage detector (LVD) and watchdog backup - ensures reliable recovery from brownout or software lockup. |
| BOOT0 | Boot mode selection | Configures boot source (system memory or user Flash) at power-up - essential for bootloader implementation and firmware recovery. |
Key Features
| Feature | Design Value |
|---|---|
| In-Application Programming (IAP) | Enables firmware updates during runtime without halting application code - critical for remote diagnostics and OTA-like updates in automotive ECUs. |
| Enhanced Low-Voltage Detector (LVD) | Programmable threshold with interrupt capability - prevents erratic operation during supply sag and triggers graceful shutdown or safe state entry. |
| Four Power-Saving Modes | Halt, Active-Halt, Wait, and Slow modes reduce current to ≤1.5 µA (Halt) - extends battery life in always-on sensor nodes and telematics modules. |
| Nested Interrupt Controller | 14 priority-level vectors plus TRAP and RESET - guarantees deterministic response to time-critical events like PWM edge alignment or ADC conversion completion. |
| High-Sink I/O Outputs | Up to 10 pins capable of sinking 20 mA - directly drives LEDs, relays, and small solenoids without external drivers in cost-sensitive designs. |
Applications
| Automotive Body Control Unit | Industrial Temperature Sensor Node |
|---|---|
Use Scenario: Centralized control of door locks, window lifts, mirror adjustment, and interior lighting in passenger vehicles. IC Role / Device Role / Timing Role: Main system controller executing real-time actuator sequencing, LIN bus gateway functions, and diagnostic monitoring. Use Value: Integrated 10-bit ADC reads potentiometer feedback; dual 16-bit timers generate precise PWM for motor speed control; I²C interfaces with ambient light and humidity sensors. |
Use Scenario: Wireless-capable environmental monitor deployed in factory HVAC ducts or transformer enclosures. IC Role / Device Role / Timing Role: Sensor fusion hub acquiring thermistor/RTD data, managing sleep/wake cycles, and formatting packets for RF transmission. Use Value: 125°C rating ensures reliability near heat sources; ultra-low-power Halt mode extends battery life beyond 5 years; SPI connects to digital pressure sensors and flash memory. |
| Home Appliance Motor Drive | Smart Meter Data Logger |
Use Scenario: Brushless DC motor control in washing machines and HVAC blowers using hall-effect or back-EMF commutation. IC Role / Device Role / Timing Role: Real-time commutation engine synchronizing six-step switching with rotor position feedback. Use Value: 8-bit PWM auto-reload timer delivers 4 independent PWM outputs with dead-time insertion; 16-bit timers capture hall-sensor edges with sub-microsecond resolution. |
Use Scenario: Tamper-resistant electricity meter logging voltage, current, and energy consumption every 15 minutes. IC Role / Device Role / Timing Role: Secure data acquisition and time-stamped storage controller interfacing with metrology ICs and RTC. Use Value: Read-out protected Flash prevents firmware tampering; auxiliary voltage detector (AVD) monitors backup battery health; SCI supports optical port communication per IEC 62056. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| ST72F324M6T6 | 48 KB Flash, 1.5 KB RAM, same pinout and peripheral set - higher memory headroom for complex control algorithms. | Preferred where firmware size exceeds 32 KB or additional RAM is needed for communication buffers. | Select when future firmware expansion or protocol stack integration (e.g., Modbus RTU) is anticipated. |
| STM8S105K4T6 | STM8 core, 16 KB Flash, 2 KB RAM, enhanced debug (SWIM), lower active current - newer architecture with broader toolchain support. | Better suited for new designs requiring long-term availability, modern IDE integration, and lower power profiles. | Choose for greenfield projects prioritizing lifecycle longevity and ecosystem maturity over legacy ST7 code reuse. |
Compared with ST72F321BAR6T6, ST72F324M6T6 offers memory scalability within identical hardware footprint, while STM8S105K4T6 provides architectural modernization and improved power efficiency - both require firmware porting but eliminate obsolescence risk.
Availability
ST72F321BAR6T6 is available at Aetrix Electronics and suitable for automotive body electronics, industrial sensor nodes, home appliance motor control, and smart metering applications requiring stable component supply and extended temperature qualification.
Supply support for ST72F321BAR6T6 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 for cost-sensitive, real-time embedded control in harsh environments - emphasizing deterministic interrupt response, on-chip programmability, and extended temperature resilience without external timing or memory components.
FAQ
Is ST72F321BAR6T6 pin-compatible with other ST72321x variants?
Yes - ST72F321BAR6T6 shares the LQFP64 (10 × 10 mm) package and identical pin mapping with ST72321BR6T6 and ST72321BJ6T6. Differences are limited to memory type (Flash vs. ROM) and internal configuration bits; no PCB redesign is required when migrating between AR/BR/BJ suffixes.
What development tools support ST72F321BAR6T6 firmware debugging?
ST's STVP (ST Visual Programmer) and STVD (ST Visual Develop) IDE fully support this device. Hardware debugging requires the ST-LINK/V2 adapter with ST-LINK firmware v2.26+ and the ST7-specific debug probe (e.g., ST7-DEBUG-PROBE). In-circuit programming is performed via the SWIM interface using BOOT0 and NRST pins.
Does ST72F321BAR6T6 support hardware CRC calculation?
No - the ST72F321BAR6T6 does not include a dedicated hardware CRC module. CRC-16 or CRC-32 must be implemented in firmware using the 8 × 8 unsigned multiply instruction and bit-manipulation opcodes. Application notes AN2492 and AN2557 provide optimized assembly routines for common CRC polynomials.
Can the internal RC oscillator serve as the main system clock?
Yes - the internal RC oscillator (nominal 8 MHz, ±1% accuracy after calibration) can drive the CPU directly or feed the PLL for 16 MHz operation. It eliminates external crystal cost and board space in non-precision timing applications, though jitter and temperature drift limit use in synchronous serial communication without external clock recovery.
ST72F321BAR6T6 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:
ST72F321BAR6T6 FAQ
1.How can I place an order for ST72F321BAR6T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for ST72F321BAR6T6 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 ST72F321BAR6T6 reliable?
The price and inventory of ST72F321BAR6T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for ST72F321BAR6T6 is usually 5 days.
3.What payment methods are accepted for ST72F321BAR6T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for ST72F321BAR6T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for ST72F321BAR6T6?
ST72F321BAR6T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your ST72F321BAR6T6 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 ST72F321BAR6T6?
For technical support, including ST72F321BAR6T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your ST72F321BAR6T6 requirements.
6.How does Aetrix verify that ST72F321BAR6T6 is sourced from the original manufacturer or authorized distributors?
All ST72F321BAR6T6 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 ST72F321BAR6T6 meets industry standards.
7.What is the process for return or replacement of ST72F321BAR6T6?
All ST72F321BAR6T6 units undergo pre-shipment inspection (PSI). If there is an issue with ST72F321BAR6T6, 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 ST72F321BAR6T6 part is unused and in its original packaging.
Return procedure for ST72F321BAR6T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
ST72F321BAR6T6 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…

