<?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: Bare Metal USB Stack - USB_Class_Audio_Send_Data not ready in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bare-Metal-USB-Stack-USB-Class-Audio-Send-Data-not-ready/m-p/377284#M19932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;For the Audio send/receive, there are two conditions needs before they can be called.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;ISO transfer has an interval parameter, so APP needs to make sure the internal between two send/receive is called match the ISO transfer interval&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;The second call needs to wait the previous call is done, that’s&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica','sans-serif'; color: #3d3d3d; background: yellow;"&gt;USB_DEV_EVENT_SEND_COMPLETE.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 02:12:56 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2014-09-24T02:12:56Z</dc:date>
    <item>
      <title>Bare Metal USB Stack - USB_Class_Audio_Send_Data not ready</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bare-Metal-USB-Stack-USB-Class-Audio-Send-Data-not-ready/m-p/377281#M19929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m implementing a KL25 USB device based on the following example:&lt;/P&gt;&lt;P&gt;Freescale_BM_USB_Stack_v5.0\Src\example\device\audio\generator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example waits for enumeration, then calls USB_Class_Audio_Send_Data() in a loop.&amp;nbsp; This appears to work fine unless the stack is not ready for the next packet (this depends on the host latency).&amp;nbsp; I cannot find a callback or a method to poll that tells me it is safe to call USB_Class_Audio_Send_Data().&amp;nbsp; I think I can poll the OWN bit in the BDT, is there an easier way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 21:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bare-Metal-USB-Stack-USB-Class-Audio-Send-Data-not-ready/m-p/377281#M19929</guid>
      <dc:creator>deek</dc:creator>
      <dc:date>2014-09-17T21:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal USB Stack - USB_Class_Audio_Send_Data not ready</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bare-Metal-USB-Stack-USB-Class-Audio-Send-Data-not-ready/m-p/377282#M19930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry, but I dont understand "This appears to work fine unless the stack is not ready for the next packet (this depends on the host latency). " would you please explain your concern in details? Thanks for your patience!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 06:41:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bare-Metal-USB-Stack-USB-Class-Audio-Send-Data-not-ready/m-p/377282#M19930</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2014-09-18T06:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal USB Stack - USB_Class_Audio_Send_Data not ready</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bare-Metal-USB-Stack-USB-Class-Audio-Send-Data-not-ready/m-p/377283#M19931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; My question is the proper usage of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;USB_Class_Audio_Send_Data().&amp;nbsp; Does this call block until the data is sent, or do I need to wait for a notification that I can send more data?&amp;nbsp; If I need to wait for a notification, is that USB_DEV_EVENT_SEND_COMPLETE or something else? The USB_Stack_Device_Reference_Manual.pdf is not clear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 18:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bare-Metal-USB-Stack-USB-Class-Audio-Send-Data-not-ready/m-p/377283#M19931</guid>
      <dc:creator>deek</dc:creator>
      <dc:date>2014-09-19T18:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal USB Stack - USB_Class_Audio_Send_Data not ready</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bare-Metal-USB-Stack-USB-Class-Audio-Send-Data-not-ready/m-p/377284#M19932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;For the Audio send/receive, there are two conditions needs before they can be called.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;ISO transfer has an interval parameter, so APP needs to make sure the internal between two send/receive is called match the ISO transfer interval&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;The second call needs to wait the previous call is done, that’s&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica','sans-serif'; color: #3d3d3d; background: yellow;"&gt;USB_DEV_EVENT_SEND_COMPLETE.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 02:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Bare-Metal-USB-Stack-USB-Class-Audio-Send-Data-not-ready/m-p/377284#M19932</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2014-09-24T02:12:56Z</dc:date>
    </item>
  </channel>
</rss>

