You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Seeed Arduino CAN library (mcp2515_can.h) can send an extended 19 bit CAN frame, but it cannot detect it as a receiver, nor can it decode the CAN ID correctly.
Additionally, when sending an extended 29 bit frame, use the value of 0.01 for the frame type, not 0x02.
CAN.MCP_CAN::sendMsgBuf(CANmsgId, 0x01, 8, canMsg);
The text was updated successfully, but these errors were encountered:
The CAN spec shows identifiers as 11 bit (standard) or 29 bit (extended).
AFAIK there is no 19 bit identifier.
The IDE control bit is 0x00 for standard CAN and 0x01 for extended CAN. https://en.wikipedia.org/wiki/CAN_bus
The Seeed Arduino CAN library (mcp2515_can.h) can send an extended 19 bit CAN frame, but it cannot detect it as a receiver, nor can it decode the CAN ID correctly.
Additionally, when sending an extended 29 bit frame, use the value of 0.01 for the frame type, not 0x02.
CAN.MCP_CAN::sendMsgBuf(CANmsgId, 0x01, 8, canMsg);
The text was updated successfully, but these errors were encountered: