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.

TPS25750: About “How do I use the Host Interface.docx”

Guru 21045 points
Part Number: TPS25750
Other Parts Discussed in Thread: USB2ANY, USB-PD-CHG-EVM-01, BQ25792

Hi Chuck-san,

 

I had you share “How do I use the Host Interface.docx”.

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1109239/tps25750-about-pass-through-mode/4113196#4113196

 

I have some questions.

 

--------

[Q1]

About page.1.

I understand that "r" is correct (R is incorrect).

Is my understanding correct?

 

<Excerpt from the material>

For example, the I2CR command you would write the following group of characters to the CMD1 register {4, ‘I’, ‘2’, ‘C’,’R’}

--------

 

[Q2]

About “Here is an example of how to use the I2Cw command:”.

I understand that "I2Cw" is correct (I2Cr is incorrect).

Is my understanding correct?

I'm worried if it's set to "I2Cw".

 

<Excerpt from the material>

--------

 

[Q3]

I can’t find Slave address in the command and flowchart.

Could you please let us know the meaning of this command example?

 

<Excerpt from the material>

--------

 

[Q4]

About Data[1] BYTE CNT (0x08).

Is "8” correct?

Because, I understand that Data[3] to [8] are 7byte so not 8byte.

--------

 

[Q5]

Could you please let us know the meaning of “Data[2]of Bytes”?

--------

 

[Q6]

About Register Offset of Data[3] to [8].

I guess that Does not match the description of “3.4.2 'I2Cr' - I2C read transaction of TPS25750 Host Interface Technical Reference Manual”.

Could you please let us know the reason?

--------

 

I'm sorry for the many questions and if my understanding is wrong. 

I’d greatly appreciate your verification.

 

Regards,

Hide

  • Hi,

    Chuck will be out of office till Jun 21. Meanwhile I will see if any of our team member can help you with this.

    Regards.

  • Hi Tommy-san,

    I’m looking forward to hearing from you.

    Regards,

    Hide

  • Hi Hide-san,

    Sorry that there are no available member to help you with this right now. You will have to wait till Chuck is back in office.

    Regards.

  • Hi Tommy-san, Chuck-san,

    Could you please let us know the current status?

    Regards,

    Hide

  • HIde,

    I will address this question tomorrow.

  • Hi Chuck-san,

    I’d greatly appreciate your verification.

    Regards,

    Hide

  • Hi Chuck-san,

     

    I have aditional quesetion.

     

    I understand that the I2Cr setting is later in the document.

    >Here is the I2C traffic view of a Register Read from the TPS25750.

     

    I would like to know a concrete example of "I2Cr" using " USB2ANY ".

    However, I don't understand what to change.

    > bust the Data (register (0x08) and CMD register (0x09) writes need to be changed to match the TRM document referred to above

     

    I apologize that my comprehension is lacking..

    I guess that "I2Cr" can be executed with the following settings.

    Could you please let us know if you have any advice?

     

    --

    1) Load the DATA1 register

    PD address | DATA1 register | #byte count | BQ address | BQ register | BQ #read bytes eg:

    0x21       | 0x09          | 0x03       | 0x6B       | 0x12       | 0x10

     

    2) Load the CMD1 register with "I2Cr"

    PD address | CMD1 register | #byte count | 'I' | '2' | 'C' | 'r'

    0x21       | 0x08          | 0x04       | 0x49 | 0x32 | 0x43 | 0x72

     

    3) OUTPUT DATA

    Read DATA1 register

    --

     

    Regards,

    Hide

  • Hi Chuck-san,

    Could you please let us know the current status?

    I’d greatly appreciate your verification.

    Regards,

    Hide

  • USB2ANY is not support with this tool. You will need Aardvark or use TIVA which is on TPS25750 EVM.

  • Hi Chouse-san,

    We use USB-PD-CHG-EVM-01.

    Can I still use "USB2ANY"?

     

    And, I would like to know [Q1] to [Q6].

    Could you please let us know the current status?

    I would appreciate your prompt reply.

    Regards,

    Hide

  • Hi Chouse-san,

     

    Our customer use USB-PD-CHG-EVM-01 and USB2ANY.

    However, they can’t read suitable register value.

     

    Even if they use USB-PD-CHG-EVM-01,

    is it possible to execute pass-through mode using USB2ANY?

     

    By the way, they tried to read to REG0F_Charger_Control_0 Register of BQ25792 on USB-PD-CHG-EVM-01 by USB2ANY.

    However, the read result is " 0x04 0x00 0x00 0x00 0x00 ".

    This value is incorrect because resister default value is 0x12.

     

    If USB2ANY can support pass-through mode, could you please let us know appropriate method?

     

    -----------

    Step1

    PD address | DATA1 register | #byte count | BQ address | BQ register | BQ #read bytes eg:

    0x21       | 0x09          | 0x03       | 0x6B       | 0x0F       | 0x01

     

    Step2

    PD address | CMD1 register | #byte count | 'I'    | '2'   | 'C'  | 'r'

    0x21       | 0x08          | 0x04       | 0x49 | 0x32 | 0x43 | 0x72

     

    Step3

    The read result is " 0x04 0x00 0x00 0x00 0x00 ".

    This value is incorrect because resister default value is 0x12.

     

    <BQ25792 datasheet>

    -----------

     

    Regards,

    Hide

  • Hi Chouse-san,

    Could you please let us know the current status?

    I’d greatly appreciate your verification.

    Regards,

    Hide

  • Hi Chouse-san, Chuck-san,

    If you could reply by tomorrow, it would be very helpful.

    I’d greatly appreciate your verification.

    Regards,

    Hide