Post Go back to editing

MAX77960B - how to return to 'Autonomous mode', or reset device

Category: Hardware
Product Number: MAX77960B

Hi all,

Considering the MAX77960B for a new design. I see that the charge parameters can be set in autonomous mode (via resistors) and these can then be subsequently over written with I2C to change limits.

The I2C description specifically states that you can NOT use I2C to return to autonomous mode.

Q. How can the device be reset/return to autonomous mode, and can this be achieved *without* processor being involved?

The reason I am asking is that I am concerned that a Type-C PD lease may be revoked/updated whilst the processor is sleeping (planning to use a stand-alone Port controller), and I want to ensure that the charger does not exceed the amount of power which will be available at any time.

My plan would be to configure autonomous charge to be set for 5V @ 900mA (ie minimum default power) and then have the processor up the settings according to actual lease.

I see that STBY (pin 19) can be asserted to prevent charging altogether, is this my only option for hardware control?

Thanks for advice/guidance,
Simon.



added tag
[edited by: emassa at 9:23 PM (GMT -5) on 21 Feb 2023]
  • For the question itself, MAX77960B cannot return to autonomous mode once COMM_MODE bit is set to 1. If you would like to achieve that, you can reset the whole chip by writing 0xA5 to register 0x01 for a software reset.

    According to the USB-PD spec, for standard PD adapters, the default output is set to vSafe5V, current limitation is set to low by adapter itself before PD negotiation is complete. If the adapter is plugged out while the AP can not response in time, PD controller can monitor this event by message timeout.  The internal FSM will return to idle state.

    A Source detects plug Detach and takes VBUS down to vSafe5V within tSafe5V and vSafe0V within tSafe0V (i.e. using USB Type-C Detach detection via CC).

    Usually the charger is controlled by PD controller( charge in current limit, CC current i.e), adapter will not be draw to exhausted. So,it shouldn't be a problem.

  • you can reset the whole chip by writing 0xA5 to register 0x01 for a software reset.

    Thank you. That may be the solution to my concerns.