Hi Massimiliano Cialdi,
You can use the SDK 2.5.0 APIs LPSPI_MasterTransferBlocking, if you don't want to send or receive, just define the according .txData or .rxData as NULL.
masterXfer.txData = NULL;
masterXfer.rxData = NULL;
About the chip-select control, if you want to control it freely, you also can configure the CS as GPIO, then use the GPIO control it freely.
You can try it on your side.
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------