This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

OS Tick & OS Clock for OS_ITV_SET() ticks

I'm attempting to run a task delay timer of 1 second. By my calculation, this should be 100 ticks if my OS_TICK is set to 10ms (10000 us). However, it's off by a factor of .6. It's no coincidence that this happens to be the ratio of the OS_CLOCK default value 60000000 to the SystemCoreClock value of 100000000. Am I misunderstanding the meaning of OS_TICK or is there a mistake in os_itv_set()?

Thanks,

Bryan

0