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

    Expansion board v3.1, µSD pinout

    Scheduled Pinned Locked Moved Expansion Board
    3 Posts 2 Posters 121 Views 2 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.
    • F Offline
      frecfrec
      last edited by frecfrec

      Hello,
      we used to use Chinese board before for esp32 native C++ implementations, using wifi, LoRa and µSd.
      But Chinese board manufacturing, delay, reliability is incompatible with our products.
      That why I'm quite new in Pycom technologies, but board and scalability of Pycom product seem to match our vision,

      In short, we currently use Pycom expansion board v3.1 and LoPy4, but I did not manage to use µSD card.
      we have to reuse C++ class, C++ compilation and upload is OK.

      => Can someone tells me what pins should be used to read and write on µsd ? (SPI access to µSD ?)

      1 Reply Last reply Reply Quote 0
      • K Offline
        kjm
        last edited by

        They're earlier model board https://docs.pycom.io/datasheets/boards/expansion2/ shows P4, P8 & P23 for SD card use.

        1 Reply Last reply Reply Quote 0
        • F Offline
          frecfrec
          last edited by

          I manage to write on µSD using SD-MMC folowing libs:

          #include "esp_vfs_fat.h"
          #include "driver/sdmmc_host.h"
          #include "driver/sdmmc_defs.h"
          #include "sdmmc_cmd.h"
          

          using only internal pull-up

              gpio_set_pull_mode(GPIO_NUM_2, GPIO_PULLUP_ONLY);
              gpio_set_pull_mode(GPIO_NUM_14, GPIO_PULLUP_ONLY);
              gpio_set_pull_mode(GPIO_NUM_15, GPIO_PULLUP_ONLY);
              gpio_set_pull_mode(GPIO_NUM_4, GPIO_PULLUP_ONLY);
              gpio_set_pull_mode(GPIO_NUM_12, GPIO_PULLUP_ONLY);
              gpio_set_pull_mode(GPIO_NUM_13, GPIO_PULLUP_ONLY);
          
          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
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom