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.

TUSB422: TUSB Data Role swap

Part Number: TUSB422

Hi Ti Team 

It is difficult to develop using the received basic source.

 I am trying to develop the device to operate as follows.

  1. When the device boots, always set the Power Role to Source and the Data Role to ‘Reset status (wait status?).
  2. When the PC is connected to the CC Controller, set the Data Role of the PD Controller to DFP.
  3. When the Memory Stick is connected to the CC Controller, set the Data Role of the PD Controller to UFP.

* In any case, the Power Role must always maintain the Source.

 

 

Regards

  • Hi Yongki:

        You can refer the software user guide which is available when you request the software sample code  from TI.com.

        1: When the device boots, it starts with USB Type-C Configuration and select DRP, then with USB PD Configuration: you can change power role to source.

        2: When the PC is connected to the CC Controller,  MCU will know a DFP is attached though I2C, then you can configure TUSB422 as DFP.

        3: When the Memory Stick is connected to the CC Controller and  MCU will know there is an UFP is attached though I2C,  then you can configure TUSB422 as UFP.

       Let me know if you have more questions.

    Regards

    Brian

  • Hi, Brian

    1. The software I received seems to be for charging purposes.
    Can I receive SW for our application?

       > Regardless of whether a device is connected to the CC Controller or not, the smart phone must always be charged when placed in the cradle.

        A) When the device boots, always set the Power Role to Source and CC to 'OPEN' 
        B) When the PC is connected to the CC Controller, set the Data Role of the PD Controller to DFP.  
        C) When the Memory Stick is connected to the CC Controller, set the Data Role of the PD Controller to UFP. (Power Role remains as 'Source')


    2. Is it possible to organically swap data roles while keeping the smart phone connected?
    - UFP <-> Data role Reset(CC = OPEN) <-> DFP

    3. Which register should be controlled for data role swap?
    - 7.6.35 Bit 3?
    - Please guide us on which register should be controlled.

    Regards

    Jeong

  • Jeong:

         Let me check  if we have other SW covering your application.

    Regards

    Brian

  • Jeong:

    for 1: this the software all we  have at ti.com.

    2: yes, you can swap data roles while keeping the smart phone connected.

    3:   0x0A is role control register and looking4connection command

    Regards

    Brian

  • Hi, Brian

    1. what is  "this software"?

    2. Can TUSB422 implement the USB PD specifications below?

    "8.3.2.10.2.3 Data Role Swap, Initiated by UFP Operating as Source (Wait) "

    3. Is it possible to change TUSB422 to Data role 'wait' status from UFP or DFP?

    Regards

    Jeong

  • Yonki:

       1:  "this software" means the software you requested from Ti.com.

       2 and 3, TUSB422 should support UFP Operating as Source and Dr swap, but  not sure how to handle WAIT message.

       we may need to wait our system guy if TUSB422 can support  WAIT since TUSB422 was developed with DP2.0.

    Regards

    Brian

  • Hi TOnki:

       Sorry for the late responce:

       "WAIT" That is a SW feature.  The TUSB422 doesn’t care since this is handled at a high level in software.

    Regards

    Brian