#MicroXplorer Configuration settings - do not modify ADC.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_0 ADC.Channel-3\#ChannelRegularConversion=ADC_CHANNEL_TEMPSENSOR ADC.Channel-4\#ChannelRegularConversion=ADC_CHANNEL_VREFINT ADC.ContinuousConvMode=DISABLE ADC.DMAContinuousRequests=DISABLE ADC.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,ScanConvMode,ContinuousConvMode,DMAContinuousRequests,NbrOfConversion,Rank-3\#ChannelRegularConversion,Channel-3\#ChannelRegularConversion,SamplingTime-3\#ChannelRegularConversion,Rank-4\#ChannelRegularConversion,Channel-4\#ChannelRegularConversion,SamplingTime-4\#ChannelRegularConversion ADC.NbrOfConversion=3 ADC.NbrOfConversionFlag=1 ADC.Rank-0\#ChannelRegularConversion=1 ADC.Rank-3\#ChannelRegularConversion=2 ADC.Rank-4\#ChannelRegularConversion=3 ADC.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_48CYCLES ADC.SamplingTime-3\#ChannelRegularConversion=ADC_SAMPLETIME_48CYCLES ADC.SamplingTime-4\#ChannelRegularConversion=ADC_SAMPLETIME_48CYCLES ADC.ScanConvMode=ADC_SCAN_ENABLE COMP2.IPParameters=InvertingInput,TriggerMode,Output,Mode COMP2.InvertingInput=COMP_INVERTINGINPUT_DAC2 COMP2.Mode=COMP_MODE_HIGHSPEED COMP2.Output=COMP_OUTPUT_NONE COMP2.TriggerMode=COMP_TRIGGERMODE_IT_RISING DAC.DAC_OutputBuffer2=DAC_OUTPUTBUFFER_DISABLE DAC.IPParameters=DAC_OutputBuffer2 Dma.ADC.0.Direction=DMA_PERIPH_TO_MEMORY Dma.ADC.0.Instance=DMA1_Channel1 Dma.ADC.0.MemDataAlignment=DMA_MDATAALIGN_WORD Dma.ADC.0.MemInc=DMA_MINC_ENABLE Dma.ADC.0.Mode=DMA_NORMAL Dma.ADC.0.PeriphDataAlignment=DMA_PDATAALIGN_WORD Dma.ADC.0.PeriphInc=DMA_PINC_DISABLE Dma.ADC.0.Priority=DMA_PRIORITY_LOW Dma.ADC.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority Dma.Request0=ADC Dma.Request1=USART1_RX Dma.Request2=USART1_TX Dma.RequestsNb=3 Dma.USART1_RX.1.Direction=DMA_PERIPH_TO_MEMORY Dma.USART1_RX.1.Instance=DMA1_Channel5 Dma.USART1_RX.1.MemDataAlignment=DMA_MDATAALIGN_BYTE Dma.USART1_RX.1.MemInc=DMA_MINC_ENABLE Dma.USART1_RX.1.Mode=DMA_CIRCULAR Dma.USART1_RX.1.PeriphDataAlignment=DMA_PDATAALIGN_BYTE Dma.USART1_RX.1.PeriphInc=DMA_PINC_DISABLE Dma.USART1_RX.1.Priority=DMA_PRIORITY_LOW Dma.USART1_RX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority Dma.USART1_TX.2.Direction=DMA_MEMORY_TO_PERIPH Dma.USART1_TX.2.Instance=DMA1_Channel4 Dma.USART1_TX.2.MemDataAlignment=DMA_MDATAALIGN_BYTE Dma.USART1_TX.2.MemInc=DMA_MINC_ENABLE Dma.USART1_TX.2.Mode=DMA_NORMAL Dma.USART1_TX.2.PeriphDataAlignment=DMA_PDATAALIGN_BYTE Dma.USART1_TX.2.PeriphInc=DMA_PINC_DISABLE Dma.USART1_TX.2.Priority=DMA_PRIORITY_LOW Dma.USART1_TX.2.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority File.Version=6 GPIO.groupedBy=Group By Peripherals I2C1.I2C_Mode=I2C_Fast I2C1.IPParameters=I2C_Mode I2C2.I2C_Mode=I2C_Standard I2C2.IPParameters=I2C_Mode KeepUserPlacement=false Mcu.Family=STM32L1 Mcu.IP0=ADC Mcu.IP1=COMP2 Mcu.IP10=TIM2 Mcu.IP11=TIM3 Mcu.IP12=TIM4 Mcu.IP13=TIM6 Mcu.IP14=USART1 Mcu.IP15=USB Mcu.IP16=USB_DEVICE Mcu.IP2=CRC Mcu.IP3=DAC Mcu.IP4=DMA Mcu.IP5=I2C1 Mcu.IP6=I2C2 Mcu.IP7=NVIC Mcu.IP8=RCC Mcu.IP9=SYS Mcu.IPNb=17 Mcu.Name=STM32L151C(6-8-B)TxA Mcu.Package=LQFP48 Mcu.Pin0=PH0-OSC_IN Mcu.Pin1=PH1-OSC_OUT Mcu.Pin10=PB14 Mcu.Pin11=PB15 Mcu.Pin12=PA9 Mcu.Pin13=PA10 Mcu.Pin14=PA11 Mcu.Pin15=PA12 Mcu.Pin16=PA13 Mcu.Pin17=PA14 Mcu.Pin18=PB4 Mcu.Pin19=PB6 Mcu.Pin2=PA0-WKUP1 Mcu.Pin20=PB7 Mcu.Pin21=VP_ADC_TempSens_Input Mcu.Pin22=VP_ADC_Vref_Input Mcu.Pin23=VP_COMP2_VS_DACOUT2 Mcu.Pin24=VP_CRC_VS_CRC Mcu.Pin25=VP_SYS_VS_Systick Mcu.Pin26=VP_TIM2_VS_ClockSourceINT Mcu.Pin27=VP_TIM2_VS_OPM Mcu.Pin28=VP_TIM3_VS_ControllerModeGated Mcu.Pin29=VP_TIM3_VS_ClockSourceINT Mcu.Pin3=PA4 Mcu.Pin30=VP_TIM3_VS_ClockSourceITR Mcu.Pin31=VP_TIM4_VS_ClockSourceINT Mcu.Pin32=VP_TIM6_VS_ClockSourceINT Mcu.Pin33=VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS Mcu.Pin4=PA5 Mcu.Pin5=PA7 Mcu.Pin6=PB0 Mcu.Pin7=PB1 Mcu.Pin8=PB10 Mcu.Pin9=PB11 Mcu.PinsNb=34 Mcu.ThirdPartyNb=0 Mcu.UserConstants= Mcu.UserName=STM32L151CBTxA MxCube.Version=6.4.0 MxDb.Version=DB.6.0.40 NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.COMP_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.DMA1_Channel1_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.DMA1_Channel4_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.DMA1_Channel5_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.EXTI15_10_IRQn=true\:0\:0\:false\:false\:true\:true\:true NVIC.ForceEnableDMAVector=true 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 NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4 NVIC.SVC_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true NVIC.TIM4_IRQn=true\:0\:0\:false\:false\:true\:true\:true NVIC.TIM6_IRQn=true\:0\:0\:false\:false\:true\:true\:true NVIC.USART1_IRQn=true\:0\:0\:false\:false\:true\:true\:true NVIC.USB_LP_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false PA0-WKUP1.Mode=IN0 PA0-WKUP1.Signal=ADC_IN0 PA10.Mode=Asynchronous PA10.Signal=USART1_RX PA11.Mode=Device PA11.Signal=USB_DM PA12.Mode=Device PA12.Signal=USB_DP PA13.Mode=Serial_Wire PA13.Signal=SYS_JTMS-SWDIO PA14.Mode=Serial_Wire PA14.Signal=SYS_JTCK-SWCLK PA4.Signal=COMP_DAC1_group PA5.Signal=COMP_DAC2_group PA7.GPIOParameters=PinState PA7.Locked=true PA7.PinState=GPIO_PIN_RESET PA7.Signal=GPIO_Output PA9.Mode=Asynchronous PA9.Signal=USART1_TX PB0.GPIOParameters=GPIO_Speed,PinState,GPIO_ModeDefaultOutputPP PB0.GPIO_ModeDefaultOutputPP=GPIO_MODE_OUTPUT_PP PB0.GPIO_Speed=GPIO_SPEED_FREQ_LOW PB0.Locked=true PB0.PinState=GPIO_PIN_SET PB0.Signal=GPIO_Output PB1.Signal=S_TIM3_CH4 PB10.Mode=I2C PB10.Signal=I2C2_SCL PB11.Mode=I2C PB11.Signal=I2C2_SDA PB14.GPIOParameters=GPIO_PuPd,GPIO_ModeDefaultEXTI PB14.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING PB14.GPIO_PuPd=GPIO_PULLUP PB14.Locked=true PB14.Signal=GPXTI14 PB15.GPIOParameters=GPIO_PuPd,GPIO_ModeDefaultEXTI PB15.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING PB15.GPIO_PuPd=GPIO_PULLUP PB15.Locked=true PB15.Signal=GPXTI15 PB4.Locked=true PB4.Mode=INP PB4.Signal=COMP2_INP PB6.Mode=I2C PB6.Signal=I2C1_SCL PB7.Mode=I2C PB7.Signal=I2C1_SDA 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 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=STM32L151CBTxA ProjectManager.FirmwarePackage=STM32Cube FW_L1 V1.10.3 ProjectManager.FreePins=true 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=dosim-v1.ioc ProjectManager.ProjectName=dosim-v1 ProjectManager.RegisterCallBack= ProjectManager.StackSize=0x400 ProjectManager.TargetToolchain=STM32CubeIDE ProjectManager.ToolChainLocation= ProjectManager.UnderRoot=true ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_DMA_Init-DMA-false-HAL-true,3-MX_GPIO_Init-GPIO-false-HAL-true,4-MX_ADC_Init-ADC-false-HAL-true,5-MX_DAC_Init-DAC-false-HAL-true,6-MX_I2C2_Init-I2C2-true-HAL-true,7-MX_COMP2_Init-COMP2-false-HAL-true,8-MX_USART1_UART_Init-USART1-false-HAL-true,9-MX_TIM6_Init-TIM6-false-HAL-true,10-MX_TIM4_Init-TIM4-false-HAL-true,11-MX_TIM3_Init-TIM3-false-HAL-true,12-MX_TIM2_Init-TIM2-false-HAL-true,13-MX_I2C1_Init-I2C1-false-HAL-true,14-MX_USB_DEVICE_Init-USB_DEVICE-false-HAL-false RCC.48MHZClocksFreq_Value=48000000 RCC.AHBFreq_Value=24000000 RCC.APB1Freq_Value=24000000 RCC.APB1TimFreq_Value=24000000 RCC.APB2Freq_Value=24000000 RCC.APB2TimFreq_Value=24000000 RCC.FCLKCortexFreq_Value=24000000 RCC.FamilyName=M RCC.HCLKFreq_Value=24000000 RCC.HSE_VALUE=8000000 RCC.HSI_VALUE=16000000 RCC.IPParameters=48MHZClocksFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,LSE_VALUE,LSI_VALUE,MCOPinFreq_Value,MSI_VALUE,PLLCLKFreq_Value,PLLDIV,PLLMUL,PWRFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TIMFreq_Value,TimerFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value RCC.LSE_VALUE=32768 RCC.LSI_VALUE=37000 RCC.MCOPinFreq_Value=24000000 RCC.MSI_VALUE=2097000 RCC.PLLCLKFreq_Value=24000000 RCC.PLLDIV=RCC_PLL_DIV4 RCC.PLLMUL=RCC_PLL_MUL12 RCC.PWRFreq_Value=24000000 RCC.RTCFreq_Value=37000 RCC.RTCHSEDivFreq_Value=4000000 RCC.SYSCLKFreq_VALUE=24000000 RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK RCC.TIMFreq_Value=24000000 RCC.TimerFreq_Value=24000000 RCC.VCOInputFreq_Value=8000000 RCC.VCOOutputFreq_Value=96000000 SH.COMP_DAC1_group.0=DAC_OUT1,DAC_OUT1 SH.COMP_DAC1_group.ConfNb=1 SH.COMP_DAC2_group.0=DAC_OUT2,DAC_OUT2 SH.COMP_DAC2_group.ConfNb=1 SH.GPXTI14.0=GPIO_EXTI14 SH.GPXTI14.ConfNb=1 SH.GPXTI15.0=GPIO_EXTI15 SH.GPXTI15.ConfNb=1 SH.S_TIM3_CH4.0=TIM3_CH4,PWM Generation4 CH4 SH.S_TIM3_CH4.ConfNb=1 TIM2.AutoReloadPreload=TIM_AUTORELOAD_PRELOAD_DISABLE TIM2.CounterMode=TIM_COUNTERMODE_UP TIM2.IPParameters=Prescaler,Period,TIM_MasterOutputTrigger,TIM_MasterSlaveMode,AutoReloadPreload,CounterMode TIM2.Period=1000 TIM2.Prescaler=600 TIM2.TIM_MasterOutputTrigger=TIM_TRGO_ENABLE TIM2.TIM_MasterSlaveMode=TIM_MASTERSLAVEMODE_DISABLE TIM3.Channel-PWM\ Generation4\ CH4=TIM_CHANNEL_4 TIM3.IPParameters=Prescaler,Period,Channel-PWM Generation4 CH4,Pulse-PWM Generation4 CH4,OCMode_PWM-PWM Generation4 CH4,TIM_MasterSlaveMode,OC4Preload_PWM,OCPolarity_4 TIM3.OC4Preload_PWM=ENABLE TIM3.OCMode_PWM-PWM\ Generation4\ CH4=TIM_OCMODE_PWM1 TIM3.OCPolarity_4=TIM_OCPOLARITY_HIGH TIM3.Period=1000 TIM3.Prescaler=48 TIM3.Pulse-PWM\ Generation4\ CH4=10 TIM3.TIM_MasterSlaveMode=TIM_MASTERSLAVEMODE_DISABLE TIM4.IPParameters=Prescaler,TIM_MasterOutputTrigger,Period TIM4.Period=50000-1 TIM4.Prescaler=240 TIM4.TIM_MasterOutputTrigger=TIM_TRGO_UPDATE TIM6.IPParameters=Prescaler,Period,TIM_MasterOutputTrigger TIM6.Period=20000 TIM6.Prescaler=600 TIM6.TIM_MasterOutputTrigger=TIM_TRGO_UPDATE USART1.IPParameters=VirtualMode USART1.VirtualMode=VM_ASYNC USB_DEVICE.APP_RX_DATA_SIZE=256 USB_DEVICE.APP_TX_DATA_SIZE=256 USB_DEVICE.CLASS_NAME_FS=CDC USB_DEVICE.IPParameters=VirtualMode,VirtualModeFS,CLASS_NAME_FS,PRODUCT_STRING_CDC_FS,MANUFACTURER_STRING,APP_RX_DATA_SIZE,APP_TX_DATA_SIZE,USBD_MAX_STR_DESC_SIZ USB_DEVICE.MANUFACTURER_STRING=DETECTOR USB_DEVICE.PRODUCT_STRING_CDC_FS=Scintillation Dosimeter USB_DEVICE.USBD_MAX_STR_DESC_SIZ=256 USB_DEVICE.VirtualMode=Cdc USB_DEVICE.VirtualModeFS=Cdc_FS VP_ADC_TempSens_Input.Mode=IN-TempSens VP_ADC_TempSens_Input.Signal=ADC_TempSens_Input VP_ADC_Vref_Input.Mode=IN-Vrefint VP_ADC_Vref_Input.Signal=ADC_Vref_Input VP_COMP2_VS_DACOUT2.Mode=INM_DACOUT2 VP_COMP2_VS_DACOUT2.Signal=COMP2_VS_DACOUT2 VP_CRC_VS_CRC.Mode=CRC_Activate VP_CRC_VS_CRC.Signal=CRC_VS_CRC 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 VP_TIM2_VS_OPM.Mode=OPM_bit VP_TIM2_VS_OPM.Signal=TIM2_VS_OPM VP_TIM3_VS_ClockSourceINT.Mode=Internal VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT VP_TIM3_VS_ClockSourceITR.Mode=TriggerSource_ITR1 VP_TIM3_VS_ClockSourceITR.Signal=TIM3_VS_ClockSourceITR VP_TIM3_VS_ControllerModeGated.Mode=Gated Mode VP_TIM3_VS_ControllerModeGated.Signal=TIM3_VS_ControllerModeGated VP_TIM4_VS_ClockSourceINT.Mode=Internal VP_TIM4_VS_ClockSourceINT.Signal=TIM4_VS_ClockSourceINT VP_TIM6_VS_ClockSourceINT.Mode=Enable_Timer VP_TIM6_VS_ClockSourceINT.Signal=TIM6_VS_ClockSourceINT VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS.Mode=CDC_FS VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS.Signal=USB_DEVICE_VS_USB_DEVICE_CDC_FS board=custom isbadioc=false