Hi everyone,
I am using the AM3359 with sysbios 1.1.0.6 . I need a loop every 1ms to make the motion control. I have tried with a clock module and a timing module and I get a big problem. Sometimes this is random , I measure the time the program is not in the function clock / timer to measure jitter and I get more than a second before the function is again call. I suppose to have 1ms outside the function ... The program can work very well until this error, for us, this timer is very critical and we need to minimize jitter to 0. Another thing I do not understand the timer unit has the highest priority in the system and it seems to be preempted by I do not know what.
thanks for helping me.
Eric
Log with the clock module below. The time outside of clock is "t = ..."
t = 0.001008s ,ival1 = 0, ival2 = -0
t = 0.001005s ,ival1 = 0, ival2 = -0
t = 0.001006s ,ival1 = 0, ival2 = -0
t = 0.001006s ,ival1 = 0, ival2 = -0
t = 0.001006s ,ival1 = 0, ival2 = -0
t = 1.030123s ,ival1 = 0, ival2 = -0
t = 0.000929s ,ival1 = 0, ival2 = -0
Log with the timermodule below. The time ouside of clock is "t = ..."
t = 0.000999s ,ival1 = 0, ival2 = -0
t = 0.000999s ,ival1 = 0, ival2 = -0
t = 0.000999s ,ival1 = 0, ival2 = -0
t = 0.000999s ,ival1 = 0, ival2 = -0
t = 0.000999s ,ival1 = 0, ival2 = -0
t = 0.000999s ,ival1 = 0, ival2 = -0
t = 1.244850s ,ival1 = 0, ival2 = -0
t = 0.000951s ,ival1 = 0, ival2 = -0