Home > other >  HDC1080 temperature and humidity acquisition chip with I2C read 0 xfe how can only read the MSB high
HDC1080 temperature and humidity acquisition chip with I2C read 0 xfe how can only read the MSB high

Time:10-13

As title, I now very confused,

HDC1080 temperature and humidity acquisition chip with I2C read 0 xfe Register pointer the Manufacturer ID,
Read the two bytes, only to come back a high byte 0 x54, low byte 0 x00 back,

The correct value should be written in the datasheet to 0 x5449

What a warrior encountered similar problems, help solve, thank you very much,,

CodePudding user response:

The
refer to the original poster polly_polly response:
, such as title, I'm very confused now,

HDC1080 temperature and humidity acquisition chip with I2C read 0 xfe Register pointer the Manufacturer ID,
Read the two bytes, only to come back a high byte 0 x54, low byte 0 x00 back,

The correct value should be written in the datasheet to 0 x5449

What master encountered similar problems, help solve, thank,,

This kind of situation is likely to be timing problem, the trouble the landlord to send the IIC operation code,

CodePudding user response:

After reading the first byte not send ACK?

CodePudding user response:

Need to see the oscilloscope waveform, it is recommended to use CHT8305, detailed driver can be downloaded from the lot, https://github.com/sensylink/CHT8305, if you have questions can ask Issue.

CodePudding user response:

With a code,,
  • Related