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.

Can MUSB work as Hub on DM365?

As we we know MUSB can be Host or Device. I can define gadget device (gadget storage or gadget video) on DM365 and connect to PC.

The question is, can I define two or more gadget devices and Hub in DM365 and connect it to PC?

Have I to use additional USD Device and USB Hub chips?

  • Hi,

    Yes, it does support multi-point setup. See 1st paragraph section 3 of the user's manual.

    Remeber that OTG controllers support mini-host capabilities and resources are limited.

    Best regards, Zegeye

  • Zegeye Alemu said:

    Yes, it does support multi-point setup. See 1st paragraph section 3 of the user's manual.

    Thank you.

    I found only sentence "Or the controller can be used as the host to a range of such peripheral devices in a multi-point setup." And nothing more about this feature. Can you please tell me, where is is described, how it is configured, do drivers support this mode?

  • Hi,

    Pretty much the additional information we have on this is on the HUB related registers. The HUB is enumerated in a similar manner as a device is. From the standard USB HUB operation/protocol knowledge perspective, the registers definition should be good enough to get you going. That is what other customers have been using.

    Yes, the driver has the support for this capability. If have more question on the driver side, need to post another post on the driver forum. This forum is mostly for the h/w part.

    Best regards, Zegeye

  • Constantine,

    DM365 has only one usb port.  This would restrict it from being host and device at the same time.  It can either be a host or device. 

    In the given use case I get to understand that you want to connect 2 or more usb devices to DM365 and then DM365 has to connect to PC as a device.  This would need 2 usb ports on DM365 - one usb port in host mode to connect to hub + 2 usb devices, second usb port to connect to PC (were DM365 acts as a usb device).  Basically you are trying to use DM365 as a usb bridge between the usb devices and pc.

    Unfortunately the above configuration cannot be supported on DM365.

    DM365 can either act as a host OR device.  If you want to support more usb devices (with DM365 as Host) try enabling "Interrupt endpoint reservation/scheduling" feature in the kernel.

    regards

    swami

  • swami,

    if i use the dm365 usb port as a device connected to a host pc. can i emulate two different devices (say, disk-on-key and keyboard) internally in the dm365 and use different endpoints for each to communicate with the host? this will practically show up to the host pc as if two devices are connected behind a hub. is this implementable?

    regards, zuri

  • zuri,

    Yes you can emulate a composite MSC+Keyboard device over DM365 usb port towards PC.

    regards

    swami