User Activity

HiI'm using a NUCLEO-H7A3ZI-Q.I have created a project with CubeMX and I'm experiencing a strange behaviour on the ADC.The initialisation code is calling  MX_ADC1_Init() but this function returns with an error but the ADC DMA_Handle is 0, causing lat...
On initialisation SystemClock_Config(0 calls the function HAL_RCC_OscConfig() and this generates a timeout on the loop below:   /* Set the new HSE configuration ---------------------------------------*/   __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSESt...
HiUsing CubeMX on a STM32H7B3I I have generated this initialisation function for the TIM12 CH2/** * @brief TIM12 Initialization Function * @param None * @retval None */static void MX_TIM12_Init(void){ /* USER CODE BEGIN TIM12_Init 0 */ /* USER CODE E...
HiI would like to know if the following code can be used to set the PWM to a constant 0. TIM_OC_InitTypeDef sConfigOC = {0}; sConfigOC.OCMode = TIM_OCMODE_PWM1; sConfigOC.Pulse = 0; sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH; sConfigOC.OCFastMode = T...