SDK 2.0 SPI without RX

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SDK 2.0 SPI without RX

933 次查看
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

标签 (1)
0 项奖励
回复
1 回复

828 次查看
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 项奖励
回复