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

Create a CanController for the Mcp2515 and the SPI #1600

Open
rikkreeftenberg opened this issue Feb 8, 2025 · 1 comment · May be fixed by nanoframework/nanoFramework.IoT.Device#1292
Open

Comments

@rikkreeftenberg
Copy link
Contributor

Description

With a CanController in the Mcp2515 Iot.Device.Mcp25xxx library you can use the Mcp2515 for CAN communication over the SPI for any microcontroller. Also those that don't (yet) implement the CAN protocol natively.

How to solve the problem

I want to add a CanColtroller to the Iot.Device.Mcp25xxx library so you can use a CAN interface without having to know anything about the Mcp2515 registers and internals.
You can just read and write CAN messages.

Describe alternatives you've considered

The other way is to use "nanoFramework.Device.Can" and connect a CAN tranceiver. But this is dependant on the microcontroller. For the Esp32 this is not (yet) possible.
I discussed this with Frank Robijn. He wants to implement the native CAN functionality for the Esp32 but this can take a while.

Aditional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment