M5Core2 basic SPI questions
-
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:

and this to another question, which is, in my opinion, contrary to the response above:

=> So is VSPI or HSPI used (internally) for LCD/SDcard with pinout 18/23/38/.. ?
AI Chat has also responded with this:

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!