Post Go back to editing

Set ship mode.

Thread Summary

The user is trying to enable ship mode on the MAX17330 but the device does not enter the mode. The final answer indicates that setting the ChgWDTEn bit alone is insufficient; the nProtCfg.DeepShpEn or DeepShp2En bits must be configured to select the desired low power mode, and then the Config.SHIP bit (D7) must be set to enter the selected mode.
AI Generated Content
Category: Hardware
Product Number: MAX17330X22+, MAX17330

Hi,

I'm trying to enable ship mode of MAX17330. To do this, I've defined a structure as below

typedef struct max17330_reg_tagNPROTCONFIG {

union {

uint16_t valueWord;

struct {

uint16_t DeepShp2En :1;

uint16_t BlockDisCEn :1;

uint16_t FetPFEn :1;

uint16_t nUVRdy :1;

uint16_t OvrdEn :1;

uint16_t DeepShpEn :1;

uint16_t PFEn :1;

uint16_t Reserved :1;

uint16_t PrequalEn :1;

uint16_t ChgTestEn :1;

uint16_t CmOvrdEn :1;

uint16_t SCTest :2;

uint16_t FullEn :1;

uint16_t nChgAutoCtrl :1;

uint16_t ChgWDTEn :1;

};

};

} max17330_reg_nPROTCONFIG_t;

Then:

1. reading the valueWord from address max17330_reg_N_PROT_CONFIG (uint16_t)0x01D7

2. setting ChgWDTEn = true;

3. Writing valueWord back to MAX.

Device does not goes to ship mode.

Can you please tell me what might be wrong?

  • The nProtCfg.DeepShpEn or DeepShip2En bits help determine which low power mode will be entered.

    LOW POWER MODE

    nProtCfg.DeepShpEn (BIT D5)

    nProtCfg.DeepShp2En (BIT D0)

    Ship

    0

    0

    DeepShip

    1

    0

    DeepShip2

    0

    1

    These bits configure which mode is to be entered, but it doesn't actually tell the IC to enter a mode.  Once nProtCfg is set configured as desired, then set the Config.SHIP bit (D7) for the IC to enter the selected low power mode