fly-robin-fly · GitHub

Issue Description:

I'm encountering an issue while executing the simple test code from the documentation. The output I'm receiving is not what I expected.

Setup:

Hardware: Raspberry Pi 4 with Bookworm Lite (64-bit)
Connection: MCP2515 connected via a logic level converter (also tested without the converter, same result)

Expected Output:

Data: "adafruit"
Message ID: 0x1234ABCD
Actual Output:

actual output

Send success: True
1 message available
Message from  0x121f1f4d
message data: bytearray(b'\xa3\xf5\xc7\x9e?\xef\xf9L')
Send success: True
1 message available
Message from  0x1205624d
message data: bytearray(b'\xd4v\xf7\\?\xe6\xb5L')

(repeats several times with the same unexpected data)

Additionally, when I connect another CAN device to the MCP2515 (without loopback mode), I encounter the same result as described in this GitHub issue: Issue #770.

Has anyone else faced a similar issue or have any insights on what might be going wrong? Any help would be greatly appreciated. Thanks in advance!

Read the original on github.com ↗