You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
4.0 KiB
132 lines
4.0 KiB
Configuration BluepillTrouba
|
|
STM32CubeMX 6.5.0
|
|
Date 03/04/2023
|
|
MCU STM32F103CBTx
|
|
|
|
|
|
|
|
PERIPHERALS MODES FUNCTIONS PINS
|
|
ADC1 IN0 ADC1_IN0 PA0-WKUP
|
|
ADC1 IN1 ADC1_IN1 PA1
|
|
ADC1 Single-ended ADC1_TempSens_Input VP_ADC1_TempSens_Input
|
|
ADC1 Vrefint Channel ADC1_Vref_Input VP_ADC1_Vref_Input
|
|
RCC Crystal/Ceramic Resonator RCC_OSC_IN PD0-OSC_IN
|
|
RCC Crystal/Ceramic Resonator RCC_OSC_OUT PD1-OSC_OUT
|
|
RCC Crystal/Ceramic Resonator RCC_OSC32_IN PC14-OSC32_IN
|
|
RCC Crystal/Ceramic Resonator RCC_OSC32_OUT PC15-OSC32_OUT
|
|
RTC Activate Clock Source RTC_VS_RTC_Activate VP_RTC_VS_RTC_Activate
|
|
RTC No RTC Output RTC_No_RTC_Output VP_RTC_No_RTC_Output
|
|
SPI1 Transmit Only Master SPI1_MOSI PA7
|
|
SPI1 Transmit Only Master SPI1_SCK PA5
|
|
SYS Serial Wire SYS_JTCK-SWCLK PA14
|
|
SYS Serial Wire SYS_JTMS-SWDIO PA13
|
|
SYS TIM1 SYS_VS_tim1 VP_SYS_VS_tim1
|
|
TIM2 Internal Clock TIM2_VS_ClockSourceINT VP_TIM2_VS_ClockSourceINT
|
|
TIM2 PWM Generation CH1 TIM2_CH1 PA15
|
|
TIM3 Internal Clock TIM3_VS_ClockSourceINT VP_TIM3_VS_ClockSourceINT
|
|
TIM3 PWM Generation CH1 TIM3_CH1 PA6
|
|
TIM4 Encoder Mode TIM4_CH1 PB6
|
|
TIM4 Encoder Mode TIM4_CH2 PB7
|
|
USART1 Asynchronous USART1_RX PA10
|
|
USART1 Asynchronous USART1_TX PA9
|
|
|
|
|
|
|
|
Pin Nb PINs FUNCTIONs LABELs
|
|
2 PC13-TAMPER-RTC GPIO_Output LED
|
|
3 PC14-OSC32_IN RCC_OSC32_IN
|
|
4 PC15-OSC32_OUT RCC_OSC32_OUT
|
|
5 PD0-OSC_IN RCC_OSC_IN
|
|
6 PD1-OSC_OUT RCC_OSC_OUT
|
|
10 PA0-WKUP ADC1_IN0 ADC_PT100
|
|
11 PA1 ADC1_IN1 ADC_SENSR
|
|
15 PA5 SPI1_SCK OLED_SCLK
|
|
16 PA6 TIM3_CH1 HEATER
|
|
17 PA7 SPI1_MOSI OLED_MOSI
|
|
18 PB0 GPIO_Output OLED_CS
|
|
19 PB1 GPIO_Output OLED_DC
|
|
21 PB10 GPIO_Output OLED_RST
|
|
30 PA9 USART1_TX
|
|
31 PA10 USART1_RX
|
|
34 PA13 SYS_JTMS-SWDIO
|
|
37 PA14 SYS_JTCK-SWCLK
|
|
38 PA15 TIM2_CH1 BUZZER
|
|
42 PB6 TIM4_CH1 KNOB_A
|
|
43 PB7 TIM4_CH2 KNOB_B
|
|
45 PB8 GPIO_Input KNOB_PUSH
|
|
PERIPHERALS MODES FUNCTIONS PINS
|
|
ADC1 IN0 ADC1_IN0 PA0-WKUP
|
|
ADC1 IN1 ADC1_IN1 PA1
|
|
ADC1 Single-ended ADC1_TempSens_Input VP_ADC1_TempSens_Input
|
|
ADC1 Vrefint Channel ADC1_Vref_Input VP_ADC1_Vref_Input
|
|
RCC Crystal/Ceramic Resonator RCC_OSC_IN PD0-OSC_IN
|
|
RCC Crystal/Ceramic Resonator RCC_OSC_OUT PD1-OSC_OUT
|
|
RCC Crystal/Ceramic Resonator RCC_OSC32_IN PC14-OSC32_IN
|
|
RCC Crystal/Ceramic Resonator RCC_OSC32_OUT PC15-OSC32_OUT
|
|
RTC Activate Clock Source RTC_VS_RTC_Activate VP_RTC_VS_RTC_Activate
|
|
RTC No RTC Output RTC_No_RTC_Output VP_RTC_No_RTC_Output
|
|
SPI1 Transmit Only Master SPI1_MOSI PA7
|
|
SPI1 Transmit Only Master SPI1_SCK PA5
|
|
SYS Serial Wire SYS_JTCK-SWCLK PA14
|
|
SYS Serial Wire SYS_JTMS-SWDIO PA13
|
|
SYS TIM1 SYS_VS_tim1 VP_SYS_VS_tim1
|
|
TIM2 Internal Clock TIM2_VS_ClockSourceINT VP_TIM2_VS_ClockSourceINT
|
|
TIM2 PWM Generation CH1 TIM2_CH1 PA15
|
|
TIM3 Internal Clock TIM3_VS_ClockSourceINT VP_TIM3_VS_ClockSourceINT
|
|
TIM3 PWM Generation CH1 TIM3_CH1 PA6
|
|
TIM4 Encoder Mode TIM4_CH1 PB6
|
|
TIM4 Encoder Mode TIM4_CH2 PB7
|
|
USART1 Asynchronous USART1_RX PA10
|
|
USART1 Asynchronous USART1_TX PA9
|
|
|
|
|
|
|
|
Pin Nb PINs FUNCTIONs LABELs
|
|
2 PC13-TAMPER-RTC GPIO_Output LED
|
|
3 PC14-OSC32_IN RCC_OSC32_IN
|
|
4 PC15-OSC32_OUT RCC_OSC32_OUT
|
|
5 PD0-OSC_IN RCC_OSC_IN
|
|
6 PD1-OSC_OUT RCC_OSC_OUT
|
|
10 PA0-WKUP ADC1_IN0 ADC_PT100
|
|
11 PA1 ADC1_IN1 ADC_SENSR
|
|
15 PA5 SPI1_SCK OLED_SCLK
|
|
16 PA6 TIM3_CH1 HEATER
|
|
17 PA7 SPI1_MOSI OLED_MOSI
|
|
18 PB0 GPIO_Output OLED_CS
|
|
19 PB1 GPIO_Output OLED_DC
|
|
21 PB10 GPIO_Output OLED_RST
|
|
30 PA9 USART1_TX
|
|
31 PA10 USART1_RX
|
|
34 PA13 SYS_JTMS-SWDIO
|
|
37 PA14 SYS_JTCK-SWCLK
|
|
38 PA15 TIM2_CH1 BUZZER
|
|
42 PB6 TIM4_CH1 KNOB_A
|
|
43 PB7 TIM4_CH2 KNOB_B
|
|
45 PB8 GPIO_Input KNOB_PUSH
|
|
|
|
|
|
|
|
SOFTWARE PROJECT
|
|
|
|
Project Settings :
|
|
Project Name : BluepillTrouba
|
|
Project Folder : /home/ondra/STM32Cube/BluepillTrouba
|
|
Toolchain / IDE : Makefile
|
|
Firmware Package Name and Version : STM32Cube FW_F1 V1.8.4
|
|
|
|
|
|
Code Generation Settings :
|
|
STM32Cube MCU packages and embedded software packs : Copy only the necessary library files
|
|
Generate peripheral initialization as a pair of '.c/.h' files per peripheral : Yes
|
|
Backup previously generated files when re-generating : No
|
|
Delete previously generated files when not re-generated : Yes
|
|
Set all free pins as analog (to optimize the power consumption) : No
|
|
|
|
|
|
Toolchains Settings :
|
|
Compiler Optimizations :
|
|
|
|
|
|
|
|
|
|
|
|
|