AnsweredAssumed Answered

Questions about SystemClock_Config()  generated by cubeMX

Question asked by Kefei Yao on Apr 12, 2018

The SystemClock_Config() function is generated by cubeMX in main.c. It configure the different clocks used by the system. The question is that it handles the systick timer count in this way:


It just divides the Hclk frequency by 1000 (assume the system timer clock is provided by HCLK). This result in 1ms tick regardless the actual value of systick set in the freeRTOS configuration in freeRTOSConfig.h. I assume something like 



should be used.