Need Help? +44 (0) 123 4567
You can add your content here.

STM32F030F4P6, 12 bit 48 MHz STM32F030 Microcontroller, TSSOP-20

$0.4500
In stock
SKU
S2-0016
Volume discounts:
  • +100 4 % $0.4300
  • +500 7 % $0.4200
  • +5000 9 % $0.4100
  • +10000 11 % $0.4000
STM32F030F4P6, 12 bit 48 MHz STM32F030 Microcontroller, TSSOP-20 is available to buy in increments of 10
Ships in 2-3 business days, then:
Free delivery in 12-15 days by Tracked Economic Shipping on orders over $100.
Free delivery in 7-10 days by Express Shipping on orders over $300.
More shipping info
Shop with confidence Learn More
STM32F103C8T6, 12 bit 72 MHz ARM Cortex M Microcontroller, LQFP-48 Previous STM32F103C8T6, 12 bit 72 MHz ARM Cortex M Microcontroller, LQFP-48

STM32F030F4P6 Microcontroller — 32-bit, 48 MHz, TSSOP-20

The STM32F030F4P6 from STMicroelectronics is an STM32F0 microcontroller with an Arm Cortex-M0 core. With up to 48 MHz operation, 16 KB Flash and 4 KB SRAM, it supports switch handling, sensor acquisition, PWM generation and peripheral communication on a compact custom board.

This is a bare 20-lead surface-mount IC , not a development board. A practical option for compact controllers with small firmware, modest RAM requirements and common peripheral interfaces.

Specifications of STM32F030F4P6 Microcontroller

  • Model: STM32F030F4P6
  • Manufacturer: STMicroelectronics
  • Family and core: STM32F0; 32-bit Arm Cortex-M0
  • Maximum core clock: 48 MHz
  • Program memory: 16 KB Flash
  • Data memory: 4 KB SRAM
  • Supply voltage: 2.4–3.6 V
  • ADC: 12-bit resolution; 9 external inputs and 2 internal channels
  • I/O: Up to 15 GPIOs, shared with peripheral/debug functions
  • Communication interfaces: One I2C, one SPI and one USART
  • Control peripherals: Timers, PWM, five-channel DMA, CRC, RTC and watchdogs
  • Programming and debug: SWD
  • Ambient operating temperature: −40 to +85 °C
  • Package and mounting: TSSOP-20; surface mount, SMD/SMT

Features and practical benefits

1. 32-bit processing for compact controllers

The Cortex-M0 core handles control logic, event timing and sensor data in small embedded applications.

2. 12-bit analog acquisition

Read sensor or potentiometer voltages. Twelve bits describes conversion resolution; actual accuracy also depends on analog power, noise, source impedance and calibration.

4. Timers and PWM

Schedule events and generate control signals for LEDs or motor drivers. Motors and power loads require an appropriate driver stage.

5. I2C, SPI and USART interfaces

Connect sensors, displays and communication devices. Check shared pin functions and conflicts before committing to the package.

6. Internal clock and low-power modes

An external crystal is not required for initial operation. Sleep, Stop and Standby help reduce consumption during suitable phases of the application.

SWD programming and debugging

SWDIO and SWCLK provide flash programming and debug access with a compatible probe and the necessary ground/reference connections.

When should you choose this model?

It suits small controllers, sensor-based devices and simple user interfaces. Check firmware size, SRAM use, available pins and simultaneous interfaces before buying. Fifteen GPIOs does not mean fifteen free application pins alongside SWD, an external crystal and every peripheral.

If you need more memory or different features, compare the STM32G030F6P6 . A shared TSSOP-20 package name does not imply matching pin assignments. Browse the microcontroller range for other requirements.

STM32F030F4P6 top-view pinout

