about filter settings for receiving extended IDs.
Hi
I don't know how to configure the CAN filter bank registers to receive extended IDs in ID list mode.
Naturally, I read the manual, but there was no explanation.
Even if there was, it would probably be difficult to understand.
I found the following diagram in the manual.
I would like to know the settings of the filter bank register to receive 0x18DAF1DA.
Please tell me the code for ???? using canId variable
canId = 0x18DAF1DA
sFilterConfig.FilterMode = CAN_FILTERMODE_IDLIST;
sFilterConfig.FilterScale = CAN_FILTERSCALE_32BIT;
sFilterConfig.FilterIdHigh = ????
sFilterConfig.FilterIdLow = ????
sFilterConfig.FilterMaskIdHigh = ????
sFilterConfig.FilterMaskIdLow = ????
Since it is in ID list mode, you can set two CAN IDs, but the same setting is fine.
It seems that the IDE bit needs to be set to 1....
Help Me!!
