<?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: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1414550#M62437</link>
    <description>&lt;P&gt;Do you know of a compatible reprogramable keyboard encoder IC that is compatible with the K22 sample driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still having trouble getting programmable macro keypads to work with these driver examples.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there additional support that i could get through NXP?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 15:26:42 GMT</pubDate>
    <dc:creator>stevenlutz</dc:creator>
    <dc:date>2022-02-16T15:26:42Z</dc:date>
    <item>
      <title>eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1394052#M62167</link>
      <description>&lt;P&gt;I am running the frdmk22f_host_hid_mouse_keyboard_bm demo and when I plug in a macro keyboard, the demo immediately echo's "device not supported", regular keyboards are ok but I need macro keypads to be supported too.&lt;BR /&gt;&lt;BR /&gt;I have looked through the code and see that there is a variable called eventCode which is set to 3 when a device is supported and set to 4 when it is not.&lt;BR /&gt;&lt;BR /&gt;Where is the eventCode Variable set? It seems I need to modify some things to support this macro keypad. Any advice would be helpful&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 07:50:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1394052#M62167</guid>
      <dc:creator>stevenlutz</dc:creator>
      <dc:date>2022-01-04T07:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1395400#M62191</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/154597"&gt;@stevenlutz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;When USB device attached, USB stack will check device's class. Please see in host_keyboard.c.&amp;nbsp;USB_HostHidKeyboardEvent() will check CLASS, SUBCLASS and protocol. If number is not equal, it will return&amp;nbsp;kStatus_USB_NotSupported.&lt;/P&gt;
&lt;P&gt;You can modify the code here to fit your keyboard.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 07:13:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1395400#M62191</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-01-06T07:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1395911#M62201</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;But I can't seem to find where the allowed Class codes and allowed subclass codes are defined&lt;BR /&gt;Can you supply additional details?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to use a device with the following:&lt;BR /&gt;ClassID: 0x3&lt;BR /&gt;SubClassID: 0x0&lt;BR /&gt;Protocol: 0x0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 04:59:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1395911#M62201</guid>
      <dc:creator>stevenlutz</dc:creator>
      <dc:date>2022-01-07T04:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1396941#M62215</link>
      <description>&lt;P&gt;By making the change to allow this keyboard to be viewed an accepted type, when I press keys, nothing insprinted. it must be using a different protocol.&amp;nbsp;&lt;BR /&gt;I have been looking for USB documentation reagrding the various protocol options. Do you know where I can find it?&lt;BR /&gt;&lt;BR /&gt;Also, where in this example does it parse the data coming from the keyboard?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 00:16:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1396941#M62215</guid>
      <dc:creator>stevenlutz</dc:creator>
      <dc:date>2022-01-11T00:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1397245#M62216</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/154597"&gt;@stevenlutz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can search in usb.org, for example&amp;nbsp;&lt;A href="https://www.usb.org/sites/default/files/hid1_11.pdf" target="_blank"&gt;https://www.usb.org/sites/default/files/hid1_11.pdf&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The usb stack will not parse the device descriptor. Descriptor is parsed by host_keyboard.c via a callback mechanism. You can put a breakpoint at here to see what happen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;jing&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 08:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1397245#M62216</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-01-11T08:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1397753#M62225</link>
      <description>&lt;P&gt;I have previously seen that document but it doesn't seem out give the details of the protocol options.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 03:07:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1397753#M62225</guid>
      <dc:creator>stevenlutz</dc:creator>
      <dc:date>2022-01-12T03:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1414550#M62437</link>
      <description>&lt;P&gt;Do you know of a compatible reprogramable keyboard encoder IC that is compatible with the K22 sample driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still having trouble getting programmable macro keypads to work with these driver examples.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there additional support that i could get through NXP?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 15:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1414550#M62437</guid>
      <dc:creator>stevenlutz</dc:creator>
      <dc:date>2022-02-16T15:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1414939#M62444</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/154597"&gt;@stevenlutz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;1. No, I don't know.&lt;/P&gt;
&lt;P&gt;2. NXP has professional support.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/support/support/nxp-engineering-services/professional-support-for-processors-and-microcontrollers:PREMIUM-SUPPORT" target="_blank"&gt;https://www.nxp.com/support/support/nxp-engineering-services/professional-support-for-processors-and-microcontrollers:PREMIUM-SUPPORT&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 03:21:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1414939#M62444</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-02-17T03:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1415323#M62450</link>
      <description>&lt;P&gt;You might find porting TinyUSB easier than digging through the morass of NXP USB code.&lt;BR /&gt;It comes with example for the KL25.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.tinyusb.org" target="_blank"&gt;https://www.tinyusb.org&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Investing in Jan's "USB Complete" book would be wise.&lt;BR /&gt;Get the 5th edition.&lt;BR /&gt;It explains the whole USB process (and makes you wonder what insane person through it was the way to do it back when Intel came up with it)..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://janaxelson.com/usbc.htm" target="_blank"&gt;http://janaxelson.com/usbc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 13:10:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1415323#M62450</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2022-02-17T13:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1415771#M62464</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/154597"&gt;@stevenlutz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We haven't documents about other protocol.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you modify the CLASS and SUBCLASS to the keyboard's value, can you receive any data from keyboard?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 05:43:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1415771#M62464</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-02-18T05:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: eventCode 4 Device Not Supported in FRDM-K22 Keyboard Demo</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1416180#M62475</link>
      <description>&lt;P&gt;I hope this book is the key to understanding the madness! Ordering now.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'll take a look at TinyUSB however I do need to use the K22 as it has CANBUS support as well.&amp;nbsp;&lt;BR /&gt;I'm climbing a bit of a mountain here.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I really appreciate you chiming in and please, if there is anything else that I think will help, please send it my way.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 20:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eventCode-4-Device-Not-Supported-in-FRDM-K22-Keyboard-Demo/m-p/1416180#M62475</guid>
      <dc:creator>stevenlutz</dc:creator>
      <dc:date>2022-02-18T20:18:14Z</dc:date>
    </item>
  </channel>
</rss>

