CAN peripheral support
-
The CAN driver part of Pumbaa works in the normal case for ESP32. Improved error handling is being implemented as I write.
Pumbaa does support the ESP32, but not the Pycom boards in particular. It's just a matter of creating a few files with pin mapping definitions, so can easily be added.
-
I found this project, anyone tried it? A step closer to CAN-support for Pycom-devices?
https://github.com/danicampora/pycom-micropython-can
Johan
-
I have been working with Daniel, there should hopefully be a tested CAN implementation in the master branch of the repo in the not to distant future.
-
@travist Sounds great! Do you need any help testing? What transceiver do you use?
Johan
-
I think after Daniel finishes up a couple more features and I can do initial testing it will likely be available as some sort of Beta, but that is more up to Daniel.
Transceivers are mostly transparent to CAN, so this is not really an issue. I would suggest just buying a common one, especially if you are running 500k or slower.
-
@travist Any update on CAN support?
-
I have done some more testing with Daniel's latest library. I think the initial version will be released very soon, maybe within the week.
-
That is very good news!
-
CAN support will be available in the next firmware release which should be coming out in a few days, its just undergoing final testing.
-
Hi,
A firmware with the CAN library has just been released and the documentation for it is available here: https://docs.pycom.io/chapter/firmwareapi/pycom/machine/CAN.html
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login