<?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: IMX6ULL ECSPI slave mode data transfer issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-ECSPI-slave-mode-data-transfer-issue/m-p/1027572#M151801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue is fixed. This question can close now.&lt;/P&gt;&lt;P&gt;The root cause is the SPI burst&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&amp;nbsp;length are not equal with master and slave.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;when I configurate the master&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;SPI and slave SPI burst&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&amp;nbsp;length is 32bit or 128bit, this issue is&amp;nbsp;disappeared.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2020 05:44:07 GMT</pubDate>
    <dc:creator>liqi_wu</dc:creator>
    <dc:date>2020-03-04T05:44:07Z</dc:date>
    <item>
      <title>IMX6ULL ECSPI slave mode data transfer issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-ECSPI-slave-mode-data-transfer-issue/m-p/1027569#M151798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Current i use IXM6ULL SPI as slave mode. But I find the front of 8 bytes in SPI slave send is incorrect.&lt;/P&gt;&lt;DIV class="" style="color: #333333; background-color: #ffffff; font-size: 13px; padding: 0.25rem 0px;"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr"&gt;In this case, bps = 20M, BURST_LENGTH = 32, POL =0, PHA = 0, and SS_CTL[x] = 0. attach SPI configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96927i7065E7A2EE86553F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr"&gt;//issue&amp;nbsp;description&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; "&gt;1. I put below data to SPI TX FIFO:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; "&gt;00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; "&gt;2. but the front 8 bytes is &lt;SPAN style="color: #3d3d3d;"&gt;incorrect&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; "&gt;sometimes as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; "&gt;00 00 00 00 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; "&gt;sometimes as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; "&gt;3C 3D 3E 3F 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 09:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-ECSPI-slave-mode-data-transfer-issue/m-p/1027569#M151798</guid>
      <dc:creator>liqi_wu</dc:creator>
      <dc:date>2020-01-17T09:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL ECSPI slave mode data transfer issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-ECSPI-slave-mode-data-transfer-issue/m-p/1027570#M151799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi liqi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can recheck if correct escpi initialization performed in the case,&lt;/P&gt;&lt;P&gt;described in sect.20.5 Initialization &lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX6ULLRM" target="_blank"&gt;&lt;STRONG&gt;i.MX 6ULL Applications Processor Reference Manual&lt;/STRONG&gt;&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>Mon, 27 Jan 2020 06:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-ECSPI-slave-mode-data-transfer-issue/m-p/1027570#M151799</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-01-27T06:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL ECSPI slave mode data transfer issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-ECSPI-slave-mode-data-transfer-issue/m-p/1027571#M151800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;Hi igor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;Sorry for reply so late.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;I use function(ECSPI_SlaveInit) which in SDK_2.2_MCIM6ULL to initiate the ECSPI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;The interesting thing is: why the front of four bytes data in SPI slave send is the end four bytes which the data in SPI slave last send?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm;"&gt;//issue&amp;nbsp;description&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt; I put below data to SPI TX FIFO:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt; but the front&amp;nbsp;4 bytes is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #3d3d3d; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;incorrect&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;First sometimes as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;&lt;SPAN style="color: #ff0000;"&gt;00 00 00 00&lt;/SPAN&gt; 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background: yellow;"&gt;3C 3D 3E 3F&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;After that sometimes as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #ff0000; border: 1pt none windowtext; padding: 0cm; background: yellow;"&gt;3C 3D 3E 3F&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;sometimes as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px; margin: 0cm 0cm 0.0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10pt; color: #ff0000; border: 1pt none windowtext; padding: 0cm; background: yellow;"&gt;3C 3D 3E 3F&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; border: 1pt none windowtext; padding: 0cm; background: white;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;00 00 00 00&lt;/SPAN&gt; 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;I wonder if it is caused by incorrect configuration or if it is the issue of IMX6ULL?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px; font-weight: 400; text-indent: 0px;"&gt;&lt;SPAN style="color: #0070c0;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0070c0;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0070c0;"&gt;wuliqi&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 06:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-ECSPI-slave-mode-data-transfer-issue/m-p/1027571#M151800</guid>
      <dc:creator>liqi_wu</dc:creator>
      <dc:date>2020-02-17T06:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL ECSPI slave mode data transfer issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-ECSPI-slave-mode-data-transfer-issue/m-p/1027572#M151801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue is fixed. This question can close now.&lt;/P&gt;&lt;P&gt;The root cause is the SPI burst&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&amp;nbsp;length are not equal with master and slave.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;when I configurate the master&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;SPI and slave SPI burst&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&amp;nbsp;length is 32bit or 128bit, this issue is&amp;nbsp;disappeared.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 05:44:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-ECSPI-slave-mode-data-transfer-issue/m-p/1027572#M151801</guid>
      <dc:creator>liqi_wu</dc:creator>
      <dc:date>2020-03-04T05:44:07Z</dc:date>
    </item>
  </channel>
</rss>

