In all the MQX documentation ( and on this forum too .. ) it's clearly stated that the minimun tick delay of MQX is 5 ms which means that the macro BSP_ALARM_FREQUENCY is set to 200 ( 1000 / 200 = 5 ms ) .
Today I've cheched the BSP_ALARM_FREQUENCY value for TWRK60 BSP and i found it's 100 ( which means 10 ms minumum delay time )...
I'd like to know what is the reason of this settings and , more important, if there is any problem to set this value to a greater value ( like 500 ).
Solved! Go to Solution.
Luca,
the BSP_ALARM_FREQUENCY should be defined to 200 (5ms timer tick) in all BSPs . In powerfull MCUs like Coldfire V4, MPC512x, (Kinetis) you can try higher frequency. But is some application you may have troubles as context switching load also increases.
Luca,
the BSP_ALARM_FREQUENCY should be defined to 200 (5ms timer tick) in all BSPs . In powerfull MCUs like Coldfire V4, MPC512x, (Kinetis) you can try higher frequency. But is some application you may have troubles as context switching load also increases.