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";
        };

Reply
  • 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";
        };

Children
Related