<?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: USB timeout KDS in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/USB-timeout-KDS/m-p/494768#M6052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rimi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USB Host examples are waiting for any device to be connected, usually, these events are managed by signaling OSA's events (OSA_EventWait, OSA_EventSet), so, in this case, if you are getting a timeout error, then, the proper event is not being signalled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which event are you waiting for? Where this OSA_EventWait function is called?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2016 15:32:10 GMT</pubDate>
    <dc:creator>isaacavila</dc:creator>
    <dc:date>2016-05-09T15:32:10Z</dc:date>
    <item>
      <title>USB timeout KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/USB-timeout-KDS/m-p/494767#M6051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created a project for usb hid host For K66 Using K65 example ,but i have used processor expert and configured the&amp;nbsp; CPU external crystal is of 10 Mhz , PLL output is 120 (Mhz) as shown below image. I have only configured the CPU by PEX&lt;span class="lia-inline-image-display-wrapper" image-alt="148470_148470.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121526i88A236A0EB758ECA/image-size/large?v=v2&amp;amp;px=999" role="button" title="148470_148470.PNG" alt="148470_148470.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="img1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57073i952A772C56FB6233/image-size/large?v=v2&amp;amp;px=999" role="button" title="img1.PNG" alt="img1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rest of the code is from K65 example( path: &lt;STRONG&gt;\KSDK_1.3.0\examples\twrk65f180m\demo_apps\usb\host\hid\keyboard&lt;/STRONG&gt;) .&lt;/P&gt;&lt;P&gt;Given below is my main function. App_init() is working ok &lt;span class="lia-inline-image-display-wrapper" image-alt="148471_148471.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121527iC4B20628C05CC8A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="148471_148471.PNG" alt="148471_148471.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="img2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57082i0BE6B3A75E737961/image-size/large?v=v2&amp;amp;px=999" role="button" title="img2.PNG" alt="img2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Timeout is always occuringin the function given below( timeout value is 0 which is being passed ), this fuction is called by APP_task.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="148474_148474.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121528iDF97E094140CE7AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="148474_148474.PNG" alt="148474_148474.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture6.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57147i981C517F62FF52DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture6.PNG" alt="Capture6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt; if ((((!waitAll) &amp;amp;&amp;amp; (*setFlags))) || (*setFlags == flagsToWait)) &lt;/STRONG&gt;will never go true. what can be the reason for this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 10:14:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/USB-timeout-KDS/m-p/494767#M6051</guid>
      <dc:creator>rimidhanjal</dc:creator>
      <dc:date>2016-05-03T10:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: USB timeout KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/USB-timeout-KDS/m-p/494768#M6052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rimi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USB Host examples are waiting for any device to be connected, usually, these events are managed by signaling OSA's events (OSA_EventWait, OSA_EventSet), so, in this case, if you are getting a timeout error, then, the proper event is not being signalled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which event are you waiting for? Where this OSA_EventWait function is called?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac Avila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 15:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/USB-timeout-KDS/m-p/494768#M6052</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-05-09T15:32:10Z</dc:date>
    </item>
  </channel>
</rss>

