Forum Discussion
Altera_Forum
Honored Contributor
15 years agoInterval timer
Is it necessary to have an interval timer in your sopc design for a microc/os-ii project to work? what would happen if you dont put an interval timer.. in my bsp it shows system clock timer as none. ...
Altera_Forum
Honored Contributor
15 years ago
/*
*********************************************************************************************************
* PROCESS SYSTEM TICK
*
* Description: This function is used to signal to uC/OS-II the occurrence of a 'system tick' (also known
* as a 'clock tick'). This function should be called by the ticker ISR but, can also be
* called by a high priority task.
*
* Arguments : none
*
* Returns : none
*********************************************************************************************************
*/
void OSTimeTick (void)
This is from os_core.c. uOS might work "without" a timer but then of course the timebase becomes "shaky" at best. The mentioned "high priority task" might also consume a lot of CPU to busy waits. I would recommend to use a real HW timer. karsten