[solved] Using uart pins tx & rx and SPI with ESP8266

I believe you should look for help in the esp8266 manufacturer's forum, the datasheet is well summarized, it shows a segmentation of the themes, everything indicates that there are functions sharing that can affect the simultaneous use of the functions in a single pin.

Datasheet ESP8266EX

From page 26 of Datasheet: 'ESP8266 Pin List': 'This link directs you to a list containing the type and function of every ESP8266 pin'

ESP8266 Forum

ESP8266 Community Forum

ESP8266 Page