SPI1 is connected to a single device, the Infineon 6EDL7141. This is the gatedriver that controls the MOSFETs This device has a 24bit word length with LOTS of status and configuration registers!!
This prints out all the status registers. It has a commented out example of reading/setting a config register.