This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPS65987D: Switch between two power modes

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65987

We have developed a board with the TPS65987, and want to support two modes of operation, that should be user selectable.

The user should be able to select between to modes "new" and "retro".

In "new" mode, the devices attached should be able to negotiate 5-20V, we have used the configurator program and created an image for this, which works when loaded into the spi flash on our board.

In "retro" mode, the devices attached should only get 5V, we also have an working image for this.

We have an MCU connected via I2C, but it seems as a rather big project, to download the images, using i2c interface, and they would also take up a lot of flash in the mcu.

Is there any way to do this without downloading an entire image, when switching between modes ?

Can we as an example, just have the TPS65987 switch between two images in the spi flash ?

Or how is this done.

Best regards

Jakob

  • Hi Jakob,

    Thanks for reaching out on E2E!

    For the two difference configs, you would indeed need to flash the different config to the PD based on what you want.

    However, it seems as though the only thing changing in your system are the PDOs offered by the PD. Is it possible for the MCU to write to the PD to change the sink/source PDO's?

    You can manipulate the register to only advertise 5V or up to 20V as you would want over I2C. That way you don't need to have 2 images!

    Thank you,

    Kevin

  • Thank you very much.

    That worked, we ended up just writing a register, to disable the not needed PDO's.