Max17055 Fuel Gauge not working With nRF9160

We try to communicate with Max17055 over i2C https://www.mouser.ie/new/maxim-integrated/maxim-max17055-gauge/ .
But getting no response from Slave device.(same hardware work properly with  other  microcontroller).
I2c bus of nrf9160 working with Sensors, but with Max 17055 we are unable to communicate. Please guide us the potential problem. We tried all hardware and Software debugging at our end.
Thanks

Parents
  • Hi

    In order to try to help you I have a few questions: 

    What version of nRF Connect SDK are you using? 

    Do you have a logic analyzer available? 

    Are you using the zephyr driver for the Max17055? 

    You say that the nrf1960 is working with Sensor, what sensor is this and are you using i2c to communicate with it?

    Have you verified that you have wired the i2c correctly?  

    Regards

    Runar

  • Hi,
    nRF COnnect sdk1.9.0

    Yes,i verified on logic anaylzer
    I tried the driver as well.
    yes,Temp sensor Shtx and on I2C.
    yes,

    following is the Overlay file nRF9160 dk and logic anylzer data  

      &i2c2 {
       
        status = "okay";
        clock-frequency = <I2C_BITRATE_STANDARD>;
        max17055@6c {
            compatible = "maxim,max17055";
            label = "MAX17055";
            reg = <0x6c>;
            design-voltage = <3600>;
            desired-voltage = <4100>;
            desired-charging-current = <2000>;
            design-capacity = <10200>;
            v-empty=<3000>;
            i-chg-term = < 100 >;
            rsense-mohms = < 10 >;
            status = "okay";
        };

  • Hi, does the sensor respond with the same address when you talked to it with another board? I saw in the datasheet for the sensor that it can respond to either 0x6C or 0x36 for 7 MSbit address

    Runar

  • Yes,
    it respond on other microcontroller.

    We have the max evolution  kit as well, that kit is working fine with PC (the Max software).bit not working with nrf9160 dk.
    please find the attached image

Reply Children
Related