Changeset 45 for ctrl/firmware/Main/CubeMX
- Timestamp:
- Dec 3, 2024, 8:26:26 AM (6 weeks ago)
- Location:
- ctrl/firmware/Main/CubeMX
- Files:
-
- 4 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/CubeMX/Core/Inc/main.h
r11 r45 58 58 59 59 /* Private defines -----------------------------------------------------------*/ 60 #define SPI4_NSS_DISPLAY_Pin GPIO_PIN_11 61 #define SPI4_NSS_DISPLAY_GPIO_Port GPIOE 62 #define SPI4_SCK_DISPLAY_Pin GPIO_PIN_12 63 #define SPI4_SCK_DISPLAY_GPIO_Port GPIOE 64 #define SPI4_MOSI_DISPLAY_Pin GPIO_PIN_14 65 #define SPI4_MOSI_DISPLAY_GPIO_Port GPIOE 60 66 61 67 /* USER CODE BEGIN Private defines */ -
ctrl/firmware/Main/CubeMX/Core/Inc/stm32h7xx_hal_conf.h
r39 r45 73 73 /* #define HAL_MMC_MODULE_ENABLED */ 74 74 /* #define HAL_SPDIFRX_MODULE_ENABLED */ 75 /* #define HAL_SPI_MODULE_ENABLED */ 75 #define HAL_SPI_MODULE_ENABLED 76 76 /* #define HAL_SWPMI_MODULE_ENABLED */ 77 77 /* #define HAL_TIM_MODULE_ENABLED */ -
ctrl/firmware/Main/CubeMX/Core/Inc/stm32h7xx_it.h
r13 r45 56 56 void PendSV_Handler(void); 57 57 void SysTick_Handler(void); 58 void DMA1_Stream0_IRQHandler(void); 59 void SPI4_IRQHandler(void); 58 60 /* USER CODE BEGIN EFP */ 59 61 -
ctrl/firmware/Main/CubeMX/Core/Src/main.c
r39 r45 44 44 RTC_HandleTypeDef hrtc; 45 45 46 SPI_HandleTypeDef hspi4; 47 DMA_HandleTypeDef hdma_spi4_tx; 48 46 49 /* USER CODE BEGIN PV */ 47 50 … … 52 55 static void MPU_Config(void); 53 56 static void MX_GPIO_Init(void); 57 static void MX_DMA_Init(void); 54 58 static void MX_RTC_Init(void); 59 static void MX_SPI4_Init(void); 55 60 /* USER CODE BEGIN PFP */ 56 61 … … 102 107 /* Initialize all configured peripherals */ 103 108 MX_GPIO_Init(); 109 MX_DMA_Init(); 104 110 MX_RTC_Init(); 111 MX_SPI4_Init(); 105 112 /* USER CODE BEGIN 2 */ 106 113 … … 150 157 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; 151 158 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; 152 RCC_OscInitStruct.PLL.PLLM = 25;153 RCC_OscInitStruct.PLL.PLLN = 200;159 RCC_OscInitStruct.PLL.PLLM = 5; 160 RCC_OscInitStruct.PLL.PLLN = 40; 154 161 RCC_OscInitStruct.PLL.PLLP = 2; 155 162 RCC_OscInitStruct.PLL.PLLQ = 2; 156 163 RCC_OscInitStruct.PLL.PLLR = 2; 157 RCC_OscInitStruct.PLL.PLLRGE = RCC_PLL1VCIRANGE_ 0;158 RCC_OscInitStruct.PLL.PLLVCOSEL = RCC_PLL1VCO MEDIUM;164 RCC_OscInitStruct.PLL.PLLRGE = RCC_PLL1VCIRANGE_2; 165 RCC_OscInitStruct.PLL.PLLVCOSEL = RCC_PLL1VCOWIDE; 159 166 RCC_OscInitStruct.PLL.PLLFRACN = 0; 160 167 if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) … … 219 226 220 227 /** 228 * @brief SPI4 Initialization Function 229 * @param None 230 * @retval None 231 */ 232 static void MX_SPI4_Init(void) 233 { 234 235 /* USER CODE BEGIN SPI4_Init 0 */ 236 237 /* USER CODE END SPI4_Init 0 */ 238 239 /* USER CODE BEGIN SPI4_Init 1 */ 240 241 /* USER CODE END SPI4_Init 1 */ 242 /* SPI4 parameter configuration*/ 243 hspi4.Instance = SPI4; 244 hspi4.Init.Mode = SPI_MODE_MASTER; 245 hspi4.Init.Direction = SPI_DIRECTION_1LINE; 246 hspi4.Init.DataSize = SPI_DATASIZE_9BIT; 247 hspi4.Init.CLKPolarity = SPI_POLARITY_LOW; 248 hspi4.Init.CLKPhase = SPI_PHASE_1EDGE; 249 hspi4.Init.NSS = SPI_NSS_HARD_OUTPUT; 250 hspi4.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2; 251 hspi4.Init.FirstBit = SPI_FIRSTBIT_MSB; 252 hspi4.Init.TIMode = SPI_TIMODE_DISABLE; 253 hspi4.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE; 254 hspi4.Init.CRCPolynomial = 0x0; 255 hspi4.Init.NSSPMode = SPI_NSS_PULSE_ENABLE; 256 hspi4.Init.NSSPolarity = SPI_NSS_POLARITY_LOW; 257 hspi4.Init.FifoThreshold = SPI_FIFO_THRESHOLD_01DATA; 258 hspi4.Init.TxCRCInitializationPattern = SPI_CRC_INITIALIZATION_ALL_ZERO_PATTERN; 259 hspi4.Init.RxCRCInitializationPattern = SPI_CRC_INITIALIZATION_ALL_ZERO_PATTERN; 260 hspi4.Init.MasterSSIdleness = SPI_MASTER_SS_IDLENESS_00CYCLE; 261 hspi4.Init.MasterInterDataIdleness = SPI_MASTER_INTERDATA_IDLENESS_00CYCLE; 262 hspi4.Init.MasterReceiverAutoSusp = SPI_MASTER_RX_AUTOSUSP_DISABLE; 263 hspi4.Init.MasterKeepIOState = SPI_MASTER_KEEP_IO_STATE_DISABLE; 264 hspi4.Init.IOSwap = SPI_IO_SWAP_DISABLE; 265 if (HAL_SPI_Init(&hspi4) != HAL_OK) 266 { 267 Error_Handler(); 268 } 269 /* USER CODE BEGIN SPI4_Init 2 */ 270 271 /* USER CODE END SPI4_Init 2 */ 272 273 } 274 275 /** 276 * Enable DMA controller clock 277 */ 278 static void MX_DMA_Init(void) 279 { 280 281 /* DMA controller clock enable */ 282 __HAL_RCC_DMA1_CLK_ENABLE(); 283 284 /* DMA interrupt init */ 285 /* DMA1_Stream0_IRQn interrupt configuration */ 286 HAL_NVIC_SetPriority(DMA1_Stream0_IRQn, 0, 0); 287 HAL_NVIC_EnableIRQ(DMA1_Stream0_IRQn); 288 289 } 290 291 /** 221 292 * @brief GPIO Initialization Function 222 293 * @param None … … 231 302 __HAL_RCC_GPIOC_CLK_ENABLE(); 232 303 __HAL_RCC_GPIOH_CLK_ENABLE(); 304 __HAL_RCC_GPIOE_CLK_ENABLE(); 233 305 234 306 /* USER CODE BEGIN MX_GPIO_Init_2 */ -
ctrl/firmware/Main/CubeMX/Core/Src/stm32h7xx_hal_msp.c
r39 r45 24 24 25 25 /* USER CODE END Includes */ 26 extern DMA_HandleTypeDef hdma_spi4_tx; 26 27 27 28 /* Private typedef -----------------------------------------------------------*/ … … 133 134 } 134 135 136 /** 137 * @brief SPI MSP Initialization 138 * This function configures the hardware resources used in this example 139 * @param hspi: SPI handle pointer 140 * @retval None 141 */ 142 void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi) 143 { 144 GPIO_InitTypeDef GPIO_InitStruct = {0}; 145 RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; 146 if(hspi->Instance==SPI4) 147 { 148 /* USER CODE BEGIN SPI4_MspInit 0 */ 149 150 /* USER CODE END SPI4_MspInit 0 */ 151 152 /** Initializes the peripherals clock 153 */ 154 PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_SPI4; 155 PeriphClkInitStruct.PLL2.PLL2M = 3; 156 PeriphClkInitStruct.PLL2.PLL2N = 40; 157 PeriphClkInitStruct.PLL2.PLL2P = 2; 158 PeriphClkInitStruct.PLL2.PLL2Q = 11; 159 PeriphClkInitStruct.PLL2.PLL2R = 2; 160 PeriphClkInitStruct.PLL2.PLL2RGE = RCC_PLL2VCIRANGE_3; 161 PeriphClkInitStruct.PLL2.PLL2VCOSEL = RCC_PLL2VCOWIDE; 162 PeriphClkInitStruct.PLL2.PLL2FRACN = 0.0; 163 PeriphClkInitStruct.Spi45ClockSelection = RCC_SPI45CLKSOURCE_PLL2; 164 if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) 165 { 166 Error_Handler(); 167 } 168 169 /* Peripheral clock enable */ 170 __HAL_RCC_SPI4_CLK_ENABLE(); 171 172 __HAL_RCC_GPIOE_CLK_ENABLE(); 173 /**SPI4 GPIO Configuration 174 PE11 ------> SPI4_NSS 175 PE12 ------> SPI4_SCK 176 PE14 ------> SPI4_MOSI 177 */ 178 GPIO_InitStruct.Pin = SPI4_NSS_DISPLAY_Pin|SPI4_SCK_DISPLAY_Pin|SPI4_MOSI_DISPLAY_Pin; 179 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; 180 GPIO_InitStruct.Pull = GPIO_NOPULL; 181 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; 182 GPIO_InitStruct.Alternate = GPIO_AF5_SPI4; 183 HAL_GPIO_Init(GPIOE, &GPIO_InitStruct); 184 185 /* SPI4 DMA Init */ 186 /* SPI4_TX Init */ 187 hdma_spi4_tx.Instance = DMA1_Stream0; 188 hdma_spi4_tx.Init.Request = DMA_REQUEST_SPI4_TX; 189 hdma_spi4_tx.Init.Direction = DMA_MEMORY_TO_PERIPH; 190 hdma_spi4_tx.Init.PeriphInc = DMA_PINC_DISABLE; 191 hdma_spi4_tx.Init.MemInc = DMA_MINC_ENABLE; 192 hdma_spi4_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_HALFWORD; 193 hdma_spi4_tx.Init.MemDataAlignment = DMA_MDATAALIGN_HALFWORD; 194 hdma_spi4_tx.Init.Mode = DMA_NORMAL; 195 hdma_spi4_tx.Init.Priority = DMA_PRIORITY_LOW; 196 hdma_spi4_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; 197 if (HAL_DMA_Init(&hdma_spi4_tx) != HAL_OK) 198 { 199 Error_Handler(); 200 } 201 202 __HAL_LINKDMA(hspi,hdmatx,hdma_spi4_tx); 203 204 /* SPI4 interrupt Init */ 205 HAL_NVIC_SetPriority(SPI4_IRQn, 0, 0); 206 HAL_NVIC_EnableIRQ(SPI4_IRQn); 207 /* USER CODE BEGIN SPI4_MspInit 1 */ 208 209 /* USER CODE END SPI4_MspInit 1 */ 210 211 } 212 213 } 214 215 /** 216 * @brief SPI MSP De-Initialization 217 * This function freeze the hardware resources used in this example 218 * @param hspi: SPI handle pointer 219 * @retval None 220 */ 221 void HAL_SPI_MspDeInit(SPI_HandleTypeDef* hspi) 222 { 223 if(hspi->Instance==SPI4) 224 { 225 /* USER CODE BEGIN SPI4_MspDeInit 0 */ 226 227 /* USER CODE END SPI4_MspDeInit 0 */ 228 /* Peripheral clock disable */ 229 __HAL_RCC_SPI4_CLK_DISABLE(); 230 231 /**SPI4 GPIO Configuration 232 PE11 ------> SPI4_NSS 233 PE12 ------> SPI4_SCK 234 PE14 ------> SPI4_MOSI 235 */ 236 HAL_GPIO_DeInit(GPIOE, SPI4_NSS_DISPLAY_Pin|SPI4_SCK_DISPLAY_Pin|SPI4_MOSI_DISPLAY_Pin); 237 238 /* SPI4 DMA DeInit */ 239 HAL_DMA_DeInit(hspi->hdmatx); 240 241 /* SPI4 interrupt DeInit */ 242 HAL_NVIC_DisableIRQ(SPI4_IRQn); 243 /* USER CODE BEGIN SPI4_MspDeInit 1 */ 244 245 /* USER CODE END SPI4_MspDeInit 1 */ 246 } 247 248 } 249 135 250 /* USER CODE BEGIN 1 */ 136 251 -
ctrl/firmware/Main/CubeMX/Core/Src/stm32h7xx_it.c
r13 r45 56 56 57 57 /* External variables --------------------------------------------------------*/ 58 58 extern DMA_HandleTypeDef hdma_spi4_tx; 59 extern SPI_HandleTypeDef hspi4; 59 60 /* USER CODE BEGIN EV */ 60 61 … … 199 200 /******************************************************************************/ 200 201 202 /** 203 * @brief This function handles DMA1 stream0 global interrupt. 204 */ 205 void DMA1_Stream0_IRQHandler(void) 206 { 207 /* USER CODE BEGIN DMA1_Stream0_IRQn 0 */ 208 209 /* USER CODE END DMA1_Stream0_IRQn 0 */ 210 HAL_DMA_IRQHandler(&hdma_spi4_tx); 211 /* USER CODE BEGIN DMA1_Stream0_IRQn 1 */ 212 213 /* USER CODE END DMA1_Stream0_IRQn 1 */ 214 } 215 216 /** 217 * @brief This function handles SPI4 global interrupt. 218 */ 219 void SPI4_IRQHandler(void) 220 { 221 /* USER CODE BEGIN SPI4_IRQn 0 */ 222 223 /* USER CODE END SPI4_IRQn 0 */ 224 HAL_SPI_IRQHandler(&hspi4); 225 /* USER CODE BEGIN SPI4_IRQn 1 */ 226 227 /* USER CODE END SPI4_IRQn 1 */ 228 } 229 201 230 /* USER CODE BEGIN 1 */ 202 231 -
ctrl/firmware/Main/CubeMX/charger.ioc
r39 r45 7 7 CORTEX_M7.IPParameters=default_mode_Activation,CPU_ICache,CPU_DCache 8 8 CORTEX_M7.default_mode_Activation=1 9 Dma.Request0=SPI4_TX 10 Dma.RequestsNb=1 11 Dma.SPI4_TX.0.Direction=DMA_MEMORY_TO_PERIPH 12 Dma.SPI4_TX.0.EventEnable=DISABLE 13 Dma.SPI4_TX.0.FIFOMode=DMA_FIFOMODE_DISABLE 14 Dma.SPI4_TX.0.Instance=DMA1_Stream0 15 Dma.SPI4_TX.0.MemDataAlignment=DMA_MDATAALIGN_HALFWORD 16 Dma.SPI4_TX.0.MemInc=DMA_MINC_ENABLE 17 Dma.SPI4_TX.0.Mode=DMA_NORMAL 18 Dma.SPI4_TX.0.PeriphDataAlignment=DMA_PDATAALIGN_HALFWORD 19 Dma.SPI4_TX.0.PeriphInc=DMA_PINC_DISABLE 20 Dma.SPI4_TX.0.Polarity=HAL_DMAMUX_REQ_GEN_RISING 21 Dma.SPI4_TX.0.Priority=DMA_PRIORITY_LOW 22 Dma.SPI4_TX.0.RequestNumber=1 23 Dma.SPI4_TX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,FIFOMode,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber 24 Dma.SPI4_TX.0.SignalID=NONE 25 Dma.SPI4_TX.0.SyncEnable=DISABLE 26 Dma.SPI4_TX.0.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT 27 Dma.SPI4_TX.0.SyncRequestNumber=1 28 Dma.SPI4_TX.0.SyncSignalID=NONE 9 29 File.Version=6 10 30 GPIO.groupedBy= … … 15 35 Mcu.Family=STM32H7 16 36 Mcu.IP0=CORTEX_M7 17 Mcu.IP1=MEMORYMAP 18 Mcu.IP2=NVIC 19 Mcu.IP3=RCC 20 Mcu.IP4=RTC 21 Mcu.IP5=SYS 22 Mcu.IPNb=6 37 Mcu.IP1=DMA 38 Mcu.IP2=MEMORYMAP 39 Mcu.IP3=NVIC 40 Mcu.IP4=RCC 41 Mcu.IP5=RTC 42 Mcu.IP6=SPI4 43 Mcu.IP7=SYS 44 Mcu.IPNb=8 23 45 Mcu.Name=STM32H723ZETx 24 46 Mcu.Package=LQFP144 … … 27 49 Mcu.Pin2=PH0-OSC_IN 28 50 Mcu.Pin3=PH1-OSC_OUT 29 Mcu.Pin4=VP_RTC_VS_RTC_Activate 30 Mcu.Pin5=VP_SYS_VS_Systick 31 Mcu.Pin6=VP_MEMORYMAP_VS_MEMORYMAP 32 Mcu.PinsNb=7 51 Mcu.Pin4=PE11 52 Mcu.Pin5=PE12 53 Mcu.Pin6=PE14 54 Mcu.Pin7=VP_RTC_VS_RTC_Activate 55 Mcu.Pin8=VP_SYS_VS_Systick 56 Mcu.Pin9=VP_MEMORYMAP_VS_MEMORYMAP 57 Mcu.PinsNb=10 33 58 Mcu.ThirdPartyNb=0 34 59 Mcu.UserConstants= … … 37 62 MxDb.Version=DB.6.0.130 38 63 NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false 64 NVIC.DMA1_Stream0_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true 39 65 NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false 40 66 NVIC.ForceEnableDMAVector=true … … 44 70 NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false 45 71 NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4 72 NVIC.SPI4_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true 46 73 NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false 47 74 NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false … … 51 78 PC15-OSC32_OUT.Mode=LSE-External-Oscillator 52 79 PC15-OSC32_OUT.Signal=RCC_OSC32_OUT 80 PE11.GPIOParameters=GPIO_Label 81 PE11.GPIO_Label=SPI4_NSS_DISPLAY 82 PE11.Locked=true 83 PE11.Mode=NSS_Signal_Hard_Output 84 PE11.Signal=SPI4_NSS 85 PE12.GPIOParameters=GPIO_Label 86 PE12.GPIO_Label=SPI4_SCK_DISPLAY 87 PE12.Locked=true 88 PE12.Mode=Simplex_Bidirectional_Master 89 PE12.Signal=SPI4_SCK 90 PE14.GPIOParameters=GPIO_Label 91 PE14.GPIO_Label=SPI4_MOSI_DISPLAY 92 PE14.Locked=true 93 PE14.Mode=Simplex_Bidirectional_Master 94 PE14.Signal=SPI4_MOSI 53 95 PH0-OSC_IN.Mode=HSE-External-Oscillator 54 96 PH0-OSC_IN.Signal=RCC_OSC_IN … … 86 128 ProjectManager.UAScriptBeforePath= 87 129 ProjectManager.UnderRoot=false 88 ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true, 0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true89 RCC.ADCFreq_Value=1 00000000130 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_RTC_Init-RTC-false-HAL-true,5-MX_SPI4_Init-SPI4-false-HAL-true,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true 131 RCC.ADCFreq_Value=166666666.66666666 90 132 RCC.AHB12Freq_Value=100000000 91 133 RCC.AHB4Freq_Value=100000000 … … 102 144 RCC.DFSDMACLkFreq_Value=100000000 103 145 RCC.DFSDMFreq_Value=100000000 104 RCC.DIVM1= 25105 RCC.DIVM2= 25146 RCC.DIVM1=5 147 RCC.DIVM2=3 106 148 RCC.DIVM3=25 107 RCC.DIVN1= 200108 RCC.DIVN2= 200149 RCC.DIVN1=40 150 RCC.DIVN2=40 109 151 RCC.DIVN3=200 110 152 RCC.DIVP1Freq_Value=100000000 111 RCC.DIVP2Freq_Value=1 00000000153 RCC.DIVP2Freq_Value=166666666.66666666 112 154 RCC.DIVP3Freq_Value=100000000 113 155 RCC.DIVQ1Freq_Value=100000000 114 RCC.DIVQ2Freq_Value=100000000 156 RCC.DIVQ2=11 157 RCC.DIVQ2Freq_Value=30303030.3030303 115 158 RCC.DIVQ3Freq_Value=100000000 116 159 RCC.DIVR1Freq_Value=100000000 117 RCC.DIVR2Freq_Value=1 00000000160 RCC.DIVR2Freq_Value=166666666.66666666 118 161 RCC.DIVR3Freq_Value=100000000 119 162 RCC.FDCANFreq_Value=100000000 … … 124 167 RCC.I2C123Freq_Value=100000000 125 168 RCC.I2C4Freq_Value=100000000 126 RCC.IPParameters=ADCFreq_Value,AHB12Freq_Value,AHB4Freq_Value,APB1Freq_Value,APB2Freq_Value,APB3Freq_Value,APB4Freq_Value,AXIClockFreq_Value,CECFreq_Value,CKPERFreq_Value,CortexFreq_Value,CpuClockFreq_Value,D1CPREFreq_Value,DFSDMACLkFreq_Value,DFSDMFreq_Value,DIVM1,DIVM2,DIVM3,DIVN1,DIVN2,DIVN3,DIVP1Freq_Value,DIVP2Freq_Value,DIVP3Freq_Value,DIVQ1Freq_Value,DIVQ2 Freq_Value,DIVQ3Freq_Value,DIVR1Freq_Value,DIVR2Freq_Value,DIVR3Freq_Value,FDCANFreq_Value,FMCFreq_Value,FamilyName,HCLK3ClockFreq_Value,HCLKFreq_Value,I2C123Freq_Value,I2C4Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPTIM345Freq_Value,LPUART1Freq_Value,LTDCFreq_Value,MCO1PinFreq_Value,MCO2PinFreq_Value,PLLSourceVirtual,QSPIFreq_Value,RNGFreq_Value,RTCClockSelection,RTCFreq_Value,SAI1Freq_Value,SAI4AFreq_Value,SAI4BFreq_Value,SDMMCFreq_Value,SPDIFRXFreq_Value,SPI123Freq_Value,SPI45Freq_Value,SPI6Freq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,Tim1OutputFreq_Value,Tim2OutputFreq_Value,TraceFreq_Value,USART16Freq_Value,USART234578Freq_Value,USBFreq_Value,VCO1OutputFreq_Value,VCO2OutputFreq_Value,VCO3OutputFreq_Value,VCOInput1Freq_Value,VCOInput2Freq_Value,VCOInput3Freq_Value169 RCC.IPParameters=ADCFreq_Value,AHB12Freq_Value,AHB4Freq_Value,APB1Freq_Value,APB2Freq_Value,APB3Freq_Value,APB4Freq_Value,AXIClockFreq_Value,CECFreq_Value,CKPERFreq_Value,CortexFreq_Value,CpuClockFreq_Value,D1CPREFreq_Value,DFSDMACLkFreq_Value,DFSDMFreq_Value,DIVM1,DIVM2,DIVM3,DIVN1,DIVN2,DIVN3,DIVP1Freq_Value,DIVP2Freq_Value,DIVP3Freq_Value,DIVQ1Freq_Value,DIVQ2,DIVQ2Freq_Value,DIVQ3Freq_Value,DIVR1Freq_Value,DIVR2Freq_Value,DIVR3Freq_Value,FDCANFreq_Value,FMCFreq_Value,FamilyName,HCLK3ClockFreq_Value,HCLKFreq_Value,I2C123Freq_Value,I2C4Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPTIM345Freq_Value,LPUART1Freq_Value,LTDCFreq_Value,MCO1PinFreq_Value,MCO2PinFreq_Value,PLL2FRACN,PLLFRACN,PLLSourceVirtual,QSPIFreq_Value,RNGFreq_Value,RTCClockSelection,RTCFreq_Value,SAI1Freq_Value,SAI4AFreq_Value,SAI4BFreq_Value,SDMMCFreq_Value,SPDIFRXFreq_Value,SPI123Freq_Value,SPI45Freq_Value,SPI6Freq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,Spi45ClockSelection,Tim1OutputFreq_Value,Tim2OutputFreq_Value,TraceFreq_Value,USART16Freq_Value,USART234578Freq_Value,USBFreq_Value,VCO1OutputFreq_Value,VCO2OutputFreq_Value,VCO3OutputFreq_Value,VCOInput1Freq_Value,VCOInput2Freq_Value,VCOInput3Freq_Value 127 170 RCC.LPTIM1Freq_Value=100000000 128 171 RCC.LPTIM2Freq_Value=100000000 … … 132 175 RCC.MCO1PinFreq_Value=64000000 133 176 RCC.MCO2PinFreq_Value=100000000 177 RCC.PLL2FRACN=0 178 RCC.PLLFRACN=0 134 179 RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE 135 180 RCC.QSPIFreq_Value=100000000 … … 143 188 RCC.SPDIFRXFreq_Value=100000000 144 189 RCC.SPI123Freq_Value=100000000 145 RCC.SPI45Freq_Value= 100000000190 RCC.SPI45Freq_Value=30303030.3030303 146 191 RCC.SPI6Freq_Value=100000000 147 192 RCC.SWPMI1Freq_Value=100000000 148 193 RCC.SYSCLKFreq_VALUE=100000000 149 194 RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK 195 RCC.Spi45ClockSelection=RCC_SPI45CLKSOURCE_PLL2 150 196 RCC.Tim1OutputFreq_Value=100000000 151 197 RCC.Tim2OutputFreq_Value=100000000 … … 155 201 RCC.USBFreq_Value=100000000 156 202 RCC.VCO1OutputFreq_Value=200000000 157 RCC.VCO2OutputFreq_Value= 200000000203 RCC.VCO2OutputFreq_Value=333333333.3333333 158 204 RCC.VCO3OutputFreq_Value=200000000 159 RCC.VCOInput1Freq_Value= 1000000160 RCC.VCOInput2Freq_Value= 1000000205 RCC.VCOInput1Freq_Value=5000000 206 RCC.VCOInput2Freq_Value=8333333.333333333 161 207 RCC.VCOInput3Freq_Value=1000000 208 SPI4.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_2 209 SPI4.CalculateBaudRate=15.151515 MBits/s 210 SPI4.DataSize=SPI_DATASIZE_9BIT 211 SPI4.Direction=SPI_DIRECTION_1LINE 212 SPI4.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,VirtualNSS,DataSize,BaudRatePrescaler 213 SPI4.Mode=SPI_MODE_MASTER 214 SPI4.VirtualNSS=VM_NSSHARD 215 SPI4.VirtualType=VM_MASTER 162 216 VP_MEMORYMAP_VS_MEMORYMAP.Mode=CurAppReg 163 217 VP_MEMORYMAP_VS_MEMORYMAP.Signal=MEMORYMAP_VS_MEMORYMAP
Note: See TracChangeset
for help on using the changeset viewer.