MicroPython_ESP32_psRAM_LoBo icon indicating copy to clipboard operation
MicroPython_ESP32_psRAM_LoBo copied to clipboard

How to use SDCard in SPI mode & spi_master at the same time on the M5Stack?

Open yihua-wang opened this issue 7 years ago • 5 comments

yihua-wang avatar Oct 23 '18 02:10 yihua-wang

It there any specific issue? It should work.

loboris avatar Oct 25 '18 09:10 loboris

@loboris I use esp-idf with M5STACK, and I wonder how you can implement LCD and SD in mpy to work together? can you separate your solution from mpy, and synchronize the esp32 TFT driver of esp-idf by the TFT driver lasted code in mpy.

yihua-wang avatar Oct 25 '18 09:10 yihua-wang

I don't think this old TFT driver library works very well. Can you update it to the latest version with color565? https://github.com/loboris/ESP32_TFT_library

yihua-wang avatar Oct 25 '18 09:10 yihua-wang

SDCard in SPI mode and LCD on M5Stack works good in MicroPython. I had to modify some esp-idf drivers (spi-master & sdspi_host) to make it work.

I'll try to update https://github.com/loboris/ESP32_TFT_library if I'll find some time.

loboris avatar Oct 25 '18 09:10 loboris

@loboris Thank you very much,wait for your good news quietly!

yihua-wang avatar Oct 25 '18 09:10 yihua-wang