|
|
|
@ -1,50 +1,77 @@
@@ -1,50 +1,77 @@
|
|
|
|
|
#MicroXplorer Configuration settings - do not modify |
|
|
|
|
ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_0 |
|
|
|
|
ADC1.ContinuousConvMode=ENABLE |
|
|
|
|
ADC1.DMAContinuousRequests=ENABLE |
|
|
|
|
ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,master,DMAContinuousRequests,ContinuousConvMode,ScanConvMode |
|
|
|
|
ADC1.NbrOfConversionFlag=1 |
|
|
|
|
ADC1.Rank-0\#ChannelRegularConversion=1 |
|
|
|
|
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_3CYCLES |
|
|
|
|
ADC1.ScanConvMode=ENABLE |
|
|
|
|
ADC1.master=1 |
|
|
|
|
CAD.formats= |
|
|
|
|
CAD.pinconfig= |
|
|
|
|
CAD.provider= |
|
|
|
|
Dma.ADC1.0.Direction=DMA_PERIPH_TO_MEMORY |
|
|
|
|
Dma.ADC1.0.FIFOMode=DMA_FIFOMODE_DISABLE |
|
|
|
|
Dma.ADC1.0.Instance=DMA2_Stream0 |
|
|
|
|
Dma.ADC1.0.MemDataAlignment=DMA_MDATAALIGN_HALFWORD |
|
|
|
|
Dma.ADC1.0.MemInc=DMA_MINC_ENABLE |
|
|
|
|
Dma.ADC1.0.Mode=DMA_NORMAL |
|
|
|
|
Dma.ADC1.0.PeriphDataAlignment=DMA_PDATAALIGN_HALFWORD |
|
|
|
|
Dma.ADC1.0.PeriphInc=DMA_PINC_DISABLE |
|
|
|
|
Dma.ADC1.0.Priority=DMA_PRIORITY_LOW |
|
|
|
|
Dma.ADC1.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,FIFOMode |
|
|
|
|
Dma.Request0=ADC1 |
|
|
|
|
Dma.RequestsNb=1 |
|
|
|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PA13 |
|
|
|
|
Mcu.Pin13=PA14 |
|
|
|
|
Mcu.Pin14=PA15 |
|
|
|
|
Mcu.Pin15=PB3 |
|
|
|
|
Mcu.Pin16=PB4 |
|
|
|
|
Mcu.Pin17=PB5 |
|
|
|
|
Mcu.Pin18=VP_ADC1_Vref_Input |
|
|
|
|
Mcu.Pin19=VP_ADC1_Vbat_Input |
|
|
|
|
Mcu.Pin2=PC15-OSC32_OUT |
|
|
|
|
Mcu.Pin20=VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS |
|
|
|
|
Mcu.Pin20=VP_RTC_VS_RTC_Activate |
|
|
|
|
Mcu.Pin21=VP_RTC_VS_RTC_Calendar |
|
|
|
|
Mcu.Pin22=VP_SYS_VS_Systick |
|
|
|
|
Mcu.Pin23=VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS |
|
|
|
|
Mcu.Pin3=PH0 - OSC_IN |
|
|
|
|
Mcu.Pin4=PH1 - OSC_OUT |
|
|
|
|
Mcu.Pin5=PB12 |
|
|
|
|
Mcu.Pin6=PB13 |
|
|
|
|
Mcu.Pin7=PB14 |
|
|
|
|
Mcu.Pin8=PB15 |
|
|
|
|
Mcu.Pin9=PA11 |
|
|
|
|
Mcu.PinsNb=21 |
|
|
|
|
Mcu.Pin5=PA0-WKUP |
|
|
|
|
Mcu.Pin6=PB12 |
|
|
|
|
Mcu.Pin7=PB13 |
|
|
|
|
Mcu.Pin8=PB14 |
|
|
|
|
Mcu.Pin9=PB15 |
|
|
|
|
Mcu.PinsNb=24 |
|
|
|
|
Mcu.ThirdPartyNb=0 |
|
|
|
|
Mcu.UserConstants= |
|
|
|
|
Mcu.UserName=STM32F401CCUx |
|
|
|
|
MxCube.Version=6.7.0 |
|
|
|
|
MxDb.Version=DB.6.0.70 |
|
|
|
|
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false |
|
|
|
|
NVIC.DMA2_Stream0_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true |
|
|
|
|
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false |
|
|
|
|
NVIC.ForceEnableDMAVector=true |
|
|
|
|
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false |
|
|
|
@ -56,6 +83,10 @@ NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
@@ -56,6 +83,10 @@ NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
|
|
|
|
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false |
|
|
|
|
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false |
|
|
|
|
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false |
|
|
|
|
PA0-WKUP.GPIOParameters=GPIO_Label |
|
|
|
|
PA0-WKUP.GPIO_Label=SOIL |
|
|
|
|
PA0-WKUP.Locked=true |
|
|
|
|
PA0-WKUP.Signal=ADCx_IN0 |
|
|
|
|
PA11.Mode=Device_Only |
|
|
|
|
PA11.Signal=USB_OTG_FS_DM |
|
|
|
|
PA12.Mode=Device_Only |
|
|
|
@ -131,7 +162,7 @@ ProjectManager.StackSize=0x400
@@ -131,7 +162,7 @@ ProjectManager.StackSize=0x400
|
|
|
|
|
ProjectManager.TargetToolchain=STM32CubeIDE |
|
|
|
|
ProjectManager.ToolChainLocation= |
|
|
|
|
ProjectManager.UnderRoot=true |
|
|
|
|
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_SPI2_Init-SPI2-false-HAL-true,4-MX_USB_DEVICE_Init-USB_DEVICE-false-HAL-false,5-MX_SPI1_Init-SPI1-false-HAL-true,6-MX_RTC_Init-RTC-false-HAL-true |
|
|
|
|
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_DMA_Init-DMA-false-HAL-true,4-MX_SPI2_Init-SPI2-false-HAL-true,5-MX_USB_DEVICE_Init-USB_DEVICE-false-HAL-false,6-MX_SPI1_Init-SPI1-false-HAL-true,7-MX_RTC_Init-RTC-false-HAL-true,8-MX_ADC1_Init-ADC1-false-HAL-true |
|
|
|
|
RCC.48MHZClocksFreq_Value=48000000 |
|
|
|
|
RCC.AHBFreq_Value=72000000 |
|
|
|
|
RCC.APB1CLKDivider=RCC_HCLK_DIV2 |
|
|
|
@ -171,6 +202,8 @@ RTC.Minutes=0
@@ -171,6 +202,8 @@ RTC.Minutes=0
|
|
|
|
|
RTC.Month=RTC_MONTH_JANUARY |
|
|
|
|
RTC.WeekDay=RTC_WEEKDAY_MONDAY |
|
|
|
|
RTC.Year=0 |
|
|
|
|
SH.ADCx_IN0.0=ADC1_IN0,IN0 |
|
|
|
|
SH.ADCx_IN0.ConfNb=1 |
|
|
|
|
SPI1.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_8 |
|
|
|
|
SPI1.CalculateBaudRate=9.0 MBits/s |
|
|
|
|
SPI1.Direction=SPI_DIRECTION_2LINES |
|
|
|
@ -189,6 +222,10 @@ USB_DEVICE.VirtualMode=Cdc
@@ -189,6 +222,10 @@ USB_DEVICE.VirtualMode=Cdc
|
|
|
|
|
USB_DEVICE.VirtualModeFS=Cdc_FS |
|
|
|
|
USB_OTG_FS.IPParameters=VirtualMode |
|
|
|
|
USB_OTG_FS.VirtualMode=Device_Only |
|
|
|
|
VP_ADC1_Vbat_Input.Mode=IN-Vbat |
|
|
|
|
VP_ADC1_Vbat_Input.Signal=ADC1_Vbat_Input |
|
|
|
|
VP_ADC1_Vref_Input.Mode=IN-Vrefint |
|
|
|
|
VP_ADC1_Vref_Input.Signal=ADC1_Vref_Input |
|
|
|
|
VP_RTC_VS_RTC_Activate.Mode=RTC_Enabled |
|
|
|
|
VP_RTC_VS_RTC_Activate.Signal=RTC_VS_RTC_Activate |
|
|
|
|
VP_RTC_VS_RTC_Calendar.Mode=RTC_Calendar |
|
|
|
|