The issue is SPI TFT and SPI thermocouple connect together on ESP32 board, both devices can not operate by using code above.