A bug in cubemx hal lib,a file named "stm32l4xx_hal_adc.h" in the STM32Cube_FW_L4_V1.13.0 ,in code line 518.#define ADC_EXTERNALTRIG_T4_TRGO (LL_ADC_REG_TRIG_EXT_TIM4_CH4) make sure as #define ADC_EXTERNALTRIG_T4_TRGO (LL_ADC_REG_TRIG_EXT_TIM...
Posted on June 30, 2018 at 16:38 I use the cubemx and freertos andSTM32Cube_FW_L1_V1.8.1,use the timer2 as the systick,but run theosKernelStart() function, a hardfault occurrence. use the timer3 as the systick,it`s OK.ThenChange back to timer2,it...