AnsweredAssumed Answered

RTOS should use  i/o sample  clock(counter of sample cycle)  instead  of  the realtime clock(32.768khz)

Question asked by z z on Aug 20, 2016
Latest reply on Aug 28, 2016 by alexander.yakovlev

MCU (mpc8247)   can  avoid  the  realtime clock interupt  when  mcu  is  busy.  so   MCU peak  of calculation   is   isochronous   with  I/O device  sample  and transmit cycle.     use  a  programmable-counter  of    sample  and transmit cycle  . In C language ,  the function delay  of  time (ms)(for example  timer, delay,sleep) can  be  realized  with  no- MCU- interupted  mode,because when the timer  is arrived ,the programm  can guarantee  the cpu is free,   . reduce  the operation of (push  pull  with stack&heap)  system   will be  faster