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

STM32G030F6P6, 12 bit 64 MHz STM32G030 Microcontroller, TSSOP-20

Rating:
100% of 100
$0.6900
In stock
SKU
S2-0031
Volume discounts:
  • +50 3 % $0.6700
  • +100 4 % $0.6600
  • +300 7 % $0.6400
  • +500 9 % $0.6300
  • +1000 10 % $0.6200
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
STM8S003F3P6TR, 10 bit 16 MHz STM8S Microcontroller, TSSOP-20 Previous STM8S003F3P6TR, 10 bit 16 MHz STM8S Microcontroller, TSSOP-20

STM32G030F6P6 32-bit Microcontroller with 64 MHz CPU — TSSOP-20

The STM32G030F6P6 from STMicroelectronics is an STM32G0 microcontroller built around the Arm Cortex-M0+ core. Its 32 KB Flash, 8 KB SRAM and CPU clock of up to 64 MHz support sensor acquisition, peripheral communication and compact embedded controllers.

A 12-bit ADC, timers, PWM and I2C, SPI and USART interfaces provide the main building blocks for control applications in a 20-pin TSSOP package. This product is a bare surface-mount IC, requiring a suitable PCB or adapter, power supply and programming connections.

Specifications of STM32G030F6P6 Microcontroller

  • Part number: STM32G030F6P6
  • Manufacturer: STMicroelectronics
  • Family: STM32G0
  • CPU core: Arm Cortex-M0+
  • Architecture: 32-bit
  • Maximum clock: 64 MHz
  • Flash memory: 32 KB
  • SRAM: 8 KB
  • Dedicated EEPROM: None
  • Supply voltage: 2.0–3.6 V
  • ADC: 12-bit resolution
  • Communication interfaces: I2C, SPI and USART; I2S capability on the corresponding interface
  • Programming / debug: SWD
  • DMA: Five channels
  • Peripherals: Timers, PWM, RTC, CRC and watchdogs
  • Low-power modes: Sleep, Stop and Standby
  • Ambient operating temperature: −40 to +85 °C
  • Package: TSSOP-20
  • Pin count: 20
  • Mounting: Surface mount, SMD
  • GPIOs: Up to 17; subject to pin assignment
  • ADC channels: 14 external + 2 internal, per ST Table 2
  • Serial interface counts: 2 × I2C, 2 × USART, 2 × SPI; one supports I2S
  • Nominal body size: 6.5 × 4.4 mm; see mechanical tolerances
  • Lead pitch: 0.65 mm

Peripheral counts describe internal resources, not simultaneous access to every signal in TSSOP20. The part has one advanced-control and four general-purpose 16-bit timers, plus two watchdogs and SysTick.

Features and practical benefits

  • 32-bit CPU up to 64 MHz: runs control logic, processes sensor readings and manages peripherals. The configured clock tree determines the actual operating frequency.
  • 32 KB Flash and 8 KB SRAM: Flash stores the program; SRAM holds runtime data and buffers. Check both code size and working-memory requirements.
  • 12-bit ADC: converts analog sensor signals to digital values. Resolution is not the same as measurement accuracy, which also depends on reference voltage, noise, sampling time and circuit design.
  • I2C, SPI and USART: connect displays, sensors, memory and communication modules. Concurrent use depends on pin allocation in this package.
  • Timers, PWM and five-channel DMA: timers handle timing and PWM; DMA moves data between memory and peripherals with less CPU involvement. PWM is a control signal, not a power output for motors.
  • Low-power modes and SWD: Sleep, Stop and Standby support power management; SWD provides programming and debugging through compatible tools. Total board consumption depends on the full design and configuration.

Before you buy

This is not an assembled development board. For breadboard work, consider a TSSOP20-to-DIP adapter. Select the pad side that matches the MCU’s 0.65 mm lead pitch and package width. Soldering the IC and fitting headers are still required.

Pins are multifunctional, and some physical leads connect several internal port signals. These names do not provide independent outputs on one lead. Check the TSSOP20 pinout and alternate-function tables before PCB layout, and configure shared ports to avoid conflicts.

For programming, consider the Waveshare ST-LINK/V2 Mini programmer and debugger, after confirming STM32G0 support in the actual hardware, probe firmware and chosen software. Probe connectors and power outputs vary.

Pinout and programming connections

alt="STM32G030F6P6 TSSOP20 top-view pinout with SWDIO pin 18 and SWCLK pin 19" />
Signal Physical pin Notes
SWDIO 18 PA13
SWCLK 19 PA14 / BOOT0; bonded with PA15
GND 5 VSS / VSSA
VTref 4 Voltage sense, only if the probe provides it; not a power output
NRST 6 Recommended for connect-under-reset
Supplied reference pinout
alt="Supplied reference pinout" />

Footprint and package dimensions

alt="Footprint and package dimensions" />

Original ST Figure 32, page 87. Pad size: 0.40 × 1.35 mm; pitch: 0.65 mm; inner row gap: 4.40 mm; outer row span: 7.10 mm. These land-pattern dimensions are distinct from package-body tolerances.

Official mechanical drawing and tolerances
alt="Official mechanical drawing and tolerances" />
Supplied footprint reference
alt="Supplied footprint reference" />

The supplied screenshot has no dimensions; use the official drawing for dimensions. Images and SVGs are not CAD footprint libraries.

First connection using 3.3 V and SWD

The first check is to establish communication with the MCU. It does not require an external crystal or a USB circuit on the target MCU.

  1. Solder the device to a compatible PCB or adapter. With power off, check pin-1 orientation, solder bridges and supply shorts.
  2. Connect a regulated 3.3 V supply to pin 4 and ground to pin 5. Place decoupling close to the supply pins according to datasheet Figure 9, which shows 100 nF plus 4.7 µF on the VDD path. Account for the analog supply path and full board design as well.
  3. Connect the probe’s SWDIO, SWCLK and common ground as listed above. Connect NRST to a compatible probe reset signal if connect-under-reset capability is required.
  4. If the probe has a target-voltage sense input, connect VTref according to its manual. Do not confuse a sense input with a probe’s 3.3 V power output or connect two supply outputs together without a suitable design.
  5. In STM32CubeProgrammer, select ST-LINK and SWD, then check connection and device information first. Select a target and firmware built for STM32G030F6P6. Initial identification does not require changing option bytes or erasing existing firmware.

After connection, program your firmware and verify the written data. If connection fails, check power, wiring, probe firmware and SWD speed. This is a reference procedure; verify operation on your assembled board.

Initial troubleshooting

Symptom What to check
MCU is not detected Check pin 4 supply, pin 5 ground, orientation, SWDIO on pin 18 and SWCLK on pin 19. Keep wires short and reduce SWD speed.
SWD stops working after firmware runs Firmware may change debug pins or enter low-power modes. Where supported by the probe and target circuit, try connect under reset using NRST.
Unstable ADC readings Check analog power and ground, decoupling, source impedance, sampling time and analog pin configuration.
Serial interface does not work Check physical pin numbers, alternate-function selection, peripheral clocks and shared-port conflicts.
Timing or PWM rate is incorrect Check the actual clock tree, PLL and timer dividers. The product’s 64 MHz rating is not a guarantee of the firmware’s default clock.

This IC or another option?

Option Choose it when Selection point
STM32G030F6P6 in TSSOP20 You are designing a compact custom board around 32 KB Flash Requires SMD assembly, power circuitry and programming access.
An STM32 development board Fast setup and accessible headers matter more Check the exact MCU, onboard peripherals and whether a debugger is included. Other STM32 families are not equivalent to this chip.
A device with more memory or pins Firmware size, signal count or simultaneous interfaces exceed this part’s capacity Compare full order code, package, pinout and software support; similar names do not guarantee drop-in compatibility.

Browse ElectroPeak’s microcontrollers and processors to compare other devices.

STM32G030F6P6 FAQs

The CPU is 32-bit. The 12-bit figure describes ADC resolution, not processor architecture.

STM32G030F6P6 has 32 KB Flash. The family’s “up to 64 KB” description includes other variants and must not be applied to this order code.

No. Supply voltage is 2.0–3.6 V. Conditional 5 V tolerance on some digital pins does not permit a 5 V supply or a 5 V analog input.

Many applications can use HSI16 and the PLL. TSSOP20 does not expose OSC_OUT for a directly connected HSE crystal. For an external high-speed clock, OSC_IN on PC14 supports HSE bypass and requires a clock signal generated by an external oscillator. A low-speed LSE crystal on PC14/PC15 serves a different clock function; do not confuse these sources.

Use an SWD probe supporting STM32G0, with compatible probe firmware and software. A label alone does not establish support for a particular device.

No. Pin allocation, debug use, reset and internally shared ports constrain access. ADC channel count also does not mean simultaneous sampling of every input.

No. PWM supplies a control signal; use a motor driver, appropriate power supply and load protection.

This model has no native USB interface. TSSOP20 does not expose a separate VBAT pin; that domain is bonded to the main supply. RTC availability does not imply a separate battery connection.

Datasheet and design references

  • ST DS12991 Rev 6 — PDF
  • Table 2: p.10 · Pinout: p.29 · Pin assignment / alternate functions: pp.31–37 · Mechanical: p.86 · Footprint: p.87

STM32CubeProgrammer — official STM32 programming software

More Information
PackageTSSOP-20
PackagingTape & Reel
Operating Temperature Min-40 C°
Operating Temperature Max+85 C°
ADC Resolution12 bit
Mounting TypeSMD/SMT
Components - TypeARM Microcontrollers - MCU
Maximum Clock Frequency64 MHz
Processor SeriesSTM32G030
Write Your Own Review
Write a ReviewSTM32G030F6P6, 12 bit 64 MHz STM32G030 Microcontroller, TSSOP-20
To Top
5 Stars
100%(1)
4 Stars
0%(0)
3 Stars
0%(0)
2 Stars
0%(0)
1 Stars
0%(0)
STM32G030F6P6, 12 bit 64 MHz STM32G030 Microcontroller, TSSOP-20
STM32G030F6P6, 12 bit 64 MHz STM32G030 Microcontroller, TSSOP-20
$0.6900
Wish List
Help
Shop
Account
0 Cart