<?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: iMX8MN ECSPI Master multi burst SS_CTL</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1360690#M182047</link>
    <description>&lt;P&gt;Hi Yuri,&lt;BR /&gt;&lt;BR /&gt;It does not help as the issue is not resolved.&lt;BR /&gt;&lt;BR /&gt;In the chip errata I found an entry that looks like my issue :&lt;/P&gt;&lt;P&gt;ERR009535: ECSPI: Burst completion by SS signal in slave mode is not functional.&lt;/P&gt;&lt;P&gt;But specified only for slave mode. Are you sure it is not the case also for master mode ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Yann&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 08:11:58 GMT</pubDate>
    <dc:creator>ycx</dc:creator>
    <dc:date>2021-10-25T08:11:58Z</dc:date>
    <item>
      <title>iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1359507#M181903</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I try to have a master send multi burst (21) of size 8 bits each on ECSPI1 from cortex M7. I want to keep CS/SS low during the transfer of 21 bursts.&lt;/P&gt;&lt;P&gt;As per reference manual I configure the following :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;channel           &lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;kECSPI_Channel0&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;burstLength       &lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;samplePeriodClock &lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;kECSPI_spiClock&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;baudRate_Bps      &lt;/SPAN&gt;&lt;SPAN&gt;= 10&lt;/SPAN&gt;&lt;SPAN&gt;000000&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;chipSelectDelay   &lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;samplePeriod      &lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;txFifoThreshold   &lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;rxFifoThreshold   &lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/* Default configuration of channel */&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;ECSPI_GetDefaultChannelConfig&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;channelConfig&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;channelConfig&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;channelMode &lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;kECSPI_Master&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ECSPI_CONREG_SMC set to 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ECSPI_CONFIGREG_SS_CTL set to 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fill the TxData buffer with&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ECSPI_MasterTransferNonBlocking and then put ECSPI_CONREG_XCH to 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What I see on logic analyzer still has the CS/SS rising between bursts :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ycx_0-1634820306407.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159765iA82160022DF6854B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ycx_0-1634820306407.png" alt="ycx_0-1634820306407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What am I missing ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 12:52:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1359507#M181903</guid>
      <dc:creator>ycx</dc:creator>
      <dc:date>2021-10-21T12:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1360504#M182030</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192397"&gt;@ycx&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; hope the following clarifies the issue.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984674" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984674&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 05:14:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1360504#M182030</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-10-25T05:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1360690#M182047</link>
      <description>&lt;P&gt;Hi Yuri,&lt;BR /&gt;&lt;BR /&gt;It does not help as the issue is not resolved.&lt;BR /&gt;&lt;BR /&gt;In the chip errata I found an entry that looks like my issue :&lt;/P&gt;&lt;P&gt;ERR009535: ECSPI: Burst completion by SS signal in slave mode is not functional.&lt;/P&gt;&lt;P&gt;But specified only for slave mode. Are you sure it is not the case also for master mode ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Yann&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 08:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1360690#M182047</guid>
      <dc:creator>ycx</dc:creator>
      <dc:date>2021-10-25T08:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1360740#M182058</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192397"&gt;@ycx&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Yes, ERR009535 is for the SPI slave mode.&lt;/P&gt;
&lt;P&gt;For the master mode - It is needed to avoid situations, when FIFO &lt;BR /&gt;is underflowed (empty) - then the SS is not negated.&lt;/P&gt;
&lt;P&gt;Or - to use a GPIO instead of the SS.&lt;/P&gt;
&lt;P&gt;~Yuri.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-weight: inherit; font-stretch: inherit; font-size: 15px; line-height: inherit; font-family: 'Segoe UI', 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; vertical-align: baseline; color: #000000; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 09:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1360740#M182058</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-10-25T09:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1360779#M182062</link>
      <description>&lt;P&gt;Yuri,&lt;BR /&gt;&lt;BR /&gt;FIFO is filled with 21x uint32 before XCH is set to 1, so it is not underflowed after each value is sent and SS should remain negated during sending of these 21 values.&lt;/P&gt;&lt;P&gt;I cannot use GPIO.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Yann&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 09:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1360779#M182062</guid>
      <dc:creator>ycx</dc:creator>
      <dc:date>2021-10-25T09:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1361194#M182104</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192397"&gt;@ycx&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; please try ECSPIx_CONREG[BURST_LENGTH] = 21 x 32 -1&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 03:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1361194#M182104</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-10-26T03:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1361544#M182142</link>
      <description>&lt;P&gt;Still no :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ycx_0-1635240121326.png" style="width: 744px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160173i3AC996E51A478738/image-dimensions/744x105?v=v2" width="744" height="105" role="button" title="ycx_0-1635240121326.png" alt="ycx_0-1635240121326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I really tried all the combinations.&lt;/P&gt;&lt;P&gt;Yann&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 09:22:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1361544#M182142</guid>
      <dc:creator>ycx</dc:creator>
      <dc:date>2021-10-26T09:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1361576#M182147</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I believe&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1941"&gt;@Yuri&lt;/a&gt;&amp;nbsp;meant 21*8-1. You want to sent 21 octets, not 21 * 32 bit words. What you see in your last waveform should be SS toggling each 512 bits. 512 bits is eCSPI single burst limit. As well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FIFO is filled with 21x uint32 before XCH is set to 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should fill FIFO writing 32bit words (21+(4-1)) / 4 times. First write should include first (21 % 4) bytes, the rest of writes should write next 4 bytes each time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, as it was already suggested, toggle SS from software.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Sorry, BURST_LEN of ECSPIx_CONREG register should be limited to 512 bytes, not bits. Field limits 0..0xFFF should mean 1..4096 bits, or up to 512 bytes.&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 18:35:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1361576#M182147</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2021-10-26T18:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1362327#M182192</link>
      <description>&lt;P&gt;Hi Edward,&lt;BR /&gt;&lt;BR /&gt;Thank you for your proposition.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Indeed this can be achieve but unfortunately the daisy chained slaves that I access need some wait states in between words which I don't know how to add if burst length is anything other than 8.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Yann&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 09:16:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1362327#M182192</guid>
      <dc:creator>ycx</dc:creator>
      <dc:date>2021-10-27T09:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1362339#M182197</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/59129"&gt;@kef2&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192397"&gt;@ycx&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Note: bytes should be packed into 32-bit FIFO words.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 09:35:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1362339#M182197</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-10-27T09:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MN ECSPI Master multi burst SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1362341#M182198</link>
      <description>&lt;P&gt;Hm,&lt;/P&gt;&lt;P&gt;If slaves are slow, then lowering clock rate should help. If indeed you need pause between each burst of 8 bits, then clearly you should toggle SS from software.&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 09:38:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MN-ECSPI-Master-multi-burst-SS-CTL/m-p/1362341#M182198</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2021-10-27T09:38:57Z</dc:date>
    </item>
  </channel>
</rss>

