One Pulse and HAL_SPI_Receive
I am using soft pulse triggering via "__HAL_TIM_ENABLE(&htim1)" but have a problem with the code shown below.HAL_TIM_OnePulse_Start(&htim1, TIM_CHANNEL_1);volatile uint16_t array [300];HAL_Delay(1000); // let ADC power up while(1) { ...