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.

TPS25751: Doubts regarding patch to APP mode:

Part Number: TPS25751

Tool/software:

Hi! I am currently working with the TPS25751 power delivery module, and i am reviewing the PATCH to APP operation and reading the document slvafv8 (Application Note
Common TPS25751 Use Cases and Setting Using EC) I have the following question:

In the first pic i have attached, it says to write 'PBMs' by writing the DATA1 register and in Table 4-1 (second pic attached, it says that the register has the structure indicated in pic nº 2.

But i don't know where output data is located, because in the Input data section, it says that Bytes 0-3 are the Low Region Binary bundle size ( 4 Bytes) but the LSB of this pack of 4 bytes it says bits 15:8 are Byte1 of bundle size.

However in the output data section it says bits 7:0 are Output data so it would seem that Byte 0 is the one reserved for output data but i am not sure, since it could be that Byte 0 is input data according to the Bytes 0-3: Low Region Binary bundle size in of bytes. 

If anyone could clarify it would be great!

Thanks in advance!
Juan






  • Hi Juan, 

    The Input Data is what the EC needs to configure before sending 'PBMs' command to the PD controller. The Output Data is stored in the DATA1 register after 'PBMs' is sent, this tells the EC if the PBMs command was sent and received successfully or if an error occur due to invalid data in the Input Data section of the command. You do not need to configure anything for output data, is this just the return information to inform if the command was executed successfully or not. 

    Thanks and Regards,

    Raymond Lin

  • First of all, thanks for your fast answer,  the problem that i have is that basically what byte 0 is:

    I am confused what kind of information is in byte 0 and 1 of the DATA1 register, because in the pic i attatched it said this 



    As you can see Byte 0 apparently is reserved for output data, but in the input data section it says that Bytes 0-3 are also for input data so i don't know which contents do Byte0 actually have.


    Another thing i don't quite understand is that in the input data section Byte 4 does not appear the data fields directly jump from byte 5 to byte 0-3 .





    Thanks in advance!
    Juan.

  • Hi Juan, 

    Thank you for the clarification, I see where the confusion is coming from. To re-elaborate: 

    OUTPUT DATAX is the return code after 'PBMs' is sent from the EC to the PD controller. After EC sends 'PBMs' to the PD, the EC should then check DATA1 register (0x09) to see what the return code (OUTPUT DATAx) is. This is where the OUTPUT DATAx return code should be used: 

    The bitfield location for NPUT DATAx is incorrect and will be updated in the next release of the TPS25751 TRM (this should start at bitfield 7:0 and ends at 31:24. Apologies for the confusion here. 

    Let us know if there's any questions or concerns! 

    Thanks and Regards,

    Raymond Lin

  • Perfect, that solves it, thank you Raymond.