Hello Lee,
If you set the TICKRATE to 10 it will run slower than if you set the TICKRATE to 10000. If you enter to the function SysTick_Config you will see that the value of SystemCoreClock / TICKRATE_HZ1 is the number of ticks you put in the RELOAD Register. So if you put a big value, for example SystemCoreClock / 10 it will run slower than if you put a smaller value (SystemCoreClock / 10000) because this value corresponds to the number of ticks necessary to shot the interrupt of the SysTick. Higher the number, slower the SysTick and vice versa.
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Lee,
If you set the TICKRATE to 10 it will run slower than if you set the TICKRATE to 10000. If you enter to the function SysTick_Config you will see that the value of SystemCoreClock / TICKRATE_HZ1 is the number of ticks you put in the RELOAD Register. So if you put a big value, for example SystemCoreClock / 10 it will run slower than if you put a smaller value (SystemCoreClock / 10000) because this value corresponds to the number of ticks necessary to shot the interrupt of the SysTick. Higher the number, slower the SysTick and vice versa.
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------