Hello,
I'm trying to use a TFT display on Motion MEGA Lora, using SPI .
When I configure the TFT (Adafruit 2.2" ILI9340 or ITEAD ITDB02) to use hardware SPI it is way faster, but as soon as I get Motion to receive info from another Motion, the display and sketch "hangs".
All work fine as long as :
1- no packets are sent form remote motion
2- or use software SPI on receiving Moteino
I have two question if anyone can help:
a) reading this thread I understand this is not uncommon, and eventually a resistor on MISO may solve the problem. is this applicable i this case? any experience with OLED displays/SPI based displays?
b) how does one library know that the other one is not using the SPI lines ? how does it know that SS on the other divide is not active? Moteino is using interrupts for the library to be aware that data is coming and initiate a SPI read right ? If I'm sending data to the display will it not interrupt the display communication ?
How is this potencial conflict avoided ?