STM32F030F4P6 top-view pinout
STM32F030F4P6 TSSOP-20 top-view pinout
Pin Pin name
1 BOOT0
2 PF0 / OSC_IN
3 PF1 / OSC_OUT
4 NRST
5 VDDA
6 PA0
7 PA1
8 PA2
9 PA3
10 PA4
11 PA5
12 PA6
13 PA7
14 PB1
15 VSS
16 VDD
17 PA9
18 PA10
19 PA13 / SWDIO
20 PA14 / SWCLK

The diagram is a top view. Find the pin-1 mark before soldering. PA13 and PA14 serve SWD after reset; keep them available through the initial test.

TSSOP-20 land-pattern reference

Color TSSOP-20 land-pattern reference from ST datasheet Figure 38: 0.65 mm pitch and 0.40 by 1.35 mm pads
TSSOP-20 land-pattern reference

Dimensions are in millimeters, based on ST datasheet Figure 38. The image does not replace a CAD library or solder-mask, paste and assembly checks. Verify the package drawing and numbering before PCB manufacture.

Plan pin functions before PCB design

Pin/group Example function
PA0…PA7 ADC_IN0…ADC_IN7
PB1 ADC_IN9
PA5 / PA6 / PA7 SPI1 SCK / MISO / MOSI
PA2 / PA3 USART1 TX / RX (AF1)
PA9 / PA10 USART1 TX / RX; or I2C1 SCL / SDA
PA13 / PA14 SWDIO / SWCLK
PF0 / PF1 GPIO or external HSE oscillator

These are selected functions, not simultaneous uses of a shared pin. Configure the alternate function in software and check the AF table for this exact model. For ADC measurement, input voltage relative to ground must stay between 0 V and VDDA, subject to the datasheet’s electrical conditions; some digital pins’ 5 V tolerance does not apply to analog measurement.

For example, assign USART1 to PA2/PA3 and I2C1 to PA9/PA10, with the corresponding alternate functions configured for each pin.

Example: 3.3 V bring-up with one LED

STM32F030F4P6 bring-up circuit with 3.3 V VDD/VDDA, BOOT0 pull-down, reset and PA4 LED STM32F030F4P6 3.3 V minimum circuit with LED
  • Power VDD pin 16 and VDDA pin 5 from the same stable 3.3 V rail in this example. Connect VSS pin 15 to ground. VDDA must be powered even when the ADC is unused.
  • Place 100 nF close to VDD and provide 4.7 µF on the supply rail. For VDDA, place the 10 nF plus 1 µF network shown in datasheet Figure 13 close to the pin.
  • Pull BOOT0 pin 1 to ground through 10 kilohms for normal Flash boot. Keep NRST pin 4 available for reset/debug access; the diagram shows a 100 nF capacitor on it.
  • Connect PA4 pin 10 through 1 kilohm to the LED anode, with its cathode grounded. An assumed 2 V LED drop gives about 1.3 mA; check the actual drop and brightness.
  • Start with the 8 MHz internal HSI clock; no crystal is required on PF0/PF1. The 48 MHz maximum is not automatic: clock and PLL configuration are needed.

This package has no separate external VSSA pin; follow the TSSOP-20 supply/ground assignments. A separately designed analog rail must follow the datasheet’s VDDA/VDD voltage and sequencing requirements.

SWD connection and programming

STM32F030F4P6 SWD connection: SWDIO pin 19, SWCLK pin 20, NRST pin 4 and common ground
STM32F030F4P6 SWD programming connections

Use an STM32F0-compatible SWD probe such as the Waveshare ST-LINK/V2 Mini . Connect by signal name; physical connector order differs between probes.

  • Connect SWDIO to PA13 pin 19, SWCLK to PA14 pin 20, and GND to board ground.
  • Where the probe requires them, connect NRST to pin 4 and its target-voltage reference input to the board’s 3.3 V rail. A reference input is not a probe power output.
  • Select STM32F030F4P6 and its 16 KB Flash/4 KB RAM memory configuration in the project.
  • If the board has its own supply, do not parallel another power output without checking the arrangement. Never connect a 5 V line to VDD or VDDA.

Initial board test

  1. Before power-up, check pin-1 orientation, both supplies, ground and absence of shorts.
  2. Apply power and measure VDD and VDDA, then connect the probe with common ground.
  3. Check SWD access with compatible software such as STM32CubeProgrammer. If needed, lower the SWD clock and check NRST/connect-under-reset operation.
  4. Build a simple project using the internal HSI clock at 8 MHz. Set PA4 as push-pull output and toggle it every 500 ms. This is a test pattern, not assumed factory firmware.
  5. Program, reset and observe the LED. If timing is wrong, check the system clock, SysTick and delay configuration.

Troubleshooting

Symptom What to check
Probe cannot detect the target Check VDD and VDDA, ground, pin numbers and SWDIO/SWCLK wiring.
Program does not run after flashing Check BOOT0, reset, device selection and memory/linker configuration.
SWD access disappears after code runs Firmware may reconfigure PA13/PA14; check NRST and connect-under-reset.
ADC is noisy or incorrect Check VDDA, bypassing, input range, sample time and ADC calibration.
SPI, I2C or USART does not work Check alternate functions, package pins, peripheral clock and pin conflicts.
Firmware or data does not fit Check code size, stack, buffers and dynamic allocation against 16 KB Flash/4 KB SRAM.

Compare options

Option Choose it when Trade-off
STM32F030F4P6 Small board and compact firmware 16 KB Flash/4 KB SRAM; SMD assembly required
STM32G030F6P6 Evaluating an STM32G0-family alternative Check pinout, supply, clock and software separately; do not assume a drop-in replacement
STM32 development board Learning or prototyping without designing the PCB/supply Larger board; MCU and memory configuration may differ

STM32F030F4P6 FAQs

Its processor is 32-bit. The 12-bit figure refers to ADC resolution.

STM32F030F4P6 has 16 KB Flash and 4 KB SRAM. Family-wide maxima are not this model’s memory sizes.

Exact-model specifications

No. The operating supply is 2.4–3.6 V. Some pins’ 5 V tolerance does not permit a 5 V supply or direct 5 V ADC measurement.

Not for initial operation; the internal HSI clock runs at 8 MHz. Assess a more accurate reference against communication timing and operating conditions.

No. Reaching that frequency requires clock and PLL configuration; selecting the part alone does not set the clock.

No. VDDA also supplies other internal blocks. Power and decouple it as specified.

Bring-up circuit

Not in every design. Debug, crystal and peripheral connections use the same multifunction pins.

No. Choose a suitable device or external interface solution for those requirements.

No. It needs soldering to a PCB or a compatible TSSOP-20 adapter.

An STM32F0-compatible SWD programmer/debugger and suitable software. Check SWDIO, SWCLK, ground and, where required, NRST and target-voltage reference.

Probe connections

Datasheet and technical resources

More Information
PackageTSSOP-20
PackagingTape & Reel
Operating Temperature Min-40 °C
Operating Temperature Max+85 °C
Number of Bits32-bit
ADC Resolution12-bit
Mounting TypeSMD/SMT
Components - TypeMicrocontroller
Maximum Clock Frequency48 MHz
Processor SeriesSTM32F0
Datasheethttps://datasheet.lcsc.com/datasheet/pdf/f6a02cf57a5841a5b72f3eaa84b79677.pdf?productCode=C32908
Minimum Supply Voltage2.4 V
Maximum Supply Voltage3.6 V
CPU CoreARM Cortex-M0
Program Memory TypeFlash
Program Memory Size16 KB
Number of I/O Pins15
Oscillator TypeInternal
Write Your Own Review
Write a ReviewSTM32F030F4P6, 12 bit 48 MHz STM32F030 Microcontroller, TSSOP-20
To Top
STM32F030F4P6, 12 bit 48 MHz STM32F030 Microcontroller, TSSOP-20
STM32F030F4P6, 12 bit 48 MHz STM32F030 Microcontroller, TSSOP-20
$0.4500
Wish List
Help
Shop
Account
0 Cart