What devices are you connecting to XIAO?
Can you post the waveforms from the logic analyzer?
The only SPI device I can prepare is an SD card drive or a BMP388 pressure sensor. I will check the waveforms.
I have a previous post reporting on mbed and non-mbed SPI. It might be helpful.