I want to put some non time-critical code in Motorware Lab13b, running in a forever loop outside of the main ISR in Lab13b. I thought the obvious place was in the for(;;) loop in the main() function, but everything in that loop only seems to run once.
I tried putting a breakpoint at the end of the main isr to see where it returned to, but all that does is return to an ITRAP0 instruction at location 0x3F9458.
Is there any code running outside of ISR's once the motor is running under position control, where I can put my code ?
Geoff