Wirelessly setting an nPM1300 PMIC in Ship mode? Thanks

Hi All. Can you wirelessly set an nPM1300 PMIC in Ship mode? Thanks

  • Hi.

    What do you mean by wirelessly?

    To enter ship mode you need to send an I2C message, e.g:

    static const struct device *regulators = DEVICE_DT_GET(DT_NODELABEL(npm1300_ek_regulators));
    
    regulator_parent_ship_mode(regulators);
    


    Note that ship mode entry only works if the USB is disconnected.

  • Hi Andy.

    My application and its nPM1300 are completely sealed in a plastic case, and I need to set it in Ship Mode many times along its life cycle to prevent the battery from getting damaged by going below the Undervoltage limits. Obviously, I can`t use a wire connection to send the SHIP command because of the seal, but, could I rather send it wirelessly by air (OTA ?).
    The idea is to use nRF Connect for PC to issue the proper command and be able to reach the appropriate register in the PMIC, having in between an adaptor like your nRF52840 Dongle or equivalent to implement the physical OSI layer. As I mention, air in this case. Would this be possible?

    Many thanks for your guidance Andy.
    Best Regards,

    Juan

  • Hi Juan

    What is this nPM1300 connected to within this plastic case? If it is connected to an nRF52 device that can connect to other devices over BLE for instance it should be possible to have a custom BLE service that forwards the I2C message Andy mentions from to the encased nRF52 from an external device and then forward that over I2C, putting the device in SHIP mode I think.

    Best regards,
    Simon

  • Hi Simon


    I understand your approach. Thank you very much since I was stuck. Once I have solved this first matter, let me please clarify one last (I hope) doubt.
    According to what we can read in the nPM1300 Product Specifications V1.0 documentation, page 15, Table 4, the battery current leakage (IQship) you can expect in Ship mode is around 370 nA. Now. Shall we understand that this is with VBUS disconnected and some load in one or several of the power outputs the nPM1300 implements? Is that correct?


    Best regards,

    Juan

Related