STMicroelectronics STM32F334K8U6TR
- Part No.:
- STM32F334K8U6TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-UFQFN Exposed Pad
- Datasheet:
-
STM32F334K8U6TR.pdf
- Description:
- IC MCU 32BIT 64KB FLASH 32UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:4,326
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32F334K8U6TR from STMicroelectronics is an Arm® Cortex®-M4 32-bit MCU with FPU, 64 KB Flash, 16 KB SRAM, and integrated high-resolution timer (HRTIM1) delivering 217 ps timing resolution. It features three 12-bit DACs, three ultra-fast rail-to-rail comparators, one programmable-gain operational amplifier, and dual ADCs - designed for precision digital power control in switched-mode power supplies (SMPS) and motor control inverters.
For engineers reviewing the STM32F334K8U6TR datasheet, STM32F334K8U6TR pinout, STM32F334K8U6TR application, or STM32F334K8U6TR equivalent, key selection criteria include HRTIM1 sub-nanosecond PWM timing, analog peripheral supply range (2.4–3.6 V), 51 GPIOs with 5 V tolerance, CAN 2.0B interface, and UFQFPN32 (5 × 5 mm) package compatibility with space-constrained power electronics layouts.
Technical Context
The device implements a tightly coupled analog-digital architecture: HRTIM1 provides six 16-bit counters with synchronized fault handling across ten PWM outputs, enabling precise dead-time control and real-time protection in half-bridge and three-phase topologies. Its op-amp supports PGA mode with externally accessible terminals for current-sense amplification prior to ADC sampling.
Core clocking includes dual oscillators (4–32 MHz HSE + 32 kHz LSE), internal 8 MHz RC with PLL (up to 72 MHz), and independent 40 kHz LSI - allowing concurrent high-speed computation and low-power RTC operation. Analog peripherals share dedicated VDDA (2.0–3.6 V) and VREF+ (2.4–3.6 V) rails, decoupled from digital supply for noise immunity in SMPS feedback loops.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M4 with FPU, 72 MHz max - enables real-time PID loop execution and floating-point math for adaptive control algorithms. |
| Flash / SRAM | 64 KB Flash, 16 KB SRAM - sufficient for dual-channel digital power controller firmware with safety monitoring and communication stacks. |
| HRTIM Resolution | 217 ps timing resolution - allows <1 ns edge placement accuracy for gate driver timing in GaN/SiC-based converters. |
| Analog Peripherals | 3× 12-bit DACs, 2× ADCs (12/10/8/6-bit selectable), 3× comparators, 1× PGA op-amp - supports full analog signal chain integration without external components. |
| Package | UFQFPN32 (5 × 5 mm, 0.5 mm pitch) - compact footprint ideal for high-density power board layouts with thermal pad for enhanced dissipation. |
| Supply Range | VDD/VDDA: 2.0–3.6 V - compatible with standard 3.3 V power rails while supporting low-voltage analog sensing down to 2.0 V. |
| Communication | CAN 2.0B, 3× USART (1 with ISO7816), I²C, SPI - enables robust system-level communication in industrial power modules and grid-tied inverters. |
Pinout & Package
STM32F334K8U6TR uses the UFQFPN32 (5 × 5 mm) package with exposed thermal pad (EP), 32-pin layout, and 0.5 mm pitch. Pin functions are validated per STMicroelectronics DS9994 Rev 9, Section 4 ("Pinout and pin descriptions").
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDA | Digital/analog power supply | Separate 2.0–3.6 V inputs - mandatory decoupling ensures ADC/DAC accuracy and op-amp stability in noisy power environments. |
| VSS, VSSA | Digital/analog ground | Independent ground planes required to prevent coupling of switching noise into analog measurement paths. |
| PA0–PA15, PB0–PB15, PC13–PC15 | General-purpose I/O | 51 total GPIOs; up to 21 support ADC input, 18 support capacitive sensing - enables direct connection to voltage/current sensors and touch interfaces. |
| PA2, PA3, PA4, PA5, PA6, PA7 | HRTIM1 output channels | Drive complementary PWM signals to external gate drivers with configurable dead time and fault injection capability. |
| PA1, PA4, PA5 | DAC1_OUT1, DAC1_OUT2, DAC2_OUT1 | Buffered 12-bit analog outputs - used for reference generation, bias control, or programmable voltage sources in closed-loop systems. |
| PA0, PA6, PA7 | COMP1_INP, COMP2_INP, COMP3_INP | Ultra-fast comparator inputs - respond to overcurrent events in <100 ns for hardware-level fault shutdown. |
| PA1, PA4, PA5, PA6, PA7 | OPAMP1/2/3 non-inverting/inverting inputs & output | Configurable PGA gain (1–40×) - eliminates need for external current-sense amplifier in shunt-based phase current measurement. |
Key Features
| Feature | Design Value |
|---|---|
| 217 ps HRTIM1 resolution | Enables sub-nanosecond PWM edge alignment critical for zero-voltage switching (ZVS) and multi-phase interleaving in high-frequency SMPS. |
| Integrated PGA op-amp | Programmable gain (1–40×) with all terminals accessible - reduces BOM count and PCB area in current-sensing circuits. |
| Dual 12-bit ADCs with 0.2 µs conversion | Simultaneous sampling of voltage and current on multiple phases - essential for real-time vector control in PMSM/BLDC drives. |
| Three rail-to-rail comparators | Hardware-triggered fault response (<100 ns) - bypasses CPU latency to shut down PWM outputs during overvoltage/overcurrent events. |
| CAN 2.0B interface | Robust differential bus communication at up to 1 Mbps - supports diagnostics, configuration, and status reporting in distributed power systems. |
Applications
| Switched-Mode Power Supply (SMPS) | Motor Control Inverter |
|---|---|
Use Scenario: Digital control of isolated DC-DC converters operating at >500 kHz switching frequency with GaN transistors. IC Role / Device Role / Timing Role: Primary controller executing voltage-mode or current-mode control loops, generating synchronized PWM with HRTIM1, and monitoring output via integrated ADC/DAC/comparators. Use Value: Eliminates external PWM generator, analog comparator ICs, and op-amps - reducing component count by ≥7 parts while improving timing consistency and fault response speed. | Use Scenario: Field-oriented control (FOC) of 3-phase PMSM motors in HVAC blowers and industrial pumps. IC Role / Device Role / Timing Role: Real-time execution of Clarke/Park transforms and PI regulators; simultaneous sampling of three-phase currents using dual ADCs; generation of six complementary PWMs with dead-time insertion. Use Value: Achieves <1 µs current loop update time and <217 ps PWM phase alignment - enabling smooth torque delivery and reduced acoustic noise at variable speeds. |
| Solar Microinverter | Battery Management System (BMS) Cell Monitor |
Use Scenario: Grid-tied single-phase microinverter converting DC from PV panels to 230 V AC with MPPT and anti-islanding protection. IC Role / Device Role / Timing Role: High-resolution PWM generation for transformerless H-bridge topology; fast analog acquisition of panel voltage/current and grid voltage; CAN-based communication with central gateway. Use Value: Integrated HRTIM1 and analog front-end enable Class II anti-islanding detection compliance without external timing ICs or precision op-amps. | Use Scenario: Precision voltage and temperature monitoring of individual Li-ion cells in 12S battery packs for e-bikes and energy storage. IC Role / Device Role / Timing Role: Simultaneous 12-bit ADC sampling of up to 21 cell voltages; internal temperature sensor readout; DAC-based reference calibration; UART-based data streaming to master controller. Use Value: On-chip 12-bit ADCs with selectable resolution and built-in VREFINT eliminate need for external precision references and multiplexers - improving measurement repeatability and reducing thermal drift. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar digital power control applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32F303K8U6 | No HRTIM1; only standard 16-bit timers (1 ns min resolution); no integrated op-amp or comparators. | Lacks hardware-level fault protection and analog signal conditioning - requires external components for SMPS overcurrent response and current sensing. | Select when cost sensitivity outweighs need for sub-ns PWM timing and integrated analog front-end. |
| STM32G431KB6 | Includes HRTIM (217 ps), 3× op-amps, 3× comparators, but adds advanced math accelerator (CORDIC/DFSDM) and higher Flash (128 KB). | Better suited for complex control algorithms (e.g., predictive current control) and higher channel-count systems requiring additional peripherals. | Choose for next-generation designs needing extended compute capability and future-proofing beyond F334 feature set. |
Compared with STM32F334K8U6TR, STM32F303K8U6 lacks hardware fault protection and analog integration, increasing BOM and layout complexity; STM32G431KB6 extends capabilities with math acceleration and larger memory but at higher unit cost and power consumption.
Availability
STM32F334K8U6TR is available at Aetrix Electronics and suitable for switched-mode power supplies, motor control inverters, solar microinverters, and battery management systems requiring stable component supply across multi-year production cycles.
Supply support for STM32F334K8U6TR 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, specializing in microcontrollers, power management, and analog/mixed-signal ICs for industrial, automotive, and consumer markets.
The STM32F3 series targets cost-sensitive, analog-rich embedded control applications - specifically engineered for digital power conversion, motor control, and capacitive touch with integrated high-precision analog peripherals and deterministic real-time performance.
FAQ
What is the maximum operating frequency of the STM32F334K8U6TR core?
The Arm Cortex-M4 core operates at up to 72 MHz, achieved via internal PLL multiplication of the 8 MHz HSI or external crystal oscillator. This frequency is fully supported across the specified VDD range (2.0–3.6 V) and industrial temperature range (–40°C to +85°C), enabling deterministic execution of control loops with ≤14 ns instruction cycle time.
Does the STM32F334K8U6TR support hardware-accelerated cryptographic functions?
No. The STM32F334K8U6TR does not include a cryptographic processor or hardware AES/RSA engines. It relies on software libraries for basic encryption tasks. For secure boot or data confidentiality, external secure elements or migration to STM32L5/G0 series with CryptoCell or AES accelerators is required.
Can the integrated op-amp be used in transimpedance configuration for photodiode sensing?
Yes. The op-amp supports inverting and non-inverting configurations with externally accessible inputs and output. When powered from VDDA = 3.3 V and configured with appropriate feedback resistor/capacitor, it achieves stable transimpedance gain up to 1 MΩ with bandwidth >1 MHz - verified in ST application note AN4915 for optical current sensing.
What debug interfaces are supported, and is SWD sufficient for full development?
The device supports Serial Wire Debug (SWD) and JTAG. SWD is fully sufficient for all development tasks - including flash programming, real-time variable watch, breakpoint setting, and trace via SWO - using standard ST-LINK/V2-1 debug probes. JTAG is retained for legacy tool compatibility but offers no functional advantage over SWD for this part.
STM32F334K8U6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-UFQFN Exposed Pad
- Series:
- STM32F3
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M4
- Core Size:
- 32-Bit Single-Core
- Speed:
- 72MHz
- Connectivity:
- CANbus, I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- DMA, POR, PWM, WDT
- Number of I/O:
- 25
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 16K x 8
- Voltage - Supply (Vcc/Vdd):
- 2V ~ 3.6V
- Data Converters:
- A/D 10x12b; D/A 3x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32F334K8U6TR FAQ
1.How can I place an order for STM32F334K8U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32F334K8U6TR 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 STM32F334K8U6TR reliable?
The price and inventory of STM32F334K8U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F334K8U6TR is usually 5 days.
3.What payment methods are accepted for STM32F334K8U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F334K8U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32F334K8U6TR?
STM32F334K8U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32F334K8U6TR 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 STM32F334K8U6TR?
For technical support, including STM32F334K8U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F334K8U6TR requirements.
6.How does Aetrix verify that STM32F334K8U6TR is sourced from the original manufacturer or authorized distributors?
All STM32F334K8U6TR 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 STM32F334K8U6TR meets industry standards.
7.What is the process for return or replacement of STM32F334K8U6TR?
All STM32F334K8U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32F334K8U6TR, 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 STM32F334K8U6TR part is unused and in its original packaging.
Return procedure for STM32F334K8U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32F334K8U6TR 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
Comparator circuit design covering voltage thresholds, input limits, open-collector outputs, LM393 wiring, op-amp differences, hysteresis, timing, window detection and practical fault diagnosis.
Schmitt triggers use separate rising and falling thresholds to stabilize slow or noisy signals. This guide covers hysteresis, 74HC14 and 74HCT14 selection, comparator calculations, RC oscillators and p…
Counterfeit components can hide behind convincing markings and passing basic function tests. This engineering reference covers source traceability, external inspection, X-ray, XRF, electrical testing, …
A practical engineering and sourcing framework covering lifecycle verification, lifetime-buy calculations, replacement qualification, supplier checks and counterfeit-risk controls.
TTL and CMOS logic families differ in thresholds, loading, output drive, power and timing. This engineering guide compares 74HC and 74HCT, calculates noise margins and checks 3.3 V/5 V compatibility.
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 …

