Question: Please let us know if we can interrupt and preempt a PP while in the middle of running a task. If so, are there any specific i/o lines or timer functions that we need to provide to be able to achieve that.

Answer: The PP command interface was designed so that it executes the commands in its command buffers to the end. However, there are ways in which you can interrupt a PP.

1. Use a MSG interrupt
2. Use a Task interrupt
3. Issue a 'halt' command
4. 'Reset' For cases

1 & 2, one will have to write separate interrupt service routines when the PP receives the interrupts.
For case 3, the PP is simply halted and when it is unhalted by the MP, it will start to execute from where it left off.
For case 4, the PP starts executing from the top. Which method you use depends on what you want to do after a PP is interrupted.


Device: TMS320C8x
Category: Device Information
Detail: Interrupts
Title: Interrupt and Preempt a PP
Source: Case from TMS320 Hotline
Date: 8/1/97
GenId: 0008032

© Copyright 1998 Texas Instruments Incorporated. All rights reserved.
Trademarks, Important Notice!