Connect more than one USB device to imxrt1170 evk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connect more than one USB device to imxrt1170 evk

1,062 Views
emilianocarnati
Contributor II

Hello,

I'm using the MIMXRT1170-EVK with sdk 2.9.2.

I'm using it as USB Host and I'd like to connect more than one devices at the same time. So far, without success.

Even if I try the simple example described in "MCUXpresso SDK USB Stack Composite Host User's Guide.pdf", the system works fine with the first device I connect but when I connect the second one I get an error in the "setup interface" stage. 

Is there any known limitation?

Regards

Emiliano

0 Kudos
5 Replies

1,048 Views
emilianocarnati
Contributor II

The first one, I want to connect more than one device to a single usb host.

 

0 Kudos

1,036 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @emilianocarnati,

If this is the case I will suggest to check the evkmimxrt1170_host_hid_mouse_keyboard example found in the SDK, this example support:

  • The single mouse device or the single keyboard device.
  • The composite device that contains one mouse and one keyboard.
  • HUBs connected with one mouse device and one keyboard device.

Let me know if this helps you.

Best Regards,

Alexis Andalon

0 Kudos

1,027 Views
emilianocarnati
Contributor II

Thanks,

but actually this is the only case that works: two HID devices with a "low" data rate. I'm able to connect also two mice at the same time.

At this point I'd like to know, if possible, if there are some limits in how many devices can be connected and used at the same time and if this limits are somehow related to the usb_host_config.h. The documentation is very poor on this aspects.

Regards

Emiliano

0 Kudos

1,050 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @emilianocarnati,

You want to connect more than one USB device to a single USB host or you want to use both USB interfaces?

The composite examples show how a single device can be enumerated as more than one class, for example, two CDCs or an HID an CDC.

Best Regards,

Alexis Andalon

0 Kudos

1,046 Views
emilianocarnati
Contributor II

The first one, I want to connect more than one device to a single usb host.

0 Kudos