Hi,
I'm trying to use the SPI protocol between the IMU sensor, ASM330LHHX, and my MCU, MPC5748G.
How it's configured :

CS PIN : SIUL2->GPDO[26]
By using SPI_MasterTransferBlocking, I can send and receive the sensor data.
But the problem is that I can only get the IMU sensor data, and other modules such as CAN protocol and UART protocol stop running.
So here're two questions I want to ask,
1. How to stop the SPI_MasterTransferBlocking function properly? This is how I use this function:

After the transfer, shouldn't it be finished and start running other modules? It seems to have all the usage of the process.
2. So I used SPI_MasterTransfer function, but when I raise CS and run the SPI_MasterTransfer function, SPI_MasterTransfer status keep giving me STATUS_BUSY.


Green line is CS, Yellow line is the Clock.
So CS turned low before the transfer finished. Is there a way to fix this situation?
Any help is welcome.
Thanks,