AnsweredAssumed Answered

S32K144 I2C Recieve data

Question asked by 玉敏111 田 on Nov 8, 2018
Latest reply on Nov 8, 2018 by Daniel Martynek

S32K144 MCU is connected to chip with I2C and S32K144 as master ,chip as slave.

Follow is write and read  format:

I have write data to the I want to read the data that i have writed to the chip.

Follow is my method:

uint8_t Register_Address[1] ={0x36};

uint8_t Rx_buf[1]={0};

uint32_t BytesRemaining;

LPI2C_DRV_MasterSendData(0,Register_Address,1,false);//send internal address

LPI2C_DRV_MasterGetTransferStatus(0,BytesRemaining);//wait ack

if(BytesRemaining == 0)


LPI2C_DRV_MasterReceiveData(0,Rx_buf,1, false);


But I can't get the data