<?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のトピックRe: sample code for imx6s' EIM</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/sample-code-for-imx6s-EIM/m-p/437447#M67045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; Please look at my comments below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;BR /&gt; 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;EIM_CSnGCR1[AUS] = 1 ; this means “Address unshifted”. &lt;BR /&gt;EIM_CSnGCR1[MUM] = 0 ; this means “Multiplexed Mode disable”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Does it correspond Your schematic ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;2.&lt;BR /&gt; EIM_CSnGCR1[WC] = 1 ; this means “Write access burst length is continuous.”.&lt;BR /&gt; &lt;BR /&gt; It would be better to clear this bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;3.&lt;BR /&gt; Perhaps the problem concerns to the fact, that EIM clocks should be enabled for EIM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;registers access. Please allow all clocks ("Clock is on during all modes, except STOP mode",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;at least for testing)&amp;nbsp; via CCM Clock Gating Registers&amp;nbsp; (CCM_CCGRx, x =0..6).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Yuri.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 06:29:07 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2015-05-05T06:29:07Z</dc:date>
    <item>
      <title>sample code for imx6s' EIM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sample-code-for-imx6s-EIM/m-p/437444#M67042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could anyone provide me sample code for i.MX6 solo EIM, we want to read data from FPGA via EIM.(async mode). pls send a copy to my e-mail: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:tanyc@126.com"&gt;tanyc@126.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 08:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sample-code-for-imx6s-EIM/m-p/437444#M67042</guid>
      <dc:creator>yingcaitan</dc:creator>
      <dc:date>2015-04-23T08:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: sample code for imx6s' EIM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sample-code-for-imx6s-EIM/m-p/437445#M67043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt; First, it is necessary to configure the EIM. Please refer to section 22.6 (Initialization &lt;BR /&gt; Information) in the i.MX6 S /DL Reference Manual. It provides examples how to initialize &lt;BR /&gt; the EIM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-external-small" href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SDLRM.pdf" target="_blank"&gt;http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SDLRM.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; As for access to&amp;nbsp; a device, connected via the EIM - using standard C memcpy() function is &lt;BR /&gt; most suitable approach, assuming that memcpy() is highly optimized and performs ARM &lt;BR /&gt; instructions LDM / STM. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&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, 23 Apr 2015 09:37:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sample-code-for-imx6s-EIM/m-p/437445#M67043</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-04-23T09:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: sample code for imx6s' EIM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sample-code-for-imx6s-EIM/m-p/437446#M67044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EIM_CS0GCR1 0x31935B81&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EIM_CS0GCR2 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EIM_CS0RCR1 0x03000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EIM_CS0RCR2 0x00000008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EIM_CS0WCR1 0x01080000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EIM_WCR 0x00000701&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EIM_WIAR 0x00000010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EIM init for FPGA using. complete!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;运行：busybox devmem 0x08040000，挂起等待，无法返回。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;换一组rm.pdf中的参数：&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// 32 bit memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WR32('EIM_CS0GCR1,'h403304b1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WR32('EIM_CS0RCR1,'h0f010000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WR32('EIM_CS0RCR2,'h00000008);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WR32('EIM_CS0WCR1,'h0f040040);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;也一样，运行：busybox devmem 0x0804000会导致suspend。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;硬件原理图在我上一个帖子里面。Please help to find the reason, Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;在 2015-04-23 17:38:40，"Yuri Muhin" &amp;lt;admin@community.freescale.com&amp;gt; 写道：&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;|&lt;/P&gt;&lt;P&gt;|&lt;/P&gt;&lt;P&gt;|&lt;/P&gt;&lt;P&gt;|&lt;/P&gt;&lt;P&gt;sample code for imx6s' EIM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Yuri Muhin in i.MX Community - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, it is necessary to configure the EIM. Please refer to section 22.6 (Initialization&lt;/P&gt;&lt;P&gt;Information) in the i.MX6 S /DL Reference Manual. It provides examples how to initialize&lt;/P&gt;&lt;P&gt;the EIM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SDLRM.pdf" target="test_blank"&gt;http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SDLRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  As for access to  a device, connected via the EIM - using standard C memcpy() function is&lt;/P&gt;&lt;P&gt;most suitable approach, assuming that memcpy() is highly optimized and performs ARM&lt;/P&gt;&lt;P&gt;instructions LDM / STM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Apr 2015 01:13:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sample-code-for-imx6s-EIM/m-p/437446#M67044</guid>
      <dc:creator>yingcaitan</dc:creator>
      <dc:date>2015-04-26T01:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: sample code for imx6s' EIM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sample-code-for-imx6s-EIM/m-p/437447#M67045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; Please look at my comments below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;BR /&gt; 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;EIM_CSnGCR1[AUS] = 1 ; this means “Address unshifted”. &lt;BR /&gt;EIM_CSnGCR1[MUM] = 0 ; this means “Multiplexed Mode disable”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Does it correspond Your schematic ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;2.&lt;BR /&gt; EIM_CSnGCR1[WC] = 1 ; this means “Write access burst length is continuous.”.&lt;BR /&gt; &lt;BR /&gt; It would be better to clear this bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;3.&lt;BR /&gt; Perhaps the problem concerns to the fact, that EIM clocks should be enabled for EIM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;registers access. Please allow all clocks ("Clock is on during all modes, except STOP mode",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;at least for testing)&amp;nbsp; via CCM Clock Gating Registers&amp;nbsp; (CCM_CCGRx, x =0..6).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Yuri.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 06:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sample-code-for-imx6s-EIM/m-p/437447#M67045</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-05-05T06:29:07Z</dc:date>
    </item>
  </channel>
</rss>

