I'm trying to get a function being executed at a regular interval on the 68k by using the interrupt control on the SCSP, but it's not working properly right now.
Here's basically the way I'm setting it up:
I put my interrupt vector at address 0x78 in the 68k binary.
// Set level 6 for the timer A interrupt
SCILV0 = 0x00;
SCILV1 = 0x40;
SCILV2 = 0x40;
// Enable timer A interrupts
SCIEB = 0x40;
// Set up timer A (should expire every ~23ms?)
TIMA = 0;
TACTL = 2;
The function I specified with the interrupt vector never seems to be executed though. Are there any additional steps necessary that I've missed?
Here's basically the way I'm setting it up:
I put my interrupt vector at address 0x78 in the 68k binary.
// Set level 6 for the timer A interrupt
SCILV0 = 0x00;
SCILV1 = 0x40;
SCILV2 = 0x40;
// Enable timer A interrupts
SCIEB = 0x40;
// Set up timer A (should expire every ~23ms?)
TIMA = 0;
TACTL = 2;
The function I specified with the interrupt vector never seems to be executed though. Are there any additional steps necessary that I've missed?