Hi All,
I posted a while back about a strange message I’ve noticed on the serial monitor. my previous post
I’m using an ESP32-Wroom-32, a cheap TFT touchscreen and the SD card reader on the screen, with all 3 on the VSPI bus.
I’m using TFT_eSPSI and SD libraries.
My code all seems to work fine for a quite a long time now, while I’m learning and developing the code.
There are actually 2 messages, which have appeared, since I advanced to using the touchscreen.
When I initialise the SD card (after a reset), I get this message …
Hi Boris,
Yes, you’ve reminded me, sorry I’d forgotten.
When I started learning the touchscreen, I used the fantastic TFT_eSPI 480x320 keypad example to get started.
The SD card was still connected, but never initialised by that sketch.
However, once I’d got the touch screen working, I ran into a problem when I initialised the SD card. Immediately after reading from the SD card, the SD MISO stayed HIGH and stopped Comms with the screen / touchscreen. I was then stuck, with just the SD card working.
Strangely, removing the line “-D USE_HSPI_PORT” in Platformio.ini cleared that problem.
All 3 are on VSPI MOSI / MISO pins.
Now, I notice the duplicate function message again.
Maybe, I should try “SD.end” after reading the SD card, before trying to communicate with either TFT / Touchscreen ?
Various other mod’s to the .cpp code to make it work.
I know the SD card is alone on the HSPI bus, because I can just leave its CS pin LOW all the time and everything still works together, TFT, Touchscreen and SD card.
Obviously, I’m still juggling the TFT & Touch CS pins on the VSPI bus.
Result … No change, still getting the “duplicate func” and “Memory dump at 0x” messages.
Hmmmmm ??? …