-
Notifications
You must be signed in to change notification settings - Fork 15
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
Unexpected Data Output from MCP2515 on Raspberry Pi 4 with Bookworm Lite (64-bit) #27
Comments
Have you been able to fix this issue? I've been having this problem as well |
@tbengani I resolved the issue by developing my own Python driver for the MCP2515, which is now working well.
|
thanks so much! ill test it soon. for my own understanding, did you figure out why the library wasn't working on the Pi 4? |
Unfortunately, no. I bought an oscilloscope and identified some major issues on the bus. Developing my own driver and gaining a better understanding of what was happening turned out to be the best solution for me. |
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:
actual output
(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!
The text was updated successfully, but these errors were encountered: