Hi there
I'm trying to send data from the pc to the lpc2132 through a Jtag
interface and would like to handle the interrupts from CommRx and
CommTx. Unfortunately it seems as if the ISR's aren't called. I have
the following setup of ISR's:
void DccCommunicator::init ()
{
VICVectAddr1 = (unsigned long) COMMTx;
VICVectAddr2 = (unsigned long) COMMRx;
//bit 5 = 1 => enabled this IRQ slot
//4-0 = 0x02 => interrupt 2 = COMMTx
VICVectCntl1 = 0x00000022;
VICVectCntl2 = 0x00000023;
//Enable interrupt for COMMTx and COMMRx
VICIntEnable |= 0x000000C;
initialized = true;
}
In the ISR I set a static bool to true, but this newer happenes,
indicating that the ISR newer gets called.
Have anyone had any experinence with CommRx and CommTx?
Best Regards
SørenMessage
CommRx & CommTx interrupt
2005-08-30 by soren_t_hansen
Attachments
- No local attachments were found for this message.