SPI data send

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI data send

154 Views
fengba
Contributor I

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?

0 Kudos
Reply
1 Reply

128 Views
PetrS
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply