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.

Microcontroller with TUSB8040A1 and daisy chain

Other Parts Discussed in Thread: TUSB8040A1, TUSB7340

 I am analysing TUSB8040A1 USB 3.0 Four Port Hub and TUSB7340-SuperSpeed USB 4�Port xHCI Host Controller for connecting it to my microcontroller providing maximum data at256Mbps. As per there specifications both can support upto 4 devices/hub and connects to PC.

DO we need any specific software on the pc for the host controller to run it?

Do we need any specific USB3.0 device controller as the other end of the hub or can we connect directly with microcontroller via SPI bus or GPIO ports etc? Can they be linked as host-hub-device?

Even if the hubs are powered, cant i connect 50 microcontrollers in a daisy chain.

  • Hello,
    The TUSB7340 requires a driver for Win XP/Vista/7, you can download it here www.ti.com/.../sllc423
    Windows 8 has its own driver for xHCI as well as Linux.

    The TUSB8040A1 does not require any particular driver from TI, any operating system with USB support will support it.
    I don't understand your question about "Do we need any specific USB3.0 device controller as the other end of the hub or can we connect directly with microcontroller via SPI bus or GPIO ports etc?"
    Can you elaborate more on your implementation?

    The USB spec allows for a maximum of 5 tiers of hub, so theoretically yes, you can connect 50 USB devices.

    Regards
  • I need to build a star tiered architecture for the 50 microcontrollers I have.These microcontrollers will be the device as per USB3.0 protocol. Starting with TUSB7340 as host and using TUSB8040A1 as hubs in the architecture. Can i connect these microcontrollers directly to hub via SPI or GPIO ports?

    Thanks and Regards

  • Hello,

    No, the TUSB8040A1 has I2C/SMBUS interface for internal configuration. You will need to connect the microcontrollers via USB.
    Regards
  • SO based on your replies if I need to build a system oF USB3.0 . Then the host controller TUSB7340 connects to TUSB8040A1 which in turn connects to 2 more layers of TUSB8040A1 builduing a star tiered structure and finally connecting to USB 3.0 device ie TUSB7340 which connects to microcontroller
  • As TUSB7340 can act as host/ device controller
  • Hello Adeel,


    The TUSB73x0 is a host controller only.  A separate device will be needed to interface between USB and the microcontoller's SPI / GPIO interface.

    Also, please be aware that USB is a master-slave bus, not peer to peer, so all data transfers must be initiated by the host.

    Thanks,

    JMMN

  • Hello JMMN
    I would be needing a driver for host which is part of the TUSB7340 but can that driver be tailored as per my requirement. Secondly, as I dont see a USB3.0 Device controller in TI catalog so I plan to use Cypress EZ-USB FX3 controller for that purpose. Can you suggest any or any other which can be integrated with TUSB8040A1
    Thanks
  • Hi Adeel,

    The host driver will allow the host computer to load the USB hubs and the USB devices, but to access them you will need to create a separate application that runs on the host computer. TI does not have a generic USB 3.0 to SPI/GPIO interface.

    Regards,
    JMMN
  • Hello JMMN

    Thanks for your reply. If our PC is USB3.0 Capable then do we need a seperate host? USB hub and device must be sufficient in that case.

    Thanks and Regards

    Adeel Mahmood 

  • Hello Adeel,


    If the PC is already USB 3.0 capable, then a separate host controller is not needed to connect hubs and devices.

    Regards,

    JMMN