AnsweredAssumed Answered

Reading an I2C slave register in TWRK65F180MUG

Question asked by Sameer Chouksey on Dec 27, 2016
Latest reply on Dec 28, 2016 by Robin_Shen

Hi,

I am trying to read 2 bytes from an I2C slave device register with following addresses.

Lets say slave address = 0x68

Register = 0x4a

 

I am using I2C_DRV_MasterReceiveDataBlocking() api from sample I2C master app KSDK_1.3.0. to read I2C slave data.

 

I am giving slave address in i2c_device_t slave =
{
.address = 0x68, 
.baudRate_kbps = 100
};  

but can not locate any option or argument to enter the slave register address.

 

Kindly help me understand how do I set the slave register address..??

 

Thanks

twrk65f180m i2c

Outcomes