2021-12-13 09:42:33 +08:00
|
|
|
#MicroXplorer Configuration settings - do not modify
|
2023-04-08 09:56:59 +08:00
|
|
|
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_1
|
|
|
|
ADC1.CommonPathInternal=null|null|null|null
|
|
|
|
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,NbrOfConversionFlag,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
|
|
|
|
ADC2.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_17
|
|
|
|
ADC2.CommonPathInternal=null|null|null|null
|
|
|
|
ADC2.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,NbrOfConversionFlag,CommonPathInternal
|
|
|
|
ADC2.NbrOfConversionFlag=1
|
|
|
|
ADC2.OffsetNumber-0\#ChannelRegularConversion=ADC_OFFSET_NONE
|
|
|
|
ADC2.Rank-0\#ChannelRegularConversion=1
|
|
|
|
ADC2.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_2CYCLES_5
|
|
|
|
CAD.formats=
|
|
|
|
CAD.pinconfig=
|
|
|
|
CAD.provider=
|
2021-12-13 09:42:33 +08:00
|
|
|
File.Version=6
|
|
|
|
KeepUserPlacement=true
|
2023-06-10 18:03:45 +08:00
|
|
|
Mcu.CPN=STM32G474RET6
|
2021-12-13 09:42:33 +08:00
|
|
|
Mcu.Family=STM32G4
|
2023-04-08 09:56:59 +08:00
|
|
|
Mcu.IP0=ADC1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Mcu.Pin7=PA1
|
|
|
|
Mcu.Pin8=PA2
|
|
|
|
Mcu.Pin9=PA3
|
|
|
|
Mcu.PinsNb=28
|
2021-12-13 09:42:33 +08:00
|
|
|
Mcu.ThirdPartyNb=0
|
|
|
|
Mcu.UserConstants=
|
2023-06-10 18:03:45 +08:00
|
|
|
Mcu.UserName=STM32G474RETx
|
2023-04-08 09:56:59 +08:00
|
|
|
MxCube.Version=6.8.0
|
|
|
|
MxDb.Version=DB.6.0.80
|
|
|
|
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
2021-12-13 09:42:33 +08:00
|
|
|
NVIC.ForceEnableDMAVector=true
|
2023-04-08 09:56:59 +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
|
2021-12-13 09:42:33 +08:00
|
|
|
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
2023-04-08 09:56:59 +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
|
|
|
|
PA0.Locked=true
|
|
|
|
PA0.Mode=IN1-Single-Ended
|
|
|
|
PA0.Signal=ADC1_IN1
|
|
|
|
PA1.Locked=true
|
|
|
|
PA1.Mode=IN2-Single-Ended
|
|
|
|
PA1.Signal=ADC1_IN2
|
|
|
|
PA10.Locked=true
|
|
|
|
PA10.Mode=Asynchronous
|
|
|
|
PA10.Signal=USART1_RX
|
2021-12-13 09:42:33 +08:00
|
|
|
PA13.Mode=Serial_Wire
|
|
|
|
PA13.Signal=SYS_JTMS-SWDIO
|
|
|
|
PA14.Mode=Serial_Wire
|
|
|
|
PA14.Signal=SYS_JTCK-SWCLK
|
2023-04-08 09:56:59 +08:00
|
|
|
PA2.Locked=true
|
2021-12-13 09:42:33 +08:00
|
|
|
PA2.Mode=Asynchronous
|
2023-04-08 09:56:59 +08:00
|
|
|
PA2.Signal=LPUART1_TX
|
|
|
|
PA3.Locked=true
|
2021-12-13 09:42:33 +08:00
|
|
|
PA3.Mode=Asynchronous
|
2023-04-08 09:56:59 +08:00
|
|
|
PA3.Signal=LPUART1_RX
|
|
|
|
PA4.Locked=true
|
|
|
|
PA4.Mode=IN17-Single-Ended
|
|
|
|
PA4.Signal=ADC2_IN17
|
|
|
|
PA7.Locked=true
|
|
|
|
PA7.Signal=S_TIM3_CH2
|
|
|
|
PA9.Locked=true
|
|
|
|
PA9.Mode=Asynchronous
|
|
|
|
PA9.Signal=USART1_TX
|
|
|
|
PB0.Locked=true
|
|
|
|
PB0.Mode=IN15-Single-Ended
|
|
|
|
PB0.Signal=ADC1_IN15
|
|
|
|
PB10.Locked=true
|
|
|
|
PB10.Signal=S_TIM2_CH3
|
2021-12-13 09:42:33 +08:00
|
|
|
PB3.Locked=true
|
2023-04-08 09:56:59 +08:00
|
|
|
PB3.Signal=S_TIM2_CH2
|
|
|
|
PB4.Locked=true
|
|
|
|
PB4.Signal=S_TIM3_CH1
|
|
|
|
PB6.Locked=true
|
|
|
|
PB6.Signal=S_TIM4_CH1
|
|
|
|
PC0.Locked=true
|
|
|
|
PC0.Mode=IN6-Single-Ended
|
|
|
|
PC0.Signal=ADC1_IN6
|
|
|
|
PC1.Locked=true
|
|
|
|
PC1.Mode=IN7-Single-Ended
|
|
|
|
PC1.Signal=ADC1_IN7
|
2021-12-13 09:42:33 +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
|
2023-04-08 09:56:59 +08:00
|
|
|
PC7.Locked=true
|
|
|
|
PC7.Signal=S_TIM8_CH2
|
2021-12-13 09:42:33 +08:00
|
|
|
PF0-OSC_IN.Mode=HSE-External-Oscillator
|
|
|
|
PF0-OSC_IN.Signal=RCC_OSC_IN
|
|
|
|
PF1-OSC_OUT.Mode=HSE-External-Oscillator
|
|
|
|
PF1-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
|
2023-06-10 18:03:45 +08:00
|
|
|
ProjectManager.DeviceId=STM32G474RETx
|
2023-04-08 09:56:59 +08:00
|
|
|
ProjectManager.FirmwarePackage=STM32Cube FW_G4 V1.5.1
|
2021-12-13 09:42:33 +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-04-08 09:56:59 +08:00
|
|
|
ProjectManager.ProjectStructure=
|
2021-12-13 09:42:33 +08:00
|
|
|
ProjectManager.RegisterCallBack=
|
|
|
|
ProjectManager.StackSize=0x400
|
|
|
|
ProjectManager.TargetToolchain=MDK-ARM V5
|
|
|
|
ProjectManager.ToolChainLocation=
|
|
|
|
ProjectManager.UnderRoot=false
|
2023-04-08 09:56:59 +08:00
|
|
|
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_ADC1_Init-ADC1-false-HAL-true,4-MX_ADC2_Init-ADC2-false-HAL-true,5-MX_LPUART1_UART_Init-LPUART1-false-HAL-true,6-MX_TIM2_Init-TIM2-false-HAL-true,7-MX_TIM3_Init-TIM3-false-HAL-true,8-MX_TIM4_Init-TIM4-false-HAL-true,9-MX_TIM8_Init-TIM8-false-HAL-true
|
2021-12-13 09:42:33 +08:00
|
|
|
RCC.ADC12Freq_Value=170000000
|
|
|
|
RCC.AHBFreq_Value=170000000
|
|
|
|
RCC.APB1Freq_Value=170000000
|
|
|
|
RCC.APB1TimFreq_Value=170000000
|
|
|
|
RCC.APB2Freq_Value=170000000
|
|
|
|
RCC.APB2TimFreq_Value=170000000
|
|
|
|
RCC.CRSFreq_Value=48000000
|
|
|
|
RCC.CortexFreq_Value=170000000
|
|
|
|
RCC.EXTERNAL_CLOCK_VALUE=12288000
|
|
|
|
RCC.FCLKCortexFreq_Value=170000000
|
|
|
|
RCC.FDCANFreq_Value=170000000
|
|
|
|
RCC.FamilyName=M
|
|
|
|
RCC.HCLKFreq_Value=170000000
|
|
|
|
RCC.HSE_VALUE=24000000
|
|
|
|
RCC.HSI48_VALUE=48000000
|
|
|
|
RCC.HSI_VALUE=16000000
|
|
|
|
RCC.I2C1Freq_Value=170000000
|
|
|
|
RCC.I2C2Freq_Value=170000000
|
|
|
|
RCC.I2C3Freq_Value=170000000
|
|
|
|
RCC.I2SFreq_Value=170000000
|
|
|
|
RCC.IPParameters=ADC12Freq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CRSFreq_Value,CortexFreq_Value,EXTERNAL_CLOCK_VALUE,FCLKCortexFreq_Value,FDCANFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI48_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,I2SFreq_Value,LPTIM1Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSI_VALUE,MCO1PinFreq_Value,PLLM,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PWRFreq_Value,RNGFreq_Value,RTCClockSelection,RTCFreq_Value,SAI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value
|
|
|
|
RCC.LPTIM1Freq_Value=170000000
|
|
|
|
RCC.LPUART1Freq_Value=170000000
|
|
|
|
RCC.LSCOPinFreq_Value=32000
|
|
|
|
RCC.LSI_VALUE=32000
|
|
|
|
RCC.MCO1PinFreq_Value=16000000
|
|
|
|
RCC.PLLM=RCC_PLLM_DIV4
|
|
|
|
RCC.PLLN=85
|
|
|
|
RCC.PLLPoutputFreq_Value=170000000
|
|
|
|
RCC.PLLQoutputFreq_Value=170000000
|
|
|
|
RCC.PLLRCLKFreq_Value=170000000
|
|
|
|
RCC.PWRFreq_Value=170000000
|
|
|
|
RCC.RNGFreq_Value=170000000
|
|
|
|
RCC.RTCClockSelection=RCC_RTCCLKSOURCE_LSE
|
|
|
|
RCC.RTCFreq_Value=32768
|
|
|
|
RCC.SAI1Freq_Value=170000000
|
|
|
|
RCC.SYSCLKFreq_VALUE=170000000
|
|
|
|
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
|
|
|
RCC.UART4Freq_Value=170000000
|
|
|
|
RCC.USART1Freq_Value=170000000
|
|
|
|
RCC.USART2Freq_Value=170000000
|
|
|
|
RCC.USART3Freq_Value=170000000
|
|
|
|
RCC.USBFreq_Value=170000000
|
|
|
|
RCC.VCOInputFreq_Value=4000000
|
|
|
|
RCC.VCOOutputFreq_Value=340000000
|
2023-04-08 09:56:59 +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
|
|
|
|
SH.S_TIM4_CH1.0=TIM4_CH1,PWM Generation1 CH1
|
|
|
|
SH.S_TIM4_CH1.ConfNb=1
|
|
|
|
SH.S_TIM8_CH2.0=TIM8_CH2,PWM Generation2 CH2
|
|
|
|
SH.S_TIM8_CH2.ConfNb=1
|
|
|
|
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 Generation2 CH2,Channel-PWM Generation1 CH1
|
|
|
|
TIM4.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
|
|
|
|
TIM4.IPParameters=Channel-PWM Generation1 CH1
|
|
|
|
TIM8.Channel-PWM\ Generation2\ CH2=TIM_CHANNEL_2
|
|
|
|
TIM8.IPParameters=Channel-PWM Generation2 CH2
|
|
|
|
USART1.IPParameters=VirtualMode-Asynchronous
|
2021-12-13 09:42:33 +08:00
|
|
|
USART1.VirtualMode-Asynchronous=VM_ASYNC
|
|
|
|
VP_SYS_VS_DBSignals.Mode=DisableDeadBatterySignals
|
|
|
|
VP_SYS_VS_DBSignals.Signal=SYS_VS_DBSignals
|
|
|
|
VP_SYS_VS_Systick.Mode=SysTick
|
|
|
|
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
2023-04-08 09:56:59 +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
|
|
|
|
VP_TIM4_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM4_VS_ClockSourceINT.Signal=TIM4_VS_ClockSourceINT
|
|
|
|
VP_TIM8_VS_ClockSourceINT.Mode=Internal
|
|
|
|
VP_TIM8_VS_ClockSourceINT.Signal=TIM8_VS_ClockSourceINT
|
2023-06-10 18:03:45 +08:00
|
|
|
board=NUCLEO-G474RE
|
2021-12-13 09:42:33 +08:00
|
|
|
boardIOC=true
|