#MicroXplorer Configuration settings - do not modify ADC1.Channel-4\#ChannelRegularConversion=ADC_CHANNEL_5 ADC1.Channel-5\#ChannelRegularConversion=ADC_CHANNEL_6 ADC1.Channel-6\#ChannelRegularConversion=ADC_CHANNEL_7 ADC1.Channel-7\#ChannelRegularConversion=ADC_CHANNEL_8 ADC1.ClockPrescaler=ADC_CLOCK_ASYNC_DIV16 ADC1.ContinuousConvMode=ENABLE ADC1.DMAContinuousRequests=ENABLE ADC1.EOCSelection=ADC_EOC_SEQ_CONV ADC1.IPParameters=NbrOfConversionFlag,master,SelectedChannel,ContinuousConvMode,Sequencer,NbrOfConversion,Rank-4\#ChannelRegularConversion,Channel-4\#ChannelRegularConversion,SamplingTime-4\#ChannelRegularConversion,Rank-5\#ChannelRegularConversion,Channel-5\#ChannelRegularConversion,SamplingTime-5\#ChannelRegularConversion,Rank-6\#ChannelRegularConversion,Channel-6\#ChannelRegularConversion,SamplingTime-6\#ChannelRegularConversion,Rank-7\#ChannelRegularConversion,Channel-7\#ChannelRegularConversion,SamplingTime-7\#ChannelRegularConversion,DMAContinuousRequests,EOCSelection,LowPowerAutoWait,OversamplingMode,RightBitShift,Ratio,SamplingTimeCommon1,ClockPrescaler,Overrun,SamplingTimeCommon2 ADC1.LowPowerAutoWait=DISABLE ADC1.NbrOfConversion=4 ADC1.NbrOfConversionFlag=1 ADC1.Overrun=ADC_OVR_DATA_OVERWRITTEN ADC1.OversamplingMode=ENABLE ADC1.Rank-4\#ChannelRegularConversion=1 ADC1.Rank-5\#ChannelRegularConversion=2 ADC1.Rank-6\#ChannelRegularConversion=3 ADC1.Rank-7\#ChannelRegularConversion=4 ADC1.Ratio=ADC_OVERSAMPLING_RATIO_16 ADC1.RightBitShift=ADC_RIGHTBITSHIFT_NONE ADC1.SamplingTime-4\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1 ADC1.SamplingTime-5\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1 ADC1.SamplingTime-6\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1 ADC1.SamplingTime-7\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1 ADC1.SamplingTimeCommon1=ADC_SAMPLETIME_160CYCLES_5 ADC1.SamplingTimeCommon2=ADC_SAMPLETIME_160CYCLES_5 ADC1.SelectedChannel=ADC_CHANNEL_5|ADC_CHANNEL_6|ADC_CHANNEL_7|ADC_CHANNEL_8 ADC1.Sequencer=FULLY_CONFIGURABLE ADC1.master=1 COMP1.Hysteresis=COMP_HYSTERESIS_HIGH COMP1.IPParameters=TriggerMode,Hysteresis,OutputPol,Mode COMP1.Mode=COMP_POWERMODE_HIGHSPEED COMP1.OutputPol=COMP_OUTPUTPOL_INVERTED COMP1.TriggerMode=COMP_TRIGGERMODE_NONE COMP2.Hysteresis=COMP_HYSTERESIS_HIGH COMP2.IPParameters=Hysteresis,TriggerMode,Mode COMP2.Mode=COMP_POWERMODE_HIGHSPEED COMP2.TriggerMode=COMP_TRIGGERMODE_NONE DAC1.DAC_Channel-DAC_OUT1_ExtAndInt=DAC_CHANNEL_1 DAC1.IPParameters=DAC_Channel-DAC_OUT1_ExtAndInt Dma.ADC1.0.Direction=DMA_PERIPH_TO_MEMORY Dma.ADC1.0.EventEnable=DISABLE 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.Polarity=HAL_DMAMUX_REQ_GEN_RISING Dma.ADC1.0.Priority=DMA_PRIORITY_LOW Dma.ADC1.0.RequestNumber=1 Dma.ADC1.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber Dma.ADC1.0.SignalID=NONE Dma.ADC1.0.SyncEnable=DISABLE Dma.ADC1.0.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT Dma.ADC1.0.SyncRequestNumber=1 Dma.ADC1.0.SyncSignalID=NONE Dma.Request0=ADC1 Dma.RequestsNb=1 File.Version=6 GPIO.groupedBy= KeepUserPlacement=false Mcu.Family=STM32G0 Mcu.IP0=ADC1 Mcu.IP1=COMP1 Mcu.IP2=COMP2 Mcu.IP3=DAC1 Mcu.IP4=DMA Mcu.IP5=NVIC Mcu.IP6=RCC Mcu.IP7=SYS Mcu.IP8=TIM1 Mcu.IP9=USART1 Mcu.IPNb=10 Mcu.Name=STM32G071C(6-8-B)Tx Mcu.Package=LQFP48 Mcu.Pin0=PF0-OSC_IN (PF0) Mcu.Pin1=PF1-OSC_OUT (PF1) Mcu.Pin10=PA8 Mcu.Pin11=PA9 Mcu.Pin12=PA10 Mcu.Pin13=PA11 [PA9] Mcu.Pin14=PA12 [PA10] Mcu.Pin15=PA13 Mcu.Pin16=PA14-BOOT0 Mcu.Pin17=PD0 Mcu.Pin18=PD1 Mcu.Pin19=PD2 Mcu.Pin2=PA1 Mcu.Pin20=PD3 Mcu.Pin21=PB5 Mcu.Pin22=VP_COMP1_VS_DACOUT1 Mcu.Pin23=VP_SYS_VS_Systick Mcu.Pin24=VP_SYS_VS_DBSignals Mcu.Pin25=VP_TIM1_VS_ControllerModeReset Mcu.Pin26=VP_TIM1_VS_ClockSourceINT Mcu.Pin27=VP_TIM1_VS_NoInput1 Mcu.Pin28=VP_TIM1_VS_NoInput2 Mcu.Pin3=PA2 Mcu.Pin4=PA3 Mcu.Pin5=PA4 Mcu.Pin6=PA5 Mcu.Pin7=PA6 Mcu.Pin8=PA7 Mcu.Pin9=PB0 Mcu.PinsNb=29 Mcu.ThirdPartyNb=0 Mcu.UserConstants= Mcu.UserName=STM32G071C8Tx MxCube.Version=6.2.0 MxDb.Version=DB.6.0.20 NVIC.ADC1_COMP_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.DMA1_Channel1_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.ForceEnableDMAVector=true NVIC.HardFault_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 NVIC.SVC_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 PA1.GPIOParameters=GPIO_Label PA1.GPIO_Label=COMP1_INP_I_SENSE PA1.Mode=INP PA1.Signal=COMP1_INP PA10.GPIOParameters=GPIO_PuPd PA10.GPIO_PuPd=GPIO_PULLUP PA10.Mode=Asynchronous PA10.Signal=USART1_RX PA11\ [PA9].GPIOParameters=GPIO_Label PA11\ [PA9].GPIO_Label=COMP1_OUT_I_PEAK PA11\ [PA9].Locked=true PA11\ [PA9].Mode=ExternalOutput PA11\ [PA9].Signal=COMP1_OUT PA12\ [PA10].GPIOParameters=GPIO_PuPd PA12\ [PA10].GPIO_PuPd=GPIO_NOPULL PA12\ [PA10].Mode=Hardware Flow Control (RS485) PA12\ [PA10].Signal=USART1_DE PA13.Mode=Serial_Wire PA13.Signal=SYS_SWDIO PA14-BOOT0.Mode=Serial_Wire PA14-BOOT0.Signal=SYS_SWCLK PA2.GPIOParameters=GPIO_Label PA2.GPIO_Label=COMP2_INM_U_TR_SENSE PA2.Mode=INM PA2.Signal=COMP2_INM PA3.GPIOParameters=GPIO_Label PA3.GPIO_Label=COMP2_INP_U_TR_REF PA3.Mode=INP PA3.Signal=COMP2_INP PA4.GPIOParameters=GPIO_Label PA4.GPIO_Label=DAC1_OUT1_I_CTR_TP PA4.Signal=COMP_DAC11_group PA5.GPIOParameters=GPIO_Label PA5.GPIO_Label=ADC1_IN5_I_SENSE_AVG PA5.Mode=IN5 PA5.Signal=ADC1_IN5 PA6.GPIOParameters=GPIO_Label PA6.GPIO_Label=ADC1_IN6_UIN_SENSE PA6.Mode=IN6 PA6.Signal=ADC1_IN6 PA7.GPIOParameters=GPIO_Label PA7.GPIO_Label=ADC1_IN7_TEMP_SENSE PA7.Mode=IN7 PA7.Signal=ADC1_IN7 PA8.Signal=S_TIM1_CH1 PA9.Mode=Asynchronous PA9.Signal=USART1_TX PB0.Mode=IN8 PB0.Signal=ADC1_IN8 PB5.GPIOParameters=GPIO_Label PB5.GPIO_Label=COMP2_OUT_DISCHARGE PB5.Locked=true PB5.Mode=ExternalOutput PB5.Signal=COMP2_OUT PD0.GPIOParameters=GPIO_Label PD0.GPIO_Label=LVP PD0.Locked=true PD0.Signal=GPIO_Output PD1.GPIOParameters=GPIO_Label PD1.GPIO_Label=OVP PD1.Locked=true PD1.Signal=GPIO_Output PD2.GPIOParameters=GPIO_Label PD2.GPIO_Label=LED_FUNC PD2.Locked=true PD2.Signal=GPIO_Output PD3.GPIOParameters=GPIO_Label PD3.GPIO_Label=LED_ERROR PD3.Locked=true PD3.Signal=GPIO_Output PF0-OSC_IN\ (PF0).Mode=HSE-External-Oscillator PF0-OSC_IN\ (PF0).Signal=RCC_OSC_IN PF1-OSC_OUT\ (PF1).Mode=HSE-External-Oscillator PF1-OSC_OUT\ (PF1).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=STM32G071C8Tx ProjectManager.FirmwarePackage=STM32Cube FW_G0 V1.4.1 ProjectManager.FreePins=true ProjectManager.HalAssertFull=true ProjectManager.HeapSize=0x2000 ProjectManager.KeepUserCode=true ProjectManager.LastFirmware=true ProjectManager.LibraryCopy=1 ProjectManager.MainLocation=Core/Src ProjectManager.NoMain=false ProjectManager.PreviousToolchain=SW4STM32 ProjectManager.ProjectBuild=false ProjectManager.ProjectFileName=firmware.ioc ProjectManager.ProjectName=firmware ProjectManager.RegisterCallBack= ProjectManager.StackSize=0x4000 ProjectManager.TargetToolchain=SW4STM32 ProjectManager.ToolChainLocation= ProjectManager.UnderRoot=true ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-MX_DMA_Init-DMA-false-HAL-true,3-SystemClock_Config-RCC-false-HAL-false,4-MX_ADC1_Init-ADC1-false-HAL-true,5-MX_COMP1_Init-COMP1-false-HAL-true,6-MX_COMP2_Init-COMP2-false-HAL-true,7-MX_DAC1_Init-DAC1-false-HAL-true,8-MX_TIM1_Init-TIM1-false-HAL-true,9-MX_USART1_UART_Init-USART1-false-HAL-true RCC.ADCFreq_Value=8000000 RCC.AHBFreq_Value=8000000 RCC.APBFreq_Value=8000000 RCC.APBTimFreq_Value=8000000 RCC.CECFreq_Value=32786.88524590164 RCC.CortexFreq_Value=8000000 RCC.EXTERNAL_CLOCK_VALUE=48000 RCC.FCLKCortexFreq_Value=8000000 RCC.FamilyName=M RCC.HCLKFreq_Value=8000000 RCC.HSE_VALUE=8000000 RCC.HSI_VALUE=16000000 RCC.I2C1Freq_Value=8000000 RCC.I2S1Freq_Value=8000000 RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APBFreq_Value,APBTimFreq_Value,CECFreq_Value,CortexFreq_Value,EXTERNAL_CLOCK_VALUE,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2C1Freq_Value,I2S1Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSourceVirtual,PWRFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TIM15Freq_Value,TIM1Freq_Value,USART1Freq_Value,USART2Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value RCC.LPTIM1Freq_Value=8000000 RCC.LPTIM2Freq_Value=8000000 RCC.LPUART1Freq_Value=8000000 RCC.LSCOPinFreq_Value=32000 RCC.LSE_VALUE=32768 RCC.LSI_VALUE=32000 RCC.MCO1PinFreq_Value=8000000 RCC.PLLN=16 RCC.PLLPoutputFreq_Value=64000000 RCC.PLLQoutputFreq_Value=64000000 RCC.PLLRCLKFreq_Value=64000000 RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE RCC.PWRFreq_Value=8000000 RCC.SYSCLKFreq_VALUE=8000000 RCC.SYSCLKSource=RCC_SYSCLKSOURCE_HSE RCC.TIM15Freq_Value=8000000 RCC.TIM1Freq_Value=8000000 RCC.USART1Freq_Value=8000000 RCC.USART2Freq_Value=8000000 RCC.VCOInputFreq_Value=8000000 RCC.VCOOutputFreq_Value=128000000 SH.COMP_DAC11_group.0=DAC1_OUT1,DAC_OUT1_ExtAndInt SH.COMP_DAC11_group.ConfNb=1 SH.S_TIM1_CH1.0=TIM1_CH1,TriggerSource_TI1FP1 SH.S_TIM1_CH1.ConfNb=1 TIM1.Channel-Input_Capture1_from_TI1_REMAP_TIM1=TIM_CHANNEL_1 TIM1.Channel-Input_Capture2_from_TI2_Remap_TIM1=TIM_CHANNEL_2 TIM1.ICPolarity_CH1=TIM_INPUTCHANNELPOLARITY_FALLING TIM1.IPParameters=Channel-Input_Capture1_from_TI1_REMAP_TIM1,Channel-Input_Capture2_from_TI2_Remap_TIM1,ICPolarity_CH1 USART1.BaudRate=19200 USART1.IPParameters=VirtualMode-Asynchronous,VirtualMode-Hardware Flow Control (RS485),BaudRate,WordLength,Parity USART1.Parity=PARITY_EVEN USART1.VirtualMode-Asynchronous=VM_ASYNC USART1.VirtualMode-Hardware\ Flow\ Control\ (RS485)=VM_ASYNC USART1.WordLength=WORDLENGTH_9B VP_COMP1_VS_DACOUT1.Mode=INM_DACOUT1 VP_COMP1_VS_DACOUT1.Signal=COMP1_VS_DACOUT1 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 VP_TIM1_VS_ClockSourceINT.Mode=Internal VP_TIM1_VS_ClockSourceINT.Signal=TIM1_VS_ClockSourceINT VP_TIM1_VS_ControllerModeReset.Mode=Reset Mode VP_TIM1_VS_ControllerModeReset.Signal=TIM1_VS_ControllerModeReset VP_TIM1_VS_NoInput1.Mode=Input_Capture1_from_TI1_REMAP_TIM1 VP_TIM1_VS_NoInput1.Signal=TIM1_VS_NoInput1 VP_TIM1_VS_NoInput2.Mode=Input_Capture2_from_TI2_Remap_TIM1 VP_TIM1_VS_NoInput2.Signal=TIM1_VS_NoInput2 board=custom