I2C - Send "Measurement Request" to HIH6130 IC
Hi, I seem to be having difficulty with what should be a simple I2C task. I want to send the Measurement Request to the Honeywell sensor so it will take a temperature and humidity reading, which requires the following format from their datasheet:
I have been using the following for my test code:
I have the array ready to receive the 4 bytes when I read data. I pass it in to the transmit function as a dummy parameter but set the length as 0 since we are not required to send any data for the measurement request.
Here is what is produced on the I2C lines. Unfortunately the place I work at only has one probe currently so I had to take the SCL and SDA readings separately:

I combined the scope traces into a diagram. It all looks good until after the ACK bit when an extra bit is present and has just a spike at the beginning of the bit:
In terms of what is received when debugging the code, I get this:
This actually looks like the correct format as the first two bits are status bits and the last two bits are to be ignored ("don't care" bits) so it looks like a valid packet that contains the maximum sensor values for temperature and humidity (100% and 125ºC).
If I read the data a second time I see the status bits go from 00 to 01 which indicates stale data:
So it seems the IC's state machine is working and it is aware it is being read from, but the measurement request packet is just not valid and doesn't trigger the sensor to take a reading?
In terms of the electronics here is the schematic and the I2C lines have 2.2k pull-ups, which is the same as the Sparkfun breakout board:
The only difference with our circuit is that we also have an EEPROM on the I2C bus with an address of 0x50 so it shouldn't interfere.
I've tried the I2C at both 100 and 400 kHz and I have tried various settings for the Rise Time, Fall Time and Digital Filter settings:
Is anybody able to help because I am at a complete loss with this. I have contacted Honeywell's technical support and had no response from them so this is my only hope really.
Thanks!
Matt
