MK66 usb_device_hid_generic sometimes fails when going through a usb hub

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

MK66 usb_device_hid_generic sometimes fails when going through a usb hub

677 Views
ryan_pearson
Contributor III

Hi,

 I have a project based on the usb_device_hid_generic example for an MK66. Using SDK_2.6.0_FRDM_K66F. When communicating with my device through a PC, I typically don't have an issue. When my device is connected via a USB hub, sometimes a HID communication will fail. This has happened with multiple hubs. Has anyone seen this issue and have any suggestions? Thank you

0 Kudos
Reply
1 Reply

654 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @ryan_pearson 

USB hubs have disadvantages and could be the cause of your issue.

Not enough power supplied to the MCU, add latency to the usb port in PC and could affect performance in data transfer speed.

I highly recommend you to connect the MCU directly to the pc instead of the hub or while debuging disconnect other unused devices on the hub.

Best Regards,Miguel.

 

0 Kudos
Reply