This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28069 multitasking

Other Parts Discussed in Thread: TMS320F28069

hi,

This is prashanth, working on TMS320F28069 microcontroller.

I have been trying to implement simple multitasking( Two tasks) using single system stack, is it possible. 

In my code, i try to use half part of system stack for one task and rest of stack for another task.

For task context switching in Timer ISR i pushed/poped all register values, PC and stack pointer on to respective task stacks. When the cpu entered into ISR Upper half of the System Stack values are cleared and lost respective task's status.

I don't know RTOS concepts, Please  tell me how can i do multitasking using System stack.

Thanks.

Prashanth K