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.

TUSB2136

Hi,

Wanted to ask is it possible to make device  lets call it 'usb communication tracker' with TUSB2136.

Working principles is:

2 devices comunicates over separate usb connections, and all information regarding this communication is sent to another port as data.

USB1<>------- communication ---- <> USB2

                                      |   data

                                     V

                                   USB3

Thanks in advance.

 

Dovydas.

 

  • Dovydas,

    Not sure I follow exactly what you are trying to show.

    Therefore, a few USB basics.  USB is a host centric bus - what that means is that all communication mMUSt go through a host (usually a PC).  Two devices can nor direclt write data to each other.  The first writes data to the host which in turn send it to the second device.

    Not sure if that is helpful or not, but the two devices connected to the two downstream ports of the 2136 must have a host PC on the upstream port to share data.

  • DHarmon, thank you for reply.

     

    Yes I know a bit how usb works, but in my situation I need to connect 3 devices.

     

    1 and 2 devices should communicate in normal usb comunication protocol e.g host - device.

     

    And 3 one should get all information what as sent from one device 1 to 2or from 2 to1 (its communication with all decoded code as data.) 

     

    or in another words I need a copy off comunication to be sent to another usb host. Lets say making internal mcu to decide how and where packets must be sent?

  • There is no way for the TUSB2136 to enable two hosts to communicate to each other even via the integrated 8052 MCU. 

    There are off-the-shelf modules that allow for host to host communcation.  However, I am not sure if they are capable of sniffing the flow on one side and sending only certain data to the other side.

    Are you looking for something like a bus analyzer - such as Total Phase, Ellisys, LeCroy, etc.  They do something like what you are describing, but I am not sure of how their insides work.

  • Hi,

     

    Yes I need to make something like you mentioned.

     

    Thank you for  your help. I have Idea to add  mcu host with usb port, and to let 2devices comunicate over it using  hub,

    Thanks for your answer it  really helped to save some time for reading.