<?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: i.MX6 SPI Slave mode in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289547#M34802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sebi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just curious about your success writing an i.MX6 SPI Slave driver supporting DMA? Can you give me a brief conclusion about your experiences?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Sep 2015 12:53:12 GMT</pubDate>
    <dc:creator>robert99</dc:creator>
    <dc:date>2015-09-28T12:53:12Z</dc:date>
    <item>
      <title>i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289539#M34794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wanting to use the SPI in slave mode (as a platform_device) in Linux 3.0.35.&amp;nbsp; Is this possible?&amp;nbsp; I've set the SPI registers (slave mode, CPOL/CPHA etc) but I don't seem to be getting anything in ECSPIx_RXDATA register when the master on the other side is sending data.&amp;nbsp; I've checked the SPI lines and it seems valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my SPI register values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ECSPI2_CONREG&lt;/TD&gt;&lt;TD&gt;= 0x01f00001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ECSPI2_CONFREG&lt;/TD&gt;&lt;TD&gt;= 0x00000000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ECSPI2_INTREG&lt;/TD&gt;&lt;TD&gt;= 0x00000024&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ECSPI2_DMAREG&lt;/TD&gt;&lt;TD&gt;= 0x00010001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ECSPI2_STATREG&lt;/TD&gt;&lt;TD&gt;= 0x00000003&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything obviously wrong in the register values or d&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;o I need to set registers other than the SPI specific registers to make it work?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 00:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289539#M34794</guid>
      <dc:creator>stevekwon</dc:creator>
      <dc:date>2013-06-13T00:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289540#M34795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the BURST_LENGTH data had received from bus ? &lt;/P&gt;&lt;P&gt;Did&amp;nbsp; you fixed TX_FIFO before receive data ?&lt;/P&gt;&lt;P&gt;Can you check the&amp;nbsp; interrupt&amp;nbsp; of RFEN RDREN RREN&amp;nbsp; , is these&amp;nbsp; triggered?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 04:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289540#M34795</guid>
      <dc:creator>fushi_peng</dc:creator>
      <dc:date>2013-06-21T04:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289541#M34796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, please click Correct Answer/Helpful Answer if your question had been answered.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 07:19:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289541#M34796</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2013-06-24T07:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289542#M34797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are not setting Chip Select signal polarity. Set the value of SS_POL as 1 (Active high) on ECSPIx_CONFIGREG register for slave mode. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 17:24:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289542#M34797</guid>
      <dc:creator>cheersalam</dc:creator>
      <dc:date>2013-06-24T17:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289543#M34798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;Steve&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;If you set burst length as 32 then you will get second word as zeros. And it happens again after 128 words. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I played with all the registers and the results are all same. ss_ctl is not supported in slave mode. this issue is something deeper. &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;I am still trying to find a solution for it.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;If you find something interesting please update us. &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;Alam&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 17:14:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289543#M34798</guid>
      <dc:creator>cheersalam</dc:creator>
      <dc:date>2013-07-01T17:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289544#M34799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammad Alam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am writing a custom driver to enable spi slave in i.MX6 using DMA.&amp;nbsp; Do we need to enable any type of clock configuration or clock form i.MX6 side for spi slave to work?&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Sebi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 10:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289544#M34799</guid>
      <dc:creator>sebimohan</dc:creator>
      <dc:date>2014-04-29T10:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289545#M34800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can you share your custom SPI slave driver using DMA on IMX6 &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; My email is &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:kiruthikanv@gmail.com"&gt;kiruthikanv@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiruthika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 15:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289545#M34800</guid>
      <dc:creator>kiruthikavarada</dc:creator>
      <dc:date>2015-03-04T15:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289546#M34801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seb,&lt;/P&gt;&lt;P&gt;I also started with a custom SPI driver using the DMA. Can you share your SPI slave configurations?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 06:19:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289546#M34801</guid>
      <dc:creator>peterw</dc:creator>
      <dc:date>2015-06-10T06:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289547#M34802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sebi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just curious about your success writing an i.MX6 SPI Slave driver supporting DMA? Can you give me a brief conclusion about your experiences?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 12:53:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289547#M34802</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2015-09-28T12:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289548#M34803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just curious about your success writing an i.MX6 SPI Slave driver supporting DMA? Can you give me a brief conclusion about your experiences?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 12:57:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289548#M34803</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2015-09-28T12:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 SPI Slave mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289549#M34804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kiruthika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just curious about your success writing an i.MX6 SPI Slave driver supporting DMA? Can you give me a brief conclusion about your experiences?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank's a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 12:59:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-SPI-Slave-mode/m-p/289549#M34804</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2015-09-28T12:59:08Z</dc:date>
    </item>
  </channel>
</rss>

