<?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 ESAI driver init reboots board in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ESAI-driver-init-reboots-board/m-p/653836#M100094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of our customer extended SabreSD design to use ESAI port (instead of SSI) for Audio interface to connect Mic array.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Made following changes in device tree for ESAI and relevant clock setting to make IMX6 as Master i.e. driving clocks to ADC Codec - tvl320aic3101&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;pinctrl_esai: esaigrp {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; MX6QDL_PAD_GPIO_3__ESAI_RX_HF_CLK 0x130b0&lt;BR /&gt; MX6QDL_PAD_GPIO_1__ESAI_RX_CLK 0x130b0 &lt;BR /&gt; MX6QDL_PAD_GPIO_7__ESAI_TX4_RX1 0x130b0&lt;BR /&gt; MX6QDL_PAD_GPIO_9__ESAI_RX_FS 0x130b0&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;See attached dtsi file.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We see board resets during esai driver initialization.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is seen from schematic, ESAI_RX_CLK pin is using GPIO0_1 pin which is shared with WDOG2_B.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Watchdog is disabled from device tree but we still see board reboot issue during esai init.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to address this issue with minimal board rework.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337134"&gt;imx6qdl-sabresd.dtsi.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2016 23:37:11 GMT</pubDate>
    <dc:creator>sabeel_syed</dc:creator>
    <dc:date>2016-10-19T23:37:11Z</dc:date>
    <item>
      <title>ESAI driver init reboots board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ESAI-driver-init-reboots-board/m-p/653836#M100094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of our customer extended SabreSD design to use ESAI port (instead of SSI) for Audio interface to connect Mic array.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Made following changes in device tree for ESAI and relevant clock setting to make IMX6 as Master i.e. driving clocks to ADC Codec - tvl320aic3101&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;pinctrl_esai: esaigrp {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; MX6QDL_PAD_GPIO_3__ESAI_RX_HF_CLK 0x130b0&lt;BR /&gt; MX6QDL_PAD_GPIO_1__ESAI_RX_CLK 0x130b0 &lt;BR /&gt; MX6QDL_PAD_GPIO_7__ESAI_TX4_RX1 0x130b0&lt;BR /&gt; MX6QDL_PAD_GPIO_9__ESAI_RX_FS 0x130b0&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;See attached dtsi file.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We see board resets during esai driver initialization.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is seen from schematic, ESAI_RX_CLK pin is using GPIO0_1 pin which is shared with WDOG2_B.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Watchdog is disabled from device tree but we still see board reboot issue during esai init.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to address this issue with minimal board rework.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337134"&gt;imx6qdl-sabresd.dtsi.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 23:37:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ESAI-driver-init-reboots-board/m-p/653836#M100094</guid>
      <dc:creator>sabeel_syed</dc:creator>
      <dc:date>2016-10-19T23:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: ESAI driver init reboots board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ESAI-driver-init-reboots-board/m-p/653837#M100095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabeel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on Sabre SD schematic spf-27392 p.21 GPIO0_1 is connected to&lt;BR /&gt;U507 buffer which resets all board, one can disconnect it removing&lt;BR /&gt;C504 or R300. No way to avoid this just with sw changes.&lt;BR /&gt;Source of reset can be found using SRC_SRSR register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schematics (1)&lt;BR /&gt;i.MX6_SABRE_SDP_DESIGNFILES&lt;BR /&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/sabre-platform-for-smart-devices-based-on-the-i.mx-6-series:RDIMX6SABREPLAT?fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/sabre-platform-for-smart-devices-based-on-the-i.mx-6-series:RDIMX6SABREPLAT?fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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, 20 Oct 2016 05:14:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ESAI-driver-init-reboots-board/m-p/653837#M100095</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-20T05:14:31Z</dc:date>
    </item>
  </channel>
</rss>

