<?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: maximum delay between the write into the ECSPIx_CONFIGREG register and the change of SCLK polarity in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/maximum-delay-between-the-write-into-the-ECSPIx-CONFIGREG/m-p/464598#M73126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right in that the maximum delay between writing to the ECSPIx_CONFIGREG register that changes some SCLK parameters (e.g. SCLK polarity or SCLK idle state) and actual parameter change is one SCLK clock period.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&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>Thu, 21 Apr 2016 10:29:13 GMT</pubDate>
    <dc:creator>art</dc:creator>
    <dc:date>2016-04-21T10:29:13Z</dc:date>
    <item>
      <title>maximum delay between the write into the ECSPIx_CONFIGREG register and the change of SCLK polarity</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/maximum-delay-between-the-write-into-the-ECSPIx-CONFIGREG/m-p/464597#M73125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are porting of Linux to our i.MX6 solo board to a base in Linux L3.10.53 BSP.&lt;/P&gt;&lt;P&gt;In our system, Flash and RTC are connected to SPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The device connected to SSx of SPI is the following.&lt;BR /&gt;SS0: Flash 200MHz&lt;BR /&gt;SS1: Flash 200MHz&lt;BR /&gt;SS2: RTC 20MHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With switches from SS2 to SS0, we found SCLK polarity changing after GPIO chipselect was asserted.&lt;/P&gt;&lt;P&gt;We found the following patch about SPI.&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6fd8b8503a0dcf66510314dc054745087ae89f94"&gt;http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6fd8b8503a0dcf66510314dc054745087ae89f94&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The contents of this patch are included in Linux L3 .10.53 BSP.&lt;BR /&gt;However, this problem does not seem to be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to Explanation of this patch, the following is explained.&lt;BR /&gt;"Therefore, the time it takes for the write to ECSPIx_CONFIGREG to take effect in the hardware is up to the duration of 1 tick of the SCLK clock."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i.MX6, it seems that the delay time is bigger than 1 tick of the SCLK clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you tell me the maximum delay between the write into the ECSPIx_CONFIGREG register and the change of SCLK polarity?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It it is the setting that SCLK polarity is not changed, a glitch occurs on SCLK.&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/386935"&gt;https://community.freescale.com/thread/386935&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Yuuki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 03:09:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/maximum-delay-between-the-write-into-the-ECSPIx-CONFIGREG/m-p/464597#M73125</guid>
      <dc:creator>yuuki</dc:creator>
      <dc:date>2016-04-21T03:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: maximum delay between the write into the ECSPIx_CONFIGREG register and the change of SCLK polarity</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/maximum-delay-between-the-write-into-the-ECSPIx-CONFIGREG/m-p/464598#M73126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right in that the maximum delay between writing to the ECSPIx_CONFIGREG register that changes some SCLK parameters (e.g. SCLK polarity or SCLK idle state) and actual parameter change is one SCLK clock period.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&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>Thu, 21 Apr 2016 10:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/maximum-delay-between-the-write-into-the-ECSPIx-CONFIGREG/m-p/464598#M73126</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2016-04-21T10:29:13Z</dc:date>
    </item>
  </channel>
</rss>

