I am having trouble operating an I2C sensor (OMRON D6T-8L-06) using Dragonboard 410c.
The sensor is connected to the 0th i2c-bus and has an added pair of 10kO pull-up resistors. Yet, running “i2cdetect -r 0” does not recognize the sensor (I tried varying the resistance value without any success). Additionally, the sensor seems not to have an associated built-in driver on Linux.
Assuming “i2cdetect” is only meant to acknowledge a proper i2c signal reception, we suspect two things:
1 - Default frequency sent by the board’s SCL pin might be too high for the sensor (>100kHz)
2 - Voltage levels might not be compatible; we noticed the sensor’s Vcc = 5V but idle voltage on both SDA & SCL pins of the board are at 1.8V. Is it normal?
Also, according to Qualcomm’s documentation of the Dragonboard, i2c sensor can be instantiated by modifying the Device tree source files. Is this necessary?