Hi,
I am trying to implement SPI flash with S32K314 and using LpSpi. In that there is one function "Lpspi_Ip_SyncTransmit" which I assumes to write and read data. In this function a parameter length is there which is showing the length of data to be sent. In its definition the length is assigned to both tx and rx buffer. What to do if I am writing 1 byte of data and expecting more than 1 byte to receive.
In the spi flash data sheet an instruction 1 byte and expecting 3 bytes of data. We checked with logic analyzer, in that after transfering 1 byte clock is low.
Does anyone have a sample project of reading from SPI flash? Please share