Connect more than one USB device to imxrt1170 evk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Connect more than one USB device to imxrt1170 evk

1,668 次查看
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 项奖励
回复
5 回复数

1,654 次查看
emilianocarnati
Contributor II

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

 

0 项奖励
回复

1,642 次查看
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 项奖励
回复

1,633 次查看
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 项奖励
回复

1,656 次查看
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 项奖励
回复

1,652 次查看
emilianocarnati
Contributor II

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

0 项奖励
回复