#MicroXplorer Configuration settings - do not modify ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_7 ADC1.Channel-1\#ChannelRegularConversion=ADC_CHANNEL_9 ADC1.Channel-2\#ChannelInjectedConversion=ADC_CHANNEL_8 ADC1.Channel-3\#ChannelInjectedConversion=ADC_CHANNEL_8 ADC1.Channel-4\#ChannelInjectedConversion=ADC_CHANNEL_8 ADC1.Channel-5\#ChannelInjectedConversion=ADC_CHANNEL_8 ADC1.ContinuousConvMode=ENABLE ADC1.DataAlign=ADC_DATAALIGN_RIGHT ADC1.DiscontinuousConvMode=DISABLE ADC1.EnableAnalogWatchDog=false ADC1.EnableRegularConversion=ENABLE ADC1.ExternalTrigConv=ADC_SOFTWARE_START ADC1.ExternalTrigInjecConv=ADC_EXTERNALTRIGINJECCONV_T2_CC1 ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,DataAlign,ScanConvMode,ContinuousConvMode,DiscontinuousConvMode,EnableRegularConversion,NbrOfConversion,ExternalTrigConv,InjNumberOfConversion,EnableAnalogWatchDog,Rank-1\#ChannelRegularConversion,Channel-1\#ChannelRegularConversion,SamplingTime-1\#ChannelRegularConversion,master,Rank-2\#ChannelInjectedConversion,Channel-2\#ChannelInjectedConversion,SamplingTime-2\#ChannelInjectedConversion,InjectedOffset-2\#ChannelInjectedConversion,Rank-3\#ChannelInjectedConversion,Channel-3\#ChannelInjectedConversion,SamplingTime-3\#ChannelInjectedConversion,InjectedOffset-3\#ChannelInjectedConversion,Rank-4\#ChannelInjectedConversion,Channel-4\#ChannelInjectedConversion,SamplingTime-4\#ChannelInjectedConversion,InjectedOffset-4\#ChannelInjectedConversion,Rank-5\#ChannelInjectedConversion,Channel-5\#ChannelInjectedConversion,SamplingTime-5\#ChannelInjectedConversion,InjectedOffset-5\#ChannelInjectedConversion,ExternalTrigInjecConv,InjectedConvMode,Mode ADC1.InjNumberOfConversion=4 ADC1.InjectedConvMode=None ADC1.InjectedOffset-2\#ChannelInjectedConversion=0 ADC1.InjectedOffset-3\#ChannelInjectedConversion=0 ADC1.InjectedOffset-4\#ChannelInjectedConversion=0 ADC1.InjectedOffset-5\#ChannelInjectedConversion=0 ADC1.Mode=ADC_DUALMODE_REGSIMULT_INJECSIMULT ADC1.NbrOfConversion=2 ADC1.NbrOfConversionFlag=1 ADC1.Rank-0\#ChannelRegularConversion=1 ADC1.Rank-1\#ChannelRegularConversion=2 ADC1.Rank-2\#ChannelInjectedConversion=1 ADC1.Rank-3\#ChannelInjectedConversion=2 ADC1.Rank-4\#ChannelInjectedConversion=3 ADC1.Rank-5\#ChannelInjectedConversion=4 ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_239CYCLES_5 ADC1.SamplingTime-1\#ChannelRegularConversion=ADC_SAMPLETIME_239CYCLES_5 ADC1.SamplingTime-2\#ChannelInjectedConversion=ADC_SAMPLETIME_239CYCLES_5 ADC1.SamplingTime-3\#ChannelInjectedConversion=ADC_SAMPLETIME_71CYCLES_5 ADC1.SamplingTime-4\#ChannelInjectedConversion=ADC_SAMPLETIME_239CYCLES_5 ADC1.SamplingTime-5\#ChannelInjectedConversion=ADC_SAMPLETIME_71CYCLES_5 ADC1.ScanConvMode=ADC_SCAN_ENABLE ADC1.master=1 ADC2.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_8 ADC2.Channel-1\#ChannelInjectedConversion=ADC_CHANNEL_8 ADC2.Channel-2\#ChannelInjectedConversion=ADC_CHANNEL_8 ADC2.Channel-3\#ChannelInjectedConversion=ADC_CHANNEL_8 ADC2.Channel-4\#ChannelInjectedConversion=ADC_CHANNEL_8 ADC2.ContinuousConvMode=DISABLE ADC2.DataAlign=ADC_DATAALIGN_RIGHT ADC2.DiscontinuousConvMode=DISABLE ADC2.EnableAnalogWatchDog=false ADC2.EnableRegularConversion=ENABLE ADC2.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,Rank-1\#ChannelInjectedConversion,Channel-1\#ChannelInjectedConversion,SamplingTime-1\#ChannelInjectedConversion,InjectedOffset-1\#ChannelInjectedConversion,Rank-2\#ChannelInjectedConversion,Channel-2\#ChannelInjectedConversion,SamplingTime-2\#ChannelInjectedConversion,InjectedOffset-2\#ChannelInjectedConversion,Rank-3\#ChannelInjectedConversion,Channel-3\#ChannelInjectedConversion,SamplingTime-3\#ChannelInjectedConversion,InjectedOffset-3\#ChannelInjectedConversion,Rank-4\#ChannelInjectedConversion,Channel-4\#ChannelInjectedConversion,SamplingTime-4\#ChannelInjectedConversion,InjectedOffset-4\#ChannelInjectedConversion,InjNumberOfConversion,Mode,DataAlign,ScanConvMode,ContinuousConvMode,DiscontinuousConvMode,EnableRegularConversion,NbrOfConversion,InjectedConvMode,EnableAnalogWatchDog ADC2.InjNumberOfConversion=4 ADC2.InjectedConvMode=None ADC2.InjectedOffset-1\#ChannelInjectedConversion=0 ADC2.InjectedOffset-2\#ChannelInjectedConversion=0 ADC2.InjectedOffset-3\#ChannelInjectedConversion=0 ADC2.InjectedOffset-4\#ChannelInjectedConversion=0 ADC2.Mode=ADC_DUALMODE_REGSIMULT_INJECSIMULT ADC2.NbrOfConversion=1 ADC2.NbrOfConversionFlag=1 ADC2.Rank-0\#ChannelRegularConversion=1 ADC2.Rank-1\#ChannelInjectedConversion=1 ADC2.Rank-2\#ChannelInjectedConversion=2 ADC2.Rank-3\#ChannelInjectedConversion=3 ADC2.Rank-4\#ChannelInjectedConversion=4 ADC2.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_1CYCLE_5 ADC2.SamplingTime-1\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5 ADC2.SamplingTime-2\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5 ADC2.SamplingTime-3\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5 ADC2.SamplingTime-4\#ChannelInjectedConversion=ADC_SAMPLETIME_1CYCLE_5 ADC2.ScanConvMode=ADC_SCAN_ENABLE Dma.ADC1.2.Direction=DMA_PERIPH_TO_MEMORY Dma.ADC1.2.Instance=DMA1_Channel1 Dma.ADC1.2.MemDataAlignment=DMA_MDATAALIGN_HALFWORD Dma.ADC1.2.MemInc=DMA_MINC_ENABLE Dma.ADC1.2.Mode=DMA_CIRCULAR Dma.ADC1.2.PeriphDataAlignment=DMA_PDATAALIGN_HALFWORD Dma.ADC1.2.PeriphInc=DMA_PINC_DISABLE Dma.ADC1.2.Priority=DMA_PRIORITY_VERY_HIGH Dma.ADC1.2.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority Dma.I2C1_RX.0.Direction=DMA_PERIPH_TO_MEMORY Dma.I2C1_RX.0.Instance=DMA1_Channel7 Dma.I2C1_RX.0.MemDataAlignment=DMA_MDATAALIGN_BYTE Dma.I2C1_RX.0.MemInc=DMA_MINC_ENABLE Dma.I2C1_RX.0.Mode=DMA_NORMAL Dma.I2C1_RX.0.PeriphDataAlignment=DMA_PDATAALIGN_BYTE Dma.I2C1_RX.0.PeriphInc=DMA_PINC_DISABLE Dma.I2C1_RX.0.Priority=DMA_PRIORITY_MEDIUM Dma.I2C1_RX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority Dma.I2C1_TX.1.Direction=DMA_MEMORY_TO_PERIPH Dma.I2C1_TX.1.Instance=DMA1_Channel6 Dma.I2C1_TX.1.MemDataAlignment=DMA_MDATAALIGN_BYTE Dma.I2C1_TX.1.MemInc=DMA_MINC_ENABLE Dma.I2C1_TX.1.Mode=DMA_NORMAL Dma.I2C1_TX.1.PeriphDataAlignment=DMA_PDATAALIGN_BYTE Dma.I2C1_TX.1.PeriphInc=DMA_PINC_DISABLE Dma.I2C1_TX.1.Priority=DMA_PRIORITY_MEDIUM Dma.I2C1_TX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority Dma.Request0=I2C1_RX Dma.Request1=I2C1_TX Dma.Request2=ADC1 Dma.RequestsNb=3 FREERTOS.FootprintOK=true FREERTOS.INCLUDE_vTaskDelete=0 FREERTOS.IPParameters=Tasks01,configTICK_RATE_HZ,configMAX_PRIORITIES,configMINIMAL_STACK_SIZE,configTOTAL_HEAP_SIZE,INCLUDE_vTaskDelete,FootprintOK FREERTOS.Tasks01=GUITask,0,512,StartGUITask,Default,NULL,Dynamic,NULL,NULL;PIDTask,0,256,StartPIDTask,Default,NULL,Dynamic,NULL,NULL;ROTTask,-2,256,StartRotationTask,Default,NULL,Dynamic,NULL,NULL FREERTOS.configMAX_PRIORITIES=4 FREERTOS.configMINIMAL_STACK_SIZE=256 FREERTOS.configTICK_RATE_HZ=100 FREERTOS.configTOTAL_HEAP_SIZE=10240 File.Version=6 I2C1.DutyCycle=I2C_DUTYCYCLE_2 I2C1.I2C_Mode=I2C_Fast I2C1.IPParameters=I2C_Mode,DutyCycle IWDG.IPParameters=Prescaler IWDG.Prescaler=IWDG_PRESCALER_256 KeepUserPlacement=false Mcu.Family=STM32F1 Mcu.IP0=ADC1 Mcu.IP1=ADC2 Mcu.IP10=TIM3 Mcu.IP2=DMA Mcu.IP3=FREERTOS Mcu.IP4=I2C1 Mcu.IP5=IWDG Mcu.IP6=NVIC Mcu.IP7=RCC Mcu.IP8=SYS Mcu.IP9=TIM2 Mcu.IPNb=11 Mcu.Name=STM32F103T(8-B)Ux Mcu.Package=VFQFPN36 Mcu.Pin0=PA6 Mcu.Pin1=PA7 Mcu.Pin10=PB5 Mcu.Pin11=PB6 Mcu.Pin12=PB7 Mcu.Pin13=VP_FREERTOS_VS_ENABLE Mcu.Pin14=VP_IWDG_VS_IWDG Mcu.Pin15=VP_SYS_VS_tim1 Mcu.Pin16=VP_TIM2_VS_ClockSourceINT Mcu.Pin17=VP_TIM2_VS_no_output1 Mcu.Pin18=VP_TIM2_VS_no_output3 Mcu.Pin19=VP_TIM3_VS_ClockSourceINT Mcu.Pin2=PB0 Mcu.Pin20=VP_TIM3_VS_no_output4 Mcu.Pin3=PB1 Mcu.Pin4=PA8 Mcu.Pin5=PA9 Mcu.Pin6=PA13 Mcu.Pin7=PA14 Mcu.Pin8=PB3 Mcu.Pin9=PB4 Mcu.PinsNb=21 Mcu.ThirdPartyNb=0 Mcu.UserConstants= Mcu.UserName=STM32F103T8Ux MxCube.Version=4.26.0 MxDb.Version=DB.4.0.260 NVIC.ADC1_2_IRQn=true\:5\:0\:false\:false\:true\:true\:true NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.DMA1_Channel1_IRQn=true\:5\:0\:false\:false\:true\:true\:true NVIC.DMA1_Channel6_IRQn=true\:5\:0\:false\:false\:true\:true\:true NVIC.DMA1_Channel7_IRQn=true\:5\:0\:false\:false\:true\:true\:true NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.I2C1_ER_IRQn=true\:5\:0\:false\:false\:true\:true\:true NVIC.I2C1_EV_IRQn=true\:5\:0\:false\:false\:true\:true\:true NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:true NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4 NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:true NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:true\:true NVIC.TIM1_UP_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.TimeBase=TIM1_UP_IRQn NVIC.TimeBaseIP=TIM1 NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:true PA13.Locked=true PA13.Mode=Serial_Wire PA13.Signal=SYS_JTMS-SWDIO PA14.Locked=true PA14.Mode=Serial_Wire PA14.Signal=SYS_JTCK-SWCLK PA6.GPIOParameters=GPIO_Label PA6.GPIO_Label=KEY_B PA6.Locked=true PA6.Signal=GPIO_Input PA7.GPIOParameters=GPIO_Label PA7.GPIO_Label=TMP36_INPUT PA7.Locked=true PA7.Signal=ADCx_IN7 PA8.GPIOParameters=GPIO_Label PA8.GPIO_Label=OLED_RESET PA8.Locked=true PA8.Signal=GPIO_Output PA9.GPIOParameters=GPIO_Label PA9.GPIO_Label=KEY_A PA9.Locked=true PA9.Signal=GPIO_Input PB0.GPIOParameters=GPIO_Label PB0.GPIO_Label=TIP_TEMP PB0.Locked=true PB0.Signal=ADCx_IN8 PB1.GPIOParameters=GPIO_Label PB1.GPIO_Label=VIN PB1.Locked=true PB1.Signal=ADCx_IN9 PB3.GPIOParameters=GPIO_Label PB3.GPIO_Label=INT_Orientation PB3.Locked=true PB3.Signal=GPXTI3 PB4.GPIOParameters=GPIO_Label PB4.GPIO_Label=PWM Out PB4.Locked=true PB4.Signal=S_TIM3_CH1 PB5.GPIOParameters=GPIO_Label PB5.GPIO_Label=INT_Movement PB5.Locked=true PB5.Signal=GPXTI5 PB6.GPIOParameters=GPIO_Label PB6.GPIO_Label=SCL PB6.Mode=I2C PB6.Signal=I2C1_SCL PB7.GPIOParameters=GPIO_Label PB7.GPIO_Label=SDA PB7.Mode=I2C PB7.Signal=I2C1_SDA PCC.Checker=false PCC.Line=STM32F103 PCC.MCU=STM32F103T(8-B)Ux PCC.PartNumber=STM32F103T8Ux PCC.Seq0=0 PCC.Series=STM32F1 PCC.Temperature=25 PCC.Vdd=3.3 PinOutPanel.RotationAngle=0 ProjectManager.AskForMigrate=true ProjectManager.BackupPrevious=false ProjectManager.CompilerOptimize=3 ProjectManager.ComputerToolchain=false ProjectManager.CoupleFile=false ProjectManager.CustomerFirmwarePackage= ProjectManager.DefaultFWLocation=true ProjectManager.DeletePrevious=true ProjectManager.DeviceId=STM32F103T8Ux ProjectManager.FirmwarePackage=STM32Cube FW_F1 V1.6.1 ProjectManager.FreePins=true ProjectManager.HalAssertFull=false ProjectManager.HeapSize=0x200 ProjectManager.KeepUserCode=true ProjectManager.LastFirmware=true ProjectManager.LibraryCopy=1 ProjectManager.MainLocation=Src ProjectManager.PreviousToolchain=TrueSTUDIO ProjectManager.ProjectBuild=false ProjectManager.ProjectFileName=TS100.ioc ProjectManager.ProjectName=TS100 ProjectManager.StackSize=0x400 ProjectManager.TargetToolchain=TrueSTUDIO ProjectManager.ToolChainLocation= ProjectManager.UnderRoot=true ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-MX_DMA_Init-DMA-false-HAL-true,3-MX_I2C1_Init-I2C1-false-HAL-true,4-MX_ADC1_Init-ADC1-false-HAL-true,5-SystemClock_Config-RCC-false-HAL-true,6-MX_TIM3_Init-TIM3-false-HAL-true,7-MX_IWDG_Init-IWDG-false-HAL-true,8-MX_TIM2_Init-TIM2-false-HAL-true,9-MX_ADC2_Init-ADC2-false-HAL-true RCC.ADCFreqValue=8000000 RCC.ADCPresc=RCC_ADCPCLK2_DIV8 RCC.AHBFreq_Value=64000000 RCC.APB1CLKDivider=RCC_HCLK_DIV16 RCC.APB1Freq_Value=4000000 RCC.APB1TimFreq_Value=8000000 RCC.APB2Freq_Value=64000000 RCC.APB2TimFreq_Value=64000000 RCC.FCLKCortexFreq_Value=64000000 RCC.FamilyName=M RCC.HCLKFreq_Value=64000000 RCC.IPParameters=ADCFreqValue,ADCPresc,AHBFreq_Value,APB1CLKDivider,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLMUL,PLLSourceVirtual,SYSCLKFreq_VALUE,SYSCLKSource,TimSysFreq_Value,USBFreq_Value,USBPrescaler RCC.MCOFreq_Value=64000000 RCC.PLLCLKFreq_Value=64000000 RCC.PLLMCOFreq_Value=32000000 RCC.PLLMUL=RCC_PLL_MUL16 RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSI_DIV2 RCC.SYSCLKFreq_VALUE=64000000 RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK RCC.TimSysFreq_Value=64000000 RCC.USBFreq_Value=42666666.666666664 RCC.USBPrescaler=RCC_USBCLKSOURCE_PLL_DIV1_5 SH.ADCx_IN7.0=ADC1_IN7,IN7 SH.ADCx_IN7.ConfNb=1 SH.ADCx_IN8.0=ADC1_IN8,IN8 SH.ADCx_IN8.1=ADC2_IN8,IN8 SH.ADCx_IN8.ConfNb=2 SH.ADCx_IN9.0=ADC2_IN9 SH.ADCx_IN9.1=ADC1_IN9,IN9 SH.ADCx_IN9.ConfNb=2 SH.GPXTI3.0=GPIO_EXTI3 SH.GPXTI3.ConfNb=1 SH.GPXTI5.0=GPIO_EXTI5 SH.GPXTI5.ConfNb=1 SH.S_TIM3_CH1.0=TIM3_CH1,PWM Generation1 CH1 SH.S_TIM3_CH1.ConfNb=1 TIM2.Channel-PWM\ Generation1\ No\ Output=TIM_CHANNEL_1 TIM2.Channel-PWM\ Generation3\ No\ Output=TIM_CHANNEL_3 TIM2.IPParameters=Channel-PWM Generation1 No Output,Channel-PWM Generation3 No Output TIM3.Channel-Output\ Compare4\ No\ Output=TIM_CHANNEL_4 TIM3.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1 TIM3.ClockDivision=TIM_CLOCKDIVISION_DIV4 TIM3.IPParameters=Channel-PWM Generation1 CH1,OCFastMode_PWM-PWM Generation1 CH1,ClockDivision,Prescaler,Period,Channel-Output Compare4 No Output,OCMode_4,Pulse-Output Compare4 No Output TIM3.OCFastMode_PWM-PWM\ Generation1\ CH1=TIM_OCFAST_ENABLE TIM3.OCMode_4=TIM_OCMODE_ACTIVE TIM3.Period=65535 TIM3.Prescaler=2000 TIM3.Pulse-Output\ Compare4\ No\ Output=65000 VP_FREERTOS_VS_ENABLE.Mode=Enabled VP_FREERTOS_VS_ENABLE.Signal=FREERTOS_VS_ENABLE VP_IWDG_VS_IWDG.Mode=IWDG_Activate VP_IWDG_VS_IWDG.Signal=IWDG_VS_IWDG VP_SYS_VS_tim1.Mode=TIM1 VP_SYS_VS_tim1.Signal=SYS_VS_tim1 VP_TIM2_VS_ClockSourceINT.Mode=Internal VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT VP_TIM2_VS_no_output1.Mode=PWM Generation1 No Output VP_TIM2_VS_no_output1.Signal=TIM2_VS_no_output1 VP_TIM2_VS_no_output3.Mode=PWM Generation3 No Output VP_TIM2_VS_no_output3.Signal=TIM2_VS_no_output3 VP_TIM3_VS_ClockSourceINT.Mode=Internal VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT VP_TIM3_VS_no_output4.Mode=Output Compare4 No Output VP_TIM3_VS_no_output4.Signal=TIM3_VS_no_output4 board=TS100