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

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

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

676 Views
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;

Labels (2)
0 Kudos
1 Reply

402 Views
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 Kudos