I am using a module to convert CAN to UART. This module has 2 programmable masks and 6 programmable filters.
There are 13 message IDs that come in over the CAN bus and I only want 9 of them. The IDs are as follows.
The messages I dont want :
- 0x404 - 0x6f1 - 0x114 - 0x11c
The ones I do want :
- 0x36C - 0x33C - 0x34C - 0x35C - 0x314 - 0x31C - 0x324 - 0x32C - 0x37C
I have found masking quite confusing and I would love if someone could help me better my understanding of it. Would I set my mask to
0x300? Then the
0x11c messages will come in?