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,065件の閲覧回数
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 返信

791件の閲覧回数
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 件の賞賛
返信