Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

CommRx & CommTx interrupt

2005-08-30 by soren_t_hansen

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øren

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.