2023-03-12 18:32:12 +01:00
|
|
|
#MicroXplorer Configuration settings - do not modify
|
|
|
|
ADC2.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_12
|
|
|
|
ADC2.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,SamplingTimeOPAMP-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,Offset-0\#ChannelRegularConversion,NbrOfConversionFlag
|
|
|
|
ADC2.NbrOfConversionFlag=1
|
|
|
|
ADC2.Offset-0\#ChannelRegularConversion=0
|
|
|
|
ADC2.OffsetNumber-0\#ChannelRegularConversion=ADC_OFFSET_NONE
|
|
|
|
ADC2.Rank-0\#ChannelRegularConversion=1
|
|
|
|
ADC2.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_1CYCLE_5
|
|
|
|
ADC2.SamplingTimeOPAMP-0\#ChannelRegularConversion=ADC_SAMPLETIME_4CYCLES_5
|
|
|
|
CAD.formats=
|
|
|
|
CAD.pinconfig=
|
|
|
|
CAD.provider=
|
2023-03-12 21:06:23 +01:00
|
|
|
CAN.ABOM=ENABLE
|
|
|
|
CAN.BS1=CAN_BS1_13TQ
|
|
|
|
CAN.BS2=CAN_BS2_2TQ
|
|
|
|
CAN.CalculateBaudRate=500000
|
|
|
|
CAN.CalculateTimeBit=2000
|
|
|
|
CAN.CalculateTimeQuantum=125.0
|
|
|
|
CAN.IPParameters=CalculateTimeQuantum,CalculateTimeBit,CalculateBaudRate,BS1,BS2,Prescaler,ABOM,NART
|
|
|
|
CAN.NART=ENABLE
|
|
|
|
CAN.Prescaler=2
|
2023-03-12 18:32:12 +01:00
|
|
|
File.Version=6
|
|
|
|
GPIO.groupedBy=
|
|
|
|
KeepUserPlacement=false
|
|
|
|
Mcu.CPN=STM32F302CBT6
|
|
|
|
Mcu.Family=STM32F3
|
|
|
|
Mcu.IP0=ADC2
|
|
|
|
Mcu.IP1=CAN
|
|
|
|
Mcu.IP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:false\:true\:false\:false\:false
|
|
|
|
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
|
|
|
|
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
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
|
2023-03-12 21:06:23 +01:00
|
|
|
NVIC.USB_LP_CAN_RX0_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
|
2023-03-12 18:32:12 +01:00
|
|
|
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
|
|
PA0.GPIOParameters=GPIO_Label
|
|
|
|
PA0.GPIO_Label=HV_MISMATCH_ERR
|
|
|
|
PA0.Locked=true
|
|
|
|
PA0.Signal=GPIO_Input
|
|
|
|
PA1.GPIOParameters=GPIO_Label
|
|
|
|
PA1.GPIO_Label=RELAY_MISMATCH_ERR
|
|
|
|
PA1.Locked=true
|
|
|
|
PA1.Signal=GPIO_Input
|
|
|
|
PA10.Locked=true
|
|
|
|
PA10.Mode=Asynchronous
|
|
|
|
PA10.Signal=USART1_RX
|
|
|
|
PA11.Locked=true
|
|
|
|
PA11.Mode=CAN_Activate
|
|
|
|
PA11.Signal=CAN_RX
|
|
|
|
PA12.Locked=true
|
|
|
|
PA12.Mode=CAN_Activate
|
|
|
|
PA12.Signal=CAN_TX
|
|
|
|
PA13.Locked=true
|
|
|
|
PA13.Mode=Trace_Asynchronous_SW
|
|
|
|
PA13.Signal=SYS_JTMS-SWDIO
|
|
|
|
PA14.Locked=true
|
|
|
|
PA14.Mode=Trace_Asynchronous_SW
|
|
|
|
PA14.Signal=SYS_JTCK-SWCLK
|
|
|
|
PA4.GPIOParameters=GPIO_Label
|
|
|
|
PA4.GPIO_Label=RELAY_CONNECTION_ERR
|
|
|
|
PA4.Locked=true
|
|
|
|
PA4.Signal=GPIO_Input
|
|
|
|
PA5.GPIOParameters=GPIO_Label
|
|
|
|
PA5.GPIO_Label=HV_ACTIVE
|
|
|
|
PA5.Locked=true
|
|
|
|
PA5.Signal=GPIO_Input
|
|
|
|
PA6.GPIOParameters=GPIO_Label
|
|
|
|
PA6.GPIO_Label=NEG_AIR_CLOSED
|
|
|
|
PA6.Locked=true
|
|
|
|
PA6.Signal=GPIO_Input
|
|
|
|
PA7.GPIOParameters=GPIO_Label
|
|
|
|
PA7.GPIO_Label=POS_AIR_CLOSED
|
|
|
|
PA7.Locked=true
|
|
|
|
PA7.Signal=GPIO_Input
|
|
|
|
PA8.GPIOParameters=GPIO_Label
|
|
|
|
PA8.GPIO_Label=PRECHARGE_CTRL
|
|
|
|
PA8.Locked=true
|
|
|
|
PA8.Signal=GPIO_Output
|
|
|
|
PA9.Locked=true
|
|
|
|
PA9.Mode=Asynchronous
|
|
|
|
PA9.Signal=USART1_TX
|
|
|
|
PB0.GPIOParameters=GPIO_Label
|
|
|
|
PB0.GPIO_Label=PRECHARGE_CLOSED
|
|
|
|
PB0.Locked=true
|
|
|
|
PB0.Signal=GPIO_Input
|
|
|
|
PB1.GPIOParameters=GPIO_Label
|
|
|
|
PB1.GPIO_Label=SDC_VOLTAGE
|
|
|
|
PB1.Locked=true
|
|
|
|
PB1.Signal=GPIO_Input
|
|
|
|
PB10.GPIOParameters=GPIO_Label
|
|
|
|
PB10.GPIO_Label=SLAVE_POWER_1
|
|
|
|
PB10.Locked=true
|
|
|
|
PB10.Signal=GPIO_Output
|
|
|
|
PB11.GPIOParameters=GPIO_Label
|
|
|
|
PB11.GPIO_Label=SLAVE_POWER_DSEL
|
|
|
|
PB11.Locked=true
|
|
|
|
PB11.Signal=GPIO_Output
|
|
|
|
PB12.GPIOParameters=GPIO_Label
|
|
|
|
PB12.GPIO_Label=SLAVE_POWER_DEN
|
|
|
|
PB12.Locked=true
|
|
|
|
PB12.Signal=GPIO_Output
|
|
|
|
PB13.GPIOParameters=GPIO_Label
|
|
|
|
PB13.GPIO_Label=SLAVE_POWER_0
|
|
|
|
PB13.Locked=true
|
|
|
|
PB13.Signal=GPIO_Output
|
|
|
|
PB14.GPIOParameters=GPIO_Label
|
|
|
|
PB14.GPIO_Label=POS_AIR_CTRL
|
|
|
|
PB14.Locked=true
|
|
|
|
PB14.Signal=GPIO_Output
|
|
|
|
PB15.GPIOParameters=GPIO_Label
|
|
|
|
PB15.GPIO_Label=NEG_AIR_CTRL
|
|
|
|
PB15.Locked=true
|
|
|
|
PB15.Signal=GPIO_Output
|
|
|
|
PB2.GPIOParameters=GPIO_Label
|
|
|
|
PB2.GPIO_Label=SLAVE_CURRENT_SENSE
|
|
|
|
PB2.Locked=true
|
|
|
|
PB2.Mode=IN12-Single-Ended
|
|
|
|
PB2.Signal=ADC2_IN12
|
|
|
|
PB3.Locked=true
|
|
|
|
PB3.Mode=Trace_Asynchronous_SW
|
|
|
|
PB3.Signal=SYS_JTDO-TRACESWO
|
|
|
|
PB4.GPIOParameters=GPIO_Label
|
|
|
|
PB4.GPIO_Label=STATUS1
|
|
|
|
PB4.Locked=true
|
|
|
|
PB4.Signal=GPIO_Output
|
|
|
|
PB5.GPIOParameters=GPIO_Label
|
|
|
|
PB5.GPIO_Label=STATUS2
|
|
|
|
PB5.Locked=true
|
|
|
|
PB5.Signal=GPIO_Output
|
|
|
|
PB6.GPIOParameters=GPIO_Label
|
|
|
|
PB6.GPIO_Label=STATUS3
|
|
|
|
PB6.Locked=true
|
|
|
|
PB6.Signal=GPIO_Output
|
|
|
|
PB7.GPIOParameters=GPIO_Label
|
|
|
|
PB7.GPIO_Label=STATUS4
|
|
|
|
PB7.Locked=true
|
|
|
|
PB7.Signal=GPIO_Output
|
|
|
|
PB8.GPIOParameters=GPIO_Label
|
2023-04-04 14:51:55 +02:00
|
|
|
PB8.GPIO_Label=AMS_NERROR
|
2023-03-12 18:32:12 +01:00
|
|
|
PB8.Locked=true
|
|
|
|
PB8.Signal=GPIO_Output
|
|
|
|
PF0-OSC_IN.Mode=HSE-External-Oscillator
|
|
|
|
PF0-OSC_IN.Signal=RCC_OSC_IN
|
|
|
|
PF1-OSC_OUT.Mode=HSE-External-Oscillator
|
|
|
|
PF1-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=STM32F302CBTx
|
|
|
|
ProjectManager.FirmwarePackage=STM32Cube FW_F3 V1.11.4
|
|
|
|
ProjectManager.FreePins=false
|
|
|
|
ProjectManager.HalAssertFull=false
|
|
|
|
ProjectManager.HeapSize=0x200
|
|
|
|
ProjectManager.KeepUserCode=true
|
|
|
|
ProjectManager.LastFirmware=true
|
|
|
|
ProjectManager.LibraryCopy=0
|
|
|
|
ProjectManager.MainLocation=Core/Src
|
|
|
|
ProjectManager.NoMain=false
|
|
|
|
ProjectManager.PreviousToolchain=
|
|
|
|
ProjectManager.ProjectBuild=false
|
|
|
|
ProjectManager.ProjectFileName=ams-master-23.ioc
|
|
|
|
ProjectManager.ProjectName=ams-master-23
|
|
|
|
ProjectManager.ProjectStructure=
|
|
|
|
ProjectManager.RegisterCallBack=
|
|
|
|
ProjectManager.StackSize=0x400
|
|
|
|
ProjectManager.TargetToolchain=Makefile
|
|
|
|
ProjectManager.ToolChainLocation=
|
|
|
|
ProjectManager.UnderRoot=false
|
|
|
|
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_ADC2_Init-ADC2-false-HAL-true,4-MX_CAN_Init-CAN-false-HAL-true,5-MX_USART1_UART_Init-USART1-false-HAL-true
|
|
|
|
RCC.ADC12outputFreq_Value=16000000
|
|
|
|
RCC.AHBFreq_Value=16000000
|
|
|
|
RCC.APB1Freq_Value=16000000
|
|
|
|
RCC.APB1TimFreq_Value=16000000
|
|
|
|
RCC.APB2Freq_Value=16000000
|
|
|
|
RCC.APB2TimFreq_Value=16000000
|
|
|
|
RCC.CortexFreq_Value=16000000
|
|
|
|
RCC.FCLKCortexFreq_Value=16000000
|
|
|
|
RCC.FamilyName=M
|
|
|
|
RCC.HCLKFreq_Value=16000000
|
|
|
|
RCC.HSEPLLFreq_Value=16000000
|
|
|
|
RCC.HSE_VALUE=16000000
|
|
|
|
RCC.HSIPLLFreq_Value=4000000
|
|
|
|
RCC.HSI_VALUE=8000000
|
|
|
|
RCC.I2C1Freq_Value=8000000
|
|
|
|
RCC.I2C2Freq_Value=8000000
|
|
|
|
RCC.IPParameters=ADC12outputFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSEPLLFreq_Value,HSE_VALUE,HSIPLLFreq_Value,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,LSE_VALUE,LSI_VALUE,MCOFreq_Value,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLMUL,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSourceVirtual,TIM1Freq_Value,TIM2Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOOutput2Freq_Value
|
|
|
|
RCC.LSE_VALUE=32768
|
|
|
|
RCC.LSI_VALUE=40000
|
|
|
|
RCC.MCOFreq_Value=16000000
|
|
|
|
RCC.PLLCLKFreq_Value=16000000
|
|
|
|
RCC.PLLMCOFreq_Value=8000000
|
|
|
|
RCC.PLLMUL=RCC_PLL_MUL4
|
|
|
|
RCC.RTCFreq_Value=40000
|
|
|
|
RCC.RTCHSEDivFreq_Value=500000
|
|
|
|
RCC.SYSCLKFreq_VALUE=16000000
|
|
|
|
RCC.SYSCLKSourceVirtual=RCC_SYSCLKSOURCE_HSE
|
|
|
|
RCC.TIM1Freq_Value=16000000
|
|
|
|
RCC.TIM2Freq_Value=16000000
|
|
|
|
RCC.USART1Freq_Value=16000000
|
|
|
|
RCC.USART2Freq_Value=16000000
|
|
|
|
RCC.USART3Freq_Value=16000000
|
|
|
|
RCC.USBFreq_Value=16000000
|
|
|
|
RCC.VCOOutput2Freq_Value=4000000
|
|
|
|
USART1.IPParameters=VirtualMode-Asynchronous
|
|
|
|
USART1.VirtualMode-Asynchronous=VM_ASYNC
|
|
|
|
VP_SYS_VS_Systick.Mode=SysTick
|
|
|
|
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
|
|
|
board=custom
|