cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F401 LL CubeMX - SysTick not started (bug?)

mwp
Senior
Posted on November 23, 2017 at 17:30

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();

 

#systick #stm32f401
1 REPLY 1
Nesrine M_O
Lead II
Posted on December 04, 2017 at 16:23

Hi

Williams.Mark

,

This issue is reported internally for check.

-Nesrine-