AnsweredAssumed Answered

MAX21000CQ Gyro interfacing with FRDM-K20D50M board

Question asked by Amit Kumar on Jan 12, 2014
Latest reply on Jan 13, 2014 by Tomas Vaverka

Hi

I am trying to interface MAX21000CQ Gyro with FRDM-K20D50M board Through I2C, I am having a confusion of address selection, please refer the following table

 

 

By default I have connected SA0 PIN to logic 1 ,

when I am sending the command, i.e GI2C1_WriteByteAddress8(GYRO_I2C_ADDR, GYRO_CTRL_REG_1, GYRO_ACTIVE_BIT_MASK);   in this code

GYRO_I2C_ADDR will be 0xB2  ??

and while receiving data i.e GI2C1_ReadAddress(GYRO_I2C_ADDR, (uint8_t*)&addr, sizeof(addr), &InpData, sizeof(InpData));    in this

GYRO_I2C_ADDR will be 0xB3.  ??

I am confused with the R/W bit addressing. So Please look into the matter.

 

Thanks and Regards

Amit Kumar

Outcomes