Other Parts Discussed in Thread: TPS65218
Tool/software: Linux
Dir sir,
The linux version is 4.1.18-rt17. I set two processes, one process is triggered by 1 msec timer and the other is triggered by 8 msec timer. When each process is executed respectively, the time interval for each process is triggered as good as expected. However, when both process run at the same time, it caused problems as follows:
- If the priority of 1 msec process is set to 99 and 8 msec process is set to any value greater than 0 and little than 80, the time interval of the 1 msec process
will sometimes become few mesc, for example 5 msec , etc. However the time interval of the 8 msec process works fine as expected, The settings are as follows
param.sched_priority = 99 for 1 msec process and 1~80 for 8 msec process;
sched_setscheduler(getpid(), SCHED_FIFO, ¶m) ;
- If the priority for 1 msec process is set to 99 and for 8 msec process is not set, 1 msec process works fine, but 8 msec process becomes unstable, sometimes more than 12 msec.
I checked version 4.1.18 without patch RT, the problem is almost the same as 4.1.18-rt17. I also checked version 3.12.10 with the same test condition, the problem vanished and the result is good. Do you have any idea how to get the same good result for version 4.1.18-rt17 ?
