Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Keil/AT32WB415xx_v2/SPI2/STS#0x0
status register
Receive data buffer full
Transmit data buffer empty
CRC calculation error
Master mode error
Receiver overflow error
Busy flag
https://github.com/cmsis-svd/cmsis-svd-data