<?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 Read PCM data from BT chip i2s interface in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Read-PCM-data-from-BT-chip-i2s-interface/m-p/238340#M19430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I was trying&amp;nbsp; read pcm data from the BT chip(CSR 83110 ) via i2s&amp;nbsp; while its in HFP connection.&lt;/P&gt;&lt;P&gt;For that &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have configured the i2s path with BT chip ( inside bt stack with BCCM commands )&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Added the driver by change in the board file and written dummy codec for bt and configured cpu_dai as ssi.2 ( &lt;/SPAN&gt;Referred&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; sgltcodec drivers )&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Device listed in the alsa device list ( as card 1,and it takes cpu_dai imx-ssi.2 and platform imx-platform-audio.2 )&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;BT chip is enabled in i2S mode ( master ). &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But I tried to read like &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; $ arecord -D hw:1 -f S16_LE&lt;/P&gt;&lt;P&gt;It wait for some time and gives&lt;STRONG&gt; io error !!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please correct me If any thing wrong in my method.&lt;/P&gt;&lt;P&gt;Please give me if you have any references(code examples) for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With advance thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With thanks&lt;/P&gt;&lt;P&gt;Vaisakh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Mar 2013 21:06:51 GMT</pubDate>
    <dc:creator>VAISAKH</dc:creator>
    <dc:date>2013-03-24T21:06:51Z</dc:date>
    <item>
      <title>Read PCM data from BT chip i2s interface</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Read-PCM-data-from-BT-chip-i2s-interface/m-p/238340#M19430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I was trying&amp;nbsp; read pcm data from the BT chip(CSR 83110 ) via i2s&amp;nbsp; while its in HFP connection.&lt;/P&gt;&lt;P&gt;For that &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have configured the i2s path with BT chip ( inside bt stack with BCCM commands )&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Added the driver by change in the board file and written dummy codec for bt and configured cpu_dai as ssi.2 ( &lt;/SPAN&gt;Referred&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; sgltcodec drivers )&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Device listed in the alsa device list ( as card 1,and it takes cpu_dai imx-ssi.2 and platform imx-platform-audio.2 )&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;BT chip is enabled in i2S mode ( master ). &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;But I tried to read like &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; $ arecord -D hw:1 -f S16_LE&lt;/P&gt;&lt;P&gt;It wait for some time and gives&lt;STRONG&gt; io error !!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please correct me If any thing wrong in my method.&lt;/P&gt;&lt;P&gt;Please give me if you have any references(code examples) for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With advance thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With thanks&lt;/P&gt;&lt;P&gt;Vaisakh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 21:06:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Read-PCM-data-from-BT-chip-i2s-interface/m-p/238340#M19430</guid>
      <dc:creator>VAISAKH</dc:creator>
      <dc:date>2013-03-24T21:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Read PCM data from BT chip i2s interface</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Read-PCM-data-from-BT-chip-i2s-interface/m-p/238341#M19431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vaisakh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to implemet a wrapper for imx-ssi; In previous iMX platforms bt was supported by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx-ssi wrapper&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.emdebian.org/~zumbi/efika/FreeScaleKernel/linux-kernel/sound/soc/imx/imx-3stack-bt.c"&gt;http://www.emdebian.org/~zumbi/efika/FreeScaleKernel/linux-kernel/sound/soc/imx/imx-3stack-bt.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;codec&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.emdebian.org/~zumbi/efika/FreeScaleKernel/linux-kernel/sound/soc/codecs/bluetooth.c"&gt;http://www.emdebian.org/~zumbi/efika/FreeScaleKernel/linux-kernel/sound/soc/codecs/bluetooth.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this as reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 20:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Read-PCM-data-from-BT-chip-i2s-interface/m-p/238341#M19431</guid>
      <dc:creator>adrian_alonso</dc:creator>
      <dc:date>2013-04-11T20:56:09Z</dc:date>
    </item>
  </channel>
</rss>

