Hi,
We are using a platform that has an S32K314 controller and we are trying to bring up the I2C, for that, we have used the example "I2c_IP_LPI2C_Transfer_S32K312" as a reference and ported the codes to our platform.
I have connected an I2C gyro to the S32k314 I2C channel 0.
I have configured the slave address in the mex file and I tried using the API "Lpi2c_Ip_MasterSendData" to write into a register.
In the "Lpi2c_Ip_MasterSendData" API I have filled the txbuffer zeroth location with the reg address and the first location with the data to be written into the register.
I have analyzed the bus transition through an I2C analyzer and there is no data being sent through the bus and I am getting a NACK response.
Is there anything wrong with the way I am using the I2C write API?
Regards
Anoop