ESP32S2 SPI implementation

I am trying to implement SPI master on my ESP32S2 board. However, I am facing problem with pin configuration for the same. In this regard, my question is can I use MTDI pin (Pin 46) as Chip Select? Please help with your responses. Thank you.

You'll have to find the pinout of your board to know what GPIO number pin 42 is.

Please check Page 11 of this data sheet.

Pin 46 is MTDI
Thank you.

I note that you are using ESP32S2 but which board exactly ?

@UKHeliBob ESP32-S2FN4R2