Adafruit_SHT4X_RK, VL53L1X, and LIS3DH are compiling but not working on M-SOM 5.8.0

The SHT40 and LIS3DH are I2C based libraries. They are compiling properly, but not reading the sensor data properly. Still investigating, but curious if anyone else has had similar issues.

The I2C devices should work. Double-check your I2C pull-ups on D0/D1. The built-in pull-up is 13K on Gen 3 devices (nRF52840) but I believe it's 40K on M-SoM (RTL872x), and that's too large for I2C to work properly.

The next thing is to run an I2C scanner and see if the devices can be seen.

Finally, check and see if your code or any libraries are using Wire.setSpeed. Setting the speed to anything other than 100K or 400K will cause a speed of 400K to be used on the M-SoM.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.