Skip to content

Instantly share code, notes, and snippets.

@bobmcwhirter
Created July 26, 2021 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobmcwhirter/0a65c2cee8c32b1ccf6c80d45a8422a9 to your computer and use it in GitHub Desktop.
Save bobmcwhirter/0a65c2cee8c32b1ccf6c80d45a8422a9 to your computer and use it in GitHub Desktop.
name: STM32F030F4
family: STM32F0
line: STM32F0x0 Value Line
die: DIE444
packages:
- name: STM32F030F4Px
package: TSSOP20
datasheet:
title: Value-line Arm-based 32-bit MCU with up to 256 KB Flash, timers, ADC, communication interfaces, 2.4-3.6 V operation
name: DM00088500
url: http://www.st.com/resource/en/datasheet/DM00088500.pdf
reference-manual:
title: STM32F030x4/x6/x8/xC and STM32F070x6/xB advanced ARM-based 32-bit MCUs
name: DM00091010
url: http://www.st.com/resource/en/reference_manual/DM00091010.pdf
flash: 16
ram: 4
cores:
- name: cm0
peripherals:
ADC:
address: 0x40012708
kind: ADC:aditf4_v1_1
pins:
- pin: PA0
signal: IN0
- pin: PA1
signal: IN1
- pin: PA2
signal: IN2
- pin: PA3
signal: IN3
- pin: PA4
signal: IN4
- pin: PA5
signal: IN5
- pin: PA6
signal: IN6
- pin: PA7
signal: IN7
- pin: PB1
signal: IN9
interrupts:
GLOBAL: ADC1
clock: APB2
dma_channels:
ADC:
- channel: DMA1_CH1
- channel: DMA1_CH2
ADC_COMMON:
address: 0x40012708
kind: ADC_COMMON:aditf4_v1_1
DBGMCU:
address: 0x40015800
kind: DBGMCU:STM32F0_dbgmcu_v1_0
block: dbgmcu_f0/DBGMCU
clock: APB2
DMA1:
address: 0x40020000
block: bdma_v1/DMA
clock: AHB
EXTI:
address: 0x40010400
kind: EXTI
block: exti_v1/EXTI
FLASH:
address: 0x40022000
kind: FLASH:STM32F0_flash_v1_0
block: flash_f0/FLASH
GPIOA:
address: 0x48000000
block: gpio_v2/GPIO
GPIOB:
address: 0x48000400
block: gpio_v2/GPIO
GPIOC:
address: 0x48000800
block: gpio_v2/GPIO
GPIOD:
address: 0x48000c00
block: gpio_v2/GPIO
GPIOF:
address: 0x48001400
block: gpio_v2/GPIO
I2C1:
address: 0x40005400
kind: I2C:i2c2_v1_1
clock: APB1
block: i2c_v2/I2C
pins:
- pin: PA9
signal: SCL
af: 4
- pin: PA10
signal: SDA
af: 4
interrupts:
ER: I2C1
EV: I2C1
dma_channels:
RX:
- channel: DMA1_CH3
TX:
- channel: DMA1_CH2
IWDG:
address: 0x40003000
kind: IWDG:iwdg1_v2_0
RCC:
address: 0x40021000
kind: RCC:STM32F0_rcc_v1_0
block: rcc_f0x0/RCC
pins:
- pin: PF0
signal: OSC_IN
- pin: PF1
signal: OSC_OUT
interrupts:
GLOBAL: RCC
RTC:
address: 0x40002800
kind: RTC:rtc2_v2_4
pins:
- pin: PA0
signal: TAMP2
af: 0
interrupts:
GLOBAL: RTC
SPI1:
address: 0x40013000
kind: SPI:spi2s1_v3_0
clock: APB1
pins:
- pin: PA4
signal: NSS
af: 0
- pin: PA5
signal: SCK
af: 0
- pin: PA6
signal: MISO
af: 0
- pin: PA7
signal: MOSI
af: 0
interrupts:
GLOBAL: SPI1
dma_channels:
RX:
- channel: DMA1_CH2
TX:
- channel: DMA1_CH3
SYSCFG:
address: 0x40010000
kind: SYS:STM32F051_sys_v1_0
block: syscfg_f0/SYSCFG
clock: APB2
TIM1:
address: 0x40012c00
kind: TIM1_8F0:gptimer2_v2_x
block: timer_v1/TIM_GP16
pins:
- pin: PA6
signal: BKIN
af: 2
- pin: PA7
signal: CH1N
af: 2
- pin: PB1
signal: CH3N
af: 2
- pin: PA9
signal: CH2
af: 2
- pin: PA10
signal: CH3
af: 2
interrupts:
BRK: TIM1_BRK_UP_TRG_COM
COM: TIM1_BRK_UP_TRG_COM
TRG: TIM1_BRK_UP_TRG_COM
UP: TIM1_BRK_UP_TRG_COM
clock: APB2
dma_channels:
CH1:
- channel: DMA1_CH2
CH2:
- channel: DMA1_CH3
CH3:
- channel: DMA1_CH5
CH4:
- channel: DMA1_CH4
COM:
- channel: DMA1_CH4
TRIG:
- channel: DMA1_CH4
UP:
- channel: DMA1_CH5
TIM14:
address: 0x40002000
kind: TIM1_8F0:gptimer2_v2_x
block: timer_v1/TIM_GP16
pins:
- pin: PA4
signal: CH1
af: 4
- pin: PA7
signal: CH1
af: 4
- pin: PB1
signal: CH1
af: 0
interrupts:
BRK: TIM14
COM: TIM14
TRG: TIM14
UP: TIM14
clock: APB1
TIM16:
address: 0x40014400
kind: TIM1_8F0:gptimer2_v2_x
block: timer_v1/TIM_GP16
pins:
- pin: PA6
signal: CH1
af: 5
interrupts:
BRK: TIM16
COM: TIM16
TRG: TIM16
UP: TIM16
clock: APB2
dma_channels:
CH1:
- channel: DMA1_CH3
- channel: DMA1_CH4
UP:
- channel: DMA1_CH3
- channel: DMA1_CH4
TIM17:
address: 0x40014800
kind: TIM1_8F0:gptimer2_v2_x
block: timer_v1/TIM_GP16
pins:
- pin: PA7
signal: CH1
af: 5
- pin: PA10
signal: BKIN
af: 0
interrupts:
BRK: TIM17
COM: TIM17
TRG: TIM17
UP: TIM17
clock: APB2
dma_channels:
CH1:
- channel: DMA1_CH1
- channel: DMA1_CH2
UP:
- channel: DMA1_CH1
- channel: DMA1_CH2
TIM3:
address: 0x40000400
kind: TIM1_8F0:gptimer2_v2_x
block: timer_v1/TIM_GP16
pins:
- pin: PA6
signal: CH1
af: 1
- pin: PA7
signal: CH2
af: 1
- pin: PB1
signal: CH4
af: 1
interrupts:
BRK: TIM3
COM: TIM3
TRG: TIM3
UP: TIM3
clock: APB1
dma_channels:
CH1:
- channel: DMA1_CH4
CH3:
- channel: DMA1_CH2
CH4:
- channel: DMA1_CH3
TRIG:
- channel: DMA1_CH4
UP:
- channel: DMA1_CH3
USART1:
address: 0x40013800
kind: USART:sci2_v2_2
block: usart_v2/USART
pins:
- pin: PA0
signal: CTS
af: 1
- pin: PA1
signal: DE
af: 1
- pin: PA1
signal: RTS
af: 1
- pin: PA2
signal: TX
af: 1
- pin: PA3
signal: RX
af: 1
- pin: PA4
signal: CK
af: 1
- pin: PA9
signal: TX
af: 1
- pin: PA10
signal: RX
af: 1
- pin: PA14
signal: TX
af: 1
interrupts:
GLOBAL: USART1
clock: APB2
dma_channels:
RX:
- channel: DMA1_CH3
- channel: DMA1_CH5
TX:
- channel: DMA1_CH2
- channel: DMA1_CH4
WWDG:
address: 0x40002c00
kind: WWDG:wwdg1_v1_0
clock: APB1
interrupts:
GLOBAL: WWDG
interrupts:
ADC1: 12
DMA1_Channel1: 9
DMA1_Channel2_3: 10
DMA1_Channel4_5: 11
EXTI0_1: 5
EXTI2_3: 6
EXTI4_15: 7
FLASH: 3
I2C1: 23
RCC: 4
RTC: 2
SPI1: 25
TIM14: 19
TIM16: 21
TIM17: 22
TIM1_BRK_UP_TRG_COM: 13
TIM1_CC: 14
TIM3: 16
USART1: 27
WWDG: 0
dma_channels:
DMA1_CH1:
dma: DMA1
channel: 0
DMA1_CH2:
dma: DMA1
channel: 1
DMA1_CH3:
dma: DMA1
channel: 2
DMA1_CH4:
dma: DMA1
channel: 3
DMA1_CH5:
dma: DMA1
channel: 4
application-notes:
- title: Using the STM32F0/F1/F3/Gx/Lx Series DMA controller
name: CD00160362
url: http://www.st.com/resource/en/application_note/CD00160362.pdf
- title: STM32 microcontroller system memory boot mode
name: CD00167594
url: http://www.st.com/resource/en/application_note/CD00167594.pdf
- title: How to get the best ADC accuracy in STM32 microcontrollers
name: CD00211314
url: http://www.st.com/resource/en/application_note/CD00211314.pdf
- title: Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32s USART
name: CD00249778
url: http://www.st.com/resource/en/application_note/CD00249778.pdf
- title: Audio and waveform generation using the DAC in STM32 products
name: CD00259245
url: http://www.st.com/resource/en/application_note/CD00259245.pdf
- title: USART protocol used in the STM32 bootloader
name: CD00264342
url: http://www.st.com/resource/en/application_note/CD00264342.pdf
- title: USB DFU protocol used in the STM32 bootloader
name: CD00264379
url: http://www.st.com/resource/en/application_note/CD00264379.pdf
- title: Migration and compatibility guidelines for STM32 microcontroller applications
name: DM00024853
url: http://www.st.com/resource/en/application_note/DM00024853.pdf
- title: Using the hardware real-time clock (RTC) in STM32 F0, F2, F3, F4 and L1 series of MCUs
name: DM00025071
url: http://www.st.com/resource/en/application_note/DM00025071.pdf
- title: STM32 cross-series timer overview
name: DM00042534
url: http://www.st.com/resource/en/application_note/DM00042534.pdf
- title: Migrating between STM32F1 and STM32F0 series microcontrollers
name: DM00052530
url: http://www.st.com/resource/en/application_note/DM00052530.pdf
- title: Implementation of transmitters and receivers for infrared remote control protocols with MCUs of the STM32F0 and STM32F3 Series
name: DM00053084
url: http://www.st.com/resource/en/application_note/DM00053084.pdf
- title: I2C protocol used in the STM32 bootloader
name: DM00072315
url: http://www.st.com/resource/en/application_note/DM00072315.pdf
- title: How to implement a vocoder solution using STM32 microcontrollers
name: DM00073742
url: http://www.st.com/resource/en/application_note/DM00073742.pdf
- title: Using STM32 device PWM shut-down features for motor control and digital power conversion
name: DM00080497
url: http://www.st.com/resource/en/application_note/DM00080497.pdf
- title: Improve conducted noise robustness for touch sensing applications on MCUs
name: DM00085385
url: http://www.st.com/resource/en/application_note/DM00085385.pdf
- title: Sampling capacitor selection guide for touch sensing applications on MCUs
name: DM00087593
url: http://www.st.com/resource/en/application_note/DM00087593.pdf
- title: Getting started with STM32F030xx and STM32F070xx series hardware development
name: DM00089834
url: http://www.st.com/resource/en/application_note/DM00089834.pdf
- title: Extending the DAC performance of STM32 microcontrollers
name: DM00129215
url: http://www.st.com/resource/en/application_note/DM00129215.pdf
- title: Migrating between STM32F0 and STM32L0 microcontrollers
name: DM00145318
url: http://www.st.com/resource/en/application_note/DM00145318.pdf
- title: Virtually increasing the number of serial communication peripherals in STM32 applications
name: DM00160482
url: http://www.st.com/resource/en/application_note/DM00160482.pdf
- title: STM32Cube firmware examples for STM32F0 Series
name: DM00210690
url: http://www.st.com/resource/en/application_note/DM00210690.pdf
- title: Handling of soft errors in STM32 applications
name: DM00220769
url: http://www.st.com/resource/en/application_note/DM00220769.pdf
- title: High-speed SI simulations using IBIS and board-level simulations using HyperLynx SI on STM32 MCUs and MPUs
name: DM00257177
url: http://www.st.com/resource/en/application_note/DM00257177.pdf
- title: Using the hardware real-time clock (RTC) and the tamper management unit (TAMP) with STM32 microcontrollers
name: DM00226326
url: http://www.st.com/resource/en/application_note/DM00226326.pdf
- title: General-purpose timer cookbook for STM32 microcontrollers
name: DM00236305
url: http://www.st.com/resource/en/application_note/DM00236305.pdf
- title: Migration guidelines from PIC18 to STM32F0 Series with software expansion for STM32Cube
name: DM00188145
url: http://www.st.com/resource/en/application_note/DM00188145.pdf
- title: STM32 USART automatic baud rate detection
name: DM00327191
url: http://www.st.com/resource/en/application_note/DM00327191.pdf
- title: How to wake up an STM32xx Series microcontroller from low-power mode with the USART or the LPUART
name: DM00355687
url: http://www.st.com/resource/en/application_note/DM00355687.pdf
- title: STM32 microcontroller debug toolbox
name: DM00354244
url: http://www.st.com/resource/en/application_note/DM00354244.pdf
- title: STM32 GPIO configuration for hardware settings and low-power consumption
name: DM00315319
url: http://www.st.com/resource/en/application_note/DM00315319.pdf
- title: Interfacing PDM digital microphones using STM32 MCUs and MPUs
name: DM00380469
url: http://www.st.com/resource/en/application_note/DM00380469.pdf
- title: Thermal management guidelines for STM32 applications
name: DM00395696
url: http://www.st.com/resource/en/application_note/DM00395696.pdf
- title: Getting started with touch sensing control on STM32 microcontrollers
name: DM00445657
url: http://www.st.com/resource/en/application_note/DM00445657.pdf
- title: Introduction to STM32 microcontrollers security
name: DM00493651
url: http://www.st.com/resource/en/application_note/DM00493651.pdf
- title: Migration of applications from STM32F0 Series to STM32G0 Series
name: DM00483659
url: http://www.st.com/resource/en/application_note/DM00483659.pdf
- title: USB Type-C Power Delivery using STM32 MCUs and MPUs
name: DM00536349
url: http://www.st.com/resource/en/application_note/DM00536349.pdf
- title: Enhanced methods to handle SPI communication on STM32 devices
name: DM00725181
url: http://www.st.com/resource/en/application_note/DM00725181.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment