2019-03-07 15:43:08 +08:00
|
|
|
#MicroXplorer Configuration settings - do not modify
|
2022-04-20 09:09:58 +08:00
|
|
|
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_0
|
|
|
|
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,master,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag
|
|
|
|
ADC1.NbrOfConversionFlag=1
|
|
|
|
ADC1.Rank-0\#ChannelRegularConversion=1
|
|
|
|
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_3CYCLES
|
|
|
|
ADC1.master=1
|
2023-08-02 09:02:46 +08:00
|
|
|
CAD.formats=
|
|
|
|
CAD.pinconfig=
|
|
|
|
CAD.provider=
|
2019-03-07 15:43:08 +08:00
|
|
|
File.Version=6
|
|
|
|
KeepUserPlacement=false
|
2022-04-20 09:09:58 +08:00
|
|
|
Mcu.CPN=STM32F401RET6
|
2019-03-07 15:43:08 +08:00
|
|
|
Mcu.Family=STM32F4
|
2022-04-20 09:09:58 +08:00
|
|
|
Mcu.IP0=ADC1
|
|
|
|
Mcu.IP1=NVIC
|
2023-08-05 10:07:00 +08:00
|
|
|
Mcu.IP10=TIM11
|
|
|
|
Mcu.IP11=USART2
|
2022-04-20 09:09:58 +08:00
|
|
|
Mcu.IP2=RCC
|
2023-08-02 09:02:46 +08:00
|
|
|
Mcu.IP3=SPI3
|
|
|
|
Mcu.IP4=SYS
|
|
|
|
Mcu.IP5=TIM1
|
|
|
|
Mcu.IP6=TIM2
|
|
|
|
Mcu.IP7=TIM3
|
|
|
|
Mcu.IP8=TIM4
|
2023-08-05 10:07:00 +08:00
|
|
|
Mcu.IP9=TIM9
|
|
|
|
Mcu.IPNb=12
|
2019-03-07 15:43:08 +08:00
|
|
|
Mcu.Name=STM32F401R(D-E)Tx
|
|
|
|
Mcu.Package=LQFP64
|
|
|
|
Mcu.Pin0=PC14-OSC32_IN
|
|
|
|
Mcu.Pin1=PC15-OSC32_OUT
|
2022-04-20 09:09:58 +08:00
|
|
|
Mcu.Pin10=PA4
|
2022-07-26 10:07:07 +08:00
|
|
|
Mcu.Pin11=PA7
|
|
|
|
Mcu.Pin12=PB0
|
|
|
|
Mcu.Pin13=PB10
|
|
|
|
Mcu.Pin14=PC7
|
|
|
|
Mcu.Pin15=PA8
|
2022-12-20 14:20:20 +08:00
|
|
|
Mcu.Pin16=PA11
|
|
|
|
Mcu.Pin17=PA13
|
|
|
|
Mcu.Pin18=PA14
|
2023-08-02 09:02:46 +08:00
|
|
|
Mcu.Pin19=PC10
|
2019-03-07 15:43:08 +08:00
|
|
|
Mcu.Pin2=PH0 - OSC_IN
|
2023-08-02 09:02:46 +08:00
|
|
|
Mcu.Pin20=PC11
|
|
|
|
Mcu.Pin21=PC12
|
|
|
|
Mcu.Pin22=PB3
|
|
|
|
Mcu.Pin23=PB4
|
|
|
|
Mcu.Pin24=PB6
|
|
|
|
Mcu.Pin25=VP_ADC1_TempSens_Input
|
|
|
|
Mcu.Pin26=VP_ADC1_Vref_Input
|
|
|
|
Mcu.Pin27=VP_SYS_VS_Systick
|
|
|
|
Mcu.Pin28=VP_TIM1_VS_ClockSourceINT
|
|
|
|
Mcu.Pin29=VP_TIM2_VS_ClockSourceINT
|
2019-03-07 15:43:08 +08:00
|
|
|
Mcu.Pin3=PH1 - OSC_OUT
|
2023-08-02 09:02:46 +08:00
|
|
|
Mcu.Pin30=VP_TIM3_VS_ClockSourceINT
|
|
|
|
Mcu.Pin31=VP_TIM4_VS_ClockSourceINT
|
2023-08-05 10:07:00 +08:00
|
|
|
Mcu.Pin32=VP_TIM9_VS_ClockSourceINT
|
|
|
|
Mcu.Pin33=VP_TIM11_VS_ClockSourceINT
|
2022-04-20 09:09:58 +08:00
|
|
|
Mcu.Pin4=PC0
|
|
|
|
Mcu.Pin5=PC1
|
|
|
|
Mcu.Pin6=PA0-WKUP
|
|
|
|
Mcu.Pin7=PA1
|
|
|
|
Mcu.Pin8=PA2
|
|
|
|
Mcu.Pin9=PA3
|
2023-08-05 10:07:00 +08:00
|
|
|
Mcu.PinsNb=34
|
2019-03-07 15:43:08 +08:00
|
|
|
Mcu.ThirdPartyNb=0
|
|
|
|
Mcu.UserConstants=
|
|
|
|
Mcu.UserName=STM32F401RETx
|
2023-08-05 10:07:00 +08:00
|
|
|
MxCube.Version=6.8.1
|
|
|
|
MxDb.Version=DB.6.0.81
|
2022-07-21 14:07:19 +08:00
|
|
|
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
2022-04-20 09:09:58 +08:00
|
|
|
NVIC.ForceEnableDMAVector=true
|
2022-07-21 14:07:19 +08:00
|
|
|
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
2019-03-07 15:43:08 +08:00
|
|
|
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
2022-07-21 14:07:19 +08:00
|
|
|
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:false
|
|
|
|
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
2022-04-20 09:09:58 +08:00
|
|
|
PA0-WKUP.Locked=true
|
|
|
|
PA0-WKUP.Signal=ADCx_IN0
|
|
|
|
PA1.Locked=true
|
|
|
|
PA1.Signal=ADCx_IN1
|
2022-12-20 14:20:20 +08:00
|
|
|
PA11.Locked=true
|
|
|
|
PA11.Signal=S_TIM1_CH4
|
2019-03-07 15:43:08 +08:00
|
|
|
PA13.Mode=Serial_Wire
|
|
|
|
PA13.Signal=SYS_JTMS-SWDIO
|
|
|
|
PA14.Mode=Serial_Wire
|
|
|
|
PA14.Signal=SYS_JTCK-SWCLK
|
2021-07-07 17:40:55 +08:00
|
|
|
PA2.GPIOParameters=GPIO_Speed,GPIO_PuPd
|
|
|
|
PA2.GPIO_PuPd=GPIO_PULLUP
|
2019-03-07 15:43:08 +08:00
|
|
|
PA2.GPIO_Speed=GPIO_SPEED_FREQ_LOW
|
|
|
|
PA2.Mode=Asynchronous
|
|
|
|
PA2.Signal=USART2_TX
|
2021-07-07 17:40:55 +08:00
|
|
|
PA3.GPIOParameters=GPIO_Speed,GPIO_PuPd
|
|
|
|
PA3.GPIO_PuPd=GPIO_PULLUP
|
2019-03-07 15:43:08 +08:00
|
|
|
PA3.GPIO_Speed=GPIO_SPEED_FREQ_LOW
|
|
|
|
PA3.Mode=Asynchronous
|
|
|
|
PA3.Signal=USART2_RX
|
2022-04-20 09:09:58 +08:00
|
|
|
PA4.Locked=true
|
|
|
|
PA4.Signal=ADCx_IN4
|
2022-07-26 10:07:07 +08:00
|
|
|
PA7.Mode=Output Compare1 CH1 CH1N
|
|
|
|
PA7.Signal=TIM1_CH1N
|
|
|
|
PA8.Signal=S_TIM1_CH1
|
2022-04-20 09:09:58 +08:00
|
|
|
PB0.Locked=true
|
|
|
|
PB0.Signal=ADCx_IN8
|
|
|
|
PB10.Locked=true
|
|
|
|
PB10.Signal=S_TIM2_CH3
|
|
|
|
PB3.Locked=true
|
|
|
|
PB3.Signal=S_TIM2_CH2
|
|
|
|
PB4.Locked=true
|
|
|
|
PB4.Signal=S_TIM3_CH1
|
2022-07-26 10:07:07 +08:00
|
|
|
PB6.Signal=S_TIM4_CH1
|
2022-04-20 09:09:58 +08:00
|
|
|
PC0.Locked=true
|
|
|
|
PC0.Signal=ADCx_IN10
|
|
|
|
PC1.Locked=true
|
|
|
|
PC1.Signal=ADCx_IN11
|
2023-08-02 09:02:46 +08:00
|
|
|
PC10.Mode=Full_Duplex_Master
|
|
|
|
PC10.Signal=SPI3_SCK
|
|
|
|
PC11.Mode=Full_Duplex_Master
|
|
|
|
PC11.Signal=SPI3_MISO
|
|
|
|
PC12.Mode=Full_Duplex_Master
|
|
|
|
PC12.Signal=SPI3_MOSI
|
2019-03-07 15:43:08 +08:00
|
|
|
PC14-OSC32_IN.Mode=LSE-External-Oscillator
|
|
|
|
PC14-OSC32_IN.Signal=RCC_OSC32_IN
|
|
|
|
PC15-OSC32_OUT.Mode=LSE-External-Oscillator
|
|
|
|
PC15-OSC32_OUT.Signal=RCC_OSC32_OUT
|
2022-04-20 09:09:58 +08:00
|
|
|
PC7.Locked=true
|
|
|
|
PC7.Signal=S_TIM3_CH2
|
2019-03-07 15:43:08 +08:00
|
|
|
PH0\ -\ OSC_IN.Mode=HSE-External-Clock-Source
|
|
|
|
PH0\ -\ OSC_IN.Signal=RCC_OSC_IN
|
|
|
|
PH1\ -\ OSC_OUT.Mode=HSE-External-Clock-Source
|
|
|
|
PH1\ -\ OSC_OUT.Signal=RCC_OSC_OUT
|
|
|
|
PinOutPanel.RotationAngle=0
|
|
|
|
ProjectManager.AskForMigrate=true
|
|
|
|
ProjectManager.BackupPrevious=false
|
|
|
|
ProjectManager.CompilerOptimize=6
|
|
|
|
ProjectManager.ComputerToolchain=false
|
|
|
|
ProjectManager.CoupleFile=false
|
|
|
|
ProjectManager.CustomerFirmwarePackage=
|
|
|
|
ProjectManager.DefaultFWLocation=true
|
|
|
|
ProjectManager.DeletePrevious=true
|
|
|
|
ProjectManager.DeviceId=STM32F401RETx
|
2022-07-21 14:07:19 +08:00
|
|
|
ProjectManager.FirmwarePackage=STM32Cube FW_F4 V1.27.1
|
2019-03-07 15:43:08 +08:00
|
|
|
ProjectManager.FreePins=false
|
|
|
|
ProjectManager.HalAssertFull=false
|
|
|
|
ProjectManager.HeapSize=0x200
|
|
|
|
ProjectManager.KeepUserCode=true
|
|
|
|
ProjectManager.LastFirmware=true
|
|
|
|
ProjectManager.LibraryCopy=0
|
|
|
|
ProjectManager.MainLocation=Src
|
|
|
|
ProjectManager.NoMain=false
|
|
|
|
ProjectManager.PreviousToolchain=
|
|
|
|
ProjectManager.ProjectBuild=false
|
|
|
|
ProjectManager.ProjectFileName=CubeMX_Config.ioc
|
|
|
|
ProjectManager.ProjectName=CubeMX_Config
|
2023-08-05 10:07:00 +08:00
|
|
|
ProjectManager.ProjectStructure=
|
2022-04-20 09:09:58 +08:00
|
|
|
ProjectManager.RegisterCallBack=
|
2019-03-07 15:43:08 +08:00
|
|
|
ProjectManager.StackSize=0x400
|
|
|
|
ProjectManager.TargetToolchain=MDK-ARM V5
|
|
|
|
ProjectManager.ToolChainLocation=
|
|
|
|
ProjectManager.UnderRoot=false
|
2023-08-05 10:07:00 +08:00
|
|
|
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_USART2_UART_Init-USART2-false-HAL-true,4-MX_ADC1_Init-ADC1-false-HAL-true,5-MX_TIM2_Init-TIM2-false-HAL-true,6-MX_TIM3_Init-TIM3-false-HAL-true,7-MX_TIM11_Init-TIM11-false-HAL-true,8-MX_TIM1_Init-TIM1-false-HAL-true,9-MX_TIM4_Init-TIM4-false-HAL-true,10-MX_SPI3_Init-SPI3-false-HAL-true
|
2019-03-07 15:43:08 +08:00
|
|
|
RCC.48MHZClocksFreq_Value=84000000
|
|
|
|
RCC.AHBFreq_Value=84000000
|
|
|
|
RCC.APB1CLKDivider=RCC_HCLK_DIV2
|
|
|
|
RCC.APB1Freq_Value=42000000
|
|
|
|
RCC.APB1TimFreq_Value=84000000
|
|
|
|
RCC.APB2Freq_Value=84000000
|
|
|
|
RCC.APB2TimFreq_Value=84000000
|
|
|
|
RCC.CortexFreq_Value=84000000
|
|
|
|
RCC.FCLKCortexFreq_Value=84000000
|
|
|
|
RCC.HCLKFreq_Value=84000000
|
|
|
|
RCC.HSE_VALUE=8000000
|
|
|
|
RCC.HSI_VALUE=16000000
|
|
|
|
RCC.I2SClocksFreq_Value=96000000
|
|
|
|
RCC.IPParameters=48MHZClocksFreq_Value,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,FCLKCortexFreq_Value,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2SClocksFreq_Value,LSI_VALUE,MCO2PinFreq_Value,PLLCLKFreq_Value,PLLN,PLLP,PLLQCLKFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VcooutputI2S
|
|
|
|
RCC.LSI_VALUE=32000
|
|
|
|
RCC.MCO2PinFreq_Value=84000000
|
|
|
|
RCC.PLLCLKFreq_Value=84000000
|
|
|
|
RCC.PLLN=336
|
|
|
|
RCC.PLLP=RCC_PLLP_DIV4
|
|
|
|
RCC.PLLQCLKFreq_Value=84000000
|
|
|
|
RCC.RTCFreq_Value=32000
|
|
|
|
RCC.RTCHSEDivFreq_Value=4000000
|
|
|
|
RCC.SYSCLKFreq_VALUE=84000000
|
|
|
|
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
|
|
RCC.VCOI2SOutputFreq_Value=192000000
|
|
|
|
RCC.VCOInputFreq_Value=1000000
|
|
|
|
RCC.VCOOutputFreq_Value=336000000
|
|
|
|
RCC.VcooutputI2S=96000000
|
2022-04-20 09:09:58 +08:00
|
|
|
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.ADCx_IN10.0=ADC1_IN10,IN10
|
|
|
|
SH.ADCx_IN10.ConfNb=1
|
|
|
|
SH.ADCx_IN11.0=ADC1_IN11,IN11
|
|
|
|
SH.ADCx_IN11.ConfNb=1
|
|
|
|
SH.ADCx_IN4.0=ADC1_IN4,IN4
|
|
|
|
SH.ADCx_IN4.ConfNb=1
|
|
|
|
SH.ADCx_IN8.0=ADC1_IN8,IN8
|
|
|
|
SH.ADCx_IN8.ConfNb=1
|
2022-07-26 10:07:07 +08:00
|
|
|
SH.S_TIM1_CH1.0=TIM1_CH1,Output Compare1 CH1 CH1N
|
|
|
|
SH.S_TIM1_CH1.ConfNb=1
|
2022-12-20 14:20:20 +08:00
|
|
|
SH.S_TIM1_CH4.0=TIM1_CH4,PWM Generation4 CH4
|
|
|
|
SH.S_TIM1_CH4.ConfNb=1
|
2022-04-20 09:09:58 +08:00
|
|
|
SH.S_TIM2_CH2.0=TIM2_CH2,PWM Generation2 CH2
|
|
|
|
SH.S_TIM2_CH2.ConfNb=1
|
|
|
|
SH.S_TIM2_CH3.0=TIM2_CH3,PWM Generation3 CH3
|
|
|
|
SH.S_TIM2_CH3.ConfNb=1
|
|
|
|
SH.S_TIM3_CH1.0=TIM3_CH1,PWM Generation1 CH1
|
|
|
|
SH.S_TIM3_CH1.ConfNb=1
|
|
|
|
SH.S_TIM3_CH2.0=TIM3_CH2,PWM Generation2 CH2
|
|
|
|
SH.S_TIM3_CH2.ConfNb=1
|
2022-07-26 10:07:07 +08:00
|
|
|
SH.S_TIM4_CH1.0=TIM4_CH1,PWM Generation1 CH1
|
|
|
|
SH.S_TIM4_CH1.ConfNb=1
|
2023-08-02 09:02:46 +08:00
|
|
|
SPI3.Direction=SPI_DIRECTION_2LINES
|
|
|
|
SPI3.IPParameters=VirtualType,Mode,Direction
|
|
|
|
SPI3.Mode=SPI_MODE_MASTER
|
|
|
|
SPI3.VirtualType=VM_MASTER
|
2022-07-26 10:07:07 +08:00
|
|
|
TIM1.Channel-Output\ Compare1\ CH1\ CH1N=TIM_CHANNEL_1
|
2022-12-20 14:20:20 +08:00
|
|
|
TIM1.Channel-PWM\ Generation4\ CH4=TIM_CHANNEL_4
|
|
|
|
TIM1.IPParameters=Channel-Output Compare1 CH1 CH1N,Channel-PWM Generation4 CH4
|
2022-04-20 09:09:58 +08:00
|
|
|
TIM2.Channel-PWM\ Generation2\ CH2=TIM_CHANNEL_2
|
|
|
|
TIM2.Channel-PWM\ Generation3\ CH3=TIM_CHANNEL_3
|
|
|
|
TIM2.IPParameters=Channel-PWM Generation2 CH2,Channel-PWM Generation3 CH3
|
|
|
|
TIM3.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
|
|
|
|
TIM3.Channel-PWM\ Generation2\ CH2=TIM_CHANNEL_2
|
|
|
|
TIM3.IPParameters=Channel-PWM Generation1 CH1,Channel-PWM Generation2 CH2
|
2022-07-26 10:07:07 +08:00
|
|
|
TIM4.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
|
|
|
|
TIM4.IPParameters=Channel-PWM Generation1 CH1
|
2019-03-07 15:43:08 +08:00
|
|
|
USART2.IPParameters=VirtualMode
|
|
|
|
USART2.VirtualMode=VM_ASYNC
|
2022-04-20 09:09:58 +08:00
|
|
|
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
|
2019-03-07 15:43:08 +08:00
|
|
|
VP_SYS_VS_Systick.Mode=SysTick
|
|
|
|
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
2022-05-10 00:19:21 +08:00
|
|
|
VP_TIM11_VS_ClockSourceINT.Mode=Enable_Timer
|
|
|
|
VP_TIM11_VS_ClockSourceINT.Signal=TIM11_VS_ClockSourceINT
|
2022-07-26 10:07:07 +08:00
|
|
|
VP_TIM1_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM1_VS_ClockSourceINT.Signal=TIM1_VS_ClockSourceINT
|
2022-07-21 14:07:19 +08:00
|
|
|
VP_TIM2_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT
|
|
|
|
VP_TIM3_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT
|
2022-07-26 10:07:07 +08:00
|
|
|
VP_TIM4_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM4_VS_ClockSourceINT.Signal=TIM4_VS_ClockSourceINT
|
2023-08-05 10:07:00 +08:00
|
|
|
VP_TIM9_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM9_VS_ClockSourceINT.Signal=TIM9_VS_ClockSourceINT
|
2019-03-07 15:43:08 +08:00
|
|
|
board=custom
|