<?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: iMX6 SPI controller slave mode burst length</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/755102#M117488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Commenting on my own post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice the Linux driver in the BSP (master mode only) configures the burst length to be the number of bits per word, but the response I received from tech. support case&amp;nbsp;#00163683 leads me to believe that the burst length should be set to the number of bits in the entire transfer (at least in slave mode). If that's true, then burst length has a different definitions in master and slave mode -or- the Linux BSP should not be configuring it as bits per word -or- I'm very confused.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 16:20:55 GMT</pubDate>
    <dc:creator>BillHegardt</dc:creator>
    <dc:date>2018-05-22T16:20:55Z</dc:date>
    <item>
      <title>iMX6 SPI controller slave mode burst length</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/755101#M117487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When configured for slave mode, my testing indicates that it ignores the burst length and always transfers 32-bits to/from the FIFO. I notice the manual only mentions master mode when it talks about the burst length.&lt;/P&gt;&lt;P&gt;Is this by design?&amp;nbsp; Anyone have it working for 1 byte per word?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set the burst length to 7 (8 - 1) so the control register was loaded with 0x0070e301 and the cfg register with 0. I load the FIFO with 1 byte per word. On a scope I see each byte sent followed by 3 zero bytes. I expect to see the bytes sent consecutively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works great with 32-bits per word other than the known SS termination issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 23:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/755101#M117487</guid>
      <dc:creator>BillHegardt</dc:creator>
      <dc:date>2018-05-15T23:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SPI controller slave mode burst length</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/755102#M117488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Commenting on my own post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice the Linux driver in the BSP (master mode only) configures the burst length to be the number of bits per word, but the response I received from tech. support case&amp;nbsp;#00163683 leads me to believe that the burst length should be set to the number of bits in the entire transfer (at least in slave mode). If that's true, then burst length has a different definitions in master and slave mode -or- the Linux BSP should not be configuring it as bits per word -or- I'm very confused.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 16:20:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/755102#M117488</guid>
      <dc:creator>BillHegardt</dc:creator>
      <dc:date>2018-05-22T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SPI controller slave mode burst length</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/755103#M117489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&amp;nbsp; For the slave mode the maximum length of the single SPI burst is defined by FIFO size &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;or SS negation. But&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;due to errata ERR009535, the slave must configure the burst length &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;to match the total number of bits sent by the master in a single transfer (burst).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 07:48:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/755103#M117489</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-05-23T07:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SPI controller slave mode burst length</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1163274#M162961</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1941"&gt;@Yuri&lt;/a&gt;&amp;nbsp; how to configure the burst length ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 08:21:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1163274#M162961</guid>
      <dc:creator>Yavuz</dc:creator>
      <dc:date>2020-10-06T08:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SPI controller slave mode burst length</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1163351#M162966</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177587"&gt;@Yavuz&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;from the erratum:&lt;BR /&gt;Slave mode with unspecified burst length cannot be supported due to this issue. The burst length&lt;BR /&gt;should always be specified with the BURST_LENGTH parameter and the SS_CTL[x] should be&lt;BR /&gt;set to zero.&lt;BR /&gt;&amp;nbsp; There is no workaround except for not using the SS_CTL[x] = 1 option in the Slave mode. The&lt;BR /&gt;accurate burst length should always be specified using the BURST_LENGTH parameter&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 10:47:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1163351#M162966</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-10-06T10:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SPI controller slave mode burst length</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1163356#M162968</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1941"&gt;@Yuri&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I see that the BURST_LENGTH parameter is bits 20-32 on CONTROL REGISTER for IMX6dl&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 10:57:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1163356#M162968</guid>
      <dc:creator>Yavuz</dc:creator>
      <dc:date>2020-10-06T10:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SPI controller slave mode burst length</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1176917#M164410</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1941"&gt;@Yuri&lt;/a&gt; .&lt;/P&gt;&lt;P&gt;We want to use iMX8 SPI in slave mode. We need to transfer a 64 byte packet every 32 us. Do I understand correctly I can set the burst length to 64*8-1=511, lower SS line, send all 512 bits, and then set SS line to high? In the manual, they say the data transfer to FIFO upon the positive edge of SS, so I thought I could transfer only 32 bits in a burst in a slave mode.&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 03:18:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1176917#M164410</guid>
      <dc:creator>vg53</dc:creator>
      <dc:date>2020-11-03T03:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SPI controller slave mode burst length</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1176955#M164415</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/179921"&gt;@vg53&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Yes, it is needed to&amp;nbsp;&lt;SPAN&gt;set the burst length to 64*8-1=511, lower SS line, send all 512 bits, and then set SS line to high.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Note: SS is asserted / negated by SPI master. SPI slave can only analyze this signal.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 04:11:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/1176955#M164415</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-11-03T04:11:55Z</dc:date>
    </item>
    <item>
      <title>回复： iMX6 SPI controller slave mode burst length</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/2206481#M242235</link>
      <description>我碰到了同样的问题，在salve模式时burst length不生效，默认就是32bit</description>
      <pubDate>Tue, 18 Nov 2025 06:10:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SPI-controller-slave-mode-burst-length/m-p/2206481#M242235</guid>
      <dc:creator>fhwy</dc:creator>
      <dc:date>2025-11-18T06:10:40Z</dc:date>
    </item>
  </channel>
</rss>

