Hi KevinFFF,
I found one more thing about this problem. Testing with the python test code I mention before, I find that if I send
equal or less than 256 bytes, the program works fine as well as the logic analyzer waveform. But if I send 257 bytes with the python scripts, the spi driver crashed.
I hope this can help for your debugging work~