This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC1310: Not able to Read who_am_i register in sensor controller Studio for LIS2DH12TR

Part Number: CC1310

Tool/software: TI-RTOS

Hi,

I have custom CC1310(5*5), Board integrated with LIS2DH12TR. 

Have got it working in CSS. Now trying in SCS. But we are not able to read the who_am_i register value.

Here's the initialization code :

i2cStart();
i2cTx(I2C_OP_WRITE | (Accel_I2C_ADDR << 1)); //0x19h Slave Address
i2cTx(who_reg);
i2cRepeatedStart();
i2cTx(I2C_OP_READ | (Accel_I2C_ADDR << 1));  // 0x0F who_am_i register address 
i2cRxAck(output.who);
i2cStop();