Hey you all,
I got some troubles with my Pi Zero W (Stretch) and my SparkFun AS7265x Sensor(https://cdn.sparkfun.com/assets/c/2/9/0 ... asheet.pdf):
I connected them over my GPIOs to create a I2C Bus;
- I detected my sensor at 0x49 via i2cdetect -y 1;
- I configured my rapsi-config (enable i2c)
- I install the drivers i2c-tools, use the mods i2c-dev and i2c-bcm2708 and edited to my boot/config.txt additionally dtoverlay=i2c1-bcm2708
--> Now I want to read out some registers e.g. the temperature (0x06) but everything I get is a 0x00 (i2cget -y 1 0x49 0x06 b)
--> The only register I can read is 0x00 and their I get 0x80 (but default should be 0x40)
so I tried pyserial, but when I want to use: serial.Serial("/dev/i2c-1", 115200) --> I get a cannot configure port error 25
if I write cat /dev/i2c-1 (as explained in some stack overflow topics) I get an I/O-Error.....
I am pretty keyless now.... Maybe there is a clock stretching??
Would be likely if anybody could help me