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: Programming for SPI-Flash Less Systems

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65987

Hi Team,

"TPS65987DDH Host Programming for SPI-Flash Less Systems" Application Report: SLVA972–May 2018

On page 6, 3.1.2 Execution Flow, Section 2, there is the following description,

"1. The device generates an I2C event, READY_FOR_PATCH, indicating that it is ready for patch. The
host shall start the patch download process after receiving this notification from the device "

Q1:Is the I2C event READY_FOR_PATCH necessary? I found when my BusPowerZ Configurations  is 

BP_ECWait_External Infinite Wait

and read 0x03 Mode register, the mode is "PTCH", read 0x14/15 intEvent1/2, the bit ready for patch is 0.At this status, can the host download the patch bundle to TPS65987?

Q2: before download patch bundle, which mode should be in mode register?APP or PTCH? I'm not sure what "PTCH"mode means. 

"NOTE: If the host intends to load a different patch bundle (either apllication configuration and/or
device patch) after the device has already transitioned to the 'Application' mode (either by
loading the default configuration or after a previous patch download sequence), the above
patch download sequence shall be preceeded by a 'PTCr' (Patch Reset) and succeeded by a
'Gaid' (Warm Restart) 4CC command. "

Q:does the sequence look like this: PTCr->Gaid->patch download sequence, or PTCr->patch download sequence->Gaid, which one is right?





Best Regards,

peng

  • Peng,

    A1: TPS65988DH doesn't allow hosts to access certain HI registers while in PTCH mode, and IntEvent is one such register. As a workaround, the application shall assume that the first I2C-IRQ notification after GAID/POR is ReadyForPatch interrupt. Note that the device could transition to APP mode if the BP_Z is not configured for infinite wait, and in such cases, the first I2C-IRQ notification needn't have to be for ReadyForPatch interrupt.

    A2: The device will be in PTCH mode, indicating that it doesn't have any patch-bundle.

    A3: PTCr -> Patch Download Sequence -> Gaid

    -/Praneet

     

  • I see

    Thanks for your help!