I have an Arduino Mega and I am using a tft touchscreen shield and RC522 with it as well. When I run with either just the touch screen or the RC522 RFID reader I am fine. But if I try and run both at the same time the tft screen just flashes black and white. I believe the 2 modules are some how interfering with each other. I have the tft touch screen on the standard shield pins and the RC522 is hooked up as follows:
RC522 - Arduino Mega
Vcc - 3.3v
Gnd - Gnd
IRQ - 51
SCK - 49
MOSI - 48
MISO - 47
NSS (SDA) - 50
RST - 46
Considering both the tft and the RC522 have sck pins I am wondering if these pins are interfering with each other thus causing the tft touch screen to fail. I posted my code but it is a full program so there is a lot of other stuff in it.
TFTRough.ino (23.1 KB)