Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAN extended (19 bit) frame cannot be detected by a receiver #142

Open
markwkiehl opened this issue May 17, 2023 · 2 comments
Open

CAN extended (19 bit) frame cannot be detected by a receiver #142

markwkiehl opened this issue May 17, 2023 · 2 comments
Assignees
Labels
Seeed_Arduino_CAN Label for Seeed_Arduino_CAN UAY Unassigned yet

Comments

@markwkiehl
Copy link

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);

@fastbike
Copy link

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

@MatthewJeffson MatthewJeffson added UAY Unassigned yet Seeed_Arduino_CAN Label for Seeed_Arduino_CAN labels Oct 9, 2024
@Lesords Lesords self-assigned this Oct 14, 2024
@Lesords
Copy link

Lesords commented Oct 16, 2024

Hello,

I'm very sorry to have kept you waiting so long.

Do you still have this problem now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Seeed_Arduino_CAN Label for Seeed_Arduino_CAN UAY Unassigned yet
Projects
Status: Todo
Development

No branches or pull requests

4 participants