STM32F030F4
ARM Cortex-M0 MCUThe STM32F030F4 is a arm cortex-m0 mcu from STMicroelectronics. View the full STM32F030F4 datasheet below including key specifications, electrical characteristics, absolute maximum ratings.
Manufacturer
STMicroelectronics
Category
ARM Cortex-M0 MCU
Package
TSSOP20
Key Specifications
| Parameter | Value |
|---|---|
| ADC | 1x 12-bit, 1.0 µs (9 external + 2 internal channels) |
| GPIOs | 15 |
| Timers | 1x 16-bit advanced-control, 4x 16-bit general-purpose |
| CPU Core | ARM 32-bit Cortex-M0 |
| SRAM Memory | 4 Kbytes |
| DMA Channels | 5 |
| Flash Memory | 16 Kbytes |
| I2C Interfaces | 1 (up to 1 Mbit/s Fast Mode Plus) |
| SPI Interfaces | 1 (up to 18 Mbit/s) |
| Debug Interface | Serial wire debug (SWD) |
| USART Interfaces | 1 |
| Max CPU Frequency | 48 MHz |
| Package Dimensions | TSSOP20 (6.4x4.4 mm) |
| Supply Voltage Range | 2.4 V to 3.6 V |
| Operating Temperature Range | -40°C to 85°C |
Overview
Part: STM32F030x4, STM32F030x6, STM32F030x8, STM32F030xC
Type: Value-line ARM-based 32-bit MCU
Description: 32-bit ARM Cortex-M0 CPU up to 48 MHz, with 16 to 256 KB Flash, 4 to 32 KB SRAM, 2.4-3.6 V operation, and various communication interfaces.
Operating Conditions:
- Supply voltage: 2.4 V to 3.6 V
- Operating temperature: -40 to +85 °C
- Max CPU frequency: 48 MHz
Absolute Maximum Ratings:
- Max supply voltage: 4.0 V
- Max junction temperature: 125 °C
- Max storage temperature: 150 °C
Key Specs:
- Core: ARM 32-bit Cortex-M0 CPU
- CPU frequency: Up to 48 MHz
- Flash memory: 16 to 256 Kbytes
- SRAM: 4 to 32 Kbytes
- ADC: One 12-bit, 1.0 μs, up to 16 channels
- I/Os: Up to 55 fast I/Os, up to 55 I/Os with 5V tolerant capability
- I2C interfaces: Up to two, one or two with Fast Mode Plus (1 Mbit/s) support
- SPI interfaces: Up to two, 18 Mbit/s
- Run mode current consumption: 14.0 mA (max, VDD=3.6V, 48 MHz, Flash)
Features:
- CRC calculation unit
- Power-on/Power down reset (POR/PDR)
- Low power modes: Sleep, Stop, Standby
- 5-channel DMA controller
- Calendar RTC with alarm and periodic wakeup
- Independent and system watchdog timers
- Serial wire debug (SWD)
Package:
- LQFP64 (10x10 mm)
- LQFP48 (7x7 mm)
- LQFP32 (7x7 mm)
- TSSOP20 (6.4x4.4 mm)
Features
- Core: ARM ® 32-bit Cortex ® -M0 CPU, frequency up to 48 MHz
- Memories
- -16 to 256 Kbytes of Flash memory
- -4 to 32 Kbytes of SRAM with HW parity
- CRC calculation unit
- Reset and power management
- -Digital & I/Os supply: V DD = 2.4 V to 3.6 V
- -Analog supply: V DDA = V DD to 3.6 V
- -Power-on/Power down reset (POR/PDR)
- -Low power modes: Sleep, Stop, Standby
- Clock management
- -4 to 32 MHz crystal oscillator
- -32 kHz oscillator for RTC with calibration
- -Internal 8 MHz RC with x6 PLL option
- -Internal 40 kHz RC oscillator
- Up to 55 fast I/Os
- -All mappable on external interrupt vectors
- -Up to 55 I/Os with 5V tolerant capability
- 5-channel DMA controller
- One 12-bit, 1.0 μs ADC (up to 16 channels)
- -Conversion range: 0 to 3.6 V
- -Separate analog supply: 2.4 V to 3.6 V
- Calendar RTC with alarm and periodic wakeup from Stop/Standby
- 11 timers
- -One 16-bit advanced-control timer for six-channel PWM output
- -Up to seven 16-bit timers, with up to four IC/OC, OCN, usable for IR control decoding
- -Independent and system watchdog timers
- -SysTick timer
Pin Configuration
Figure 3. LQFP64 64-pin package pinout (top view), for STM32F030x4/6/8 devices
Figure 4. LQFP64 64-pin package pinout (top view), for STM32F030RC devices
Figure 5. LQFP48 48-pin package pinout (top view), for STM32F030x4/6/8 devices
Figure 6. LQFP48 48-pin package pinout (top view), for STM32F030CC devices
32
Figure 7. LQFP32 32-pin package pinout (top view)
Figure 8. TSSOP20 20-pin package pinout (top view)
Table 10. Legend/abbreviations used in the pinout table
| Name | brackets actual | Definition below the pin name, the pin function during and pin name | Abbreviation Pin name Unless otherwise specified in after reset is the same as the |
|---|---|---|---|
| Supply pin | Supply pin | type | type |
| I | pin | Input only pin | Pin I/O Input / output |
| FT | 5 V tolerant I/O | ||
| FTf | 5 V tolerant I/O, FM+ capable | ||
| BOOT0 | pin with I/Os registers | TTa B Dedicated RST | |
| 3.3 V tolerant I/O directly connected to ADC | I/O structure | ||
| TC | Standard 3.3 V I/O Bidirectional reset pin embedded weak pull-up resistor | ||
| Unless otherwise specified by a note, all are set as floating inputs during and after reset. | Notes Pin functions | ||
| Alternate functions | Alternate functions | Functions selected through GPIOx_AFR | Functions selected through GPIOx_AFR |
| Additional functions | Functions directly selected/enabled through peripheral registers | ||
| Additional functions |
| Pin number | Pin number | Pin number | Pin number | Pin functions | Pin functions | ||||
|---|---|---|---|---|---|---|---|---|---|
| LQFP64 | LQFP48 | LQFP32 | TSSOP20 | Pin name (function after reset) | Pin type | I/O structure | Notes | Alternate functions | Additional functions |
| 1 | 1 | - | - | VDD | S | - | - | Complementary power supply | Complementary power supply |
| 2 | 2 | - | - | PC13 | I/O | TC | (1) | - | RTC_TAMP1, RTC_TS, RTC_OUT, WKUP2 |
| 3 | 3 | - | - | PC14-OSC32_IN (PC14) | I/O | TC | (1) | - | OSC32_IN |
| 4 | 4 | - | - | PC15-OSC32_OUT (PC15) | I/O | TC | (1) | - | OSC32_OUT |
| 5 | 5 | 2 | 2 | PF0-OSC_IN (PF0) | I/O | FT | - | I2C1_SDA (5) | OSC_IN |
| 6 | 6 | 3 | 3 | PF1-OSC_OUT (PF1) | I/O | FT | - | I2C1_SCL (5) | OSC_OUT |
| 7 | 7 | 4 | 4 | NRST | I/O | RST | - | Device reset input / internal reset output (active low) | Device reset input / internal reset output (active low) |
Table 11. STM32F030x4/6/8/C pin definitions
32
Table 11. STM32F030x4/6/8/C pin definitions (continued)
| Pin number | Pin number | Pin number | Pin number | Pin functions | Pin functions | ||||
|---|---|---|---|---|---|---|---|---|---|
| LQFP64 | LQFP48 | LQFP32 | TSSOP20 | Pin name (function after reset) | Pin type | I/O structure | Notes | Alternate functions | Additional functions |
| 8 | - | - | - | PC0 | I/O | TTa | - | EVENTOUT, USART6_TX (5) | ADC_IN10 |
| 9 | - | - | - | PC1 | I/O | TTa | - | EVENTOUT, USART6_RX (5) | ADC_IN11 |
| 10 | - | - | - | PC2 | I/O | TTa | - | SPI2_MISO (5) , EVENTOUT | ADC_IN12 |
| 11 | - | - | - | PC3 | I/O | TTa | - | SPI2_MOSI (5) , EVENTOUT | ADC_IN13 |
| 12 | 8 | - | - | VSSA | S | - | - | Analog ground | Analog ground |
| 13 | 9 | 5 | 5 | VDDA | S | - | - | Analog power supply | Analog power supply |
| 14 | 10 | 6 | 6 | PA0 | I/O | TTa | - | USART1_CTS (2) , USART2_CTS (3)(5) , USART4_TX (5) | ADC_IN0, RTC_TAMP2, WKUP1 |
| 15 | 11 | 7 | 7 | PA1 | I/O | TTa | - | USART1_RTS (2) , USART2_RTS (3)(5) , EVENTOUT, USART4_RX (5) | ADC_IN1 |
| 16 | 12 | 8 | 8 | PA2 | I/O | TTa | - | USART1_TX (2) , USART2_TX (3)(5) , TIM15_CH1 (3)(5) | ADC_IN2, WKPU4 (5) |
| 17 | 13 | 9 | 9 | PA3 | I/O | TTa | - | USART1_RX (2) , USART2_RX (3)(5) , TIM15_CH2 (3)(5) | ADC_IN3 |
| 18 (4) | - | - | - | PF4 | I/O | FT | (4) | EVENTOUT | - |
| 18 (5) | - | - | - | VSS | S | - | (5) | Ground | Ground |
| 19 (4) | - | - | - | PF5 | I/O | FT | (4) | EVENTOUT | - |
| 19 (5) | - | - | - | VDD | - | - | (5) | Complementary power supply | Complementary power supply |
| 20 | 14 | 10 | 10 | PA4 | I/O | TTa | - | SPI1_NSS, USART1_CK (2) USART2_CK (3)(5) , TIM14_CH1, USART6_TX (5) | ADC_IN4 |
| 21 | 15 | 11 | 11 | PA5 | I/O | TTa | - | SPI1_SCK, USART6_RX (5) | ADC_IN5 |
Table 11. STM32F030x4/6/8/C pin definitions (continued)
Table 11. STM32F030x4/6/8/C pin definitions (continued)
| Pin number | Pin number | Pin number | Pin number | Pin functions | Pin functions | ||||
|---|---|---|---|---|---|---|---|---|---|
| LQFP64 | LQFP48 | LQFP32 | TSSOP20 | Pin name (function after reset) | Pin type | I/O structure | Notes | Alternate functions | Additional functions |
| 22 | 16 | 12 | 12 | PA6 | I/O | TTa | - | SPI1_MISO, TIM3_CH1, TIM1_BKIN, TIM16_CH1, EVENTOUT USART3_CTS (5) | ADC_IN6 |
| 23 | 17 | 13 | 13 | PA7 | I/O | TTa | - | SPI1_MOSI, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, EVENTOUT | ADC_IN7 |
| 24 | - | - | - | PC4 | I/O | TTa | - | EVENTOUT, USART3_TX (5) | ADC_IN14 |
| 25 | - | - | - | PC5 | I/O | TTa | - | USART3_RX (5) | ADC_IN15, WKPU5 (5) |
| 26 | 18 | 14 | - | PB0 | I/O | TTa | - | TIM3_CH3, TIM1_CH2N, EVENTOUT, USART3_CK (5) | ADC_IN8 |
| 27 | 19 | 15 | 14 | PB1 | I/O | TTa | - | TIM3_CH4, TIM14_CH1, TIM1_CH3N, USART3_RTS (5) | ADC_IN9 |
| 28 | 20 | - | - | PB2 | I/O | FT | (6) | - | - |
| 29 | 21 | - | - | PB10 | I/O | FT | - | SPI2_SCK (5) , I2C1_SCL (2) , I2C2_SCL (3)(5) , USART3_TX (5) | - |
| 30 | 22 | - | - | PB11 | I/O | FT | - | I2C1_SDA (2) , I2C2_SDA (3)(5) , EVENTOUT, USART3_RX (5) | - |
| 31 | 23 | 16 | - | VSS | S | - | - | Ground | Ground |
| 32 | 24 | 17 | 16 | VDD | S | - | - | Digital power supply | Digital power supply |
| 33 | 25 | - | - | PB12 | I/O | FT | - | SPI1_NSS (2) , SPI2_NSS (3)(5) , TIM1_BKIN, EVENTOUT, USART3_CK (5) | - |
Table 11. STM32F030x4/6/8/C pin definitions (continued)
32
Table 11. STM32F030x4/6/8/C pin definitions (continued)
| Pin number | Pin number | Pin number | Pin number | Pin functions | Pin functions | ||||
|---|---|---|---|---|---|---|---|---|---|
| LQFP64 | LQFP48 | LQFP32 | TSSOP20 | Pin name (function after reset) | Pin type | I/O structure | Notes | Alternate functions | Additional functions |
| 34 | 26 | - | - | PB13 | I/O | FT | - | SPI1_SCK (2) , SPI2_SCK (3)(5) , I2C2_SCL (5) , TIM1_CH1N, USART3_CTS (5) | - |
| 35 | 27 | - | - | PB14 | I/O | FT | - | SPI1_MISO (2) , SPI2_MISO (3)(5) , I2C2_SDA (5) , TIM1_CH2N, TIM15_CH1 (3)(5) , USART3_RTS (5) | - |
| 36 | 28 | - | - | PB15 | I/O | FT | - | SPI1_MOSI (2) , SPI2_MOSI (3)(5) , TIM1_CH3N, TIM15_CH1N (3)(5) , TIM15_CH2 (3)(5) | RTC_REFIN, WKPU7 (5) |
| 37 | - | - | - | PC6 | I/O | FT | - | TIM3_CH1 | - |
| 38 | - | - | - | PC7 | I/O | FT | - | TIM3_CH2 | - |
| 39 | - | - | - | PC8 | I/O | FT | - | TIM3_CH3 | - |
| 40 | - | - | - | PC9 | I/O | FT | - | TIM3_CH4 | - |
| 41 | 29 | 18 | - | PA8 | I/O | FT | - | USART1_CK, TIM1_CH1, EVENTOUT, MCO | - |
| 42 | 30 | 19 | 17 | PA9 | I/O | FT | - | USART1_TX, TIM1_CH2, TIM15_BKIN (3)(5) I2C1_SCL (2)(5) | - |
| 43 | 31 | 20 | 18 | PA10 | I/O | FT | - | USART1_RX, TIM1_CH3, TIM17_BKIN I2C1_SDA (2)(5) | - |
| 44 | 32 | 21 | - | PA11 | I/O | FT | - | USART1_CTS, TIM1_CH4, EVENTOUT, I2C2_SCL (5) | - |
| 45 | 33 | 22 | - | PA12 | I/O | FT | - | USART1_RTS, TIM1_ETR, EVENTOUT, I2C2_SDA (5) | - |
Table 11. STM32F030x4/6/8/C pin definitions (continued)
Table 11. STM32F030x4/6/8/C pin definitions (continued)
| Pin number | Pin number | Pin number | Pin number | Pin functions | Pin functions | ||||
|---|---|---|---|---|---|---|---|---|---|
| LQFP64 | LQFP48 | LQFP32 | TSSOP20 | Pin name (function after reset) | Pin type | I/O structure | Notes | Alternate functions | Additional functions |
| 46 | 34 | 23 | 19 | PA13 (SWDIO) | I/O | FT | (7) | IR_OUT, SWDIO | - |
| 47 (4) | 35 (4) | - | - | PF6 | I/O | FT | (4) | I2C1_SCL (2) , I2C2_SCL (3) | - |
| 47 (5) | 35 (5) | - | - | VSS | S | - | (5) | Ground | Ground |
| 48 (4) | 36 (4) | - | - | PF7 | I/O | FT | (4) | I2C1_SDA (2) , I2C2_SDA (3) | - |
| 48 (5) | 36 (5) | - | - | VDD | S | - | (5) | Complementary power supply | Complementary power supply |
| 49 | 37 | 24 | 20 | PA14 (SWCLK) | I/O | FT | (7) | USART1_TX (2) , USART2_TX (3)(5) , SWCLK | - |
| 50 | 38 | 25 | - | PA15 | I/O | FT | - | SPI1_NSS, USART1_RX (2) , USART2_RX (3)(5) , USART4_RTS (5) , EVENTOUT | - |
| 51 | - | - | - | PC10 | I/O | FT | - | USART3_TX (5) , USART4_TX (5) | - |
| 52 | - | - | - | PC11 | I/O | FT | - | USART3_RX (5) , USART4_RX (5) | - |
| 53 | - | - | - | PC12 | I/O | FT | - | USART3_CK (5) , USART4_CK (5) , USART5_TX (5) | - |
| 54 | - | - | - | PD2 | I/O | FT | - | TIM3_ETR, USART3_RTS (5) , USART5_RX (5) | - |
| 55 | 39 | 26 | - | PB3 | I/O | FT | - | SPI1_SCK, EVENTOUT, USART5_TX (5) | - |
| 56 | 40 | 27 | - | PB4 | I/O | FT | - | SPI1_MISO, TIM3_CH1, EVENTOUT, TIM17_BKIN (5) , USART5_RX (5) | - |
| 57 | 41 | 28 | - | PB5 | I/O | FT | - | SPI1_MOSI, I2C1_SMBA, TIM16_BKIN, TIM3_CH2, USART5_CK_RTS (5) | WKPU6 (5) |
Table 11. STM32F030x4/6/8/C pin definitions (continued)
32
Table 11. STM32F030x4/6/8/C pin definitions (continued)
| Pin number | Pin number | Pin number | Pin number | Pin name (function after reset) | Pin type | structure | Notes | Pin functions | Pin functions |
|---|---|---|---|---|---|---|---|---|---|
| LQFP64 | LQFP48 | LQFP32 | TSSOP20 | I/O | Alternate functions | Additional functions | |||
| 58 | 42 | 29 | - | PB6 | I/O | FTf | - | I2C1_SCL, USART1_TX, TIM16_CH1N | - |
| 59 | 43 | 30 | - | PB7 | I/O | FTf | - | I2C1_SDA, USART1_RX, TIM17_CH1N, USART4_CTS (5) | - |
| 60 | 44 | 31 | 1 | BOOT0 | I | B | - | Boot memory selection | Boot memory selection |
| 61 | 45 | - | - | PB8 | I/O | FTf | (6) | I2C1_SCL, TIM16_CH1 | - |
| 62 | 46 | - | - | PB9 | I/O | FTf | - | I2C1_SDA, IR_OUT, SPI2_NSS (5) , TIM17_CH1, EVENTOUT | - |
| 63 | 47 | 32 | 15 | VSS | S | - | - | Ground | Ground |
| 64 | 48 | 1 | 16 | VDD | S | - | - | Digital power supply | Digital power supply |
- PC13, PC14 and PC15 are supplied through the power switch. Since the switch only sinks a limited amount of current (3 mA), the use of GPIOs PC13 to PC15 in output mode is limited:
- These GPIOs must not be used as current sources (e.g. to drive an LED).
- The speed should not exceed 2 MHz with a maximum load of 30 pF.
- This feature is available on STM32F030x6 and STM32F030x4 devices only.
- This feature is available on STM32F030x8 devices only.
- For STM32F030x4/6/8 devices only.
- For STM32F030xC devices only.
- On LQFP32 package, PB2 and PB8 should be treated as unconnected pins (even when they are not available on the package, they are not forced to a defined level by hardware).
- After reset, these pins are configured as SWDIO and SWCLK alternate functions, and the internal pull-up on SWDIO pin and internal pull-down on SWCLK pin are activated.
Table 12. Alternate functions selected through GPIOA_AFR registers for port A
Table 12. Alternate functions selected through GPIOA_AFR registers for port A
| Pin name | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 |
|---|---|---|---|---|---|---|---|
| PA0 | - | USART1_CTS (2) (1)(3) | - | - | USART4_TX (1) | - | - |
| PA0 | - | USART2_CTS | - | - | USART4_TX (1) | - | - |
| PA1 | EVENTOUT | USART1_RTS (2) | - | - | USART4_RX (1) | TIM15_CH1N (1) | - |
| PA1 | EVENTOUT | USART2_RTS (1)(3) | - | - | USART4_RX (1) | TIM15_CH1N (1) | - |
| PA2 | TIM15_CH1 (1)(3) | USART1_TX (2) | - | - | - | - | - |
| PA2 | TIM15_CH1 (1)(3) | USART2_TX (1)(3) | - | - | - | - | - |
| PA3 | TIM15_CH2 (1)(3) | USART1_RX (2) | - | - | - | - | - |
| PA3 | TIM15_CH2 (1)(3) | USART2_RX (1)(3) | - | - | - | - | - |
| PA4 | SPI1_NSS | USART1_CK (2) | - | - | TIM14_CH1 | USART6_TX (1) | - |
| PA4 | SPI1_NSS | USART2_CK (1)(3) | - | - | TIM14_CH1 | USART6_TX (1) | - |
| PA5 | SPI1_SCK | - | - | - | - | USART6_RX (1) | - |
| PA6 | SPI1_MISO | TIM3_CH1 | TIM1_BKIN | - | USART3_CTS (1) | TIM16_CH1 | EVENTOUT |
| PA7 | SPI1_MOSI | TIM3_CH2 | TIM1_CH1N | - | TIM14_CH1 | TIM17_CH1 | EVENTOUT |
| PA8 | MCO | USART1_CK | TIM1_CH1 | EVENTOUT | - | - | - |
| PA9 | TIM15_BKIN (1)(3) | USART1_TX | TIM1_CH2 | - | I2C1_SCL (1)(2) | MCO (1) | - |
| PA10 | TIM17_BKIN | USART1_RX | TIM1_CH3 | - | I2C1_SDA (1)(2) | - | - |
| PA11 | EVENTOUT | USART1_CTS | TIM1_CH4 | - | - | SCL | - |
Table 12. Alternate functions selected through GPIOA_AFR registers for port A
Table 12. Alternate functions selected through GPIOA_AFR registers for port A (continued)
| Pin name | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 |
|---|---|---|---|---|---|---|---|
| PA12 | EVENTOUT | USART1_RTS | TIM1_ETR | - | - | SDA | - |
| PA13 | SWDIO | IR_OUT | - | - | - | - | - |
| PA14 | SWCLK | USART1_TX (2) USART2_TX (1)(3) | - | - | - | - | - |
| PA15 | SPI1_NSS | USART1_RX (2) USART2_RX (1)(3) | - | EVENTOUT | USART4_RTS (1) | - | - |
-
This feature is available on STM32F030x4 and STM32F030x6 devices.
-
This feature is available on STM32F030x8 devices.
Table 13. Alternate functions selected through GPIOB_AFR registers for port B
| Pin name | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 |
|---|---|---|---|---|---|---|
| PB0 EVENTOUT | TIM3_CH3 | TIM1_CH2N | - | USART3_CK (1) - | ||
| PB1 | TIM14_CH1 | TIM3_CH4 | TIM1_CH3N | - | USART3_RTS (1) | - |
| - | - | - | - | - - | PB2 | |
| SPI1_SCK | EVENTOUT | - | - | USART5_TX (1) - | PB3 | |
| SPI1_MISO | TIM3_CH1 | EVENTOUT | - | USART5_RX (1) | TIM17_BKIN (1) | PB4 |
| SPI1_MOSI | TIM3_CH2 | TIM16_BKIN | I2C1_SMBA | USART5_CK_RTS (1) - | PB5 | |
| USART1_TX | I2C1_SCL | TIM16_CH1N | - | - - | PB6 | |
| PB7 USART1_RX | I2C1_SDA | TIM17_CH1N | - | USART4_CTS (1) | - |
Table 13. Alternate functions selected through GPIOB_AFR registers for port B
Table 13. Alternate functions selected through GPIOB_AFR registers for port B (continued)
| Pin name | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 |
|---|---|---|---|---|---|---|
| PB8 | - | I2C1_SCL | TIM16_CH1 | - | - | - |
| PB9 | IR_OUT | I2C1_SDA | TIM17_CH1 | EVENTOUT | - | SPI2_NSS (1) |
| PB10 | - | I2C1_SCL (2) | - | - | USART3_TX (1) | SPI2_SCK (1) |
| PB10 | - | I2C2_SCL (1)(3) | - | - | USART3_RX (1) | - |
| PB11 | EVENTOUT | I2C1_SDA (2) | - | - | USART3_RX (1) | - |
| PB11 | EVENTOUT | I2C2_SDA (1)(3) | - | - | USART3_RX (1) | - |
| PB12 | SPI1_NSS (2) | EVENTOUT | TIM1_BKIN | - | USART3_RTS (1) | TIM15 (1) |
| PB12 | SPI2_NSS (1)(3) | EVENTOUT | TIM1_BKIN | - | USART3_RTS (1) | TIM15 (1) |
| PB13 | SPI1_SCK (2) | - | TIM1_CH1N | - | USART3_CTS( (1) | I2C2_SCL (1) |
| PB13 | SPI2_SCK (1)(3) | - | TIM1_CH1N | - | USART3_CTS( (1) | I2C2_SCL (1) |
| PB14 | SPI1_MISO (2) | TIM15_CH1 (1)(3) | TIM1_CH2N | - | USART3_RTS (1) | I2C2_SDA (1) |
| PB14 | SPI2_MISO (1)(3) | TIM15_CH1 (1)(3) | TIM1_CH2N | - | USART3_RTS (1) | I2C2_SDA (1) |
| PB15 | SPI1_MOSI (2) | TIM15_CH2 (1)(3) | TIM1_CH3N | TIM15_CH1N (1)(3) | - | - |
| PB15 | SPI2_MOSI (1)(3) | TIM15_CH2 (1)(3) | TIM1_CH3N | TIM15_CH1N (1)(3) | - | - |
-
This feature is available on STM32F030x4 and STM32F030x6 devices.
-
This feature is available on STM32F030x8 devices.
Table 14. Alternate functions selected through GPIOC_AFR registers for port C
| Pin name | AF0 | AF1 (1) | AF2 (1) |
|---|---|---|---|
| PC0 | EVENTOUT | - | USART6_TX |
| PC1 | EVENTOUT | - | USART6_RX |
| PC2 | EVENTOUT | SPI2_MISO | - |
| PC3 | EVENTOUT | SPI2_MOSI | - |
| PC4 | EVENTOUT | USART3_TX | - |
| PC5 | - | USART3_RX | - |
| PC6 | TIM3_CH1 | - | - |
| PC7 | TIM3_CH2 | - | - |
| PC8 | TIM3_CH3 | - | - |
| PC9 | TIM3_CH4 | - | - |
| PC10 | USART4_TX (1) | USART3_TX | - |
| PC11 | USART4_RX (1) | USART3_RX | - |
| PC12 | USART4_CK (1) | USART3_CK | USART5_TX |
| PC13 | - | - | - |
| PC14 | - | - | - |
| PC15 | - | - | - |
Table 15. Alternate functions selected through GPIOD_AFR registers for port D
| Pin name | AF0 | AF1 (1) | AF2 (1) |
|---|---|---|---|
| PD2 | TIM3_ETR | USART3_RTS | USART5_RX |
Table 16. Alternate functions selected through GPIOF_AFR registers for port F
| Pin name | AF0 | AF1 (1) |
|---|---|---|
| PF0 | - | I2C1_SDA |
| PF1 | - | I2C1_SCL |
Table 16. Alternate functions selected through GPIOF_AFR registers for port F
Electrical Characteristics
The definition and values of input/output AC characteristics are given in Figure 20 and Table 48 , respectively.
Unless otherwise specified, the parameters given are derived from tests performed under the ambient temperature and supply voltage conditions summarized in Table 21: General operating conditions .
74
Table 48. I/O AC characteristics (1)(2)
| OSPEEDRy [1:0] value (1) | Symbol | Parameter | Conditions | Min | Max | Unit |
|---|---|---|---|---|---|---|
| x0 | f max(IO)out | Maximum frequency (3) | C L = 50 pF, V DDIOx ≥ 2.4 V | - | 2 | MHz |
| x0 | t f(IO)out | Output fall time | C L = 50 pF, V DDIOx ≥ 2.4 V | - | 125 | ns |
| x0 | t r(IO)out | Output rise time | C L = 50 pF, V DDIOx ≥ 2.4 V | - | 125 | ns |
| 01 | f max(IO)out | Maximum frequency (3) | C L = 50 pF, V DDIOx ≥ 2.4 V | - | 10 | MHz |
| 01 | t f(IO)out | Output fall time | C L = 50 pF, V DDIOx ≥ 2.4 V | - | 25 | ns |
| 01 | t r(IO)out | Output rise time | C L = 50 pF, V DDIOx ≥ 2.4 V | - | 25 | ns |
| 11 | f max(IO)out | Maximum frequency (3) | C L = 30 pF, V DDIOx ≥ 2.7 V | - | 50 | MHz |
| 11 | f max(IO)out | Maximum frequency (3) | C L = 50 pF, V DDIOx ≥ 2.7 V | - | 30 | MHz |
| 11 | f max(IO)out | Maximum frequency (3) | C L = 50 pF, 2.4 V ≤ V DDIOx < 2.7 V | - | 20 | MHz |
| 11 | t f(IO)out | Output fall time | C L = 30 pF, V DDIOx ≥ 2.7 V | - | 5 | ns |
| 11 | t f(IO)out | Output fall time | C L = 50 pF, V DDIOx ≥ 2.7 V | - | 8 | ns |
| 11 | t f(IO)out | Output fall time | C L = 50 pF, 2.4 V ≤ V DDIOx < 2.7 V | - | 12 | ns |
| 11 | t r(IO)out | Output rise time | C L = 30 pF, V DDIOx ≥ 2.7 V | - | 5 | ns |
| 11 | t r(IO)out | Output rise time | C L = 50 pF, V DDIOx ≥ 2.7 V | - | 8 | ns |
| 11 | t r(IO)out | Output rise time | C L = 50 pF, 2.4 V ≤ V DDIOx < 2.7 V | - | 12 | ns |
| Fm+ configuration (4) | f max(IO)out | Maximum frequency (3) | C L = 50 pF, V DDIOx ≥ 2.4 V | - | 2 | MHz |
| Fm+ configuration (4) | t f(IO)out | Output fall time | C L = 50 pF, V DDIOx ≥ 2.4 V | - | 12 | ns |
| Fm+ configuration (4) | t r(IO)out | Output rise time | C L = 50 pF, V DDIOx ≥ 2.4 V | - | 34 | ns |
| - | t EXTIpw | Pulse width of external signals detected by the EXTI controller | - | 10 | - | ns |
-
Guaranteed by design, not tested in production.
-
The maximum frequency is defined in Figure 20 .
-
When Fm+ configuration is set, the I/O speed control is bypassed. Refer to the STM32F0xxxx reference manual RM0360 for a detailed description of Fm+ I/O configuration.
Figure 20. I/O AC characteristics definition
Absolute Maximum Ratings
Stresses above the absolute maximum ratings listed in Table 18: Voltage characteristics , Table 19: Current characteristics and Table 20: Thermal characteristics may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.
Table 18. Voltage characteristics (1)
| Symbol | Ratings | Min | Max | Unit |
|---|---|---|---|---|
| V DD -V SS | External main supply voltage | -0.3 | 4.0 | V |
| V DDA -V SS | External analog supply voltage | -0.3 | 4.0 | V |
| V DD -V DDA | Allowed voltage difference for V DD > V DDA | - | 0.4 | V |
| V IN (2) | Input voltage on FT and FTf pins | V SS - 0.3 | V DDIOx + 4.0 (3) | V |
| V IN (2) | Input voltage on TTa pins | V SS - 0.3 | 4.0 | V |
| V IN (2) | BOOT0 | 0 | V DDIOx + 4.0 (3) | V |
| V IN (2) | Input voltage on any other pin | V SS - 0.3 | 4.0 | V |
| \ | ∆ V DDx \ | Variations between different V DD power pins | - | |
| \ | V SSx - V SS \ | Variations between all the different ground pins | - | |
| V ESD(HBM) | Electrostatic discharge voltage (human body model) | see Section 6.3.12: Electrical sensitivity characteristics | see Section 6.3.12: Electrical sensitivity characteristics | - |
Table 19. Current characteristics
| Symbol | Ratings | Max. | Unit |
|---|---|---|---|
| Σ I VDD | Total current into sum of all VDDpower lines (source) (1) | 120 | mA |
| Σ I VSS | Total current out of sum of all VSS ground lines (sink) (1) | -120 | mA |
| I VDD(PIN) | Maximum current into each VDD power pin (source) (1) | 100 | mA |
| I VSS(PIN) | Maximum current out of each VSS ground pin (sink) (1) | -100 | mA |
| I IO(PIN) | Output current sunk by any I/O and control pin | 25 | mA |
| I IO(PIN) | Output current source by any I/O and control pin | -25 | mA |
| Σ I IO(PIN) | Total output current sunk by sum of all I/Os and control pins (2) | 80 | mA |
| Σ I IO(PIN) | Total output current sourced by sum of all I/Os and control pins (2) | -80 | mA |
| I INJ(PIN) (3) | Injected current on FT and FTf pins | -5/+0 (4) | mA |
| I INJ(PIN) (3) | Injected current on TC and RST pin | ± 5 | mA |
| I INJ(PIN) (3) | Injected current on TTa pins (5) | ± 5 | mA |
| Σ I INJ(PIN) | Total injected current (sum of all I/O and control pins) (6) | ± 25 | mA |
- This current consumption must be correctly distributed over all I/Os and control pins. The total output current must not be sunk/sourced between two consecutive power supply pins referring to high pin count QFP packages.
- A positive injection is induced by V IN > V DDIOx while a negative injection is induced by V IN < V SS . I INJ(PIN) must never be exceeded. Refer to Table 18: Voltage characteristics for the maximum allowed input voltage values.
- Positive injection is not possible on these I/Os and does not occur for input voltages lower than the specified maximum value.
- On these I/Os, a positive injection is induced by V IN > V DDA . Negative injection disturbs the analog performance of the device. See note (2) below Table 52: ADC accuracy .
- When several inputs are submitted to a current injection, the maximum Σ I INJ(PIN) is the absolute sum of the positive and negative injected currents (instantaneous values).
Table 20. Thermal characteristics
| Symbol | Ratings | Value | Unit |
|---|---|---|---|
| T STG | Storage temperature range | -65 to +150 | °C |
| T J | Maximum junction temperature | 150 | °C |
Thermal Information
The maximum chip junction temperature (T J max) must never exceed the values given in Table 21: General operating conditions .
The maximum chip-junction temperature, T J max, in degrees Celsius, may be calculated using the following equation:
Package Information
In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available at: www.st.com . ECOPACK is an ST trademark.
Related Variants
The following components are covered by the same datasheet.
| Part Number | Manufacturer | Package |
|---|---|---|
| STM32F030F4P6 | STMicroelectronics | LQFP64 |
Get structured datasheet data via API
Get started free