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

Closed
markwkiehl opened this issue May 17, 2023 · 3 comments
Closed

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

markwkiehl opened this issue May 17, 2023 · 3 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
Contributor

Lesords commented Oct 16, 2024

Hello,

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

Do you still have this problem now?

@Lesords
Copy link
Contributor

Lesords commented Nov 4, 2024

Hello,

I'm going to close this issue, feel free to re-open it if you have any other questions.

[Autocommentary]

@Lesords Lesords closed this as completed Nov 4, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PR Assemble Nov 4, 2024
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: Done
Development

No branches or pull requests

4 participants