![]() This means the zero bits of the XNOR are places which you need to set as don't care in your acceptance mask. Then for the non conflicting bit positions, you can set it as your acceptance code. Then for those bit positions, set them as don't care using the acceptance mask. Standard (11 bit) and extended (29 bit) data and remote frames. With an OBD-II converter cable added on and the OBD-II library imported, you are ready to build an onboard diagnostic device or data logger. To filter out multiple IDs, you'll need to bit wise XNOR each of your IDs to find which bit positions of the multiple IDs conflict (where one ID has a 1 in that position, and another has a 0). This CAN-BUS Shield gives your esp32/esp8266 CAN-BUS capibility. ![]() See the docs to see how the 32-bit code/masks are interpreted under single/dual filter mode when receiving standard/extended messages. Therefore instead using a 32-bit value to define a single code/mask, the each 32-bit value will be used to define two codes/masks. Is that the acceptance_code and acceptance_mask will be interpreted differently by the CAN peripheral.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |