Hi everyone,
i'm using the C2000 Launchpad XL to receive and transmit messages via CAN.
The problem i'm facing is the possible message ID's. I set up message boxes as follows;
CAN_setupMessageObject(CANB_BASE, CO_MSG_OBJ_ID_RX_TPDO1, CO_COB_ID_TPDO1,
CAN_MSG_FRAME_STD, CAN_MSG_OBJ_TYPE_RX, CO_COB_ID_T_MASK,
CAN_MSG_OBJ_RX_INT_ENABLE | CAN_MSG_OBJ_USE_ID_FILTER,
CO_MSG_DATA_LENGTH_TPDO);
Note:
* CO_MSG_OBJ_ID_RX_TPDO1 = 21
* CO_COB_ID_TPDO1 = 0x180
* CO_COB_ID_T_MASK = 0xF80
And i can get messages from different nodes 0x181, 0x182, 0x183...
But when i read the coming data with function, I only know object ID (21, 22, 23 etc.). I can not get message id.
I'm using C2000 Ware drivelib. How can i find which message id (node id) came?