AnsweredAssumed Answered

STM32F401 LL CubeMX - SysTick not started (bug?)

Question asked by MWP on Nov 23, 2017
Latest reply on Dec 4, 2017 by Nesrine M

Hi all,

 

CubeMX v4.23.0

CubeF3 fw package v1.18.0

 

I'm finding that a clean newly created project & created source does not enable the SysTick timer.

The project is a mix of LL and HAL.

 

I have to add HAL_ResumeTick() to get it running.

 

An example:

/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();

/* USER CODE BEGIN Init */
/* USER CODE END Init */

/* Configure the system clock */
SystemClock_Config();

/* USER CODE BEGIN SysInit */
HAL_ResumeTick();
/* USER CODE END SysInit */

/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_TIM1_Init();
MX_TIM2_Init();
MX_TIM3_Init();
MX_TIM4_Init();
MX_USART1_UART_Init();
MX_USART2_UART_Init();
MX_USB_DEVICE_Init();

 

 

Outcomes