Part Number: EK-TM4C1294XL
Tool/software: TI-RTOS
After creating 3 tasks, Welder with priority 10, Feeder with priority 5, and Monitor with priority 1, the experiment result is as follows:
Running Welder Machine
Running Feeder
Running Stack Monitor
Running Welder Machine
Running Feeder
Running Stack Monitor
Running Welder Machine
Running Feeder
Running Stack Monitor
Running Welder Machine
Running Feeder
Running Stack Monitor
Running Welder Machine
Running Feeder
Running Stack Monitor
Running Welder Machine
Calling BIOS_exit from Feeder
Q1: Why does the scheduler look like a loop and each look it schedules the task by priorities?
Q2: As we know the scheduler should schedule the tasks by priorities. Why after Feeder completion, it does not run Welder with priority 10, but run Stack Monitor?
Q3. I think it is relative to the scheduler's algorithm, how many schedule strategies or methods in TI-RTOS? How for a programmer to choose one of them?
Thanks