#MicroXplorer Configuration settings - do not modify ADC1.Channel-1\#ChannelRegularConversion=ADC_CHANNEL_2 ADC1.Channel-2\#ChannelRegularConversion=ADC_CHANNEL_9 ADC1.Channel-4\#ChannelRegularConversion=ADC_CHANNEL_VREFINT ADC1.ChannelVREF=ADC_CHANNEL_VREFINT ADC1.DMAContinuousRequests=ENABLE ADC1.IPParameters=Rank-1\#ChannelRegularConversion,Channel-1\#ChannelRegularConversion,SamplingTime-1\#ChannelRegularConversion,NbrOfConversionFlag,Rank-2\#ChannelRegularConversion,Channel-2\#ChannelRegularConversion,SamplingTime-2\#ChannelRegularConversion,NbrOfConversion,DMAContinuousRequests,master,SelectedChannel,Rank-4\#ChannelRegularConversion,Channel-4\#ChannelRegularConversion,SamplingTime-4\#ChannelRegularConversion,ChannelVREF ADC1.NbrOfConversion=3 ADC1.NbrOfConversionFlag=1 ADC1.Rank-1\#ChannelRegularConversion=1 ADC1.Rank-2\#ChannelRegularConversion=2 ADC1.Rank-4\#ChannelRegularConversion=3 ADC1.SamplingTime-1\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1 ADC1.SamplingTime-2\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1 ADC1.SamplingTime-4\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1 ADC1.SelectedChannel=ADC_CHANNEL_2|ADC_CHANNEL_9|ADC_CHANNEL_VREFINT ADC1.master=1 Dma.ADC1.1.Direction=DMA_PERIPH_TO_MEMORY Dma.ADC1.1.EventEnable=DISABLE Dma.ADC1.1.Instance=DMA1_Channel2 Dma.ADC1.1.MemDataAlignment=DMA_MDATAALIGN_WORD Dma.ADC1.1.MemInc=DMA_MINC_ENABLE Dma.ADC1.1.Mode=DMA_CIRCULAR Dma.ADC1.1.PeriphDataAlignment=DMA_PDATAALIGN_WORD Dma.ADC1.1.PeriphInc=DMA_PINC_DISABLE Dma.ADC1.1.Polarity=HAL_DMAMUX_REQ_GEN_RISING Dma.ADC1.1.Priority=DMA_PRIORITY_LOW Dma.ADC1.1.RequestNumber=1 Dma.ADC1.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber Dma.ADC1.1.SignalID=NONE Dma.ADC1.1.SyncEnable=DISABLE Dma.ADC1.1.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT Dma.ADC1.1.SyncRequestNumber=1 Dma.ADC1.1.SyncSignalID=NONE Dma.Request0=SPI1_RX Dma.Request1=ADC1 Dma.RequestsNb=2 Dma.SPI1_RX.0.Direction=DMA_PERIPH_TO_MEMORY Dma.SPI1_RX.0.EventEnable=DISABLE Dma.SPI1_RX.0.Instance=DMA1_Channel1 Dma.SPI1_RX.0.MemDataAlignment=DMA_MDATAALIGN_HALFWORD Dma.SPI1_RX.0.MemInc=DMA_MINC_ENABLE Dma.SPI1_RX.0.Mode=DMA_CIRCULAR Dma.SPI1_RX.0.PeriphDataAlignment=DMA_PDATAALIGN_HALFWORD Dma.SPI1_RX.0.PeriphInc=DMA_PINC_DISABLE Dma.SPI1_RX.0.Polarity=HAL_DMAMUX_REQ_GEN_RISING Dma.SPI1_RX.0.Priority=DMA_PRIORITY_LOW Dma.SPI1_RX.0.RequestNumber=1 Dma.SPI1_RX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber Dma.SPI1_RX.0.SignalID=NONE Dma.SPI1_RX.0.SyncEnable=DISABLE Dma.SPI1_RX.0.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT Dma.SPI1_RX.0.SyncRequestNumber=1 Dma.SPI1_RX.0.SyncSignalID=NONE File.Version=6 GPIO.groupedBy=Group By Peripherals I2C2.I2C_Speed_Mode=I2C_Fast I2C2.IPParameters=I2C_Speed_Mode,OwnAddress,Timing I2C2.OwnAddress=0x3C I2C2.Timing=0x0010061A I2S1.AudioFreq=I2S_AUDIOFREQ_22K I2S1.DataFormat=I2S_DATAFORMAT_24B I2S1.ErrorAudioFreq=3.3 % I2S1.FullDuplexMode=I2S_FULLDUPLEXMODE_DISABLE I2S1.IPParameters=Instance,VirtualMode,FullDuplexMode,RealAudioFreq,ErrorAudioFreq,Mode,DataFormat,AudioFreq I2S1.Instance=SPI$Index I2S1.Mode=I2S_MODE_MASTER_RX I2S1.RealAudioFreq=22.727 KHz I2S1.VirtualMode=I2S_MODE_MASTER KeepUserPlacement=false Mcu.Family=STM32G0 Mcu.IP0=ADC1 Mcu.IP1=DMA Mcu.IP2=I2C2 Mcu.IP3=I2S1 Mcu.IP4=NVIC Mcu.IP5=RCC Mcu.IP6=SPI2 Mcu.IP7=SYS Mcu.IP8=TIM2 Mcu.IP9=USART4 Mcu.IPNb=10 Mcu.Name=STM32G071K(6-8-B)Tx Mcu.Package=LQFP32 Mcu.Pin0=PA0 Mcu.Pin1=PA1 Mcu.Pin10=PC6 Mcu.Pin11=PA11 [PA9] Mcu.Pin12=PA12 [PA10] Mcu.Pin13=PA13 Mcu.Pin14=PA14-BOOT0 Mcu.Pin15=PA15 Mcu.Pin16=PB3 Mcu.Pin17=PB5 Mcu.Pin18=PB8 Mcu.Pin19=VP_ADC1_Vref_Input Mcu.Pin2=PA2 Mcu.Pin20=VP_SYS_VS_Systick Mcu.Pin21=VP_SYS_VS_DBSignals Mcu.Pin22=VP_TIM2_VS_ClockSourceINT Mcu.Pin3=PA3 Mcu.Pin4=PA4 Mcu.Pin5=PA5 Mcu.Pin6=PA6 Mcu.Pin7=PA7 Mcu.Pin8=PB0 Mcu.Pin9=PB1 Mcu.PinsNb=23 Mcu.ThirdPartyNb=0 Mcu.UserConstants= Mcu.UserName=STM32G071KBTx MxCube.Version=6.1.1 MxDb.Version=DB.6.0.10 NVIC.ADC1_COMP_IRQn=true\:0\:0\:false\:false\:true\:true\:true NVIC.DMA1_Channel1_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.DMA1_Channel2_3_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.ForceEnableDMAVector=true NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.I2C2_IRQn=true\:0\:0\:false\:false\:true\:true\:true 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 PA0.Locked=true PA0.Mode=Asynchronous PA0.Signal=USART4_TX PA1.Locked=true PA1.Mode=Asynchronous PA1.Signal=USART4_RX PA11\ [PA9].Mode=I2C PA11\ [PA9].Signal=I2C2_SCL PA12\ [PA10].Locked=true PA12\ [PA10].Mode=I2C PA12\ [PA10].Signal=I2C2_SDA PA13.Mode=Serial_Wire PA13.Signal=SYS_SWDIO PA14-BOOT0.Mode=Serial_Wire PA14-BOOT0.Signal=SYS_SWCLK PA15.Locked=true PA15.Mode=Half_Duplex_Master PA15.Signal=I2S1_WS PA2.GPIOParameters=GPIO_Label PA2.GPIO_Label=Device_ID PA2.Locked=true PA2.Mode=IN2 PA2.Signal=ADC1_IN2 PA3.Locked=true PA3.Mode=Full_Duplex_Master PA3.Signal=SPI2_MISO PA4.Mode=Full_Duplex_Master PA4.Signal=SPI2_MOSI PA5.GPIOParameters=PinState,GPIO_Label PA5.GPIO_Label=NSS PA5.Locked=true PA5.PinState=GPIO_PIN_SET PA5.Signal=GPIO_Output PA6.GPIOParameters=GPIO_Label PA6.GPIO_Label=LED PA6.Locked=true PA6.Signal=GPIO_Output PA7.GPIOParameters=GPIO_Label PA7.GPIO_Label=RESET PA7.Locked=true PA7.Signal=GPIO_Output PB0.GPIOParameters=GPIO_PuPd PB0.GPIO_PuPd=GPIO_NOPULL PB0.Locked=true PB0.Signal=GPIO_Input PB1.GPIOParameters=GPIO_Label PB1.GPIO_Label=BAT_Monitor PB1.Locked=true PB1.Mode=IN9 PB1.Signal=ADC1_IN9 PB3.Locked=true PB3.Mode=Half_Duplex_Master PB3.Signal=I2S1_CK PB5.Locked=true PB5.Mode=Half_Duplex_Master PB5.Signal=I2S1_SD PB8.Mode=Full_Duplex_Master PB8.Signal=SPI2_SCK PC6.GPIOParameters=GPIO_PuPd,GPIO_Label PC6.GPIO_Label=I2C_Address PC6.GPIO_PuPd=GPIO_PULLUP PC6.Locked=true PC6.Signal=GPIO_Input 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=STM32G071KBTx ProjectManager.FirmwarePackage=STM32Cube FW_G0 V1.4.0 ProjectManager.FreePins=false ProjectManager.HalAssertFull=false ProjectManager.HeapSize=0x200 ProjectManager.KeepUserCode=true ProjectManager.LastFirmware=true ProjectManager.LibraryCopy=1 ProjectManager.MainLocation=Core/Src ProjectManager.NoMain=false ProjectManager.PreviousToolchain= ProjectManager.ProjectBuild=false ProjectManager.ProjectFileName=noise_sensor.ioc ProjectManager.ProjectName=noise_sensor ProjectManager.RegisterCallBack=ADC,I2C,I2S ProjectManager.StackSize=0x400 ProjectManager.TargetToolchain=STM32CubeIDE 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_I2S1_Init-I2S1-false-HAL-true,6-MX_SPI2_Init-SPI2-false-HAL-true,7-MX_I2C2_Init-I2C2-false-HAL-true,8-MX_USART4_UART_Init-USART4-false-HAL-true,9-MX_TIM2_Init-TIM2-false-HAL-true RCC.ADCFreq_Value=16000000 RCC.AHBFreq_Value=16000000 RCC.APBFreq_Value=16000000 RCC.APBTimFreq_Value=16000000 RCC.CECFreq_Value=32786.88524590164 RCC.CortexFreq_Value=16000000 RCC.EXTERNAL_CLOCK_VALUE=48000 RCC.FCLKCortexFreq_Value=16000000 RCC.FamilyName=M RCC.HCLKFreq_Value=16000000 RCC.HSE_VALUE=8000000 RCC.HSI_VALUE=16000000 RCC.I2C1Freq_Value=16000000 RCC.I2S1Freq_Value=16000000 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,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLR,PLLRCLKFreq_Value,PWRFreq_Value,SYSCLKFreq_VALUE,TIM15Freq_Value,TIM1Freq_Value,USART1Freq_Value,USART2Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value RCC.LPTIM1Freq_Value=16000000 RCC.LPTIM2Freq_Value=16000000 RCC.LPUART1Freq_Value=16000000 RCC.LSCOPinFreq_Value=32000 RCC.LSE_VALUE=32768 RCC.LSI_VALUE=32000 RCC.MCO1PinFreq_Value=16000000 RCC.PLLPoutputFreq_Value=64000000 RCC.PLLQoutputFreq_Value=64000000 RCC.PLLR=RCC_PLLR_DIV4 RCC.PLLRCLKFreq_Value=32000000 RCC.PWRFreq_Value=16000000 RCC.SYSCLKFreq_VALUE=16000000 RCC.TIM15Freq_Value=16000000 RCC.TIM1Freq_Value=16000000 RCC.USART1Freq_Value=16000000 RCC.USART2Freq_Value=16000000 RCC.VCOInputFreq_Value=16000000 RCC.VCOOutputFreq_Value=128000000 SPI2.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_2 SPI2.CalculateBaudRate=8.0 MBits/s SPI2.DataSize=SPI_DATASIZE_8BIT SPI2.Direction=SPI_DIRECTION_2LINES SPI2.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,DataSize,BaudRatePrescaler SPI2.Mode=SPI_MODE_MASTER SPI2.VirtualType=VM_MASTER TIM2.IPParameters=Prescaler TIM2.Prescaler=16-1 USART4.IPParameters=VirtualMode-Asynchronous,Mode USART4.Mode=MODE_TX USART4.VirtualMode-Asynchronous=VM_ASYNC VP_ADC1_Vref_Input.Mode=IN-Vrefint VP_ADC1_Vref_Input.Signal=ADC1_Vref_Input 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_TIM2_VS_ClockSourceINT.Mode=Internal VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT board=custom isbadioc=false