Hi@willy2
1. what's the different of blocking & no-bolcking?
Blocking Send
After the function is called, the CPU will wait for the data transfer to complete before continuing to execute the subsequent code.
Non-blocking Send
The function returns immediately after the call, and the data transfer is performed in the background, usually through interrupts or DMA.
2.&3.
My mistake, copy error:
"
2. For the no-blocking sending mode: that is: Lpi2c_Ip_MasterReceiveDataBlocking(), after calling this function, you need to call "Lpi2c_Ip_MasterGetTransferStatus()" to ensure that the transmission is successful, and then call "Lpi2c_Ip_MasterReceiveData()" in the same way.
"
change to:
"
For the no-blocking sending mode: that is: Lpi2c_Ip_MasterSendData(), after calling this function, you need to call "Lpi2c_Ip_MasterGetTransferStatus()" to ensure that the transmission is successful, and then call "Lpi2c_Ip_MasterReceiveData()" in the same way.
"
For no-blocking sending and receiving, you must call Lpi2c_Ip_MasterGetTransferStatus() every time.
.