AnsweredAssumed Answered

how to set STM32 HAL FreeRTOS timer period?

Question asked by Alexander Hoffman on Aug 9, 2017
Latest reply on Dec 1, 2017 by dongdong chen

I am working with the HAL RTOS generated through cube and generally speaking, so far so good. I am used to using FreeRTOS but am a little stumped with this HAL RTOS, more specifically the timers. I have generated the code from cube and it looks exactly like the example code here (pg 20)

 

http://www.st.com/content/ccc/resource/technical/document/user_manual/2d/60/ff/15/8c/c9/43/77/DM00105262.pdf/files/DM001… 

 

My problem is that I don't know how to set/adjust a timer's period, as the osTimerCreate function does not take a period like the classic FreeRTOS function xTimerCreate.

Cheers

Outcomes