How to change the frequency of the RTOS ticker

I am working on a project which requires me to read and transmit data from ~15 sensors at a rate of at least 1KHz (this may have to be increased at some point). I would like to use the RTOS functionality to implement this project but the default tick time of 1ms is just too slow for my needs. I saw some reference to being able to adjust this frequency in the RTOS API documentation but I am unable to figure out how it would be done.

If it helps any I am using an STM32F446ZE board


I would use void wait_us inside Thread. It should give enough accuracy.


Thanks, I’ll give that a shot