AnsweredAssumed Answered

Issue with using the LPI2C_DRV_MasterSendDataBlocking

Question asked by Satish Singh on Apr 23, 2019
Latest reply on May 1, 2019 by Razvan-nicolae Tilimpea

Hello ,

Currently i am trying to Control  a PMIC using the S32K148 MCU via I2C , the Communication works fine when using the normal LPI2C_DRV_MasterSendData API , but when I use the transmit with Blocking API LPI2C_DRV_MasterSendDataBlocking  , the controller goes into an never ending loop and there is no communication.

 

LPI2C_DRV_MasterSendDataBlocking(INST_LPI2C1,buffer,1,false,1);
LPI2C_DRV_MasterReceiveDataBlocking(INST_LPI2C1,buffer,TRANSFER_SIZE,true,1);

I understand that the providing the blocking value as 1 would provide a window period of 1ms for the transmission , 

is there any time constraint on the slave for the acknowledment too.

If not then what could be the reason for the same.

 

Transmit_Rx

 

Transmit_Rx_with_Blocking_1

Outcomes