Hello,
I setup a periodic timer whose notification function takes time to process (but less than the timer period).
I wonders whether it is a design fault ?
Thanks
Marc
Hello Marc,
The tick service routine is located in the init_bsp.c file, the path of this file is <freescaleMQXpath>\mqx\source\bsp\<board_name>\
The resolution defines, how often MQX RTOS updates time, or how often a tick occurs. The resolution is usually 200 ticks per second = 5 milliseconds. It is defined in <board_name>.h file located at the path: <freescaleMQXpath>\mqx\source\bsp\<board_name>\
The BSP timer is clocked by system tick; it is possible to edit BSP_ALARM_FREQUENCY in order to have smaller ticks.
Please check more information about the MQX timers in the following document.
I hope this helps,
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Sol,
Thanks for the information and related document.
However my question is on software periodic timer, especially _timer_start_periodic_every... functions: does the notification_function need to return quickly (like in an ISR) or it is not a problem to do some processing providing it does not exceed the timer period ?
Regards
Marc