DSPRelated.com
Forums

simulating Interrupt Routine

Started by nefandous45 March 27, 2008
I've been trying to simulate ISR in CSS of Timer0 and find that TIF
bit is set but PIEIFR bit is NOT SET.

after manually setting PIEIFR bit the the Vector address is NOT taken
from PIE vector table but from Vector table in Bootrom even though
ENPIE (enable PIE bit) is set.

could someone guide me?

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
not sure if you are already using the tidcs examples
example in tidcs - ti document sprc097 gives example of using timer 0 ISR
instead of changing the address in PIE, it creates a new ISR function within main program and maps the interrupt adress to it
try to start from the examples and modify the code from there

nefandous45 wrote:
I've been trying to simulate ISR in CSS of Timer0 and find that TIF
bit is set but PIEIFR bit is NOT SET.

after manually setting PIEIFR bit the the Vector address is NOT taken
from PIE vector table but from Vector table in Bootrom even though
ENPIE (enable PIE bit) is set.

could someone guide me?


Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467