<?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>i.MX ProcessorsのトピックEIM DTACK Mode</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335277#M45526</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;&lt;/P&gt;&lt;P&gt;we want to use the EIM for communication between the i.MX processor and an FPGA.&lt;/P&gt;&lt;P&gt;- The accesses are single word, that is why we use the asynchronous mode, single read (SRD=0, SWR=0, APR=0).&lt;/P&gt;&lt;P&gt;- The accesses are of different latency, that is why we want to use DTACK mode and terminate each access on the assertion of the EIM_DTACK signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have the following problem:&lt;/P&gt;&lt;P&gt;EIM ignores the DTACK signal, even though DAE is enabled. The length of a read access is always defined by RWSC. Is there any other bit that needs to be configured so that each access is terminated on assertion of EIM_DTACK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 12:53:29 GMT</pubDate>
    <dc:creator>doerflingeralex</dc:creator>
    <dc:date>2015-03-20T12:53:29Z</dc:date>
    <item>
      <title>EIM DTACK Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335277#M45526</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;&lt;/P&gt;&lt;P&gt;we want to use the EIM for communication between the i.MX processor and an FPGA.&lt;/P&gt;&lt;P&gt;- The accesses are single word, that is why we use the asynchronous mode, single read (SRD=0, SWR=0, APR=0).&lt;/P&gt;&lt;P&gt;- The accesses are of different latency, that is why we want to use DTACK mode and terminate each access on the assertion of the EIM_DTACK signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have the following problem:&lt;/P&gt;&lt;P&gt;EIM ignores the DTACK signal, even though DAE is enabled. The length of a read access is always defined by RWSC. Is there any other bit that needs to be configured so that each access is terminated on assertion of EIM_DTACK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 12:53:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335277#M45526</guid>
      <dc:creator>doerflingeralex</dc:creator>
      <dc:date>2015-03-20T12:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: EIM DTACK Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335278#M45527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Doerflinger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection of DTACK polling can be choosed with&lt;/P&gt;&lt;P&gt;EIM_CSnGCR2 field DAPS - bit field determine the starting point of DTACK&lt;/P&gt;&lt;P&gt;input signal polling, sect. 22.9.2 &lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;IMX6DQRM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;RWSC time is min.length access time (Figure 22-2. Read Access)&lt;/P&gt;&lt;P&gt;which can be prolonged using DTACK, that is EIM starts to poll DTACK &lt;/P&gt;&lt;P&gt;after RWSC time. From sect.22.1.2.2 Asynchronous Page Read Mode:&lt;/P&gt;&lt;P&gt;"The initial access timing is according to RWSC field..".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2015 12:13:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335278#M45527</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-03-21T12:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: EIM DTACK Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335279#M45528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply. In our configuration the EIM now reacts on the DTACK signal, but I still don't really understand the timing between DTACK assertion and CS idle. We use the following configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronus Multiplexed Mode (MUM=1, SRD=0, SWR=0)&lt;/P&gt;&lt;P&gt;DAPS = 0&lt;/P&gt;&lt;P&gt;CS Assertion is delayed one cycle (RCSA=001, WCSA=001)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measurements with the oscilloscope show that the time between these signals is 30ns +-3ns. The time should be equal to WE47 in Figure 22 (DTACK Mode Read Access) of &lt;A href="http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf?fasp=1&amp;amp;WT_TYPE=Data%20Sheets&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;IMX6DQCEC&lt;/A&gt;. This datasheet quotes that WE47 = MAXCO - MAXCSO + MAXDTI. In order to optimize the EIM timing for maximum bandwidth, I have two questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How do I calculate the latency between DTACK active and CS idle? I suppose it should be: WE47 = Sync Time + max. one cycle synchronizing DTACK = max. 3 ACLK cycles = 22.5ns with a 133MHz clock. Is that correct? Why do I get 30ns +-3ns?&lt;/P&gt;&lt;P&gt;2. The datasheet &lt;A href="http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf?fasp=1&amp;amp;WT_TYPE=Data%20Sheets&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;IMX6DQCEC&lt;/A&gt; quotes that MAXDTI = 10. I suppose this should be MAXDTI = 2*ACLK cycles + 10ns. Is that correct?&lt;/P&gt;&lt;P&gt;3. The impact of RWSC is a little strange. You mentioned, that it is the min. access time length. I observed, that WE47 = 30ns +-3ns + RWSC * ACLK period. For maximum performance I chose RWSC = 0, which works even though RWSC = 0 is a reserved value (&lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;IMX6QRM&lt;/A&gt;, 22.9.3). Is this ok, or would you not recommend to use the reserved value?&lt;/P&gt;&lt;P&gt;4. Is ACLK in &lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;IMX6QRM&lt;/A&gt;, Figure 22-16, the same as EIM clock mentioned in the EIM Register Definition (EIM clock cycles before..., chapter 22.9)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="eim_timing.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49013iB687A4E1C8B3A760/image-size/large?v=v2&amp;amp;px=999" role="button" title="eim_timing.png" alt="eim_timing.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 14:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335279#M45528</guid>
      <dc:creator>doerflingeralex</dc:creator>
      <dc:date>2015-03-23T14:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: EIM DTACK Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335280#M45529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what is definition of "latency between DTACK active and CS idle" ?&lt;/P&gt;&lt;P&gt;2. correct&lt;/P&gt;&lt;P&gt;3. RWSC = 0 is a reserved value&lt;/P&gt;&lt;P&gt;4. yes. All clocks are derived from ACLK_EIM_SLOW_CLK_ROOT (max. 132 MHz).&lt;/P&gt;&lt;P&gt;From &lt;A href="http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6SDLCEC.pdf?fasp=1&amp;amp;WT_TYPE=Data%20Sheets&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;IMX6SDLCEC&lt;/A&gt; sect.4.9.3 External Interface Module (EIM) (with same EIM as i.MX6DQ):&lt;/P&gt;&lt;P&gt;Maximum operating frequency for EIM data transfer is 104 MHz.&lt;/P&gt;&lt;P&gt;The maximum frequency for ACLK is 104 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 01:37:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335280#M45529</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-03-24T01:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: EIM DTACK Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335281#M45530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Sorry I was not specific enough. I meant "latency between DTACK &lt;STRONG&gt;assertion&lt;/STRONG&gt; and CS idle", the time marked as &lt;STRONG&gt;WE47&lt;/STRONG&gt; in the picture and as it is named in &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf?fasp=1&amp;amp;WT_TYPE=Data%20Sheets&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" target="_blank"&gt;IMX6DQCEC&lt;/A&gt;, Figure 22. In &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf?fasp=1&amp;amp;WT_TYPE=Data%20Sheets&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" target="_blank"&gt;IMX6DQCEC&lt;/A&gt; it shows, that WE47 = MAXCO - MAXCSO + MAXDTI. This I cannot reconstruct. I did observe, that a possible calculation would be WE47 = max. one cycle synchronizing DTACK + MAXDTI + RWSC*ACLK period= max. 1*ACLK + (2*ACLK period + 10ns) + RWSC*ACLK period. Why does RWSC influence WE47? This does not correspond to &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" target="_blank"&gt;IMX6QRM&lt;/A&gt;, 22.9.3, and &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" target="_blank"&gt;IMX6QRM&lt;/A&gt;, Figure 22-16.&lt;/P&gt;&lt;P&gt;2. Thanks for your confirmation!&lt;/P&gt;&lt;P&gt;3. I know RWSC=0 is reserved. But RWSC=0 seems to work and leads to the shortest WE47 latency. Is this ok, or would you not recommend to use the reserved value?&lt;/P&gt;&lt;P&gt;4. When comparing the assertion of the EIM control signals, I can measure that EIM clock = 133MHz. This frequency is also quoted in &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" target="_blank"&gt;IMX6QRM&lt;/A&gt;, 22.1.2.4. But you are right, in &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6SDLCEC.pdf?fasp=1&amp;amp;WT_TYPE=Data%20Sheets&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" target="_blank"&gt;IMX6SDLCEC&lt;/A&gt;, 4.9.3, it says that the root clock is 132MHz, and the EIM operating clock is max. 104MHz. Now I'm a little bit confused. Can throw some light on this toppic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot so far!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 07:57:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335281#M45530</guid>
      <dc:creator>doerflingeralex</dc:creator>
      <dc:date>2015-03-24T07:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: EIM DTACK Mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335282#M45531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.4. Maximum operating frequency for EIM data transfer is 104 MHz.&lt;/P&gt;&lt;P&gt;This frequency is obtained from silicon characterization.&lt;/P&gt;&lt;P&gt;So maximum frequency for ACLK is 104 MHz. Your previous measurements were with ACLK =133 MHz,&lt;/P&gt;&lt;P&gt;so you should set ACLK &amp;lt; 104 MHz and recheck once more&lt;/P&gt;&lt;P&gt;3. It is not recommend to use the reserved value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 13:49:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EIM-DTACK-Mode/m-p/335282#M45531</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-03-24T13:49:04Z</dc:date>
    </item>
  </channel>
</rss>

