Hello @firmwareteam ,
I was able to identify the root cause of the issue. The problem is located in the master project. It appears to be related to the CPHA configuration. As stated in Section 35.5.7, "SPI Clock Formats," of the Reference Manual, when CPHA is set to 0, the chip select (CS) line must remain idle between transfers.

Due to this requirement, modifying the chip select mode alters the behavior of the MCXC242.
To address this, you can update your code as follows:
Remove the lines:
GPIO_PinWrite(GPIOC, 4U, 0U);
GPIO_PinWrite(GPIOC, 4U, 1U);
from the main function, and instead, place them within the SPI_MasterTransferBlocking function located in the fsl_spi.c file.

This modification will ensure proper data transmission, as the chip select line will now behave according to the timing requirements specified for CPHA = 0.

Hope it can help you.
BRs,
Celeste
--------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
--------------------------------------------------------------------------------------------------------------------