Hello NXP team,
Currently we are working in SPI communication in MBDT with MATLAB, and we checked the SPI communication with example model (s32k3xx_spi_async_interr_s32ct) using S32K312-Q172 EVK board.
And we are facing an issue that SPI master sends the data and gets incremented but slave doesn't receive the data.
We checked the results in freemaster tool
In that result, master_send sends the data to SPI master & but slave_recv doesn't receive the data.
And we used the hardware pins connection as mentioned in the HW_SW_setup.
We checked the configuration in S32CT, we can't be able to find any issue in that.
And we have checked the status of each block in SPI example model, we seen that "SPISequence1" throws error.
and we checked using logic analyzer in master SDO (mosi) the data is transmitted to slave pin via hardware connection.
Kindly help us to resolve this issue.
Thanks & regards,
vijay
@stefanvlad @FlorinCiuca @Adrian_Gherca @dragostoma @Irina_Costachescu
Hi @Vijay98 ,
What revision of the S32K312 chip do you have?
If it is revision 0P55A there might be a problem with the LPSPI Instance 2 and you need to change it to LPSPI Instance 3:
The pins above are just an example, other pins can be selected but must check the S32K312EVB-Q172 schematic to be sure.
You can find more details in the following community post: Solved: Re: SPI no data transfer in S32K344_T172 MBDT example project - NXP Community
Please follow the steps in the link above and let me know,
Stefan V.