AnsweredAssumed Answered

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

Question asked by bob belmont on Aug 3, 2018
Latest reply on Aug 9, 2018 by Brendon Slade

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 :



to :



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;