I've just started working on LPC1769 on an custom board and I am having problems getting the CAN BUS to work using the drivers.
After some research here I've read that the drivers has a lot of bugs, and the links I've found pointing to new drivers always redirect to home in LPCware.com.
I am using CAN2 in LPC1769
LPC_SC->PCONP |= 1<<14; /* Enable CAN2 */
LPC_PINCON->PINSEL4 &= ~0x0003C000; /* CAN2 is p2.7 and p2.8 */
LPC_PINCON->PINSEL4 |= 0x00014000;
I have enabled the Receive interrupt
CANx->IER = 0x01; /* Enable receive interrupts */
I am able to transmit and receive data. But during reception the control is not entering into CAN_IRQ_Handler.
I could verify the received data through the Receive buffer registers.
Please help me to resolve this issue.
Thanks in advance.