<?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 This an automatic process.  We are marking this post as s... in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/1136737#M6071</link>
    <description>&lt;B&gt;This an automatic process.&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;
We are marking this post as solved, due to the either low activity or any reply marked as correct.&lt;BR /&gt;&lt;BR /&gt;
If you have additional questions, please create a new post and reference to this closed post.&lt;BR /&gt;&lt;BR /&gt;
NXP Community!</description>
    <pubDate>Thu, 03 Sep 2020 16:20:23 GMT</pubDate>
    <dc:creator>CommunityBot</dc:creator>
    <dc:date>2020-09-03T16:20:23Z</dc:date>
    <item>
      <title>Reading from Quadspi using eDMA returns wrong data</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384621#M4125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add eDMA support to my Quadspi using code on VybridVF3xx. I have a problem when receiving from flash more data than I want to copy with eDMA. I got wrong data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I am receiving 21 bytes of data. And eDMA is receiving only 16 (Minor loop is 8 bytes, quadspi WMRK is 1).&lt;/P&gt;&lt;P&gt;The first receive operation is ok. When DMA finifhes Quadspi.RBSR is 0x40200, so 4 bytes from RX buffer are taken by the DMA. The rest (2 bytes) I take from the RX buffer by cpu. The received data is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I set CLR_RXF bit in quadspi.MCR register and to be sure clean all the flags by writing 0XFFFFFFFF to quadspi.FR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I repeat the receive function (sending new read command to flash). When DMA finishes Quadspi.RBSR is 0x20400 so only 2 bytes are taken from buffer (it should take 4). Moreover the data received by eDMA is {1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8} when I&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV style="display: inline-block;"&gt;&lt;DIV&gt;&lt;SPAN class="ita-kd-inputtools-div"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="almost_half_cell"&gt;&lt;DIV dir="ltr" style="zoom: 1;"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;expect to get&lt;/SPAN&gt;&lt;/SPAN&gt; {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV dir="ltr" style="zoom: 1;"&gt; &lt;/DIV&gt;&lt;DIV dir="ltr" style="zoom: 1;"&gt;DMA settings in both DMA uses are the same:&lt;/DIV&gt;&lt;P&gt;{SADDR = 0x7c000000, SOFF = 0x4, ATTR = 0x1a02, NBYTES_MLNO = 0x8, SLAST = 0x0, DADDR = 0x3f071b00, DOFF = 0x4, {CITER_ELINKNO = 0x2, CITER_ELINKYES = 0x2}, DLAST_SGA = 0x0, CSR = 0x88, {BITER_ELINKNO = 0x2, BITER_ELINKYES = 0x2}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 13:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384621#M4125</guid>
      <dc:creator>katarzynabarano</dc:creator>
      <dc:date>2014-08-27T13:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from Quadspi using eDMA returns wrong data</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384622#M4126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt; can you help with this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 16:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384622#M4126</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-08-29T16:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from Quadspi using eDMA returns wrong data</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384623#M4127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are supporting the vf6xx platform, not the vf3xx. Does the Freescale team have any input on this query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timesys Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 19:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384623#M4127</guid>
      <dc:creator>timesyssupport</dc:creator>
      <dc:date>2014-08-29T19:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from Quadspi using eDMA returns wrong data</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384624#M4128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="214905" data-objecttype="3" href="https://community.nxp.com/people/timesyssupport" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #6a737b;"&gt;Timesys Support&lt;/A&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And how would you reply if that were for VF6XX? :smileyhappy: - The point is that the QuadSPI piece is shared by the entire Vybrid family.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;May you, please, either review the requester's code or refer to your &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;VF6XX &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; text-decoration: underline;"&gt;code &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;implementing&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; text-decoration: underline;"&gt; the function &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/katarzynabaranowska"&gt;katarzynabaranowska&lt;/A&gt; is asking about?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, Naoum Gitnik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 20:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384624#M4128</guid>
      <dc:creator>naoumgitnik</dc:creator>
      <dc:date>2014-08-29T20:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from Quadspi using eDMA returns wrong data</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384625#M4129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The VF6xx Linux driver for QSPI does not include eDMA support, so we can't be of assistance. The customer can work with us under services if they wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timesys Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 15:24:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/384625#M4129</guid>
      <dc:creator>timesyssupport</dc:creator>
      <dc:date>2014-09-03T15:24:34Z</dc:date>
    </item>
    <item>
      <title>This an automatic process.  We are marking this post as s...</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/1136737#M6071</link>
      <description>&lt;B&gt;This an automatic process.&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;
We are marking this post as solved, due to the either low activity or any reply marked as correct.&lt;BR /&gt;&lt;BR /&gt;
If you have additional questions, please create a new post and reference to this closed post.&lt;BR /&gt;&lt;BR /&gt;
NXP Community!</description>
      <pubDate>Thu, 03 Sep 2020 16:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Reading-from-Quadspi-using-eDMA-returns-wrong-data/m-p/1136737#M6071</guid>
      <dc:creator>CommunityBot</dc:creator>
      <dc:date>2020-09-03T16:20:23Z</dc:date>
    </item>
  </channel>
</rss>

