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

    M5Core2 basic SPI questions

    Core 2
    1
    1
    29
    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.
    • L
      Lippy
      last edited by

      Hi folks!

      I am new to this platform, but not new to uC (Atmel, STM32). I am started with a new project and have some questions regarding SPI for own use.

      What I figured out:
      LCD (which I use) and SDcard share the same bus with pinout. I read in forums, there might be issues, when using this SPI for own extensions.
      GPIO18=MOSI: GPIO23=MISO: GPIO38=SD Card CS: GPIO4=LCD CS: GPIO 5?

      So Id like to use another SPI tfor my externaly connected sensors (by extension board using M5bus). After using AI Chat here, I am more confused:

      this is the response to one question:
      89ef52b1-d484-49ff-98c4-f45c43c49b02-image.png

      and this to another question, which is, in my opinion, contrary to the response above:
      ad72dfc4-e2a5-4b3c-83af-e76ba83b5476-image.png

      => So is VSPI or HSPI used (internally) for LCD/SDcard with pinout 18/23/38/.. ?

      AI Chat has also responded with this:
      6478b879-645b-4429-a74c-ce30bad28e14-image.png
      This pins (25-27) are available at the M5bus expansion slot, so this should work for me, doesnt it? Will the transfers done using DMA?

      Would somebody please be so kind and help me, maybe with an example?

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post