ksan0626: you have provided no information for us to work with. no pin number assignment list, no code. we don't do ESP and we don't do miracles.
SPI requires 4 pins:
MISO
MOSI
SCK
CS
MISO, MOSI & SCK are busses: they are shared by all SPI devices. one Arduino pin can service more than one module
CS, Chip Select, is: 1 card, 1 pin. if you have more than one SPI device, each one gets its own CS pin
that CS pin is set up as a constant at the start of the program:
const int chipSelect =10;
and set to OUTPUT in void setup()
pinMode(chipSelect, OUTPUT);
If you have more than one SPI device you must assign each device one CS pin:
const int SDchipSelect=10;
const int LCDchipSelect=17;
and both must be set to output in void setup()
pinMode(SDchipSelect, OUTPUT);
pinMode(LCDchipSelect,OUTPUT);