This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM : RTX

Hello,

I'm using KeilUV3 + RTX 3.12 + Eval Kit MCBSTR9

I'm looking for a solution to implement a task switch routine with these two constraints :

1) Task execution : TskA-->TskB-->TaskA-->TaskC-->TaskA-->TaskD-->TaskA-->TaskB... and so on
2) I want this switch occurs every ms, INDEPENDANTLY of the whole duration of the task.

Because of 1), I can't use Round Robin mode... and I can't respect 2) with Controlled Priority mode.

Rem : TaskA is a communication task for which i want to garantee this millisecond response time.

Does anyone have a solution ??

Thanks for advance,

Steph.

Parents
  • Robert,

    Thanks for the reply...

    I was askin' myself these last days : Is OS the right support to do this '1ms funtion roll'. You seem to answer : not at all!!

    I'll try your solution 'just to see'...
    But the problem is that COM task may interrupt an already running task with lower priority during a time X (receive request, prepare datas to answer, send answer) so the system won't be predictible enough ...

    I'll probably try to think the problem with an alternative angle and find a solution to this!!

    regards,

    steph

Reply
  • Robert,

    Thanks for the reply...

    I was askin' myself these last days : Is OS the right support to do this '1ms funtion roll'. You seem to answer : not at all!!

    I'll try your solution 'just to see'...
    But the problem is that COM task may interrupt an already running task with lower priority during a time X (receive request, prepare datas to answer, send answer) so the system won't be predictible enough ...

    I'll probably try to think the problem with an alternative angle and find a solution to this!!

    regards,

    steph

Children
No data