<?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: Audio Out test for TWR-KL46z. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397859#M21997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, I see that you would like to decode MP3, which output two channels stream. As you know we have a Audio board, on which the SGTL500 codec is embedded. we have developed the code for the Audio board, pls refer to the code based on SDK1.2&lt;/P&gt;&lt;P&gt;D:\Freescale\KSDK_1.2.0\examples\twrk60d100m\demo_apps\sai_demo&lt;/P&gt;&lt;P&gt;This is the website of the Audio SGTL5000 board:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-AUDIO-SGTL&amp;amp;fsrch=1&amp;amp;sr=5&amp;amp;pageNum=1" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-AUDIO-SGTL&amp;amp;fsrch=1&amp;amp;sr=5&amp;amp;pageNum=1"&gt;SGTL5000 Codec Tower System Audio Module|Freescale&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 06:13:44 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2015-06-16T06:13:44Z</dc:date>
    <item>
      <title>Audio Out test for TWR-KL46z.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397856#M21994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to implement the test for TWR-KL46z board. My test will perform following tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Read compress data from the file.&lt;/P&gt;&lt;P&gt;2. Decode the compress data. I can handle this part and it is available with me.&lt;/P&gt;&lt;P&gt;3. Need to send decoded data to audio out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me to setup this test for the KL46 board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ajay- &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2015 06:28:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397856#M21994</guid>
      <dc:creator>ajaypatel</dc:creator>
      <dc:date>2015-06-13T06:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Out test for TWR-KL46z.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397857#M21995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you know that Freescale only provides the MCU, we do not provide the decoder code. For a decodering system, it consists of the 4 parts:&lt;/P&gt;&lt;P&gt;1)receive the compressed bit stream from the spdif, USB...,save the stream to a buffer.&lt;/P&gt;&lt;P&gt;2)analysis the data in the buffer, for example, get the head from&amp;nbsp; the compressed bit stream, get the protocol for example AC-3, DTS, MP3..., frame length, decode the compressed data and save the result to multiple buffer based on channels.&lt;/P&gt;&lt;P&gt;3)handle the data in different channels with EQ, scale..&lt;/P&gt;&lt;P&gt;4)write the data in buffer to codec via I2S.&lt;/P&gt;&lt;P&gt;we have the code to write the buffer to codec via I2S port.&lt;/P&gt;&lt;P&gt;I have question, where does the MCU get bit stream, from USB or I2S receiver?&amp;nbsp; do you have OS? what is the protocol(AC-3, DTS, MP3...)? have you implemented the decoder? how many channels do you hope, the I2S only supports two channels for transmitter for KL46.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 07:18:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397857#M21995</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2015-06-15T07:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Out test for TWR-KL46z.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397858#M21996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using prebuilt MP3 decoder lib and I have integrated it with my test. I have used USB MSD demo test from the KSDS_1.2.0. I have integrated my lib with this test. This test will only dump the decoded output data to file on USB MSC device but I want to setup the real demo that will output the audio. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my demo aim is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Open the Mp3 file from the SDCARD/USB MSC device.&lt;/P&gt;&lt;P&gt;2. Read the data from the file and fill in the buffer.&lt;/P&gt;&lt;P&gt;3. My decoder lib operates on the filled buffer and produced the decoded data in output buffer.&lt;/P&gt;&lt;P&gt;4. Instead of writing to file I want to listen the output data from the either headphone or USB speaker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ajay-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 09:12:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397858#M21996</guid>
      <dc:creator>ajaypatel</dc:creator>
      <dc:date>2015-06-15T09:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Out test for TWR-KL46z.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397859#M21997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, I see that you would like to decode MP3, which output two channels stream. As you know we have a Audio board, on which the SGTL500 codec is embedded. we have developed the code for the Audio board, pls refer to the code based on SDK1.2&lt;/P&gt;&lt;P&gt;D:\Freescale\KSDK_1.2.0\examples\twrk60d100m\demo_apps\sai_demo&lt;/P&gt;&lt;P&gt;This is the website of the Audio SGTL5000 board:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-AUDIO-SGTL&amp;amp;fsrch=1&amp;amp;sr=5&amp;amp;pageNum=1" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-AUDIO-SGTL&amp;amp;fsrch=1&amp;amp;sr=5&amp;amp;pageNum=1"&gt;SGTL5000 Codec Tower System Audio Module|Freescale&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 06:13:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397859#M21997</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2015-06-16T06:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Out test for TWR-KL46z.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397860#M21998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information.. Yes you are correct. I want to decode MP3 with two channel and get the audio out using SGTL5000 codec. The test which you have mentioned is based on TWR-K60 board but I need to use TWR-KL46 ( Cortex-M0+ ) board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any test SGTL5000 codec work with KL46z ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 06:31:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397860#M21998</guid>
      <dc:creator>ajaypatel</dc:creator>
      <dc:date>2015-06-16T06:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Out test for TWR-KL46z.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397861#M21999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have port the test which you have mentioned &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;D:\Freescale\KSDK_1.2.0\examples\twrk60d100m\demo_apps\sai_demo for KL46Z board. But when I start the test, it does not come out from the SGTL_Init() funciton ( SGTL_WriteReg(handler,CHIP_ANA_POWER, 0x6AFF); ). Is there any help for this ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Same test which I have run on k60 board ( pure test ) works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Ajay&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 11:40:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397861#M21999</guid>
      <dc:creator>ajaypatel</dc:creator>
      <dc:date>2015-07-03T11:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Out test for TWR-KL46z.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397862#M22000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you still have problems on migrating SAI demo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 15:55:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Audio-Out-test-for-TWR-KL46z/m-p/397862#M22000</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2015-08-20T15:55:56Z</dc:date>
    </item>
  </channel>
</rss>

