This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2368 ARM 7 TDMI MCB 2300

I was able to configure and work with I2C interface in LPC2368 using Polling Method.There was no problem with the polling method.

Now i am forced to use I2C using Interrupt Routines for Real-Time Applications.I configured the following registers for enabling ISR , when i tried simulating
the program , the VIC Address, VIC Enable Bit and VIC Priority are setting up properly.But the function where i used ISR is not invoking , i was not able to solve out where is the problem.Is there any more additional registers i should configure other than these ?

VICIntSelect = 0; // for selecting IRQ
VICIntEnable = (1<<19); //Enabling I2C1
VICVectCntl0 = 0x01; // High Priority
VICVectAddr0 = (unsigned long)I2C_IRQHandler;

__irq void I2C_IRQHandler()
{ ....
......

......
VICVectAddr = 0x00; //Acknowledge Interrupt
}

I am not getting the IRQ Function invoked at all.

Can any one help me out on this Issue as soon as possible ?

Regards,
Samjith