Home/Products/Integrated Circuits ICs/STM32F030K6T6TR
STM32F030K6T6TR
ARM Cortex-M0 MCU, 48MHz, 32KB Flash, 4KB SRAM, 12-bit ADC, I2C/SPI/USART, LQFP-32, 2.4-3.6V, -40~85C
Effective inventoryPCS

SpecificationsTechnical data
Manufacturer part
STM32F030K6T6TR
Package
LQFP-32 (7 x 7 x 1.4 mm, 0.8mm pitch)
Brand
ST
Category
Integrated Circuits ICs
Quality Commitment
Shipping & Payment
Service & Packaging
DescriptionProduct overview
The STM32F030K6T6TR from STMicroelectronics is an entry-level ARM Cortex-M0 32-bit microcontroller in a 32-pin LQFP package (7 x 7 x 1.4 mm). Key specifications: ARM Cortex-M0 core at up to 48 MHz; 32 Kbytes Flash memory; 4 Kbytes SRAM with hardware parity; CRC calculation unit; 26 GPIO pins (most 5V tolerant); 12-bit ADC with 10 channels (1.0 us conversion time, 0-3.6V range); 5x 16-bit timers + 1x advanced-control PWM timer; 1x I2C (Standard/Fast/Fast Mode Plus up to 1Mbit/s, SMBus); 1x SPI (18 Mbit/s, 4-16 bit frame); 1x USART (with auto baud rate detection, master synchronous SPI mode); 1x DMA controller (5 channels); RTC with calendar and alarm; 2x watchdog timers (independent and window); SysTick timer; Serial Wire Debug (SWD) interface. Supply voltage: 2.4V to 3.6V. Power modes: Run, Sleep, Stop, Standby. Clock sources: 4-32 MHz HSE crystal, 32 kHz LSE crystal, 8 MHz HSI RC (with PLL up to 48 MHz), 40 kHz LSI RC. Operating temperature: -40C to +85C. The TR suffix indicates tape-and-reel packaging (vs tray for T6 suffix). Active product, ECOPACK2 (RoHS compliant), ECCN 3A991a.2.
01STM32F030K6T6TR · Product Introduction
The STM32F030K6 targets applications that require more processing power and peripheral sophistication than 8-bit MCUs can provide, but at minimal cost. The ARM Cortex-M0 core delivers up to 48 MHz clock frequency with 0.95 DMIPS/MHz performance, providing roughly 10x the processing power of a typical 8-bit MCU running at the same clock frequency. This performance advantage enables more complex algorithms, faster response times, and more sophisticated control strategies.
The 32 Kbytes of Flash and 4 Kbytes of SRAM provide adequate memory for many embedded applications: sensor data acquisition and processing, motor control, user interface management, communication protocol handling, and general-purpose control. The hardware parity on SRAM enhances data integrity, which is important for safety-critical and industrial applications.
The peripheral set is remarkably complete for a value-line MCU. The 12-bit ADC with 1.0 us conversion time provides fast and accurate analog measurement. The I2C interface supports Fast Mode Plus (1 Mbit/s) with 20 mA output drive, enabling direct connection to I2C buses without external buffers. The SPI interface supports frame sizes from 4 to 16 bits, accommodating non-standard SPI peripherals. The USART interface includes auto baud rate detection, simplifying communication with devices at unknown baud rates.
The five 16-bit timers plus one advanced-control PWM timer provide extensive timing and PWM generation capabilities. The advanced-control timer (TIM1) supports six-channel PWM output with complementary outputs and dead-time insertion, making it suitable for motor drive and power conversion applications. The general-purpose timers support input capture, output compare, and PWM generation for a wide range of timing functions.
The LQFP-32 package provides 26 GPIO pins, which is sufficient for most applications that use the available peripherals. Most GPIO pins are 5V tolerant, meaning they can accept input voltages up to 5.5V even when VDD is 3.3V. This simplifies interfacing with 5V logic devices and protects against voltage spikes on input lines.
The clock system is flexible, with four clock sources: a 4-32 MHz high-speed external (HSE) crystal for precision timing, a 32 kHz low-speed external (LSE) crystal for RTC calibration, an 8 MHz high-speed internal (HSI) RC oscillator with PLL for cost-sensitive applications, and a 40 kHz low-speed internal (LSI) RC oscillator for independent watchdog and RTC backup. The PLL can multiply the HSE or HSI clock to achieve the maximum 48 MHz system clock.
The power management features include four operating modes: Run (full operation), Sleep (CPU stopped, peripherals running), Stop (all clocks stopped, SRAM and register content retained), and Standby (minimum power, only RTC and backup registers retained). These modes allow the designer to optimize power consumption for battery-powered applications.
The STM32F030K6 is part of the STM32 ecosystem, which provides extensive development tools, middleware libraries, and application examples. The STM32CubeMX configuration tool generates initialization code, and the STM32CubeF0 HAL/LL libraries provide a comprehensive software framework. The Serial Wire Debug (SWD) interface supports real-time debugging and flash programming through low-cost debug probes such as ST-Link.
The TR suffix indicates tape-and-reel packaging, suitable for automated SMT assembly. The T6 suffix (without R) indicates tray packaging. Both have identical electrical specifications and are available in the industrial temperature grade (-40C to +85C).
02STM32F030K6T6TR · Working Principle
ARM Cortex-M0 Core: The Cortex-M0 is a 32-bit RISC processor core that implements the ARMv6-M architecture. It provides a subset of the Thumb-2 instruction set, supporting 16-bit and 32-bit instructions for optimal code density. The core includes 13 general-purpose 32-bit registers, a program counter, a link register, a program status register, and a stack pointer. The processor has a 3-stage pipeline (Fetch, Decode, Execute) and can execute most single-cycle instructions. The Nested Vectored Interrupt Controller (NVIC) supports up to 32 interrupt channels with 4 programmable priority levels, providing fast and deterministic interrupt handling.
Memory Architecture: The 32 Kbytes of Flash memory stores the program code and constant data. Flash is organized as 1 Kbyte pages and supports in-circuit programming (ICP) via SWD and in-application programming (IAP) via software. The 4 Kbytes of SRAM with hardware parity detection stores variables, stack, and dynamic data. The parity checking generates a non-maskable interrupt (NMI) when a parity error is detected, enhancing data integrity in safety-critical applications.
Bus Matrix: The AHB (Advanced High-performance Bus) bus matrix connects the Cortex-M0 core, DMA controller, and SRAM to the Flash memory and peripheral bridges. The APB (Advanced Peripheral Bus) bridges connect the AHB bus to the peripheral registers. The DMA controller (5 channels) can transfer data between peripherals and SRAM without CPU intervention, freeing the CPU for computation tasks.
Clock System: The clock control unit (RCC) manages all clock sources and distribution. The system clock (SYSCLK) can be sourced from HSI (8 MHz RC), HSE (4-32 MHz crystal), or PLL output. The PLL can multiply HSI/8 or HSE by a factor of 2-16, achieving up to 48 MHz. The AHB prescaler divides SYSCLK for the CPU, DMA, and memory bus. The APB prescalers further divide the AHB clock for the peripherals. The clock security system (CSS) can detect HSE failure and automatically switch to HSI, preventing system lockup.
Power Management: The power controller manages the four operating modes. In Run mode, all clocks and peripherals are active. In Sleep mode (entered by WFI/WFE instruction), the CPU clock stops but peripheral clocks continue. In Stop mode (entered by WFI with PDDS=0 and LPDS=1), all oscillators stop but SRAM content is preserved; wake-up is triggered by any external interrupt. In Standby mode (entered by WFI with PDDS=1), only the RTC, IWDG, and backup registers remain powered; wake-up is triggered by NRST, IWDG reset, or RTC alarm. The power-on reset (POR) and power-down reset (PDR) circuits ensure clean startup when VDD ramps up or down.
ADC Operation: The 12-bit successive approximation ADC converts analog input voltages (0 to 3.6V) to digital values in 1.0 us. The ADC supports single, continuous, scan, and discontinuous conversion modes. DMA transfers can automate the conversion sequence, storing results directly to SRAM without CPU intervention. The analog watchdog can generate an interrupt when the conversion result falls outside a programmed window.
Debug Interface: The Serial Wire Debug (SWD) interface uses two pins (SWDIO and SWCLK) to provide real-time debugging capabilities including breakpoints, watchpoints, and register/memory access. The SWD interface also supports flash programming, allowing firmware updates without removing the device from the circuit. The debug interface is compatible with ST-Link and other ARM SWD debug probes.
03STM32F030K6T6TR · Pin Description
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | VDD | Power | Digital power supply; 2.4V to 3.6V; connect to 3.3V rail with 100nF decoupling capacitor to VSS; all VDD pins must be connected together externally |
| 2 | PF0-OSC_IN | I/O (FT) | General-purpose I/O or HSE oscillator input; after reset = PF0; alternate function: I2C1_SDA, OSC_IN; 5V tolerant |
| 3 | PF1-OSC_OUT | I/O (FT) | General-purpose I/O or HSE oscillator output; after reset = PF1; alternate function: I2C1_SCL, OSC_OUT; 5V tolerant |
| 4 | NRST | I/O (RST) | Reset pin; active-low bidirectional reset with internal pull-up; input: external reset assertion; output: internal reset pulse (e.g., watchdog, power-on); connect 100nF capacitor to GND for noise filtering; do not add external pull-up (internal already present) |
| 5 | VDDA | Power | Analog power supply for ADC, reset, and clock; must be between VDD and 3.6V; connect to VDD with 100nF and 1uF decoupling capacitors; separate from digital VDD for best ADC performance; can be connected to VDD if ADC performance is not critical |
| 6 | PA0 | I/O (TTa) | General-purpose I/O; 3.3V tolerant, directly connected to ADC channel 0; alternate functions: USART4_TX, TIM1_BKIN; ADC input (0-3.6V) |
| 7 | PA1 | I/O (TTa) | General-purpose I/O; ADC channel 1; alternate functions: USART4_RX, TIM1_CH1, EVENTOUT |
| 8 | PA2 | I/O (TTa) | General-purpose I/O; ADC channel 2; alternate functions: USART1_TX, TIM1_CH2, TIM15_CH1, EVENTOUT |
| 9 | PA3 | I/O (TTa) | General-purpose I/O; ADC channel 3; alternate functions: USART1_RX, TIM1_CH3, TIM15_CH2, EVENTOUT |
| 10 | PA4 | I/O (TTa) | General-purpose I/O; ADC channel 4; alternate functions: SPI1_NSS, USART2_CK, TIM14_CH1, EVENTOUT |
| 11 | PA5 | I/O (TTa) | General-purpose I/O; ADC channel 5; alternate functions: SPI1_SCK, TIM2_CH1, TIM14_CH1, EVENTOUT |
| 12 | PA6 | I/O (TTa) | General-purpose I/O; ADC channel 6; alternate functions: SPI1_MISO, TIM1_BKIN, TIM3_CH1, TIM16_CH1, EVENTOUT |
| 13 | PA7 | I/O (TTa) | General-purpose I/O; ADC channel 7; alternate functions: SPI1_MOSI, TIM1_CH1N, TIM3_CH2, TIM14_CH1, TIM17_CH1, EVENTOUT |
| 14 | PB0 | I/O (TTa) | General-purpose I/O; ADC channel 8; alternate functions: TIM1_CH2N, TIM3_CH3, EVENTOUT |
| 15 | PB1 | I/O (TTa) | General-purpose I/O; ADC channel 9; alternate functions: TIM1_CH3N, TIM3_CH4, TIM14_CH1, EVENTOUT |
| 16 | VSS | Ground | Digital ground; connect to PCB ground plane; all VSS pins must be connected together externally |
| 17 | VDD | Power | Digital power supply (second pin); must be connected to same supply as Pin 1 |
| 18 | PB8 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: I2C1_SCL, TIM16_CH1, EVENTOUT; also serves as BOOT0 function when configured |
| 19 | PB9 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: I2C1_SDA, TIM17_CH1, EVENTOUT |
| 20 | BOOT0 | Input (B) | Boot configuration pin; determines boot source after reset; LOW (0) = boot from Main Flash (normal operation); HIGH (1) = boot from System Memory (bootloader for UART/SWD programming); connect with 10k pull-down to GND for normal operation; add jumper or switch to VDD for programming mode; do not leave floating |
| 21 | PB7 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: I2C1_SDA, TIM17_CH1N, TIM4_CH2, EVENTOUT |
| 22 | PB6 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: I2C1_SCL, TIM16_CH1N, TIM4_CH1, EVENTOUT |
| 23 | VSS | Ground | Digital ground (second pin) |
| 24 | VDD | Power | Digital power supply (third pin) |
| 25 | PB5 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: SPI1_MOSI, I2C1_SMBA, TIM3_CH2, TIM16_BKIN, EVENTOUT |
| 26 | PB4 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: SPI1_MISO, TIM3_CH1, TIM17_BKIN, EVENTOUT |
| 27 | PB3 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: SPI1_SCK, EVENTOUT |
| 28 | PD2 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: TIM3_ETR, EVENTOUT |
| 29 | PA12 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: USART1_RTS, TIM1_ETR, EVENTOUT |
| 30 | PA11 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: USART1_CTS, TIM1_CH4, EVENTOUT |
| 31 | PA10 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: USART1_RX, TIM1_CH3, TIM17_BKIN, EVENTOUT |
| 32 | PA9 | I/O (FT) | General-purpose I/O; 5V tolerant; alternate functions: USART1_TX, TIM1_CH2, TIM15_BKIN, EVENTOUT |
04STM32F030K6T6TR · Application Scenarios
| Application | Description |
|---|---|
| Low-Cost Sensor Node | Acquire sensor data via 12-bit ADC (10 channels, 1us conversion), process with Cortex-M0 at 48MHz, and transmit via USART or SPI; 32KB Flash sufficient for sensor drivers and communication stacks; 4KB SRAM for data buffering; low cost competitive with 8-bit MCUs; STM32CubeMX simplifies peripheral configuration |
| Simple Motor Control | Drive BLDC or stepper motors using TIM1 advanced-control timer with 6-channel PWM and dead-time insertion; 12-bit ADC reads motor current and position sensors; I2C interface for motor driver IC communication; 32KB Flash stores motor control algorithms; cost-effective alternative to dedicated motor control MCUs |
| Home Automation Controller | Control home automation devices via I2C (sensors), SPI (displays), and USART (wireless modules); RTC provides time-stamping for events; low-power Stop mode between events preserves battery; 26 GPIO pins control relays, LEDs, and switches; SWD interface enables field firmware updates |
| Industrial Sensor Interface | Interface with 4-20mA or 0-10V industrial sensors via 12-bit ADC; process data and transmit via USART (RS-485) or I2C (SMBus); watchdog timers ensure system reliability; -40C to +85C industrial temperature range; hardware CRC for data integrity in communication |
| 8-bit MCU Replacement | Replace 8-bit MCUs (PIC, AVR, 8051) with 32-bit performance at similar cost; Cortex-M0 at 48MHz delivers 10x processing power over 8-bit at same clock; Thumb instruction set provides excellent code density; STM32 ecosystem provides free tools and libraries; easy migration path to higher-end STM32 devices |
05STM32F030K6T6TR · Alternative Models
| Model | Manufacturer | Compatibility | Key Difference |
|---|---|---|---|
| STM32F030K6T6 | ST | Same, Tray Package | Identical electrical specifications; T6 suffix = tray packaging (1500 units/tray) for manual or automated placement; TR suffix = tape and reel for automated SMT assembly; same LQFP-32 package; use TR for production, T6 for prototyping |
| STM32F030C6T6 | ST | More Pins | Same Cortex-M0, 32KB Flash, 4KB SRAM but in LQFP-48 package; 38 GPIO pins (vs 26); additional peripherals: 2x I2C, 2x SPI, 2x USART; more ADC channels; same core and memory; use when more I/O or communication interfaces are needed |
| STM32F030F4P6 | ST | Smaller, Less Memory | Same Cortex-M0 core but 16KB Flash, 4KB SRAM in TSSOP-20 (4.4×6.5mm); 15 GPIO pins; 1x I2C, 1x USART, 1x SPI; fewer timers; lower cost; use for cost-sensitive applications with minimal peripheral requirements |
| STM32G030K6T6 | ST | Newer Generation | Cortex-M0+ at 64MHz; 32KB Flash, 8KB SRAM in LQFP-32; 12-bit ADC at 2.5Msps; USART with FIFO; same pinout family; more performance and features; use for new designs requiring more capability in same footprint |
| LPC824M201JHI33 | NXP | Competitive Alternative | Cortex-M0+ at 30MHz; 32KB Flash, 8KB SRAM in HVQFN-33; 4x USART, 2x SPI, 1x I2C; switch matrix for flexible pin routing; different package and pinout; use as alternative ARM Cortex-M0 MCU |
Request a quoteWithin 24h
Tell us the quantity you need. We confirm price and availability within one business day.
IC-Vendor · Sourcing
Verified stock, quoted fast.
Recommended

