Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    CAN peripheral support

    Scheduled Pinned Locked Moved Enhancements
    cancanbusbusperipheralcontroller
    18 Posts 7 Posters 6.4k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      eerimoq
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • J Offline
        johand
        last edited by

        I found this project, anyone tried it? A step closer to CAN-support for Pycom-devices?

        https://github.com/danicampora/pycom-micropython-can

        Johan

        1 Reply Last reply Reply Quote 0
        • T Offline
          TravisT
          last edited by

          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.

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            johand @TravisT
            last edited by

            @travist Sounds great! Do you need any help testing? What transceiver do you use?

            Johan

            1 Reply Last reply Reply Quote 0
            • T Offline
              TravisT
              last edited by

              @johand

              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.

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                johand @TravisT
                last edited by

                @travist Any update on CAN support?

                1 Reply Last reply Reply Quote 1
                • T Offline
                  TravisT
                  last edited by

                  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.

                  J 1 Reply Last reply Reply Quote 1
                  • J Offline
                    johand @TravisT
                    last edited by

                    That is very good news!

                    1 Reply Last reply Reply Quote 0
                    • sebS Offline
                      seb
                      last edited by

                      CAN support will be available in the next firmware release which should be coming out in a few days, its just undergoing final testing.

                      1 Reply Last reply Reply Quote 1
                      • sebS Offline
                        seb
                        last edited by

                        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

                        1 Reply Last reply Reply Quote 1

                        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
                        • 1 / 1
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom