<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: NEW - chaining more than 16 words using QSPI transfer</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138772#M2102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thank you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Understood.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2007 21:01:03 GMT</pubDate>
    <dc:creator>ornini</dc:creator>
    <dc:date>2007-07-03T21:01:03Z</dc:date>
    <item>
      <title>NEW - chaining more than 16 words using QSPI transfer</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138768#M2098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 2;"&gt;I need to transfer 18 words using SPI, I wrote the code splitting the first 16 words and the last 2. When I use the debugger and run step by step, I see on the scope first 16 words and then the last two. When I run it all, I see only the last 2 words on the scope.&lt;BR /&gt;I miss something - maybe delay or clearing before transmitting the second phase of the QSPI.&lt;BR /&gt;Do you know what is it about?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 20:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138768#M2098</guid>
      <dc:creator>ornini</dc:creator>
      <dc:date>2007-07-02T20:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - chaining more than 16 words using QSPI transfer</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138769#M2099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&amp;nbsp;When you set SPE:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;MCF_QSPI_QDLYR |= MCF_QSPI_QDLYR_SPE;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Are you sure you are waiting for the signals to be finished?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;while (!(MCF_QSPI_QIR &amp;amp; MCF_QSPI_QIR_SPIF));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And clearing the flags after it has finished?&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;MCF_QSPI_QIR |=&amp;nbsp; MCF_QSPI_QIR_SPIF&lt;BR /&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |MCF_QSPI_QIR_WCEF;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 22:44:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138769#M2099</guid>
      <dc:creator>Kremer</dc:creator>
      <dc:date>2007-07-02T22:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - chaining more than 16 words using QSPI transfer</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138770#M2100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks Kremer - You're the best.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Although it works well even without clearing the SPIF, WCEF flags. Why should I clear them?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 13:42:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138770#M2100</guid>
      <dc:creator>ornini</dc:creator>
      <dc:date>2007-07-03T13:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - chaining more than 16 words using QSPI transfer</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138771#M2101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&amp;nbsp;As you stated, it works even if you don´t clear the flags SPIF and WCEF, but it surely won´t work for many SPI chained transfers, since you need to wait for the signals to be finished using:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;while (!(MCF_QSPI_QIR &amp;amp; MCF_QSPI_QIR_SPIF));&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;So, if you don´t clear at least SPIF, it will&amp;nbsp;remain set and on the next SPI signaling round, when you try to wait for signals to be finished using the line above, the while will imediately return causing the exact behavior you were having before, eg, QSPI command RAM will be overwritten by the other commands before the older commands are executed. Probably WCEF will be set at this time, indicating your firmware overwrote a command RAM position while the current command was being executed.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 20:38:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138771#M2101</guid>
      <dc:creator>Kremer</dc:creator>
      <dc:date>2007-07-03T20:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: NEW - chaining more than 16 words using QSPI transfer</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138772#M2102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thank you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Understood.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 21:01:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/NEW-chaining-more-than-16-words-using-QSPI-transfer/m-p/138772#M2102</guid>
      <dc:creator>ornini</dc:creator>
      <dc:date>2007-07-03T21:01:03Z</dc:date>
    </item>
  </channel>
</rss>

