Part Number: TMS320F28375S
CAN communication is performed using the CAN communication library, CANMessageSet () and CANMessageSet ().
I want to receive data with a specific bit of message ID (extension) 1 in that communication, but even if I try various settings and try it, I can not receive it if it does not match completely.
Is it possible to receive data with a specific bit of 1 without anexact match?
In the CANMessageSet () and CANMessageSet () of the library being used,
It is interpreted that it can be supported by setting it to the member of structure tCANMsgObject, ui32MsgIDMask, ui32Flags ...
sRXCANMessage.ui32MsgID; // CAN message ID-use 1
sRXCANMessage.ui32MsgIDMask; // no mask needed for TX
sRXCANMessage.ui32Flags;
sRXCANMessage.ui32MsgLen; // size of message is
sRXCANMessage.pucMsgData; // ptr to message content
By the way, the setting of Global Acceptance Mask Register (CANGAM) is supported in the CAN communication setting of DSP C28346.