<?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: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506510#M82373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got my workaround working. I extended the burst length to contain the total number of bits in the data (multiple of 9 in my case) and implemented a lot of bitwise operations to get all 9-bit words one after another. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this question is still unanswered: How can I get chip select behavior like in figure 10-8 with BURST_LENGTH=8?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2016 07:21:53 GMT</pubDate>
    <dc:creator>einarikoivu</dc:creator>
    <dc:date>2016-02-26T07:21:53Z</dc:date>
    <item>
      <title>i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506502#M82365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to implement a driver for an SPI peripheral. The code would be executed in M4. I'm using the Sabre board Rev B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The peripheral requires the data in a format of 9-bit words, the first bit is a control bit followed by eight data bits. The Chip Select signal must be active diring the whole data transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that, I need to have burst length of 9 bits. (BURST_LENGTH = 8). The behavior of the Chip Select should be controlled by SS_CTL. My problem is that SS_CTL has no effect on the behavior of the Chip Select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set SMC (Start Mode Control) to zero, as suggested by the reference manual. After that I write four 9-bit words to TXFIFO and start the burst with writing to XCH. This sends the first 9-bit burst and negates the Chip Select back to inactive. After Writing to XCH three more times, all data is sent, but the Chip Select signal negates between all bursts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This (Figure 10-8) is what I expect, with 9-bit words:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="correct.png"&gt;&lt;IMG alt="correct.png" src="https://community.nxp.com/t5/image/serverpage/image-id/37142iCF73EEF95D19DD59/image-size/large?v=v2&amp;amp;px=999" title="correct.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But this (Figure 10-9) is what I get, regardless of the position of SS_CTL bits&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="incorrect.png"&gt;&lt;IMG alt="incorrect.png" src="https://community.nxp.com/t5/image/serverpage/image-id/37185i836976C5C6C8A82F/image-size/large?v=v2&amp;amp;px=999" title="incorrect.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Linux this seems to work. However, I haven't checked, is the Chip Select implemented by SW or by HW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been testing the functionality with a sligthly modified version of the example ecspi code in the board support package. (FreeRTOS_BSP_1.0.0_iMX7D)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14552624233621590 jive_text_macro" data-renderedposition="901.566650390625_8_1192_192" jivemacro_uid="_14552624233621590"&gt;&lt;P&gt;ECSPI_SetSSMultipleBurst(BOARD_ECSPI3_BASEADDR, ecspiSelectChannel0, false);&lt;/P&gt;&lt;P&gt;ecspi_init_t ecspiInitConfig = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .clockRate = get_ecspi_clock_freq(BOARD_ECSPI3_BASEADDR),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .baudRate = 500000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .mode = ecspiMasterMode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .burstLength = 8, // 9 -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .channelSelect = ecspiSelectChannel0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .clockPhase = ecspiClockPhaseSecondEdge,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .clockPolarity = ecspiClockPolarityActiveLow,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ecspiAutoStart = false&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;ECSPI_XFER_Config(&amp;amp;ecspiInitConfig);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14552605780362258 jive_macro_code jive_text_macro" data-renderedposition="1145.566650390625_8_1192_784" jivemacro_uid="_14552605780362258"&gt;&lt;P&gt;bool ECSPI_XFER_TransmitBurst(int command)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t bytes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ECSPI_SetBurstLength(ECSPI3, 8); // 9 bits - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Fill the TXFIFO */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while((ecspiState.txSize &amp;gt; 0) &amp;amp;&amp;amp; (ECSPI_GetStatusFlag(ECSPI3, ecspiFlagTxfifoFull) == 0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bytes = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(!(ecspiState.txBuffPtr))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data = 0xFFFFFFFF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data = *(ecspiState.txBuffPtr)++;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (command)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; command = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data |= 1 &amp;lt;&amp;lt; 8;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ECSPI_SendData(ECSPI3, data);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ecspiState.txSize -= bytes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ecspiState.rxBuffPtr)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ecspiState.rxSize += bytes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* start transmission */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ECSPI_StartBurst(ECSPI3); // Transfer the first word&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(ECSPI_GetTxfifoCounter(ECSPI3) &amp;gt; 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Transfer the rest of the words&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(ECSPI_GetStatusFlag(ECSPI3, ecspiFlagTxfifoTc) == 0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ECSPI_StartBurst(ECSPI3);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;- Is there something wrong with my configuration, or is the HW working incorrectly? Of course the SW developers tend to blame HW rather than own code.&lt;/P&gt;&lt;P&gt;- Should Writing to XCH transfer all words that are in TXFIFO or just the first one, like in my case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:28:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506502#M82365</guid>
      <dc:creator>einarikoivu</dc:creator>
      <dc:date>2020-11-02T13:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506503#M82366</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 style="margin-bottom: 0,0000pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 14,0000pt;"&gt;&amp;nbsp; According to SS_CTL bit field description, when SS_CTL= 0 : in master mode - only one SPI burst &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0,0000pt;"&gt;&lt;SPAN style="font-size: 14,0000pt; font-family: 'Times New Roman';"&gt;will be transmitted (without CS negation), assuming transfer total number of bits / words, configured&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 14,0000pt;"&gt;via&amp;nbsp; BURST_LENGTH. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 15 Feb 2016 07:36:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506503#M82366</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-15T07:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506504#M82367</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;Thanks a lot for your response. That answered to the second part of my question. Having &lt;SPAN style="font-family: 'Times New Roman'; font-size: 14,0000pt;"&gt;SS_CTL= 0 should transfer only one burst, not all the words that are in TXFIFO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman'; font-size: 14,0000pt;"&gt;But, there's yet the first part - the more important part unanswered: how do I get signal that is illustrated in figure 10-8? I have set &lt;SPAN style="font-family: 'Times New Roman'; font-size: 14,0000pt;"&gt;SS_CTL= 0, BURST_LENGTH = 8 and SMC=0. Still I get Chip Select signal behave like in figure 10-9. It negates between all bursts.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 20:11:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506504#M82367</guid>
      <dc:creator>einarikoivu</dc:creator>
      <dc:date>2016-02-15T20:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506505#M82368</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; To transfer N 9-bit words it is needed to set &lt;SPAN style="color: #51626f; font-family: 'Times New Roman'; font-size: 14px;"&gt;BURST_LENGTH, assuming that burst is N * 9 bit,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Times New Roman'; font-size: 14px;"&gt;and pack the data to the FIFO with 32-bit port.&amp;nbsp; &lt;/SPAN&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>Tue, 16 Feb 2016 02:54:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506505#M82368</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-16T02:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506506#M82369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that the buffer conversion should be necessary according to the documentation. i.MX7 reference manual states: "Figure 10-8 corresponds to a BURST LENGTH of 8". Thus; it should be possible to stack 9-bit words to TXFIFO and let the processor to handle the rest. Conversing long 8-bit data buffers to 9-bit format with command bits in front is quite a CPU intensive task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 07:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506506#M82369</guid>
      <dc:creator>einarikoivu</dc:creator>
      <dc:date>2016-02-16T07:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506507#M82370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Perhaps it would be easier to use a GPIO as Slave Select signal. &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>Tue, 16 Feb 2016 07:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506507#M82370</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-16T07:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506508#M82371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course the easiest way would be to just let HW take care of it, like described in the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried the GPIO way, but I can't get timings right. setting GPIO up and down is extremely slow. Latency was more than 1ms, if I remember correctly. I'm not sure why it took so long to switch the pin up and down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm on my way to implement the workaround to put the nine-bit words one after another to uint8_t buffer. That's far from optimal solution. I wish someone from Freescale/NXP could comment on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 10:05:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506508#M82371</guid>
      <dc:creator>einarikoivu</dc:creator>
      <dc:date>2016-02-16T10:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506509#M82372</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; The Reference Manual is not fully accurate regarding the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;BURST LENGTH.&lt;/SPAN&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>Mon, 22 Feb 2016 07:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506509#M82372</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-22T07:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506510#M82373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got my workaround working. I extended the burst length to contain the total number of bits in the data (multiple of 9 in my case) and implemented a lot of bitwise operations to get all 9-bit words one after another. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this question is still unanswered: How can I get chip select behavior like in figure 10-8 with BURST_LENGTH=8?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 07:21:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506510#M82373</guid>
      <dc:creator>einarikoivu</dc:creator>
      <dc:date>2016-02-26T07:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506511#M82374</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; As has been mentioned, the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt; figure is not fully accurate regarding the &lt;/SPAN&gt;&lt;SPAN style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;BURST LENGTH.&lt;/SPAN&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>Fri, 26 Feb 2016 07:38:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506511#M82374</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-26T07:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506512#M82375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your answers, Yuri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your answer is correct, I don't get, what's the point of SS_CTL. The reference manual states the following:&lt;/P&gt;&lt;P&gt;"When the SPI SS Wave Form Select (SS_CTL[3:0]) is set, the current operation is multiple bursts transfer. When the SPI SS Wave Form Select (SS_CTL[3:0]) bit is cleared, the current operation is single burst transfer. &lt;STRONG&gt;A SPI burst can contains multiple words as defined in the BURST LENGTH field of the ECSPI_CONREG register.&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and further:&lt;/P&gt;&lt;P&gt;"In Figure 10-8, two 8-bit bursts in the TXFIFO have been combined and transmitted in one SPI burst. The maximum length of a single SPI burst is defined in the BURST LENGTH field of the ECSPI_CONREG control register. (Figure 10-8 corresponds to a BURST LENGTH of 8.) &lt;STRONG&gt;This provides a way for transferring a longer SPI burst by writing data into TXFIFO while the ECSPI is transmitting.&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and even further, SS_CTL is described as following in ECSPIx_CONFIGREG field descriptions:&lt;/P&gt;&lt;P&gt;SPI SS Wave Form Select. &lt;STRONG&gt;In master mode, this field controls the output wave form of the Chip Select (SS) signal when the SMC (Start Mode Control) bit is cleared.&lt;/STRONG&gt; The SS_CTL are ignored if the SMC bit is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus: it should be possible to write nine-bit words to TXFIFO and let HW take care of the rest so that result is one single burst with SS not negating in between. Currently SS_CTL has no effect on the SPI behavior in master mode.&lt;/P&gt;&lt;P&gt;So, I think I need the function of SS_CTL explained a bit more. I still believe that the HW should work as described in the reference manual, or this should be fixed in errata. The reference manual is not just "&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;not fully accurate", but the whole paragraph is totally incorrect, if the behavior is as you mentioned.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 13:02:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506512#M82375</guid>
      <dc:creator>einarikoivu</dc:creator>
      <dc:date>2016-02-26T13:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506513#M82376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;The Reference Manual is not fully accurate regarding the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;BURST LENGTH.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Yuri or any other NXP representative,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;I have run into this same issue on the iMX6soloX. The above quoted response does not answer the following relevant questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;What exactly is not accurate in the Reference Manual?&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Please be very clear and concise as to what is incorrect.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Please be very clear and concise as to what it should say instead that is correct.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Does the processor do single SPI bursts with multiple BURST LENGTH words, as documented, or doesn't it?&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Please give a clear and definitive answer of either "yes, it does" or "no, it does not".&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Saying the Manual is not fully accurate, leaves open the following possibilities:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;The processor does do single SPI bursts with multiple BURST LENGTH words, but the Reference Manual does not explain how to achieve this.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;The processor does not do single SPI bursts with multiple BURST LENGTH words, and so, the Reference Manual is completely incorrect.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;So please clarify. If the processor does not do single SPI bursts with multiple BURST LENGTH words, please refer me to the official NXP errata that documents this fact.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;If the processor does do single SPI bursts with multiple BURST LENGTH words, please refer me to anything official that accurately describes how to achieve this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 20:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506513#M82376</guid>
      <dc:creator>danhagler</dc:creator>
      <dc:date>2017-01-07T20:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506514#M82377</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; The eCSPI supports &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt; single SPI bursts with multiple BURST LENGTH words&lt;/SPAN&gt;, assuming that&lt;/P&gt;&lt;P&gt;in the case, when &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;BURST LENGTH&lt;/SPAN&gt; is greater than 32, full 32-bit word(s) from FIFO will be sent,&lt;SPAN style="color: #000000; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: nowrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration: underline; display: inline !important; float: none;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;except&lt;/SPAN&gt; the recent one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 08:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506514#M82377</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-01-11T08:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506515#M82378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had success sending BURST LENGTH of 1 bit to 4096 bits, by filling full 32-bit word(s), with the final 32 bit word only containing BURST LENGTH MOD 32 relevant bits. However, when I try to send multiple BURST LENGTH words that are &amp;lt; 32 bits each, I have not been able to get that to work with SS_CTL set to 0.&lt;BR /&gt;&lt;BR /&gt;When I set SS_CTL to 1, the BURST LENGTH &amp;lt; 32 bit words I load into the TX FIFO are sent, with the SS pin going inactive between each BURST LENGTH word as expected with SS_CTL == 1. However, when I set SS_CTL to 0 and fill the TX FIFO with BURST LENGTH &amp;lt; 32 words, it sends just one burst of BURST LENGTH and nothing else happens. The TX FIFO still contains additional BURST LENGTH &amp;lt; 32 words, but nothing more is transmitted.&lt;BR /&gt;&lt;BR /&gt;In all cases, I am setting SMC to 0 and loading the TX FIFO and then setting XCH to 1.&lt;BR /&gt;&lt;BR /&gt;Is there some other interrupt I need to enable and do something in the ISR to get the remaining words of BURST LENGTH &amp;lt; 32 to be sent out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 14:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506515#M82378</guid>
      <dc:creator>danhagler</dc:creator>
      <dc:date>2017-01-11T14:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506516#M82379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Do You mean that BURST LENGTH MOD 32 bits (remaining bits in recent / first FIFO word) are not sent, for SS_CTL = 0. Say, BURST LENGTH corresponds 35 bits (BURST LENGTH = 34) and only 32 bits are really sent ; remaining 3 bits are not sent ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 04:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506516#M82379</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-01-12T04:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506517#M82380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean that I set BURST LENGTH to something &amp;lt; 31 (bits &amp;lt; 32), say BURST LENGTH = 8 (9 bits), and load multiple 32 bit values into the TX FIFO, say 3 wrties to the TXDATA register of 0x00000101, 0x000001F2, 0x000001E3, then set XCH to 1. With SS_CTL = 0, only the first 9 bit word, 0x101, is transmitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SS_CTL = 1, all 3 words of 9 bits are sent. With SS_CTL = 1, chip select active during each 9 bit word transmission and inactive between each 9 bit word, as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BURST LENGTH = 8&lt;/P&gt;&lt;P&gt;SS_CTL = 1&lt;/P&gt;&lt;P&gt;TEEN = 1&lt;/P&gt;&lt;P&gt;TE interrupt - write 0x00000101 to TXDATA, write 0x000001F2 to TXDATA, write 0x000001E3 to TXDATA&lt;/P&gt;&lt;P&gt;CS active, 9 bits 0x101, CS inactive, CS active, 9 bits 0x1F2, CS inactive, CS active, 9 bits 0x1E3, CS inactive.&lt;/P&gt;&lt;P&gt;TE interrupt - signal complete semaphore&lt;/P&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SS_CTL = 0, only 1 word of 9 bits are sent, chip select is held active indefinitely and the TX FIFO has 2 words waiting to be sent, but they are not sent. I expected all 3 words of 9 bits to be sent, as happens when SS_CTL = 1. The only difference of behavior I expected is that chip select would remaining active across the transmission of all 5 words of 9 bits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BURST LENGTH = 8&lt;/P&gt;&lt;P&gt;SS_CTL = 0&lt;/P&gt;&lt;P&gt;TEEN = 1&lt;/P&gt;&lt;P&gt;TE interrupt - write 0x00000101 to TXDATA, write 0x000001F2 to TXDATA, write 0x000001E3 to TXDATA&lt;/P&gt;&lt;P&gt;CS active, 9 bits 0x101, nothing else happens on the SPI bus&lt;/P&gt;&lt;P&gt;No TE interrupt occurs, since there are 2 words in the FIFO waiting to be sent&lt;/P&gt;&lt;P&gt;Timeout waiting for complete semaphore.&lt;/P&gt;&lt;P&gt;FAILURE!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 17:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506517#M82380</guid>
      <dc:creator>danhagler</dc:creator>
      <dc:date>2017-01-12T17:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: i-MX7 - Chip Select Signal behavior with SS_CTL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506518#M82381</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;&amp;nbsp; You may get operations as shown on the Figure 10-8 (SPI Burst While SS_CTL[3:0] is Clear)&lt;/P&gt;&lt;P&gt;of the RM (Rev. 0.1, 08/2016), but please take into account, that the description under the figure&lt;/P&gt;&lt;P&gt;is not fully correct. "The maximum length of a single SPI burst is defined in the BURST LENGTH&lt;/P&gt;&lt;P&gt;field of the ECSPI_CONREG control register".&amp;nbsp; Really the maximum length of the single SPI burst&lt;/P&gt;&lt;P&gt;is defined by FIFO. When FIFO is overflowed the SS is negated.&amp;nbsp;&amp;nbsp; &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>Thu, 13 Jul 2017 05:28:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7-Chip-Select-Signal-behavior-with-SS-CTL/m-p/506518#M82381</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-07-13T05:28:17Z</dc:date>
    </item>
  </channel>
</rss>

