hello:
the receiveBuffer is assigned values within the implementation of the LPSPI_DRV_MasterTransfer function, which handles the SPI communication and writes the received data to the provided buffer?
Hi,
the receiveBuffer parameter of the LPSPI_DRV_MasterTransfer function is a pointer to the buffer where the received bytes are stored. If you pass NULL for this parameter, the received bytes are ignored.
See more in driver documentation.
BR, Petr