Try this.
#define CS D7
Compare the two variants.
\Arduino15\packages\Seeeduino\hardware\mbed\2.9.2\variants\SEEED_XIAO_NRF52840\pins_arduino.h LINE82
\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.9\variants\Seeed_XIAO_nRF52840\variant.h LINE45