SLLA521B January 2022 – June 2022 TCAN1145-Q1 , TCAN1146-Q1
The first criteria for a WUF is that the ID Field must match. This can be either an 11-bit Base ID for CBFF, or the 29-bit Extended ID for CEFF. A configuration register (IDE) will define which one to use (0=Base ID, 1=Extended ID). A matching ID does not have to match every bit of the programmed ID field. Some bits may be masked, so that either a 0 or a 1 in that bit position is considered a match. For instance, the following 11-bit Base ID, the ID Mask field, and the received Base ID. In the ID Mask field a 0 means the value must match and a 1 means the value is disregarded.
In this example, the configured IDE bit would be 0 (11-bit ID field), the Configured ID is set by the register ID[10:0], and the Mask Register would be set by register ID_MASK[10:0]. In the ID_MASK field, a 1 is a mask, or disregard, and a 0 is a care. So, for the 11-bits, all care bits must match the programmed ID[n] bit, while all disregard care bits are accepted as a match. If all bits in the ID field are matching, then the ID filed is accepted as a WUF ID match.
If the configuration register DATA_MASK_EN=0, then only the ID field has to match. The rest of the CAN frame must still be decoded and have a correct CRC field, followed by a recessive bit (the CRC delimiter) to be considered a valid WUF.