<?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: imx8 ecspi Master Mode with SS_CTL Control in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984678#M146277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks you very much and yes, I know. I configured the burstlength to 8,&amp;nbsp;cleared&amp;nbsp;SMC bit,&amp;nbsp;cleared SS_CTL bit, filled the txdata-fifo with some words and send&amp;nbsp;using XCH bit. So the fifo contains multiple words and the SPI module has to send within&amp;nbsp;the same chipselect frame. But it sends each byte of a fifo word in an own chipselect frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For avoid misunderstanding by me I played with all&amp;nbsp;four possible combinations given by SS_CTL and SMC bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2020 07:40:12 GMT</pubDate>
    <dc:creator>christoph_fauck</dc:creator>
    <dc:date>2020-08-21T07:40:12Z</dc:date>
    <item>
      <title>imx8 ecspi Master Mode with SS_CTL Control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984674#M146273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the IMX8MDQLQRM&amp;nbsp; chepter&amp;nbsp;10.1.4.4.1.3 (page 3347)&amp;nbsp;sayWhen the SPI SS Wave Form Select (SS_CTL[3:0]) is set,the SS will negate between SPI bursts until the wait states finish&lt;/P&gt;&lt;P&gt;but it didnt work&lt;/P&gt;&lt;P&gt;i set the sample period control register to 5&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;devmem2 0x3083001c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/dev/mem opened.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Memory mapped at address 0xffff86795000.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Read at address 0x3083001C (0xffff86795018): 0x0000000&lt;STRONG&gt;5&lt;/STRONG&gt;00000083&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;the&amp;nbsp;SS_CTL[3:0] is 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;0x30830008&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/dev/mem opened.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Memory mapped at address 0xffffb4c38000.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Read at address 0x30830008 (0xffffb4c38008): 0x00000&lt;STRONG&gt;1&lt;/STRONG&gt;0001F091F1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_54.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94867i09807F2039E10DD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_54.png" alt="pastedImage_54.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if all is fine,the ss (ce)line will negate at red point&lt;/P&gt;&lt;P&gt;how can i fix this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 09:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984674#M146273</guid>
      <dc:creator>757048156</dc:creator>
      <dc:date>2019-11-28T09:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 ecspi Master Mode with SS_CTL Control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984675#M146274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 刘&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try that functionality with SDK_2.6.0_EVK-MIMX8MQ available on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&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, 02 Dec 2019 09:42:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984675#M146274</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-12-02T09:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 ecspi Master Mode with SS_CTL Control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984676#M146275</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;I've the same issue on&amp;nbsp;MIMX8MM6&amp;nbsp;and therefore switched to current SDK 2.8. The&amp;nbsp;fsl_ecspi.c file still configures the SMC flag to one which ignores the SS_CTL flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I configured this manually and working by filling the fifo and sending using XCH flag, but the chip still ignores the SS_CTL flag and inactivates the chip select between the bursts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It seems to be a chip errata.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 08:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984676#M146275</guid>
      <dc:creator>christoph_fauck</dc:creator>
      <dc:date>2020-08-18T08:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 ecspi Master Mode with SS_CTL Control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984677#M146276</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;&amp;nbsp; This is a CSPI feature - t&lt;SPAN class="" dir="ltr" style="border: 0px; font-weight: inherit;"&gt;he maximum length of a single SPI burst is not defined in the BURST LENGTH &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="border: 0px; font-weight: inherit;"&gt;field of the ECSPI_CONREG&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" dir="ltr" style="border: 0px; font-weight: inherit;"&gt;control register, but&amp;nbsp; really the maximum length of the single SPI burst is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="border: 0px; font-weight: inherit;"&gt;defined by FIFO. When FIFO is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" dir="ltr" style="border: 0px; font-weight: inherit;"&gt;underflowed (empty) the SS is negated.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp; &amp;nbsp;ECSPIx_PERIODREG may be used to setup delays between&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" dir="ltr" style="border: 0px; font-weight: inherit;"&gt;SPI transfers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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>Fri, 21 Aug 2020 03:43:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984677#M146276</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-08-21T03:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 ecspi Master Mode with SS_CTL Control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984678#M146277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks you very much and yes, I know. I configured the burstlength to 8,&amp;nbsp;cleared&amp;nbsp;SMC bit,&amp;nbsp;cleared SS_CTL bit, filled the txdata-fifo with some words and send&amp;nbsp;using XCH bit. So the fifo contains multiple words and the SPI module has to send within&amp;nbsp;the same chipselect frame. But it sends each byte of a fifo word in an own chipselect frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For avoid misunderstanding by me I played with all&amp;nbsp;four possible combinations given by SS_CTL and SMC bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2020 07:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/984678#M146277</guid>
      <dc:creator>christoph_fauck</dc:creator>
      <dc:date>2020-08-21T07:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 ecspi Master Mode with SS_CTL Control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/1360663#M182041</link>
      <description>&lt;P&gt;Hi Christoph,&lt;BR /&gt;&lt;BR /&gt;I have the exact same problem with IMX8MN4. I also tried all the combinations without success.&lt;BR /&gt;&lt;BR /&gt;By any chance, have you managed to find a solution since then?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Yann&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 07:57:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-ecspi-Master-Mode-with-SS-CTL-Control/m-p/1360663#M182041</guid>
      <dc:creator>ycx</dc:creator>
      <dc:date>2021-10-25T07:57:57Z</dc:date>
    </item>
  </channel>
</rss>

