I am using the S32K3X4EVB-T172 for development.
I discovered that I couldn't communicate with the FS26 using LPSPI3, and then I replicated this situation in the example code.
I want to replace
LPSPI3_PCS0 = 110 = PTB17 <> LPSPI0_PCS0 = 95 = PTB0
LPSPI3_SCK = 7 = PTD1 <> LPSPI3_SCK = 7 = PTD1
LPSPI3_SIN = 111 = PTD20 <> LPSPI0_SIN = 97 = PTC9
LPSPI3_SOUT = 8 = PTD0 <> LPSPI0_SOUT = 94 = PTB1
The wiring method is as follows:
LPSPI3_SCK = J37, number 1, connects to LPSPI0_SCK = J2, number 21
LPSPI3_SIN = J39, number 14, connects to LPSPI0_SIN = J2, number 15
LPSPI3_SOUT = J37, number 3, connects to LPSPI0_SOUT = J2, number 18
LPSPI3_PCS0 = J4, number 5, connects to LPSPI0_PCS0 = J2, number 24

The known failure point is that Sbc_fs26_GetDeviceState within Sbc_fs26_InitDevice returns FS_STATES_INVALID.

However, if I use Spi_SyncTransmit, I find that CSB is pulled low, which seems to be correct.
CSB

MOSI

I've checked the configuration, and I can't see where the problem is. The attached file is almost identical to the example code, except that LPSPI0 has been changed to LPSPI3.


