cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX & FreeRTOS -> Using SysTick

vincenthamp9
Associate III
Posted on March 31, 2016 at 12:11

Hello

I'd just like to know why CubeMX strongly recommends to use other timers besides SysTick as source? I've always thought that the SysTick timer is basically intended for use with an embedded OS?

Thanks
13 REPLIES 13

> So who is supposezd to initialized the systick now ?

FreeRTOS. At least the normal unmodified FreeRTOS takes care of SysTick on it's own.

> I ask several developper working with CubeMX but known has been able to give me a clear explanation

For click-kiddies it's not modern to stress the brain - exactly like in a HAL/CubeMX team... ;)

UM1722 explains FreeRTOS integration with Cube generated projects. It is ideal place to describe such things.

As well as issues discovered by Mr. Nadler.

Please, ST, keep this document updated.

-- pa

mcizmeci
Associate II

Can anyone find the solution to this problem? I have the same problem, please help me.

The loop enters one when a timer other than Systick is selected. It keeps rebooting. But when timebase source is selected, systick without any problem. But I have to use freertos and I need a timer. The processor I use is stm32f746vgt6

Hi,

This is still happening today. Did you find a solution to it not returning from HAL_Init?

Thanks