I'm trying to get the ENDTX interrupt working after doing a transfer from the PDC. I can verify that the bytes in the Transfer Pointer Buffer are being sent out the UART, but my interrupt handler for the ENDTX interrupt (which should fire when the Transfer Count reaches 0) never gets fired.
Debugging the processor yields that I do have a pending USART0 interrupt, but the NIRQ line never seems to get asserted.
I have defined my interrupt vector table with the following entry at
0x18: ldr pc, [pc, #-0xF20] (Which moves the PC to the value stored in the AIC_IVRI am using the GNU tools, so my interrupt handler is defined as: void usart0_int(void) __attribute__ ((interrupt ("IRQ")));
I have made sure that I am setting the correct pointer to the interrupt handler and enabling the interrupt (I have verified all this through the debugger), and that IRQs are enabled in the CPSR. Is there anything else I have to do?
Unfortunately I cannot post specific code at the moment since I am posting this from home, but I will be able to do that monday.
Thanks. James Lamanna