2024-11-06 22:26:06 +08:00
|
|
|
#MicroXplorer Configuration settings - do not modify
|
|
|
|
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_3
|
|
|
|
ADC1.ClockPrescaler=ADC_CLOCK_ASYNC_DIV2
|
|
|
|
ADC1.CommonPathInternal=null|null|null|null
|
|
|
|
ADC1.ContinuousConvMode=DISABLE
|
|
|
|
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,NbrOfConversionFlag,ClockPrescaler,ContinuousConvMode,master,CommonPathInternal
|
|
|
|
ADC1.NbrOfConversionFlag=1
|
|
|
|
ADC1.OffsetNumber-0\#ChannelRegularConversion=ADC_OFFSET_NONE
|
|
|
|
ADC1.Rank-0\#ChannelRegularConversion=1
|
|
|
|
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_2CYCLES_5
|
|
|
|
ADC1.master=1
|
|
|
|
CAD.formats=
|
|
|
|
CAD.pinconfig=
|
|
|
|
CAD.provider=
|
|
|
|
File.Version=6
|
|
|
|
GPIO.groupedBy=Group By Peripherals
|
|
|
|
KeepUserPlacement=false
|
|
|
|
Mcu.CPN=STM32L475VET6
|
|
|
|
Mcu.Family=STM32L4
|
|
|
|
Mcu.IP0=ADC1
|
|
|
|
Mcu.IP1=NVIC
|
|
|
|
Mcu.IP2=RCC
|
|
|
|
Mcu.IP3=SPI3
|
|
|
|
Mcu.IP4=SYS
|
|
|
|
Mcu.IP5=TIM1
|
2024-11-07 13:49:33 +08:00
|
|
|
Mcu.IP6=TIM7
|
|
|
|
Mcu.IP7=TIM15
|
|
|
|
Mcu.IP8=USART1
|
|
|
|
Mcu.IPNb=9
|
2024-11-06 22:26:06 +08:00
|
|
|
Mcu.Name=STM32L475V(C-E-G)Tx
|
|
|
|
Mcu.Package=LQFP100
|
|
|
|
Mcu.Pin0=PH0-OSC_IN (PH0)
|
|
|
|
Mcu.Pin1=PH1-OSC_OUT (PH1)
|
2024-11-07 16:26:27 +08:00
|
|
|
Mcu.Pin10=PD10
|
|
|
|
Mcu.Pin11=PA9
|
|
|
|
Mcu.Pin12=PA10
|
|
|
|
Mcu.Pin13=PC10
|
|
|
|
Mcu.Pin14=PC11
|
|
|
|
Mcu.Pin15=PC12
|
|
|
|
Mcu.Pin16=PB8
|
|
|
|
Mcu.Pin17=PB9
|
|
|
|
Mcu.Pin18=VP_SYS_VS_Systick
|
|
|
|
Mcu.Pin19=VP_TIM7_VS_ClockSourceINT
|
2024-11-06 22:26:06 +08:00
|
|
|
Mcu.Pin2=PC2
|
2024-11-07 16:26:27 +08:00
|
|
|
Mcu.Pin20=VP_TIM15_VS_ClockSourceINT
|
2024-11-06 22:26:06 +08:00
|
|
|
Mcu.Pin3=PB2
|
|
|
|
Mcu.Pin4=PE7
|
|
|
|
Mcu.Pin5=PE8
|
|
|
|
Mcu.Pin6=PE9
|
|
|
|
Mcu.Pin7=PB15
|
2024-11-07 16:26:27 +08:00
|
|
|
Mcu.Pin8=PD8
|
|
|
|
Mcu.Pin9=PD9
|
|
|
|
Mcu.PinsNb=21
|
2024-11-06 22:26:06 +08:00
|
|
|
Mcu.ThirdPartyNb=0
|
|
|
|
Mcu.UserConstants=
|
|
|
|
Mcu.UserName=STM32L475VETx
|
|
|
|
MxCube.Version=6.12.1
|
|
|
|
MxDb.Version=DB.6.0.121
|
|
|
|
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.EXTI9_5_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
|
|
|
|
NVIC.ForceEnableDMAVector=true
|
|
|
|
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
|
|
|
|
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
|
|
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false
|
2024-11-07 13:49:33 +08:00
|
|
|
NVIC.TIM7_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
|
2024-11-06 22:26:06 +08:00
|
|
|
NVIC.USART1_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
|
|
|
|
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
PA10.Mode=Asynchronous
|
|
|
|
PA10.Signal=USART1_RX
|
|
|
|
PA9.Mode=Asynchronous
|
|
|
|
PA9.Signal=USART1_TX
|
|
|
|
PB15.GPIOParameters=GPIO_Label
|
|
|
|
PB15.GPIO_Label=SERVO
|
|
|
|
PB15.Locked=true
|
|
|
|
PB15.Signal=S_TIM15_CH2
|
|
|
|
PB2.GPIOParameters=GPIO_PuPd,GPIO_Label
|
|
|
|
PB2.GPIO_Label=BEEP
|
|
|
|
PB2.GPIO_PuPd=GPIO_PULLUP
|
|
|
|
PB2.Locked=true
|
|
|
|
PB2.Signal=GPIO_Output
|
|
|
|
PB8.GPIOParameters=GPIO_Label,GPIO_ModeDefaultEXTI
|
|
|
|
PB8.GPIO_Label=PB8_EXTI
|
|
|
|
PB8.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING
|
|
|
|
PB8.Locked=true
|
|
|
|
PB8.Signal=GPXTI8
|
|
|
|
PB9.GPIOParameters=GPIO_Label,GPIO_ModeDefaultEXTI
|
|
|
|
PB9.GPIO_Label=PB9_EXTI
|
|
|
|
PB9.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING
|
|
|
|
PB9.Locked=true
|
|
|
|
PB9.Signal=GPXTI9
|
|
|
|
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
|
|
|
|
PC2.Signal=ADCx_IN3
|
2024-11-07 16:26:27 +08:00
|
|
|
PD10.GPIOParameters=GPIO_Label
|
|
|
|
PD10.GPIO_Label=KEY2
|
|
|
|
PD10.Locked=true
|
|
|
|
PD10.Signal=GPIO_Input
|
|
|
|
PD8.GPIOParameters=GPIO_Label
|
|
|
|
PD8.GPIO_Label=KEY0
|
|
|
|
PD8.Locked=true
|
|
|
|
PD8.Signal=GPIO_Input
|
|
|
|
PD9.GPIOParameters=GPIO_Label
|
|
|
|
PD9.GPIO_Label=KEY1
|
|
|
|
PD9.Locked=true
|
|
|
|
PD9.Signal=GPIO_Input
|
2024-11-06 22:26:06 +08:00
|
|
|
PE7.GPIOParameters=GPIO_PuPd,GPIO_Label
|
|
|
|
PE7.GPIO_Label=LED_R
|
|
|
|
PE7.GPIO_PuPd=GPIO_PULLUP
|
|
|
|
PE7.Locked=true
|
|
|
|
PE7.Signal=GPIO_Output
|
|
|
|
PE8.GPIOParameters=GPIO_PuPd,GPIO_Label
|
|
|
|
PE8.GPIO_Label=LED_G
|
|
|
|
PE8.GPIO_PuPd=GPIO_PULLUP
|
|
|
|
PE8.Locked=true
|
|
|
|
PE8.Signal=GPIO_Output
|
|
|
|
PE9.GPIOParameters=GPIO_Label
|
|
|
|
PE9.GPIO_Label=LED_B
|
|
|
|
PE9.Locked=true
|
|
|
|
PE9.Signal=S_TIM1_CH1
|
|
|
|
PH0-OSC_IN\ (PH0).Mode=HSE-External-Oscillator
|
|
|
|
PH0-OSC_IN\ (PH0).Signal=RCC_OSC_IN
|
|
|
|
PH1-OSC_OUT\ (PH1).Mode=HSE-External-Oscillator
|
|
|
|
PH1-OSC_OUT\ (PH1).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=STM32L475VETx
|
|
|
|
ProjectManager.FirmwarePackage=STM32Cube FW_L4 V1.18.1
|
|
|
|
ProjectManager.FreePins=false
|
|
|
|
ProjectManager.HalAssertFull=false
|
|
|
|
ProjectManager.HeapSize=0x200
|
|
|
|
ProjectManager.KeepUserCode=true
|
|
|
|
ProjectManager.LastFirmware=true
|
|
|
|
ProjectManager.LibraryCopy=1
|
|
|
|
ProjectManager.MainLocation=Src
|
|
|
|
ProjectManager.NoMain=false
|
|
|
|
ProjectManager.PreviousToolchain=
|
|
|
|
ProjectManager.ProjectBuild=false
|
|
|
|
ProjectManager.ProjectFileName=Project.ioc
|
|
|
|
ProjectManager.ProjectName=Project
|
|
|
|
ProjectManager.ProjectStructure=
|
|
|
|
ProjectManager.RegisterCallBack=
|
|
|
|
ProjectManager.StackSize=0x400
|
|
|
|
ProjectManager.TargetToolchain=MDK-ARM V5
|
|
|
|
ProjectManager.ToolChainLocation=
|
|
|
|
ProjectManager.UAScriptAfterPath=
|
|
|
|
ProjectManager.UAScriptBeforePath=
|
|
|
|
ProjectManager.UnderRoot=false
|
2024-11-07 16:26:27 +08:00
|
|
|
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_ADC1_Init-ADC1-false-HAL-true,4-MX_USART1_UART_Init-USART1-false-HAL-true,5-MX_SPI3_Init-SPI3-false-HAL-true,6-MX_TIM1_Init-TIM1-false-HAL-true,7-MX_TIM15_Init-TIM15-false-HAL-true,8-MX_TIM7_Init-TIM7-false-HAL-true
|
2024-11-06 22:26:06 +08:00
|
|
|
RCC.ADCFreq_Value=12000000
|
|
|
|
RCC.AHBFreq_Value=72000000
|
|
|
|
RCC.APB1Freq_Value=72000000
|
|
|
|
RCC.APB1TimFreq_Value=72000000
|
|
|
|
RCC.APB2Freq_Value=72000000
|
|
|
|
RCC.APB2TimFreq_Value=72000000
|
|
|
|
RCC.CortexFreq_Value=72000000
|
|
|
|
RCC.DFSDMFreq_Value=72000000
|
|
|
|
RCC.FCLKCortexFreq_Value=72000000
|
|
|
|
RCC.FamilyName=M
|
|
|
|
RCC.HCLKFreq_Value=72000000
|
|
|
|
RCC.HSE_VALUE=8000000
|
|
|
|
RCC.HSI_VALUE=16000000
|
|
|
|
RCC.I2C1Freq_Value=72000000
|
|
|
|
RCC.I2C2Freq_Value=72000000
|
|
|
|
RCC.I2C3Freq_Value=72000000
|
|
|
|
RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,DFSDMFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,MSI_VALUE,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSAI1N,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1R,PLLSAI1RoutputFreq_Value,PLLSAI2PoutputFreq_Value,PLLSAI2RoutputFreq_Value,PLLSourceVirtual,PWRFreq_Value,RNGFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMCFreq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value,VCOSAI2OutputFreq_Value
|
|
|
|
RCC.LPTIM1Freq_Value=72000000
|
|
|
|
RCC.LPTIM2Freq_Value=72000000
|
|
|
|
RCC.LPUART1Freq_Value=72000000
|
|
|
|
RCC.LSCOPinFreq_Value=32000
|
|
|
|
RCC.LSE_VALUE=32768
|
|
|
|
RCC.LSI_VALUE=32000
|
|
|
|
RCC.MCO1PinFreq_Value=72000000
|
|
|
|
RCC.MSI_VALUE=4000000
|
|
|
|
RCC.PLLN=18
|
|
|
|
RCC.PLLPoutputFreq_Value=20571428.57142857
|
|
|
|
RCC.PLLQoutputFreq_Value=72000000
|
|
|
|
RCC.PLLRCLKFreq_Value=72000000
|
|
|
|
RCC.PLLSAI1N=9
|
|
|
|
RCC.PLLSAI1PoutputFreq_Value=10285714.285714285
|
|
|
|
RCC.PLLSAI1QoutputFreq_Value=36000000
|
|
|
|
RCC.PLLSAI1R=RCC_PLLR_DIV6
|
|
|
|
RCC.PLLSAI1RoutputFreq_Value=12000000
|
|
|
|
RCC.PLLSAI2PoutputFreq_Value=9142857.142857144
|
|
|
|
RCC.PLLSAI2RoutputFreq_Value=32000000
|
|
|
|
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE
|
|
|
|
RCC.PWRFreq_Value=72000000
|
|
|
|
RCC.RNGFreq_Value=36000000
|
|
|
|
RCC.SAI1Freq_Value=10285714.285714285
|
|
|
|
RCC.SAI2Freq_Value=10285714.285714285
|
|
|
|
RCC.SDMMCFreq_Value=36000000
|
|
|
|
RCC.SWPMI1Freq_Value=72000000
|
|
|
|
RCC.SYSCLKFreq_VALUE=72000000
|
|
|
|
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
|
|
RCC.UART4Freq_Value=72000000
|
|
|
|
RCC.UART5Freq_Value=72000000
|
|
|
|
RCC.USART1Freq_Value=72000000
|
|
|
|
RCC.USART2Freq_Value=72000000
|
|
|
|
RCC.USART3Freq_Value=72000000
|
|
|
|
RCC.USBFreq_Value=36000000
|
|
|
|
RCC.VCOInputFreq_Value=8000000
|
|
|
|
RCC.VCOOutputFreq_Value=144000000
|
|
|
|
RCC.VCOSAI1OutputFreq_Value=72000000
|
|
|
|
RCC.VCOSAI2OutputFreq_Value=64000000
|
|
|
|
SH.ADCx_IN3.0=ADC1_IN3,IN3-Single-Ended
|
|
|
|
SH.ADCx_IN3.ConfNb=1
|
|
|
|
SH.GPXTI8.0=GPIO_EXTI8
|
|
|
|
SH.GPXTI8.ConfNb=1
|
|
|
|
SH.GPXTI9.0=GPIO_EXTI9
|
|
|
|
SH.GPXTI9.ConfNb=1
|
|
|
|
SH.S_TIM15_CH2.0=TIM15_CH2,PWM Generation2 CH2
|
|
|
|
SH.S_TIM15_CH2.ConfNb=1
|
|
|
|
SH.S_TIM1_CH1.0=TIM1_CH1,PWM Generation1 CH1
|
|
|
|
SH.S_TIM1_CH1.ConfNb=1
|
|
|
|
SPI3.CalculateBaudRate=36.0 MBits/s
|
|
|
|
SPI3.Direction=SPI_DIRECTION_2LINES
|
|
|
|
SPI3.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate
|
|
|
|
SPI3.Mode=SPI_MODE_MASTER
|
|
|
|
SPI3.VirtualType=VM_MASTER
|
|
|
|
TIM1.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
|
|
|
|
TIM1.Channel-PWM\ Generation1\ CH1\ CH1N=TIM_CHANNEL_1
|
|
|
|
TIM1.IPParameters=Channel-PWM Generation1 CH1 CH1N,Channel-PWM Generation1 CH1,Period,Prescaler,Pulse-PWM Generation1 CH1
|
|
|
|
TIM1.Period=100-1
|
|
|
|
TIM1.Prescaler=720-1
|
|
|
|
TIM1.Pulse-PWM\ Generation1\ CH1=100
|
|
|
|
TIM15.Channel-PWM\ Generation2\ CH2=TIM_CHANNEL_2
|
|
|
|
TIM15.IPParameters=Channel-PWM Generation2 CH2,Prescaler,Period,Pulse-PWM Generation2 CH2
|
|
|
|
TIM15.Period=20000-1
|
|
|
|
TIM15.Prescaler=72-1
|
|
|
|
TIM15.Pulse-PWM\ Generation2\ CH2=500
|
|
|
|
USART1.IPParameters=VirtualMode-Asynchronous
|
|
|
|
USART1.VirtualMode-Asynchronous=VM_ASYNC
|
|
|
|
VP_SYS_VS_Systick.Mode=SysTick
|
|
|
|
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
2024-11-07 11:59:20 +08:00
|
|
|
VP_TIM15_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM15_VS_ClockSourceINT.Signal=TIM15_VS_ClockSourceINT
|
2024-11-07 13:49:33 +08:00
|
|
|
VP_TIM7_VS_ClockSourceINT.Mode=Enable_Timer
|
|
|
|
VP_TIM7_VS_ClockSourceINT.Signal=TIM7_VS_ClockSourceINT
|
2024-11-06 22:26:06 +08:00
|
|
|
board=custom
|