2018-11-29 17:00:22 +08:00
|
|
|
#MicroXplorer Configuration settings - do not modify
|
2018-12-10 09:48:01 +08:00
|
|
|
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_5
|
|
|
|
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,master
|
|
|
|
ADC1.NbrOfConversionFlag=1
|
|
|
|
ADC1.Rank-0\#ChannelRegularConversion=1
|
|
|
|
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_3CYCLES
|
|
|
|
ADC1.master=1
|
2018-11-29 17:00:22 +08:00
|
|
|
ETH.IPParameters=MediaInterface
|
|
|
|
ETH.MediaInterface=ETH_MEDIA_INTERFACE_RMII
|
|
|
|
File.Version=6
|
|
|
|
KeepUserPlacement=false
|
|
|
|
Mcu.Family=STM32F4
|
2018-12-10 09:48:01 +08:00
|
|
|
Mcu.IP0=ADC1
|
|
|
|
Mcu.IP1=ETH
|
2018-12-17 10:44:30 +08:00
|
|
|
Mcu.IP10=TIM2
|
2019-08-23 16:50:59 +08:00
|
|
|
Mcu.IP11=TIM4
|
|
|
|
Mcu.IP12=TIM11
|
|
|
|
Mcu.IP13=TIM13
|
|
|
|
Mcu.IP14=TIM14
|
|
|
|
Mcu.IP15=USART1
|
|
|
|
Mcu.IP16=USART3
|
2018-12-10 09:48:01 +08:00
|
|
|
Mcu.IP2=IWDG
|
|
|
|
Mcu.IP3=NVIC
|
|
|
|
Mcu.IP4=RCC
|
|
|
|
Mcu.IP5=RTC
|
2018-12-17 10:44:30 +08:00
|
|
|
Mcu.IP6=SDIO
|
|
|
|
Mcu.IP7=SPI1
|
|
|
|
Mcu.IP8=SPI2
|
|
|
|
Mcu.IP9=SYS
|
2019-08-23 16:50:59 +08:00
|
|
|
Mcu.IPNb=17
|
2018-11-29 17:00:22 +08:00
|
|
|
Mcu.Name=STM32F407Z(E-G)Tx
|
|
|
|
Mcu.Package=LQFP144
|
|
|
|
Mcu.Pin0=PC14-OSC32_IN
|
|
|
|
Mcu.Pin1=PC15-OSC32_OUT
|
2018-12-17 10:44:30 +08:00
|
|
|
Mcu.Pin10=PA5
|
|
|
|
Mcu.Pin11=PA7
|
|
|
|
Mcu.Pin12=PC4
|
|
|
|
Mcu.Pin13=PC5
|
|
|
|
Mcu.Pin14=PB10
|
|
|
|
Mcu.Pin15=PB11
|
|
|
|
Mcu.Pin16=PB13
|
|
|
|
Mcu.Pin17=PC8
|
|
|
|
Mcu.Pin18=PC9
|
|
|
|
Mcu.Pin19=PA9
|
2018-11-29 17:00:22 +08:00
|
|
|
Mcu.Pin2=PH0-OSC_IN
|
2018-12-17 10:44:30 +08:00
|
|
|
Mcu.Pin20=PA10
|
|
|
|
Mcu.Pin21=PA13
|
|
|
|
Mcu.Pin22=PA14
|
|
|
|
Mcu.Pin23=PC10
|
|
|
|
Mcu.Pin24=PC11
|
|
|
|
Mcu.Pin25=PC12
|
|
|
|
Mcu.Pin26=PD2
|
|
|
|
Mcu.Pin27=PG11
|
|
|
|
Mcu.Pin28=PG13
|
|
|
|
Mcu.Pin29=PG14
|
2018-11-29 17:00:22 +08:00
|
|
|
Mcu.Pin3=PH1-OSC_OUT
|
2018-12-17 10:44:30 +08:00
|
|
|
Mcu.Pin30=PB3
|
|
|
|
Mcu.Pin31=PB4
|
|
|
|
Mcu.Pin32=PB5
|
2019-08-23 16:50:59 +08:00
|
|
|
Mcu.Pin33=PB6
|
|
|
|
Mcu.Pin34=PB7
|
|
|
|
Mcu.Pin35=VP_IWDG_VS_IWDG
|
|
|
|
Mcu.Pin36=VP_RTC_VS_RTC_Activate
|
|
|
|
Mcu.Pin37=VP_SYS_VS_Systick
|
|
|
|
Mcu.Pin38=VP_TIM2_VS_ClockSourceINT
|
|
|
|
Mcu.Pin39=VP_TIM11_VS_ClockSourceINT
|
2018-11-29 17:00:22 +08:00
|
|
|
Mcu.Pin4=PC1
|
2019-08-23 16:50:59 +08:00
|
|
|
Mcu.Pin40=VP_TIM13_VS_ClockSourceINT
|
|
|
|
Mcu.Pin41=VP_TIM14_VS_ClockSourceINT
|
2018-12-17 10:44:30 +08:00
|
|
|
Mcu.Pin5=PC2
|
|
|
|
Mcu.Pin6=PC3
|
|
|
|
Mcu.Pin7=PA1
|
|
|
|
Mcu.Pin8=PA2
|
|
|
|
Mcu.Pin9=PA3
|
2019-08-23 16:50:59 +08:00
|
|
|
Mcu.PinsNb=42
|
2018-11-29 17:00:22 +08:00
|
|
|
Mcu.ThirdPartyNb=0
|
|
|
|
Mcu.UserConstants=
|
|
|
|
Mcu.UserName=STM32F407ZGTx
|
|
|
|
MxCube.Version=5.0.0
|
|
|
|
MxDb.Version=DB.5.0.0
|
2019-08-23 16:50:59 +08:00
|
|
|
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
|
|
|
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
|
|
|
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
|
|
|
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
|
|
|
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
|
|
|
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
2018-11-29 17:00:22 +08:00
|
|
|
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
2019-08-23 16:50:59 +08:00
|
|
|
NVIC.SPI1_IRQn=true\:0\:0\:false\:false\:true\:true\:true
|
|
|
|
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
|
|
|
NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:false\:true
|
|
|
|
NVIC.USART1_IRQn=true\:0\:0\:false\:false\:true\:true\:true
|
|
|
|
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
|
2018-11-29 17:00:22 +08:00
|
|
|
PA1.Mode=RMII
|
|
|
|
PA1.Signal=ETH_REF_CLK
|
|
|
|
PA10.Mode=Asynchronous
|
|
|
|
PA10.Signal=USART1_RX
|
|
|
|
PA13.Mode=Serial_Wire
|
|
|
|
PA13.Signal=SYS_JTMS-SWDIO
|
|
|
|
PA14.Mode=Serial_Wire
|
|
|
|
PA14.Signal=SYS_JTCK-SWCLK
|
|
|
|
PA2.Mode=RMII
|
|
|
|
PA2.Signal=ETH_MDIO
|
2018-12-17 10:44:30 +08:00
|
|
|
PA3.Signal=S_TIM2_CH4
|
2018-12-10 09:48:01 +08:00
|
|
|
PA5.Locked=true
|
|
|
|
PA5.Signal=ADCx_IN5
|
2018-11-29 17:00:22 +08:00
|
|
|
PA7.Mode=RMII
|
|
|
|
PA7.Signal=ETH_CRS_DV
|
|
|
|
PA9.Mode=Asynchronous
|
|
|
|
PA9.Signal=USART1_TX
|
|
|
|
PB10.Mode=Asynchronous
|
|
|
|
PB10.Signal=USART3_TX
|
|
|
|
PB11.Mode=Asynchronous
|
|
|
|
PB11.Signal=USART3_RX
|
2018-12-17 10:44:30 +08:00
|
|
|
PB13.Mode=Full_Duplex_Master
|
|
|
|
PB13.Signal=SPI2_SCK
|
2018-11-29 17:00:22 +08:00
|
|
|
PB3.Locked=true
|
|
|
|
PB3.Mode=Full_Duplex_Master
|
|
|
|
PB3.Signal=SPI1_SCK
|
|
|
|
PB4.Locked=true
|
|
|
|
PB4.Mode=Full_Duplex_Master
|
|
|
|
PB4.Signal=SPI1_MISO
|
|
|
|
PB5.Locked=true
|
|
|
|
PB5.Mode=Full_Duplex_Master
|
|
|
|
PB5.Signal=SPI1_MOSI
|
2019-08-23 16:50:59 +08:00
|
|
|
PB6.Locked=true
|
|
|
|
PB6.Signal=S_TIM4_CH1
|
|
|
|
PB7.Locked=true
|
|
|
|
PB7.Signal=S_TIM4_CH2
|
2018-11-29 17:00:22 +08:00
|
|
|
PC1.Mode=RMII
|
|
|
|
PC1.Signal=ETH_MDC
|
2018-12-17 10:44:30 +08:00
|
|
|
PC10.Mode=SD_4_bits_Wide_bus
|
|
|
|
PC10.Signal=SDIO_D2
|
|
|
|
PC11.Mode=SD_4_bits_Wide_bus
|
|
|
|
PC11.Signal=SDIO_D3
|
|
|
|
PC12.Mode=SD_4_bits_Wide_bus
|
|
|
|
PC12.Signal=SDIO_CK
|
2018-11-29 17:00:22 +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
|
2018-12-17 10:44:30 +08:00
|
|
|
PC2.Mode=Full_Duplex_Master
|
|
|
|
PC2.Signal=SPI2_MISO
|
|
|
|
PC3.Mode=Full_Duplex_Master
|
|
|
|
PC3.Signal=SPI2_MOSI
|
2018-11-29 17:00:22 +08:00
|
|
|
PC4.Mode=RMII
|
|
|
|
PC4.Signal=ETH_RXD0
|
|
|
|
PC5.Mode=RMII
|
|
|
|
PC5.Signal=ETH_RXD1
|
2018-12-17 10:44:30 +08:00
|
|
|
PC8.Mode=SD_4_bits_Wide_bus
|
|
|
|
PC8.Signal=SDIO_D0
|
|
|
|
PC9.Mode=SD_4_bits_Wide_bus
|
|
|
|
PC9.Signal=SDIO_D1
|
2018-11-29 17:00:22 +08:00
|
|
|
PCC.Checker=false
|
|
|
|
PCC.Line=STM32F407/417
|
|
|
|
PCC.MCU=STM32F407Z(E-G)Tx
|
|
|
|
PCC.PartNumber=STM32F407ZGTx
|
|
|
|
PCC.Seq0=0
|
|
|
|
PCC.Series=STM32F4
|
|
|
|
PCC.Temperature=25
|
|
|
|
PCC.Vdd=3.3
|
2018-12-17 10:44:30 +08:00
|
|
|
PD2.Mode=SD_4_bits_Wide_bus
|
|
|
|
PD2.Signal=SDIO_CMD
|
2018-11-29 17:00:22 +08:00
|
|
|
PG11.Locked=true
|
|
|
|
PG11.Mode=RMII
|
|
|
|
PG11.Signal=ETH_TX_EN
|
|
|
|
PG13.Locked=true
|
|
|
|
PG13.Mode=RMII
|
|
|
|
PG13.Signal=ETH_TXD0
|
|
|
|
PG14.Locked=true
|
|
|
|
PG14.Mode=RMII
|
|
|
|
PG14.Signal=ETH_TXD1
|
|
|
|
PH0-OSC_IN.Mode=HSE-External-Oscillator
|
|
|
|
PH0-OSC_IN.Signal=RCC_OSC_IN
|
|
|
|
PH1-OSC_OUT.Mode=HSE-External-Oscillator
|
|
|
|
PH1-OSC_OUT.Signal=RCC_OSC_OUT
|
|
|
|
PinOutPanel.RotationAngle=0
|
2019-08-23 16:50:59 +08:00
|
|
|
ProjectManager.AskForMigrate=false
|
2018-11-29 17:00:22 +08:00
|
|
|
ProjectManager.BackupPrevious=false
|
|
|
|
ProjectManager.CompilerOptimize=6
|
|
|
|
ProjectManager.ComputerToolchain=false
|
|
|
|
ProjectManager.CoupleFile=false
|
|
|
|
ProjectManager.CustomerFirmwarePackage=
|
|
|
|
ProjectManager.DefaultFWLocation=true
|
|
|
|
ProjectManager.DeletePrevious=true
|
|
|
|
ProjectManager.DeviceId=STM32F407ZGTx
|
|
|
|
ProjectManager.FirmwarePackage=STM32Cube FW_F4 V1.22.0
|
|
|
|
ProjectManager.FreePins=false
|
|
|
|
ProjectManager.HalAssertFull=false
|
|
|
|
ProjectManager.HeapSize=0x200
|
|
|
|
ProjectManager.KeepUserCode=true
|
2019-08-23 16:50:59 +08:00
|
|
|
ProjectManager.LastFirmware=true
|
2018-11-29 17:00:22 +08:00
|
|
|
ProjectManager.LibraryCopy=0
|
|
|
|
ProjectManager.MainLocation=Src
|
|
|
|
ProjectManager.NoMain=false
|
|
|
|
ProjectManager.PreviousToolchain=
|
|
|
|
ProjectManager.ProjectBuild=false
|
|
|
|
ProjectManager.ProjectFileName=CubeMX_Config.ioc
|
|
|
|
ProjectManager.ProjectName=CubeMX_Config
|
|
|
|
ProjectManager.StackSize=0x400
|
|
|
|
ProjectManager.TargetToolchain=MDK-ARM V5
|
|
|
|
ProjectManager.ToolChainLocation=
|
|
|
|
ProjectManager.UnderRoot=false
|
2019-08-23 16:50:59 +08:00
|
|
|
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_USART1_UART_Init-USART1-false-HAL-true,4-MX_SPI1_Init-SPI1-false-HAL-true,5-MX_ETH_Init-ETH-false-HAL-true,6-MX_USART3_UART_Init-USART3-false-HAL-true,7-MX_ADC1_Init-ADC1-false-HAL-true,8-MX_RTC_Init-RTC-false-HAL-true,9-MX_IWDG_Init-IWDG-false-HAL-true,10-MX_TIM14_Init-TIM14-false-HAL-true,11-MX_TIM13_Init-TIM13-false-HAL-true,12-MX_TIM11_Init-TIM11-false-HAL-true,13-MX_SDIO_SD_Init-SDIO-false-HAL-true,14-MX_TIM2_Init-TIM2-false-HAL-true,15-MX_SPI2_Init-SPI2-false-HAL-true,16-MX_TIM4_Init-TIM4-false-HAL-true
|
2018-12-17 10:44:30 +08:00
|
|
|
RCC.48MHZClocksFreq_Value=48000000
|
2018-11-29 17:00:22 +08:00
|
|
|
RCC.AHBFreq_Value=168000000
|
|
|
|
RCC.APB1CLKDivider=RCC_HCLK_DIV4
|
|
|
|
RCC.APB1Freq_Value=42000000
|
|
|
|
RCC.APB1TimFreq_Value=84000000
|
|
|
|
RCC.APB2CLKDivider=RCC_HCLK_DIV2
|
|
|
|
RCC.APB2Freq_Value=84000000
|
|
|
|
RCC.APB2TimFreq_Value=168000000
|
|
|
|
RCC.CortexFreq_Value=168000000
|
|
|
|
RCC.EthernetFreq_Value=168000000
|
|
|
|
RCC.FCLKCortexFreq_Value=168000000
|
|
|
|
RCC.FamilyName=M
|
|
|
|
RCC.HCLKFreq_Value=168000000
|
|
|
|
RCC.HSE_VALUE=8000000
|
|
|
|
RCC.HSI_VALUE=16000000
|
|
|
|
RCC.I2SClocksFreq_Value=192000000
|
2018-12-17 10:44:30 +08:00
|
|
|
RCC.IPParameters=48MHZClocksFreq_Value,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2CLKDivider,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,EthernetFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2SClocksFreq_Value,LSI_VALUE,MCO2PinFreq_Value,PLLCLKFreq_Value,PLLM,PLLN,PLLQ,PLLQCLKFreq_Value,PLLSourceVirtual,RCC_RTC_Clock_Source,RCC_RTC_Clock_SourceVirtual,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VcooutputI2S
|
2018-11-29 17:00:22 +08:00
|
|
|
RCC.LSI_VALUE=32000
|
|
|
|
RCC.MCO2PinFreq_Value=168000000
|
|
|
|
RCC.PLLCLKFreq_Value=168000000
|
|
|
|
RCC.PLLM=4
|
|
|
|
RCC.PLLN=168
|
2018-12-17 10:44:30 +08:00
|
|
|
RCC.PLLQ=7
|
|
|
|
RCC.PLLQCLKFreq_Value=48000000
|
2018-11-29 17:00:22 +08:00
|
|
|
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE
|
2018-12-10 09:48:01 +08:00
|
|
|
RCC.RCC_RTC_Clock_Source=RCC_RTCCLKSOURCE_LSE
|
|
|
|
RCC.RCC_RTC_Clock_SourceVirtual=RCC_RTCCLKSOURCE_LSE
|
|
|
|
RCC.RTCFreq_Value=32768
|
2018-11-29 17:00:22 +08:00
|
|
|
RCC.RTCHSEDivFreq_Value=4000000
|
|
|
|
RCC.SYSCLKFreq_VALUE=168000000
|
|
|
|
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
|
|
RCC.VCOI2SOutputFreq_Value=384000000
|
|
|
|
RCC.VCOInputFreq_Value=2000000
|
|
|
|
RCC.VCOOutputFreq_Value=336000000
|
|
|
|
RCC.VcooutputI2S=192000000
|
2018-12-10 09:48:01 +08:00
|
|
|
SH.ADCx_IN5.0=ADC1_IN5,IN5
|
|
|
|
SH.ADCx_IN5.ConfNb=1
|
2018-12-17 10:44:30 +08:00
|
|
|
SH.S_TIM2_CH4.0=TIM2_CH4,PWM Generation4 CH4
|
|
|
|
SH.S_TIM2_CH4.ConfNb=1
|
2019-08-23 16:50:59 +08:00
|
|
|
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
|
2018-11-29 17:00:22 +08:00
|
|
|
SPI1.CalculateBaudRate=42.0 MBits/s
|
|
|
|
SPI1.Direction=SPI_DIRECTION_2LINES
|
|
|
|
SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate
|
|
|
|
SPI1.Mode=SPI_MODE_MASTER
|
|
|
|
SPI1.VirtualType=VM_MASTER
|
2018-12-17 10:44:30 +08:00
|
|
|
SPI2.CalculateBaudRate=21.0 MBits/s
|
|
|
|
SPI2.Direction=SPI_DIRECTION_2LINES
|
|
|
|
SPI2.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate
|
|
|
|
SPI2.Mode=SPI_MODE_MASTER
|
|
|
|
SPI2.VirtualType=VM_MASTER
|
|
|
|
TIM2.Channel-PWM\ Generation4\ CH4=TIM_CHANNEL_4
|
|
|
|
TIM2.IPParameters=Channel-PWM Generation4 CH4
|
2018-11-29 17:00:22 +08:00
|
|
|
USART1.IPParameters=VirtualMode
|
|
|
|
USART1.VirtualMode=VM_ASYNC
|
|
|
|
USART3.IPParameters=VirtualMode
|
|
|
|
USART3.VirtualMode=VM_ASYNC
|
2018-12-10 09:48:01 +08:00
|
|
|
VP_IWDG_VS_IWDG.Mode=IWDG_Activate
|
|
|
|
VP_IWDG_VS_IWDG.Signal=IWDG_VS_IWDG
|
|
|
|
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled
|
|
|
|
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate
|
2018-11-29 17:00:22 +08:00
|
|
|
VP_SYS_VS_Systick.Mode=SysTick
|
|
|
|
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
2018-12-17 10:44:30 +08:00
|
|
|
VP_TIM11_VS_ClockSourceINT.Mode=Enable_Timer
|
|
|
|
VP_TIM11_VS_ClockSourceINT.Signal=TIM11_VS_ClockSourceINT
|
|
|
|
VP_TIM13_VS_ClockSourceINT.Mode=Enable_Timer
|
|
|
|
VP_TIM13_VS_ClockSourceINT.Signal=TIM13_VS_ClockSourceINT
|
|
|
|
VP_TIM14_VS_ClockSourceINT.Mode=Enable_Timer
|
|
|
|
VP_TIM14_VS_ClockSourceINT.Signal=TIM14_VS_ClockSourceINT
|
|
|
|
VP_TIM2_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT
|
2018-11-29 17:00:22 +08:00
|
|
|
board=custom
|