<?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: Why SDMA is not working with I2C on iMX6 DualLite ?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668165#M102794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please refer to Chapter 4 Smart Direct Memory Access (SDMA) API&lt;/P&gt;&lt;P&gt;attached Linux Manual for supported by sdma modules. As for other modules developing&lt;/P&gt;&lt;P&gt;new sdma scripts may be required, such effort may require to follow NXP Professional Services&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fsupport%2Fnxp-professional-services%3APROFESSIONAL-SERVICE" rel="nofollow" target="_blank"&gt;http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE&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>Fri, 05 May 2017 23:23:33 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-05-05T23:23:33Z</dc:date>
    <item>
      <title>Why SDMA is not working with I2C on iMX6 DualLite ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668164#M102793</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;We are using Linux kernel version 4.1 on technexion board. We have developed i2c client driver, that is working fine. Now our requirement is to use SDMA with i2c. We have enabled event 5 and 10 for i2c-1 to initiate DMA transfer. We are working on this since quite a few days but we could not find any proper solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had tried different options for DMA transfer type, like: FIRI, External peripheral, Memory, ESAI, SAI. However, we could not transfer data using I2C-SDMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had also refer few posts from NXP community :&amp;nbsp;&lt;A href="https://community.nxp.com/thread/353658"&gt;I2C with SDMA on i.MX6?&lt;/A&gt;&amp;nbsp;, which says that SDMA&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;is not working with i2c in official BSPs. Is this true ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Can you please help us.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Kishor&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 10:07:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668164#M102793</guid>
      <dc:creator>kishorbhayani</dc:creator>
      <dc:date>2017-05-05T10:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why SDMA is not working with I2C on iMX6 DualLite ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668165#M102794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please refer to Chapter 4 Smart Direct Memory Access (SDMA) API&lt;/P&gt;&lt;P&gt;attached Linux Manual for supported by sdma modules. As for other modules developing&lt;/P&gt;&lt;P&gt;new sdma scripts may be required, such effort may require to follow NXP Professional Services&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fsupport%2Fnxp-professional-services%3APROFESSIONAL-SERVICE" rel="nofollow" target="_blank"&gt;http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE&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>Fri, 05 May 2017 23:23:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668165#M102794</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-05T23:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why SDMA is not working with I2C on iMX6 DualLite ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668166#M102795</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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the information, I went through this Linux Manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have few more queries,&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;kernel source code has different options to transfer data using SDMA for different peripherals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;For example, shp_2_mcu_addr, uart_2_mcu_addr, app_2_mcu_addr etc in "imx-sdma.c" .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Is any of those transfer type supports I2C-SDMA ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &amp;nbsp;&amp;nbsp;&amp;nbsp;If none of the above options is not available for &lt;SPAN&gt;I2C-SDMA&lt;/SPAN&gt; then I need to develop a new script for I2C. I found that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"imx/sdma/sdma-imx6q.bin" file reference is given in device tree file (i.e. "imx6qdl.dtsi") for SDMA scripts.&amp;nbsp;As per my &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;understanding all scripts are defined in this file ("sdma-imx6q.bin").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;So, would you be able to provide us reference source code or reference material which I can refer to develop a new &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;script for I2C-SDMA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kishor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 10:51:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668166#M102795</guid>
      <dc:creator>kishorbhayani</dc:creator>
      <dc:date>2017-05-08T10:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why SDMA is not working with I2C on iMX6 DualLite ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668167#M102796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately current scripts do not support i2c.&lt;/P&gt;&lt;P&gt;As additional reading one can refer to attached sdk examples and pdf document&lt;/P&gt;&lt;P&gt;Chapter 29 Configuring the SDMA Driver (full sdk can be obtained creating service request).&lt;/P&gt;&lt;P&gt;Also may be useful&lt;/P&gt;&lt;P&gt;&lt;A href="http://billauer.co.il/blog/2011/10/imx-sdma-howto-memory-map/"&gt;http://billauer.co.il/blog/2011/10/imx-sdma-howto-memory-map/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 11:10:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668167#M102796</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-08T11:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why SDMA is not working with I2C on iMX6 DualLite ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668168#M102797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Hi igor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Thanks for sharing the SDK example and other information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;I would like to&amp;nbsp; know more about building/compiling the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Is it possible to use generic ARM tool chain instead of SDK ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Or if not then can you please share customized tool chain for iMX6 for Linux environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;As per my understanding the script "mcu_2_app" is a generic script to transfer data between memory location and any peripheral.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Then my doubt is, why this script is not working for I2C ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Kishor&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 14:38:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668168#M102797</guid>
      <dc:creator>kishorbhayani</dc:creator>
      <dc:date>2017-05-08T14:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why SDMA is not working with I2C on iMX6 DualLite ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668169#M102798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am trying to generate binary file using perl script which I have downloaded from below link,&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://billauer.co.il/blog/2011/10/imx-sdma-howto-assembler-linux/" title="http://billauer.co.il/blog/2011/10/imx-sdma-howto-assembler-linux/"&gt;Freescale i.MX SDMA tutorial (part IV)&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am getting below error. Can you please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;——– Command ———–&lt;BR /&gt;&amp;nbsp; ./sdma_asm.pl&amp;nbsp; copydma.asm&lt;/P&gt;&lt;P&gt;——– Error Logs ———–&lt;BR /&gt; Can’t locate mx51_sdma_set.pm in @INC (you may need to install the mx51_sdma_set module) (@INC contains: . /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl) at ./sdma_asm.pl line 15.&lt;BR /&gt; BEGIN failed–compilation aborted at ./sdma_asm.pl line 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kishor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 06:42:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-SDMA-is-not-working-with-I2C-on-iMX6-DualLite/m-p/668169#M102798</guid>
      <dc:creator>kishorbhayani</dc:creator>
      <dc:date>2017-05-12T06:42:36Z</dc:date>
    </item>
  </channel>
</rss>

