<?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: LPC55S69 usb host audio speaker demo support sampe rate set or not? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1681427#M53325</link>
    <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206855"&gt;@qingyunliu&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Could you please have a look to &lt;A href="https://www.usb.org/document-library/audio-device-class-spec-basic-audio-devices-v10-and-adopters-agreement" target="_self"&gt;Audio 1.0&lt;/A&gt; and &lt;A href="https://www.usb.org/document-library/audio-devices-rev-20-and-adopters-agreement" target="_self"&gt;Audio 2.0&lt;/A&gt; specifications? The Audio 1.0 spec mentions the usage of sampling frequency as 48000Hz as part of the USB Audio 1.0 specification which the example complies.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Nonetheless, could be useful to check the following implementations:&lt;/P&gt;
&lt;UL class="lia-align-justify" type="disc"&gt;
&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-Config-Tools/USB-Audio-Class-Tutorial/ta-p/1344785" target="_blank"&gt;USB Audio Class Tutorial - NXP Community&lt;/A&gt;, explains how to use ConfigTools to implement an Audio 1.0 class application example on the MIMXRT1060-EVK board,&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4665.pdf?_gl=1*8zdmmg*_ga*MTY5OTIwMjIyMC4xNjg4MTU4ODIw*_ga_WM5LE0KMSH*MTY4ODQ4NzA5MC4zLjEuMTY4ODQ4NzI5NC4wLjAuMA.." target="_blank"&gt;Using Freescale USB stack to implement Audio class device&lt;/A&gt;, is an application note based on the audio_speaker demo provided with the USB stack; the descriptors are defined in usb_descriptor.c and comply with the USB Audio Device Class Specification 2.0.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 18:37:42 GMT</pubDate>
    <dc:creator>RaRo</dc:creator>
    <dc:date>2023-07-04T18:37:42Z</dc:date>
    <item>
      <title>LPC55S69 usb host audio speaker demo support sampe rate set or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1677042#M53258</link>
      <description>&lt;P&gt;1. can user change USB host&amp;nbsp;audio&amp;nbsp;samplerate? eg. change to 44100Hz or 48000Hz, should I change which&amp;nbsp;file in SDK?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I test&amp;nbsp;LPC55S69 usb host audio speaker demo with a 48k_16bite_2ch usb device. why API audio_recorderIncallback param3 datalen is &lt;FONT color="#FF0000"&gt;176? same like 44.1*2*2=176???&amp;nbsp;&lt;/FONT&gt; It should be 192?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 13:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1677042#M53258</guid>
      <dc:creator>qingyunliu</dc:creator>
      <dc:date>2023-06-27T13:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 usb host audio speaker demo support sampe rate set or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1677553#M53267</link>
      <description>&lt;P&gt;Can anyone support me this question?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 06:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1677553#M53267</guid>
      <dc:creator>qingyunliu</dc:creator>
      <dc:date>2023-06-28T06:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 usb host audio speaker demo support sampe rate set or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1681427#M53325</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206855"&gt;@qingyunliu&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Could you please have a look to &lt;A href="https://www.usb.org/document-library/audio-device-class-spec-basic-audio-devices-v10-and-adopters-agreement" target="_self"&gt;Audio 1.0&lt;/A&gt; and &lt;A href="https://www.usb.org/document-library/audio-devices-rev-20-and-adopters-agreement" target="_self"&gt;Audio 2.0&lt;/A&gt; specifications? The Audio 1.0 spec mentions the usage of sampling frequency as 48000Hz as part of the USB Audio 1.0 specification which the example complies.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Nonetheless, could be useful to check the following implementations:&lt;/P&gt;
&lt;UL class="lia-align-justify" type="disc"&gt;
&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-Config-Tools/USB-Audio-Class-Tutorial/ta-p/1344785" target="_blank"&gt;USB Audio Class Tutorial - NXP Community&lt;/A&gt;, explains how to use ConfigTools to implement an Audio 1.0 class application example on the MIMXRT1060-EVK board,&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4665.pdf?_gl=1*8zdmmg*_ga*MTY5OTIwMjIyMC4xNjg4MTU4ODIw*_ga_WM5LE0KMSH*MTY4ODQ4NzA5MC4zLjEuMTY4ODQ4NzI5NC4wLjAuMA.." target="_blank"&gt;Using Freescale USB stack to implement Audio class device&lt;/A&gt;, is an application note based on the audio_speaker demo provided with the USB stack; the descriptors are defined in usb_descriptor.c and comply with the USB Audio Device Class Specification 2.0.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 18:37:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1681427#M53325</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-07-04T18:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 usb host audio speaker demo support sampe rate set or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1684442#M53403</link>
      <description>hi Raul,&lt;BR /&gt;thanks for your reply. 2 questions&lt;BR /&gt;1. if audio_recorderIncallback datelen is 176? means what?&lt;BR /&gt;2. if audio_recorderIncallback datelen is changed fast, eg, 176,176, 2340, 1316,....what may cause this err?</description>
      <pubDate>Mon, 10 Jul 2023 03:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1684442#M53403</guid>
      <dc:creator>qingyunliu</dc:creator>
      <dc:date>2023-07-10T03:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 usb host audio speaker demo support sampe rate set or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1686036#M53438</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206855"&gt;@qingyunliu&lt;/a&gt;,&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Just for double check, are you using the &lt;EM&gt;host_audio_recorder_freertos&lt;/EM&gt; example or are you doing modifications of the examples? We could not find the Audio_RecorderInCallback function in &lt;EM&gt;host_audio_speaker_freertos &lt;/EM&gt;example.&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Also, could you please tell us how are you obtaining/reading the value of data length (datalen) in the mentioned function?&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 21:14:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1686036#M53438</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-07-11T21:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 usb host audio speaker demo support sampe rate set or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1688213#M53486</link>
      <description>HI RAUL,&lt;BR /&gt;&lt;BR /&gt;I know the reason, just like I mentioned, 176 or 192 is determined by usb device, I tested two devices, for 44.1KHZ 16BITS, length is 176. 48KHz 16bits is192.</description>
      <pubDate>Fri, 14 Jul 2023 07:44:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1688213#M53486</guid>
      <dc:creator>qingyunliu</dc:creator>
      <dc:date>2023-07-14T07:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 usb host audio speaker demo support sampe rate set or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1689657#M53510</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206855"&gt;@qingyunliu&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;We are glad you found an explanation for question 1. As you mentioned, the dataLen is determined by the device you are connecting.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;About question 2, it depends how are you reading the variable dataLen. If you read it in &lt;EM&gt;Global Variables&lt;/EM&gt; while debugging the value changes. Meanwhile, if you read it in the &lt;EM&gt;Serial Console&lt;/EM&gt;, you might notice that the variable is not changing. This happens because to see the &lt;EM&gt;Global Variables&lt;/EM&gt; you need to stop the program producing these changes in values in the variable, but if you let the program to run freely the value of dataLen is the same value.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 18:17:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-usb-host-audio-speaker-demo-support-sampe-rate-set-or/m-p/1689657#M53510</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-07-20T18:17:55Z</dc:date>
    </item>
  </channel>
</rss>