SN74LVC2G08DCUR
Dual 2-input positive AND gate, 1.65-5.5V, VSSOP-8
IN STOCK: 5665pcs
Cargo cycle: 3~7 Days
The minimum order is 1

EN5337QI
3A PowerSoC buck converter, 5MHz, integrated inductor, 2.375-5.5V in, 0.6-5V out, 92% eff, QFN-38 7x4mm
IN STOCK: 1152pcs
Cargo cycle: 3~7 Days
The minimum order is 1

BSZ075N08NS5
OptiMOS 5 N-ch 80V 7.5mΩ 73A MOSFET, PQFN 3.3×3.3mm
IN STOCK: 3223pcs
Cargo cycle: 3~7 Days
The minimum order is 1

MMBTA05LT1G
NPN BJT, 60V, 500mA, hFE 100, 100MHz, SOT-23-3
IN STOCK: 13670pcs
Cargo cycle: 3~7 Days
The minimum order is 1

EP3C55F484C6N
Cyclone III FPGA, 5,136 LEs, M9K RAM, 18×18 multipliers, 484-pin FBGA, C6 (commercial)
IN STOCK: 9287pcs
Cargo cycle: 3~7 Days
The minimum order is 1

CD74HC154M96
4-to-16 line decoder/demultiplexer, SOIC-24
IN STOCK: 6543pcs
Cargo cycle: 3~7 Days
The minimum order is 1
Quality Commitment
Every order is sourced, inspected and documented so your production line receives parts that meet specification.
Authenticity & traceability
We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.
Incoming inspection
- Visual inspection of labels, packaging, marking and date codes.
- Lot and quantity verification against the purchase order.
- Moisture-sensitivity and ESD packaging checks.
- Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.
Documentation
Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.
Warranty & returns
Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.
Counterfeit prevention
Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.
Shipping & Payment
From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.
Lead time
In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.
Carriers & tracking
We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.
Freight & insurance
Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.
Payment methods
- Bank transfer (T/T) in USD, EUR or CNY.
- PayPal for smaller or sample orders.
- Alipay / RMB transfer for domestic settlement.
A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.
Order changes & cancellation
Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.
Customs & duties
We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.
Service & Packaging
Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.
BOM sourcing & kitting
Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.
Value-added services
- Programming and firmware loading.
- Tape-and-reel, re-reeling and tray packing.
- Baking and dry-pack for moisture-sensitive parts.
- Barcode, QR and custom label generation.
Packaging options
Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.
Documentation & traceability
Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.
After-sales support
For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.
