Hi Noro,
You SPI write, read function only supports data access that is 2 bytes long. BMI323 sensor API https://github.com/boschsensortec/BMI323-Sensor-API has implemented the function how to access sensor. You only need the appropriate read, write, delay_us interface, then you can access the sensor normally.
Previous attached example code has demostrated how to use SPI to access BMI323 on STM32 for your reference.
... View more