🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Core 2 and COMMU

    Scheduled Pinned Locked Moved Core 2
    core2commuarduino ide
    24 Posts 8 Posters 66.8k Views
    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.
    • C Offline
      ChrisZang @felmue
      last edited by

      @felmue Yes, thanks that was it :-)
      So basically you compile & upload your sketch, you wait until the "...." appears, you press the button and then the upload works.
      Thanks again.

      C 1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue
        last edited by

        Hello @ChrisZang

        glad to hear you got it working.

        @TLS : thank you for figuring out the issue and letting us know.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 1
        • C Offline
          ChrisZang @ChrisZang
          last edited by

          @chriszang and one more thing that I just learned:
          The GPIO for the CS Pin for the mcp2515 is 27 (not 12 as the documentation says).
          If you want to initialize the mcp2515 in the COMMU do this:

          MCP2515 CAN0(27); // (mcp2515 library)
          or
          MCP_CAN CAN0(27); // (mcp_can library)

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            ChrisZang @ChrisZang
            last edited by

            @chriszang and another update.
            So I am happily working on my CAN receiver sketch and just noticed that I forgot to press the button that grounds INT-output of the mc2515 but the upload still worked. Gave it another try (w/o pressing the button) and it's still working - weird.
            Then I swapped this COMMU module for my 2nd COMMU Module and here the upload doesn't work.
            My explanation is that the grounding of the mcp2515 INT-output basically created a short circuit in the transistor that controls this pin and eventually burned it out. Not a big problem for me as
            a) I am not using interrupts in my sketch
            b) I have a 2nd COMMU unit
            I just wanted to warn you guys that grounding the INT output has unintended consequences.

            1 Reply Last reply Reply Quote 0

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