|
|
|
#MicroXplorer Configuration settings - do not modify
|
|
|
|
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_0
|
|
|
|
ADC1.Channel-1\#ChannelRegularConversion=ADC_CHANNEL_1
|
|
|
|
ADC1.Channel-2\#ChannelRegularConversion=ADC_CHANNEL_TEMPSENSOR
|
|
|
|
ADC1.Channel-3\#ChannelRegularConversion=ADC_CHANNEL_VREFINT
|
|
|
|
ADC1.ContinuousConvMode=ENABLE
|
|
|
|
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,master,ContinuousConvMode,Rank-1\#ChannelRegularConversion,Channel-1\#ChannelRegularConversion,SamplingTime-1\#ChannelRegularConversion,Rank-2\#ChannelRegularConversion,Channel-2\#ChannelRegularConversion,SamplingTime-2\#ChannelRegularConversion,Rank-3\#ChannelRegularConversion,Channel-3\#ChannelRegularConversion,SamplingTime-3\#ChannelRegularConversion,NbrOfConversion
|
|
|
|
ADC1.NbrOfConversion=4
|
|
|
|
ADC1.NbrOfConversionFlag=1
|
|
|
|
ADC1.Rank-0\#ChannelRegularConversion=1
|
|
|
|
ADC1.Rank-1\#ChannelRegularConversion=2
|
|
|
|
ADC1.Rank-2\#ChannelRegularConversion=3
|
|
|
|
ADC1.Rank-3\#ChannelRegularConversion=4
|
|
|
|
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_41CYCLES_5
|
|
|
|
ADC1.SamplingTime-1\#ChannelRegularConversion=ADC_SAMPLETIME_41CYCLES_5
|
|
|
|
ADC1.SamplingTime-2\#ChannelRegularConversion=ADC_SAMPLETIME_41CYCLES_5
|
|
|
|
ADC1.SamplingTime-3\#ChannelRegularConversion=ADC_SAMPLETIME_41CYCLES_5
|
|
|
|
ADC1.master=1
|
|
|
|
Dma.ADC1.0.Direction=DMA_PERIPH_TO_MEMORY
|
|
|
|
Dma.ADC1.0.Instance=DMA1_Channel1
|
|
|
|
Dma.ADC1.0.MemDataAlignment=DMA_MDATAALIGN_HALFWORD
|
|
|
|
Dma.ADC1.0.MemInc=DMA_MINC_ENABLE
|
|
|
|
Dma.ADC1.0.Mode=DMA_CIRCULAR
|
|
|
|
Dma.ADC1.0.PeriphDataAlignment=DMA_PDATAALIGN_HALFWORD
|
|
|
|
Dma.ADC1.0.PeriphInc=DMA_PINC_DISABLE
|
|
|
|
Dma.ADC1.0.Priority=DMA_PRIORITY_MEDIUM
|
|
|
|
Dma.ADC1.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
|
|
|
|
Dma.Request0=ADC1
|
|
|
|
Dma.RequestsNb=1
|
|
|
|
FREERTOS.IPParameters=Tasks01,configUSE_MALLOC_FAILED_HOOK,configCHECK_FOR_STACK_OVERFLOW,configUSE_NEWLIB_REENTRANT
|
|
|
|
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL
|
|
|
|
FREERTOS.configCHECK_FOR_STACK_OVERFLOW=2
|
|
|
|
FREERTOS.configUSE_MALLOC_FAILED_HOOK=1
|
|
|
|
FREERTOS.configUSE_NEWLIB_REENTRANT=1
|
|
|
|
File.Version=6
|
|
|
|
GPIO.groupedBy=Group By Peripherals
|
|
|
|
IWDG.IPParameters=Prescaler,Reload
|
|
|
|
IWDG.Prescaler=IWDG_PRESCALER_256
|
|
|
|
IWDG.Reload=624
|
|
|
|
KeepUserPlacement=false
|
|
|
|
Mcu.CPN=STM32F103CBT6
|
|
|
|
Mcu.Family=STM32F1
|
|
|
|
Mcu.IP0=ADC1
|
|
|
|
Mcu.IP1=DMA
|
|
|
|
Mcu.IP10=USART1
|
|
|
|
Mcu.IP2=FREERTOS
|
|
|
|
Mcu.IP3=IWDG
|
|
|
|
Mcu.IP4=NVIC
|
|
|
|
Mcu.IP5=RCC
|
|
|
|
Mcu.IP6=SPI1
|
|
|
|
Mcu.IP7=SYS
|
|
|
|
Mcu.IP8=TIM2
|
|
|
|
Mcu.IP9=TIM4
|
|
|
|
Mcu.IPNb=11
|
|
|
|
Mcu.Name=STM32F103C(8-B)Tx
|
|
|
|
Mcu.Package=LQFP48
|
|
|
|
Mcu.Pin0=PC13-TAMPER-RTC
|
|
|
|
Mcu.Pin1=PD0-OSC_IN
|
|
|
|
Mcu.Pin10=PB10
|
|
|
|
Mcu.Pin11=PA9
|
|
|
|
Mcu.Pin12=PA10
|
|
|
|
Mcu.Pin13=PA13
|
|
|
|
Mcu.Pin14=PA14
|
|
|
|
Mcu.Pin15=PA15
|
|
|
|
Mcu.Pin16=PB6
|
|
|
|
Mcu.Pin17=PB7
|
|
|
|
Mcu.Pin18=PB8
|
|
|
|
Mcu.Pin19=VP_ADC1_TempSens_Input
|
|
|
|
Mcu.Pin2=PD1-OSC_OUT
|
|
|
|
Mcu.Pin20=VP_ADC1_Vref_Input
|
|
|
|
Mcu.Pin21=VP_FREERTOS_VS_CMSIS_V2
|
|
|
|
Mcu.Pin22=VP_IWDG_VS_IWDG
|
|
|
|
Mcu.Pin23=VP_SYS_VS_tim1
|
|
|
|
Mcu.Pin24=VP_TIM2_VS_ClockSourceINT
|
|
|
|
Mcu.Pin3=PA0-WKUP
|
|
|
|
Mcu.Pin4=PA1
|
|
|
|
Mcu.Pin5=PA5
|
|
|
|
Mcu.Pin6=PA6
|
|
|
|
Mcu.Pin7=PA7
|
|
|
|
Mcu.Pin8=PB0
|
|
|
|
Mcu.Pin9=PB1
|
|
|
|
Mcu.PinsNb=25
|
|
|
|
Mcu.ThirdPartyNb=0
|
|
|
|
Mcu.UserConstants=
|
|
|
|
Mcu.UserName=STM32F103CBTx
|
|
|
|
MxCube.Version=6.5.0
|
|
|
|
MxDb.Version=DB.6.0.50
|
|
|
|
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:true
|
|
|
|
NVIC.DMA1_Channel1_IRQn=true\:5\:0\:false\:false\:true\:true\:false\:true\:true
|
|
|
|
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:true
|
|
|
|
NVIC.ForceEnableDMAVector=true
|
|
|
|
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:true
|
|
|
|
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:true
|
|
|
|
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:true
|
|
|
|
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false\:true
|
|
|
|
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
|
|
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false\:true
|
|
|
|
NVIC.SavedPendsvIrqHandlerGenerated=true
|
|
|
|
NVIC.SavedSvcallIrqHandlerGenerated=true
|
|
|
|
NVIC.SavedSystickIrqHandlerGenerated=true
|
|
|
|
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:true\:true
|
|
|
|
NVIC.TIM1_UP_IRQn=true\:15\:0\:false\:false\:true\:false\:false\:true\:true
|
|
|
|
NVIC.TIM4_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true\:true
|
|
|
|
NVIC.TimeBase=TIM1_UP_IRQn
|
|
|
|
NVIC.TimeBaseIP=TIM1
|
|
|
|
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:true
|
|
|
|
PA0-WKUP.GPIOParameters=GPIO_Label
|
|
|
|
PA0-WKUP.GPIO_Label=ADC_PT100
|
|
|
|
PA0-WKUP.Signal=ADCx_IN0
|
|
|
|
PA1.GPIOParameters=GPIO_Label
|
|
|
|
PA1.GPIO_Label=ADC_SENSR
|
|
|
|
PA1.Locked=true
|
|
|
|
PA1.Signal=ADCx_IN1
|
|
|
|
PA10.Mode=Asynchronous
|
|
|
|
PA10.Signal=USART1_RX
|
|
|
|
PA13.Locked=true
|
|
|
|
PA13.Mode=Serial_Wire
|
|
|
|
PA13.Signal=SYS_JTMS-SWDIO
|
|
|
|
PA14.Locked=true
|
|
|
|
PA14.Mode=Serial_Wire
|
|
|
|
PA14.Signal=SYS_JTCK-SWCLK
|
|
|
|
PA15.GPIOParameters=GPIO_Speed,GPIO_Label
|
|
|
|
PA15.GPIO_Label=BUZZER
|
|
|
|
PA15.GPIO_Speed=GPIO_SPEED_FREQ_HIGH
|
|
|
|
PA15.Signal=S_TIM2_CH1_ETR
|
|
|
|
PA5.GPIOParameters=GPIO_Label
|
|
|
|
PA5.GPIO_Label=OLED_SCLK
|
|
|
|
PA5.Mode=TX_Only_Simplex_Unidirect_Master
|
|
|
|
PA5.Signal=SPI1_SCK
|
|
|
|
PA6.GPIOParameters=GPIO_Label
|
|
|
|
PA6.GPIO_Label=HEATER
|
|
|
|
PA6.Locked=true
|
|
|
|
PA6.Signal=GPIO_Output
|
|
|
|
PA7.GPIOParameters=GPIO_Label
|
|
|
|
PA7.GPIO_Label=OLED_MOSI
|
|
|
|
PA7.Mode=TX_Only_Simplex_Unidirect_Master
|
|
|
|
PA7.Signal=SPI1_MOSI
|
|
|
|
PA9.Mode=Asynchronous
|
|
|
|
PA9.Signal=USART1_TX
|
|
|
|
PB0.GPIOParameters=GPIO_Label
|
|
|
|
PB0.GPIO_Label=OLED_CS
|
|
|
|
PB0.Locked=true
|
|
|
|
PB0.Signal=GPIO_Output
|
|
|
|
PB1.GPIOParameters=GPIO_Label
|
|
|
|
PB1.GPIO_Label=OLED_DC
|
|
|
|
PB1.Locked=true
|
|
|
|
PB1.Signal=GPIO_Output
|
|
|
|
PB10.GPIOParameters=GPIO_Label
|
|
|
|
PB10.GPIO_Label=OLED_RST
|
|
|
|
PB10.Locked=true
|
|
|
|
PB10.Signal=GPIO_Output
|
|
|
|
PB6.GPIOParameters=GPIO_PuPd,GPIO_Label
|
|
|
|
PB6.GPIO_Label=KNOB_A
|
|
|
|
PB6.GPIO_PuPd=GPIO_PULLUP
|
|
|
|
PB6.Signal=S_TIM4_CH1
|
|
|
|
PB7.GPIOParameters=GPIO_PuPd,GPIO_Label
|
|
|
|
PB7.GPIO_Label=KNOB_B
|
|
|
|
PB7.GPIO_PuPd=GPIO_PULLUP
|
|
|
|
PB7.Signal=S_TIM4_CH2
|
|
|
|
PB8.GPIOParameters=GPIO_Label
|
|
|
|
PB8.GPIO_Label=KNOB_PUSH
|
|
|
|
PB8.Locked=true
|
|
|
|
PB8.Signal=GPIO_Input
|
|
|
|
PC13-TAMPER-RTC.GPIOParameters=GPIO_Label
|
|
|
|
PC13-TAMPER-RTC.GPIO_Label=LED
|
|
|
|
PC13-TAMPER-RTC.Locked=true
|
|
|
|
PC13-TAMPER-RTC.Signal=GPIO_Output
|
|
|
|
PD0-OSC_IN.Mode=HSE-External-Oscillator
|
|
|
|
PD0-OSC_IN.Signal=RCC_OSC_IN
|
|
|
|
PD1-OSC_OUT.Mode=HSE-External-Oscillator
|
|
|
|
PD1-OSC_OUT.Signal=RCC_OSC_OUT
|
|
|
|
PinOutPanel.RotationAngle=0
|
|
|
|
ProjectManager.AskForMigrate=true
|
|
|
|
ProjectManager.BackupPrevious=false
|
|
|
|
ProjectManager.CompilerOptimize=6
|
|
|
|
ProjectManager.ComputerToolchain=false
|
|
|
|
ProjectManager.CoupleFile=true
|
|
|
|
ProjectManager.CustomerFirmwarePackage=
|
|
|
|
ProjectManager.DefaultFWLocation=true
|
|
|
|
ProjectManager.DeletePrevious=true
|
|
|
|
ProjectManager.DeviceId=STM32F103CBTx
|
|
|
|
ProjectManager.FirmwarePackage=STM32Cube FW_F1 V1.8.4
|
|
|
|
ProjectManager.FreePins=false
|
|
|
|
ProjectManager.HalAssertFull=true
|
|
|
|
ProjectManager.HeapSize=0x200
|
|
|
|
ProjectManager.KeepUserCode=true
|
|
|
|
ProjectManager.LastFirmware=true
|
|
|
|
ProjectManager.LibraryCopy=1
|
|
|
|
ProjectManager.MainLocation=Core/Src
|
|
|
|
ProjectManager.NoMain=false
|
|
|
|
ProjectManager.PreviousToolchain=STM32CubeIDE
|
|
|
|
ProjectManager.ProjectBuild=false
|
|
|
|
ProjectManager.ProjectFileName=BluepillTrouba.ioc
|
|
|
|
ProjectManager.ProjectName=BluepillTrouba
|
|
|
|
ProjectManager.RegisterCallBack=
|
|
|
|
ProjectManager.StackSize=0x400
|
|
|
|
ProjectManager.TargetToolchain=Makefile
|
|
|
|
ProjectManager.ToolChainLocation=
|
|
|
|
ProjectManager.UnderRoot=false
|
|
|
|
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_IWDG_Init-IWDG-false-HAL-true,4-MX_USART1_UART_Init-USART1-false-HAL-true,5-MX_ADC1_Init-ADC1-false-HAL-true,6-MX_SPI1_Init-SPI1-false-HAL-true,7-MX_DMA_Init-DMA-false-HAL-true,8-MX_TIM4_Init-TIM4-false-HAL-true,9-MX_TIM2_Init-TIM2-false-HAL-true,10-MX_TIM3_Init-TIM3-false-HAL-true
|
|
|
|
RCC.ADCFreqValue=2250000
|
|
|
|
RCC.ADCPresc=RCC_ADCPCLK2_DIV8
|
|
|
|
RCC.AHBFreq_Value=72000000
|
|
|
|
RCC.APB1CLKDivider=RCC_HCLK_DIV2
|
|
|
|
RCC.APB1Freq_Value=36000000
|
|
|
|
RCC.APB1TimFreq_Value=72000000
|
|
|
|
RCC.APB2CLKDivider=RCC_HCLK_DIV4
|
|
|
|
RCC.APB2Freq_Value=18000000
|
|
|
|
RCC.APB2TimFreq_Value=36000000
|
|
|
|
RCC.FCLKCortexFreq_Value=72000000
|
|
|
|
RCC.FamilyName=M
|
|
|
|
RCC.HCLKFreq_Value=72000000
|
|
|
|
RCC.IPParameters=ADCFreqValue,ADCPresc,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2CLKDivider,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLMUL,PLLSourceVirtual,RTCClockSelection,RTCFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TimSysFreq_Value,USBFreq_Value,VCOOutput2Freq_Value
|
|
|
|
RCC.MCOFreq_Value=72000000
|
|
|
|
RCC.PLLCLKFreq_Value=72000000
|
|
|
|
RCC.PLLMCOFreq_Value=36000000
|
|
|
|
RCC.PLLMUL=RCC_PLL_MUL9
|
|
|
|
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE
|
|
|
|
RCC.RTCClockSelection=RCC_RTCCLKSOURCE_LSE
|
|
|
|
RCC.RTCFreq_Value=32768
|
|
|
|
RCC.SYSCLKFreq_VALUE=72000000
|
|
|
|
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
|
|
RCC.TimSysFreq_Value=72000000
|
|
|
|
RCC.USBFreq_Value=72000000
|
|
|
|
RCC.VCOOutput2Freq_Value=8000000
|
|
|
|
SH.ADCx_IN0.0=ADC1_IN0,IN0
|
|
|
|
SH.ADCx_IN0.ConfNb=1
|
|
|
|
SH.ADCx_IN1.0=ADC1_IN1,IN1
|
|
|
|
SH.ADCx_IN1.ConfNb=1
|
|
|
|
SH.S_TIM2_CH1_ETR.0=TIM2_CH1,PWM Generation1 CH1
|
|
|
|
SH.S_TIM2_CH1_ETR.ConfNb=1
|
|
|
|
SH.S_TIM4_CH1.0=TIM4_CH1,Encoder_Interface
|
|
|
|
SH.S_TIM4_CH1.ConfNb=1
|
|
|
|
SH.S_TIM4_CH2.0=TIM4_CH2,Encoder_Interface
|
|
|
|
SH.S_TIM4_CH2.ConfNb=1
|
|
|
|
SPI1.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_8
|
|
|
|
SPI1.CalculateBaudRate=2.25 MBits/s
|
|
|
|
SPI1.Direction=SPI_DIRECTION_2LINES
|
|
|
|
SPI1.IPParameters=VirtualType,Mode,Direction,BaudRatePrescaler,CalculateBaudRate
|
|
|
|
SPI1.Mode=SPI_MODE_MASTER
|
|
|
|
SPI1.VirtualType=VM_MASTER
|
|
|
|
TIM2.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
|
|
|
|
TIM2.IPParameters=Channel-PWM Generation1 CH1,Prescaler
|
|
|
|
TIM2.Prescaler=2
|
|
|
|
TIM4.IC2Filter=15
|
|
|
|
TIM4.IPParameters=IC2Filter,Prescaler
|
|
|
|
TIM4.Prescaler=0
|
|
|
|
USART1.IPParameters=VirtualMode,Mode
|
|
|
|
USART1.Mode=MODE_TX_RX
|
|
|
|
USART1.VirtualMode=VM_ASYNC
|
|
|
|
VP_ADC1_TempSens_Input.Mode=IN-TempSens
|
|
|
|
VP_ADC1_TempSens_Input.Signal=ADC1_TempSens_Input
|
|
|
|
VP_ADC1_Vref_Input.Mode=IN-Vrefint
|
|
|
|
VP_ADC1_Vref_Input.Signal=ADC1_Vref_Input
|
|
|
|
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
|
|
|
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
|
|
|
VP_IWDG_VS_IWDG.Mode=IWDG_Activate
|
|
|
|
VP_IWDG_VS_IWDG.Signal=IWDG_VS_IWDG
|
|
|
|
VP_SYS_VS_tim1.Mode=TIM1
|
|
|
|
VP_SYS_VS_tim1.Signal=SYS_VS_tim1
|
|
|
|
VP_TIM2_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT
|
|
|
|
board=custom
|