<?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>LPC Microcontrollers中的主题 I2S DAC output clock setting</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779598#M31363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when I feed the I2S with PCM data, I found the audio speed is much more faster than it should be, but after I modified the board init frequency, it goes slower, I tried from 180MHz to 48MHz(the function I used is BOARD_BootClockFROHF48M/96M, BOARD_BootClockPLL180M();). So, what's the right way to configure the I2S clock?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2018 04:59:53 GMT</pubDate>
    <dc:creator>ruiwangm</dc:creator>
    <dc:date>2018-02-02T04:59:53Z</dc:date>
    <item>
      <title>I2S DAC output clock setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779598#M31363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when I feed the I2S with PCM data, I found the audio speed is much more faster than it should be, but after I modified the board init frequency, it goes slower, I tried from 180MHz to 48MHz(the function I used is BOARD_BootClockFROHF48M/96M, BOARD_BootClockPLL180M();). So, what's the right way to configure the I2S clock?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 04:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779598#M31363</guid>
      <dc:creator>ruiwangm</dc:creator>
      <dc:date>2018-02-02T04:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: I2S DAC output clock setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779599#M31364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="312644" data-username="ruiwangm" href="https://community.nxp.com/people/ruiwangm"&gt;rui wang&lt;/A&gt;,&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'Microsoft YaHei', STXihei; background-color: #ffffff;"&gt;Before answer your question, I was wondering if you can tell which chip and what demo code you use.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Have a great day,&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIC&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, 07 Feb 2018 02:49:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779599#M31364</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-02-07T02:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: I2S DAC output clock setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779600#M31365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I used the i2s_interrupt_transfer demo, but modified some of the code and combined lwip, libmad mp3 decode, emwin and mbedtls.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rui.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 15:07:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779600#M31365</guid>
      <dc:creator>ruiwangm</dc:creator>
      <dc:date>2018-02-08T15:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: I2S DAC output clock setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779601#M31366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="312644" data-username="ruiwangm" href="https://community.nxp.com/people/ruiwangm"&gt;rui wang&lt;/A&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I was wondering if you can describe the steps of replicating the phenomenon and illustrate the sampled output wave,&lt;/P&gt;&lt;P&gt;it will help me to work it out.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Fri, 09 Feb 2018 03:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779601#M31366</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-02-09T03:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: I2S DAC output clock setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779602#M31367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late response, I reused the&amp;nbsp;i2s_interrupt_transfer demo from the SDK, and did some modifications.&lt;/P&gt;&lt;P&gt;1, init the i2s device as the demo.&lt;/P&gt;&lt;P&gt;2, use another thread to push the pcm raw data to the i2s peripherial like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void audio_data_push(uint8_t* buff, uint32_t len)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; status_t stat = kStatus_Fail;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;s_TxTransfer.data = buff;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;s_TxTransfer.dataSize = len;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(stat == kStatus_Fail){&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;stat = I2S_TxTransferNonBlocking(DEMO_I2S_TX, &amp;amp;s_TxHandle, s_TxTransfer);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(stat == kStatus_Fail){&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vTaskDelay(0);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this works good, but after I modify the boot clock, the audio will play abnormally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOARD_BootClockFROHF48M();&amp;nbsp; &amp;nbsp; // too slow&lt;BR /&gt; BOARD_BootClockFROHF96M();&amp;nbsp;&amp;nbsp;&amp;nbsp;//normal&lt;BR /&gt;BOARD_BootClockPLL180M();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//too fast&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then what other parameters should I set if I modify the demo boot clock?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 06:24:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779602#M31367</guid>
      <dc:creator>ruiwangm</dc:creator>
      <dc:date>2018-02-23T06:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: I2S DAC output clock setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779603#M31368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="312644" data-username="ruiwangm" href="https://community.nxp.com/people/ruiwangm"&gt;rui wang&lt;/A&gt;&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Before answer your question, Whether you can tell me which chip and version of SDK you built.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;Have a great day,&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIC&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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>Sat, 24 Feb 2018 03:06:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779603#M31368</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-02-24T03:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: I2S DAC output clock setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779604#M31369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;the board &lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;LPCXpresso54608,&amp;nbsp;&lt;SPAN&gt;OM13092, applied from eeboard,&amp;nbsp;&lt;A class="link-titled" href="http://www.mouser.cn/new/nxp-semiconductors/nxp-lpcxpresso54608/" title="http://www.mouser.cn/new/nxp-semiconductors/nxp-lpcxpresso54608/"&gt;http://www.mouser.cn/new/nxp-semiconductors/nxp-lpcxpresso54608/&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;SPAN&gt;and the &lt;SPAN class="" style="background-color: #ffffff;"&gt;SDK Version:&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="background-color: #ffffff; font-weight: 600;"&gt;KSDK 2.3.0&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(2017-11-16)&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;SPAN&gt;I use MCUXpressoIDE_10.1.0_589 environment for the project.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 03:24:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779604#M31369</guid>
      <dc:creator>ruiwangm</dc:creator>
      <dc:date>2018-02-24T03:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: I2S DAC output clock setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779605#M31370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, you can see the project demonstration from eeboard:&amp;nbsp;&lt;A class="link-titled" href="http://www.eefocus.com/activity/mouser2017_contest/vote" title="http://www.eefocus.com/activity/mouser2017_contest/vote"&gt;2017贸泽电子智造创新大赛&lt;/A&gt;&amp;nbsp;, NO. 16, and give me a vote if you like~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 03:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779605#M31370</guid>
      <dc:creator>ruiwangm</dc:creator>
      <dc:date>2018-02-24T03:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: I2S DAC output clock setting</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779606#M31371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="312644" data-username="ruiwangm" href="https://community.nxp.com/people/ruiwangm"&gt;rui wang&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;In the SDK, the clock of I2S is from the audio_pll_clk which is configured in the CLOCK_SetupAudioPLLData(), however&lt;/P&gt;&lt;P&gt;the BOARD_BootClockFROHF48M/96M, BOARD_BootClockPLL180M() are used to configure the SystemCoreClock.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Tue, 27 Feb 2018 09:44:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-DAC-output-clock-setting/m-p/779606#M31371</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-02-27T09:44:26Z</dc:date>
    </item>
  </channel>
</rss>

