Need urgent technical support for Nordic PMIC PM1300

we are using nPM1300 EVK board for an upcoming project we are trying to interface PMIC PM1300 chip with Ambient Scientific processor GPx10 Pro.

It will be a huge setback for our project that is under development, if the I2C Interface between the two chips don’t work… since proto boards are already in fabrication

 

We have tested GPx10Pro I2C interface extensively with other sensors… but with this PMIC it is inconsistent and unreliable.  And this is the only part of Hardware that is not working yet.

In bare metal code, we are able to get acknowledgement sometimes. 

Parents
  • Hi,

    As the I2C communication sometimes work but is unreliable the first thing that comes to mind is if you have long jumper wires when testing, perhaps combined with too weak pull-up resistors? I would suggest shortening the wires and using stronger (lower resistance) pull resistors.

  • Hi,

    we have tried with other pull up resistors still getting same results. we will once check by soldering the PMIC i2c pins with our mcu and will let you know the results.

  • Hi,

    we have tried the above but still got nothing. are we missing out any connections apart from I2C SCL ,SDA and VDDIO(3.3V)?

  • Hi,

    The only connection you need in addition is a solid common ground, which I assume is in place? If not, make sure it is.

    Other than that, as it sometimes work it seems to me like more a HW issue and a marginal one, so it would be interesting to look at the signal integrity with an oscilloscope, on both SCL and SDA.

  • Hi Thorsrud,

    Yes, we have connected the common ground.

    We checked the signals using a logic analyzer and were able to observe the slave address (0x6B) being transmitted. however, we did not receive an ACK from the PMIC.

    We will recheck the signal integrity using an oscilloscope.

  • Hi,

    We checked the signals using an oscilloscope, and the signal integrity appears to be correct. However, we are still not receiving an ACK response from the PMIC.

  • Hi,

    I see.

    Can you share your signal integrity measurements done with the oscilloscope here? Please also show the circuit and where you measure. The best would be if you can do separate measurements, one set close to the pins on the MCU and another close to the pins on the PMIC, we need at least to see it from the PMIC side. VDDIO, SCL and SDA.

    Can you also share a logic analyzer trace with protocol analysis enabled of the same so we can see what is happening? 

    Which value of pull resistors are you using, and which other have you tested? If you can share a schematic that could also be very useful for our team looking into this.

    Lastly, so I have not misunderstood. You write that "In bare metal code, we are able to get acknowledgement sometimes". How often is that? Have you made any HW changes? And have you compared the write from the master where it works to when it does not? Is it the exact same address (and data), so that you should have seen an ACK from the PMIC? If so, that would strengthen the indication that this could be HW related. If not, then we need to look more closely at the SW.

    Edit: Another thing, have you verified that the PMIC power up correctly? What is supplying VDDIO? Is it one of the nPM1300 BUCKs? Could there be a conflict there between the BUCK and another supply on VDDIO?

Reply
  • Hi,

    I see.

    Can you share your signal integrity measurements done with the oscilloscope here? Please also show the circuit and where you measure. The best would be if you can do separate measurements, one set close to the pins on the MCU and another close to the pins on the PMIC, we need at least to see it from the PMIC side. VDDIO, SCL and SDA.

    Can you also share a logic analyzer trace with protocol analysis enabled of the same so we can see what is happening? 

    Which value of pull resistors are you using, and which other have you tested? If you can share a schematic that could also be very useful for our team looking into this.

    Lastly, so I have not misunderstood. You write that "In bare metal code, we are able to get acknowledgement sometimes". How often is that? Have you made any HW changes? And have you compared the write from the master where it works to when it does not? Is it the exact same address (and data), so that you should have seen an ACK from the PMIC? If so, that would strengthen the indication that this could be HW related. If not, then we need to look more closely at the SW.

    Edit: Another thing, have you verified that the PMIC power up correctly? What is supplying VDDIO? Is it one of the nPM1300 BUCKs? Could there be a conflict there between the BUCK and another supply on VDDIO?

Children
Related