nRF52832 use device of lis2dh, Failed to read chip id

use the example project of lis2dh on ncs,the pin configuration of the i2c is correct,but it's can't to initialize,as follows:

Is there anything else need to configure

Parents Reply
  • Hi,

    That is strange, it doesn't look like I2C signals, the pins should initially be high and then SDA should go low before the SCLK line. Are you sure that you're measuring on the correct pins? Maybe the device that is connected is driving the pins somehow. Can you try to disconnect anything that is connected to the clock and data line and measure on them again?

    regards

    Jared 

Children
No Data
Related