I am using a tft display with touch controller on VSPI, and Lora RFM95 chip on the HSPI, They don’t like each other..
I can use my TFT display and touch without Lora enabled (Lora.h) no problems, but when I enable lora I cannot use the TFT touch, seems like the VSPI port is being switched off when I turn on Lora.
Any solution would be appreciated besides bit banging the TFT.
Hi.
One solution can be redefining the pins used as SPI, instead of the pins used by default.
Here are some links that can help:
https://github.com/espressif/arduino-esp32/issues/1219
https://github.com/espressif/arduino-esp32/issues/790
https://www.esp32.com/viewtopic.php?f=13&t=5212&start=10
It seems that you can pass custom pin values in SPI.begin() function.
Let me know if this helps.
Regards,
Sara