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.

TIDA-01243: USB3.0 mode

Part Number: TIDA-01243
Other Parts Discussed in Thread: USB-CTM-MINIDK-EVM, HD3SS460, TIDA-01234, TPS65981

Hello,

I would use the USB-CTM-MINIDK-EVM (TIDA-01243) to connect az USB3.0 device (4K webcam) to laptop via USB-C. 

Connecting the device (camera) to laptop, USB3.0 mode is active. Connecting the same camera via the EVM, only USB2.0 mode is active. I guess the EVM is not switched to 2laneDP + USB3.0 mode, but works in 4-lane DP mode, so no USB3.0. My question is: How to enable the 2laneDP+USB3.0 mode ? 

Thanks

Andras

  • Hi Andras,

    I believe that specific TI-Design is not set to work in 2-lane DP + 2-lane USB3 mode. The TIDA-01243 is featuring custom software and we do not support any changes to the base FW image pre-programmed onto the boards. 

    If this answers your question, PLEASE select This resolved my issue

    Thank you,
    Eric

  • Hi, Eric,

    Thank you for your reply. Maybe, I was wrong, I have the USB-CTM-MINIDK-EVM (not the TIDA-01243). 

    1- Does it support different Alternate Modes? 4lane DP / 2+2 lane DP+USB3.0 / USB 3.0 only ? 

    2- It has a 4lane-2lane switch. What is its purpose ? 

    3- If no 2+2 mode supported (2lane DP with USB3.0), no-DP, USB3.0 only mode supported? 

    4- Can we influence the operating mode via I2C communication with the PD controller chip?

    Thanks

    Andras

  • Hi Andras, 

    The dock should support both 2-lane and 4-lane DP.: UFP_D Pin assignment C and D.  But we would have to check on the FW version on the docks being shipped from ti.com.

    However the final configuration would be dependent upon the DFP_D(i.e. Laptop port)  Configuration.  For 2lane + USB3 mode, DFP_D would have to configure to select pin assignment D.

    We would have to check if the FW being shipped is UFP_D pin assignment D capable.  But if you could check whether the connection is configured for pin assignment D, that would be helpful.  Do you have a way to snoop USB PD traffic on Type-C CCs?

  • Hi Yoon,

    Thank you for the reply. At the moment we have no CC sniffer, it is still on the way. Would you please send me the latest firmware with the instruction how to flash it? Thanks. 

    Andras

  • Hi Andras, just to confirm it's a pin configuration issue, could you try to change the configuration setting per the instruction attached?

    Having multi function bit enabled in the dock would increase the probability of the DFP_D port partner to configured the dock with pin assignment D instead of C.Minidock_Debug1.pdf

  • .

    Hi!

    I managed to install the Config Tool as well as the Aardvark. Thank you for the document. 


    Setting of the Multifunction Preferred is OK (was not set), but no change in behavior. How to "save" this setting? After restarting the board, Multifunction Preferred is reset (cleared).

    Do I need to re-flash the firmware with this new setting ?

    Do I need to configure the GPIO mapping, too ? I guess so, because TPS needs to control the Demux ! Please recommend the setting for this board. At the moment no any GPIO mapping set.

    Thank you. Andras

  • Hi Andras, I am glad you were able to locate the Aardvark, they tend to hide or run away :-)

    You can leave other config as is, I just wanted to see changing multifunction preferred = ON would help with USB3 enumeration(with pin assignment D 2-lane DP, 2-land USB3 mode).
  • Please leave the power on after changing the config to multi function preferred = ON. The config change would get reset back to the config loaded via flash with power cycle of the EVM.
  • Thank you. I understand, I will test tomorrow morning (we have evening here). But without proper GPIO mapping the Demux chip (HD3SS460) would not be controlled by the TPS, so no Pin Assigment D would happen. GPIO mappings are all empty now according to the debug mode.

  • Hi Andras, it is not allowed to change GPIO mapping dynamically in debug mode. Correct GPIO mappings are loaded per the board configuration from the flash image therefore no need to change the value. I just wanted you to see if enabling "multi function enable bit" would improve the issue, if the issue is what I think it is(where the dock is always configured for 4-lane pin assignment C).

    FYI, the GPIOs are mapped as below, based upon the alternate mode negotiation, the GPIO level would change to match the mode/configuration entered:
    GPIO0 - AMSEL event(Alternate Mode Select event)
    GPIO1 - Plug event(connection event)
    GPIO2 - Cable Orientation Event
  • Thank you for your help! I managed to set the "Multifunction bit" and forced the Notebook to switch to Pin Assigment D. Also USB3 started to work ! 

    I logged the PD protocol with CY4500, the difference was really useful to see. Thank you.

    My questions are:

    - How to "finalize" the solution? I need a switcheable C / D mode, similar to some commercial docking stations

    - what is the purpose of the 2lane / 4 lane physical switch on the board ? I found no difference between the settings.

    Thank you again!

    Andras

  • MiniDock_Project_TPS65996_2_Configuration_mine2.pjtminidockTIDA01234_Program_Guide.pdfHi Andras,  could you try the project file attached?  You can re-flash the the SPI ROM on TIDA-01234 instead of live register update using this project file configuration.  

    Please ensure binary image TPS65981_2_6+v0001_12_08.bin is loaded prior to programming the board.

    I have put together a quick programming guide as attached for your reference.  

  • Thank you. Does the new firmware support both C and D pin assignments, according to the switch on the board ? Or is it a permanent D mode ?

  • Hi Andras, sorry I forgot to mention the switch functionality. With the project file that I have provided you the switch would switch the mode between 2-lane and 4-lane operation.
    1. 2-lane/4-lane switch LOW position = Dock advertises both pin assignment C and D with multi-function preferred bit OFF. So 4-lane preferred if the DFP_D supports 4-lane(configures the Dock as 4-lane)
    2. 2-lane/4-lane switch HIGH position = Dock advertises both pin assignment C and D with multi-function preferred bit ON. So 2-lane preferred if thd DFP_D supports 2-lane.(configures the Dock as 2-lane)

    If this answers your question, PLEASE select This resolved my issue

  • Thank you, the switch works fine for 2lane/4lane modes