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();