MAX31856 Thermocouple amp to Xiao ESP32-c3

Im trying to connect a max31856 to my Xios and not hacving luck adapting this tutuarioal
Arduino Code | Adafruit MAX31865 RTD PT100 or PT1000 Amplifier | Adafruit Learning System
to the pins on the Xiao

i think with this:

SPI Wiring

Since this is a SPI-capable sensor, we can use hardware or ‘software’ SPI. To make wiring identical on all Arduinos, we’ll begin with ‘software’ SPI. The following pins should be used:

  • Connect Vin to the power supply, 3V or 5V is fine. Use the same voltage that the microcontroller logic is based off of. For most Arduinos, that is 5V
  • Connect GND to common power/data ground
  • Connect the CLK pin to Digital #13 but any pin can be used later
  • Connect the SDO pin to Digital #12 but any pin can be used later
  • Connect the SDI pin to Digital #11 but any pin can be used later
  • Connect the CS pin Digital #10 but any pin can be used later

but that is all for a Arduino Uno