SDK 2.0 SPI without RX

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

SDK 2.0 SPI without RX

940 Views
ETCTim
Contributor I

I want to use the SPI driver to transmit data. However, I do not wish to receive data.

Using the SDK 2.0 driver, am I required to create a RX buffer that is the same size as my TX buffer? How do I tell it otherwise?

 

Thanks,

Tim

Labels (1)
0 Kudos
Reply
1 Reply

835 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Tim,

Yes, it can only send not receive .

Please try define the receive buffer to NULL .

Hope it helps


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply