This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28P65X: CAN Message receive without the specific message ID

Part Number: LAUNCHXL-F28P65X

Tool/software:

Hi ,
      I have connected two F28P65X launch pads one for rx and one tx and  I was trying to receive a can message without specifying the msgID by give it as 0 and mask value aswell 0 ,but unable receive the message .(note using the can_ex5_transmit_receive example)

TX message object :

CAN_setupMessageObject(CANA_BASE, TX_MSG_OBJ_ID, 0x15555555,
CAN_MSG_FRAME_EXT, CAN_MSG_OBJ_TYPE_TX, 0,
CAN_MSG_OBJ_TX_INT_ENABLE, MSG_DATA_LENGTH);

RX message object :

CAN_setupMessageObject(CANA_BASE, RX_MSG_OBJ_ID, 0,
CAN_MSG_FRAME_EXT, CAN_MSG_OBJ_TYPE_RX, 0,
CAN_MSG_OBJ_RX_INT_ENABLE, MSG_DATA_LENGTH);

as you can see above this is how i am setting my tx ,rx message object .Please let me what mistake i am doing here 

  • Hey Bala,

    I believe the issue here is with setting the maskID to 0b00000000000. This will result in no filter ever matching.

    Instead, if you use a maskID = 0b11111111111 (0x03FE), and msgID = 0b00000000000 (0x0) then only messages with id = 0x0 will be received.

    Best Regards,

    Zackary Fleenor