LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   i2cget issues with my BBB (BeagleBoardBlack) running Debian connected to VL6810x device (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/i2cget-issues-with-my-bbb-beagleboardblack-running-debian-connected-to-vl6810x-device-4175634367/)

Metaljunkie 07-18-2018 10:01 AM

i2cget issues with my BBB (BeagleBoardBlack) running Debian connected to VL6810x device
 
Using Debian image (2018 -06-17) and the i2cget (version 3.1.2) function causes changes to my device register data.

The i2cdetect on bus 2 works to locate my device (VL6810x), address x29.

When I run i2cDump (i2cdump -y 2 0x29), I do not see the 0xb4 model ID at 0x000 as described in the data sheet.

Then I run i2cget (i2cget -y -r 0x29 0x00) repeatedly and the data changes each attempt.

Two questions...
Why does the VL6180x data sheet use 3 nibbles in the register addresses, 0x000 or 0x010? Is that important to my problem.

Could the Debian drivers for i2c use SMBus kernel operations (which I don't understand)? Note:I read in a post during my searching that it might, and if so, could that not be compatible with this VL6180x i2c interface?

Thanks for any help provided!


All times are GMT -5. The time now is 10:24 PM.