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.

TPS65381A-Q1: How to keep in DIAG state without setting DIAG_EXIT_MASK

Part Number: TPS65381A-Q1

Hi,

Because my customer's compiler needs 6 seconds to download the code then write registers of TPS65381, before the writing of DIAG_EXIT_MASK 65381 has entered SAFE state because of diag state time out. Is there any solution to keep in DIAG state? Thanks. 

  • Hi Wayne,

    There is no way to stay in DIAGNOSTIC state for longer than DIAGNOSTIC state time-out (512ms) without the host MCU setting DIAG_EXIT_MASK bit to 1.  I would recommend to the customer to see if they can add just this one register write in the boot / downloader firmware.  It should fairly simple to include one SPI write within 0.5 sec as part of the early boot up procedure.