I am using CAN sample code to receive CAN packet, I am able to receive std ID packet, however I am not able to receive any extended ID , I am able to see the data loaded into ARB1/2 registed but why CAN handlers is not enter if found.
Can Anyone please help me.
Below is piece of code where I am editing changes for extended ID receive in CAN configure().
/* Mxtd: 1, Mdir: 0, Mask is 0x1FFFFFFF */
LPC_CAN->IF1_MSK1 = ID_EXT_MASK & 0xFFFF;
LPC_CAN->IF1_MSK2 = MASK_MXTD | (ID_EXT_MASK >> 16);
/* MsgVal: 1, Mtd: 1, Dir: 0, ID = 0x100000 */
LPC_CAN->IF1_ARB1 = (RX_EXT_MSG_ID+i) & 0xFFFF;
LPC_CAN->IF1_ARB2 = ID_MVAL | ID_MTD | ((RX_EXT_MSG_ID+i) >> 16);