OM13092/Keyboard2mouse : how can I force USB1 device ctrl to be FS ?

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

OM13092/Keyboard2mouse : how can I force USB1 device ctrl to be FS ?

1,063 次查看
belmontbob59
Contributor IV

With default settings, the example configure the Host Controller (USB0) FS (can't be anything else by design) and the Device Controller (USB1) HS. If you want to "force" USB1 to run at FS by modifying the options (usb_device_config.h) from :

#define USB_DEVICE_CONFIG_LPCIP3511FS (0U)
#define USB_DEVICE_CONFIG_LPCIP3511HS (1U)

to :

#define USB_DEVICE_CONFIG_LPCIP3511FS (1U)
#define USB_DEVICE_CONFIG_LPCIP3511HS (0U)

Then you get the following compile error from app.c:

#error "Cannot enable HS/FS's host and device at the same time"

How can I force the controller to operate at FS instead of HS ? The application (app.c) does configure the device to FS in USB_DeviceApplicationInit():

app_g_UsbDeviceHidMouse.speed = USB_SPEED_FULL;

标签 (2)
0 项奖励
回复
1 回复

789 次查看
brendonslade
NXP TechSupport
NXP TechSupport

Hi Bob,

I removed my other postings because they were on the wrong track (trying to save others from following a false path). Apologies for misunderstanding what you were trying to do.

You cannot force USB port 1 to be a full speed only port (and conversely cannot force port 0 to be high speed).

Regards,

Brendon

0 项奖励
回复