Hi @Berke_E
In the User Manual for the S32K3_S32M27x SPI Driver, there is a dedicated section that explains how to configure handling Chip Select via general-purpose IO.
I recommend reviewing this document along with the S32K3_S32M27x SPI Driver Integration Manual included with the RTDs. These documents provide detailed information about the driver, including its limitations, hardware and software requirements, usage instructions, and configuration guidelines. They will be helpful for gaining a deeper understanding of the driver's functionality. You can find these resources at the following location:
C:\NXP\SW32K3_S32M27x_RTD_R21-11_5.0.0\eclipse\plugins\Spi_TS_T40D34M50I0R0\doc.
Regarding implementation in Simulink, I am not familiar with it, but Model-Based Design Tools (MBDT) are supported by our engineers through the NXP Community - Model-Based Design Toolbox (MBDT).