<?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 Re: LPC1343 - USB HID ROM Keyboard implementation in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-USB-HID-ROM-Keyboard-implementation/m-p/566156#M18312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mark_t3 on Sun May 15 11:40:33 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read Chap 10, and looking at table 184 it indicates that most of the fields are hardcoded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would have expected some sort of structure pointer assigment for replacing sub sections of the HID descriptor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:42:53 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:42:53Z</dc:date>
    <item>
      <title>LPC1343 - USB HID ROM Keyboard implementation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-USB-HID-ROM-Keyboard-implementation/m-p/566154#M18310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mark_t3 on Sun May 15 09:12:51 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2]Hi all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to use the LPC1343 USB Rom driver to implement a simple Keyboard HID device. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Going through the usbhidrom example and documentation I can't seem to determine how to modify the Interface descriptor.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's defined in usb.h but I can't seem to find anywhere in the example code where it is created. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to assume that it is either hardcoded by the USBrom and/or it exists within the USBrom reserved ram space. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][FONT=Courier New][SIZE=2][COLOR=#3f7f5f][FONT=Courier New][SIZE=2][COLOR=#3f7f5f][FONT=Courier New][SIZE=2][COLOR=#3f7f5f] &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/* USB Standard Interface Descriptor */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][B][FONT=Courier New][SIZE=2][COLOR=#7f0055][FONT=Courier New][SIZE=2][COLOR=#7f0055][FONT=Courier New][SIZE=2][COLOR=#7f0055]typedef[/B][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] PACKED_PRE [/SIZE][/FONT][/SIZE][/FONT][B][FONT=Courier New][SIZE=2][COLOR=#7f0055][FONT=Courier New][SIZE=2][COLOR=#7f0055][FONT=Courier New][SIZE=2][COLOR=#7f0055]struct[/B][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] _USB_INTERFACE_DESCRIPTOR {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]uint8_t[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]bLength[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]uint8_t[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]bDescriptorType[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]uint8_t[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]bInterfaceNumber[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]uint8_t[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]bAlternateSetting[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]uint8_t[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]bNumEndpoints[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]uint8_t[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]bInterfaceClass[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]uint8_t[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]bInterfaceSubClass[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]uint8_t[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]bInterfaceProtocol[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]uint8_t[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]iInterface[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} PACKED_POST [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032][FONT=Courier New][SIZE=2][COLOR=#005032]USB_INTERFACE_DESCRIPTOR[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2];[/SIZE][/FONT][/SIZE][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][/SIZE][/FONT][SIZE=2]The problem is that I need to set the [/SIZE][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]bInterfaceProtocol[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0] to keyboard(1). [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0] &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][SIZE=2]Also I can't seem to get the Forums search to work, so Im running a bit blind. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found some example of Keyboard code fragment on the forum but they are based on a different example code base I don't have. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark Thompson &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-USB-HID-ROM-Keyboard-implementation/m-p/566154#M18310</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 - USB HID ROM Keyboard implementation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-USB-HID-ROM-Keyboard-implementation/m-p/566155#M18311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jharwood on Sun May 15 11:28:01 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mark_t3&lt;/STRONG&gt;&lt;BR /&gt;[SIZE=2][/SIZE][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0][FONT=Courier New][SIZE=2][COLOR=#0000c0]&lt;BR /&gt;[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][SIZE=2]Also I can't seem to get the Forums search to work, so Im running a bit blind. &lt;BR /&gt; &lt;BR /&gt;[/SIZE]&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The forum search function is limited to using key words larger than three characters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try using google to search the forum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;site:knowledgebase.nxp.com hid rom&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you looked at Chapter 10 of the user manual - UM10375&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-USB-HID-ROM-Keyboard-implementation/m-p/566155#M18311</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 - USB HID ROM Keyboard implementation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-USB-HID-ROM-Keyboard-implementation/m-p/566156#M18312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mark_t3 on Sun May 15 11:40:33 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read Chap 10, and looking at table 184 it indicates that most of the fields are hardcoded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would have expected some sort of structure pointer assigment for replacing sub sections of the HID descriptor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:42:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-USB-HID-ROM-Keyboard-implementation/m-p/566156#M18312</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 - USB HID ROM Keyboard implementation</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-USB-HID-ROM-Keyboard-implementation/m-p/566157#M18313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ktownsend on Sun May 15 13:14:48 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mark_t3&lt;/STRONG&gt;&lt;BR /&gt;I have read Chap 10, and looking at table 184 it indicates that most of the fields are hardcoded. &lt;BR /&gt;I would have expected some sort of structure pointer assigment for replacing sub sections of the HID descriptor.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Thanks&lt;BR /&gt;Mark&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;While I love the 1343 and the ROM-based USB, there are definate limitations to it.&amp;nbsp; With HID you're limited to a single in and out report, for example, and if you need a bit more flexbility you may end up having to use a full USB stack (NXP also provides examples based on the Keil stack).&amp;nbsp; The ROM-based USB HID is great for simple I/O like sending and receiving bytes and chunks of data, but there are situations where it's more appropriate to do it yourself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:42:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-USB-HID-ROM-Keyboard-implementation/m-p/566157#M18313</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:42:54Z</dc:date>
    </item>
  </channel>
</rss>

