<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic OM13092/Keyboard2mouse : how can I force USB1 device ctrl to be FS ? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-Keyboard2mouse-how-can-I-force-USB1-device-ctrl-to-be-FS/m-p/817787#M32743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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 :&lt;/P&gt;&lt;P&gt;#define USB_DEVICE_CONFIG_LPCIP3511FS (0U)&lt;BR /&gt;#define USB_DEVICE_CONFIG_LPCIP3511HS (1U)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define USB_DEVICE_CONFIG_LPCIP3511FS (1U)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define USB_DEVICE_CONFIG_LPCIP3511HS (0U)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then you get the following compile error from app.c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#error "Cannot enable HS/FS's host and device at the same time"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I force the controller to operate at FS instead of HS ? The application (app.c) does configure the device to FS in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;USB_DeviceApplicationInit():&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; app_g_UsbDeviceHidMouse.speed = USB_SPEED_FULL;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2018 17:22:25 GMT</pubDate>
    <dc:creator>belmontbob59</dc:creator>
    <dc:date>2018-08-03T17:22:25Z</dc:date>
    <item>
      <title>OM13092/Keyboard2mouse : how can I force USB1 device ctrl to be FS ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-Keyboard2mouse-how-can-I-force-USB1-device-ctrl-to-be-FS/m-p/817787#M32743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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 :&lt;/P&gt;&lt;P&gt;#define USB_DEVICE_CONFIG_LPCIP3511FS (0U)&lt;BR /&gt;#define USB_DEVICE_CONFIG_LPCIP3511HS (1U)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define USB_DEVICE_CONFIG_LPCIP3511FS (1U)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define USB_DEVICE_CONFIG_LPCIP3511HS (0U)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then you get the following compile error from app.c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#error "Cannot enable HS/FS's host and device at the same time"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I force the controller to operate at FS instead of HS ? The application (app.c) does configure the device to FS in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;USB_DeviceApplicationInit():&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; app_g_UsbDeviceHidMouse.speed = USB_SPEED_FULL;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 17:22:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-Keyboard2mouse-how-can-I-force-USB1-device-ctrl-to-be-FS/m-p/817787#M32743</guid>
      <dc:creator>belmontbob59</dc:creator>
      <dc:date>2018-08-03T17:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: OM13092/Keyboard2mouse : how can I force USB1 device ctrl to be FS ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-Keyboard2mouse-how-can-I-force-USB1-device-ctrl-to-be-FS/m-p/817788#M32744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot force USB port 1 to be a full speed only port (and conversely cannot force port 0 to be high speed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brendon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 23:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/OM13092-Keyboard2mouse-how-can-I-force-USB1-device-ctrl-to-be-FS/m-p/817788#M32744</guid>
      <dc:creator>brendonslade</dc:creator>
      <dc:date>2018-08-09T23:59:53Z</dc:date>
    </item>
  </channel>
</rss>

