<?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: s32k3 sdhc/sdio read data uncorrect in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1757529#M28662</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/115007"&gt;@jiangyaqiang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Did you try to put data buffer into the non-cache memory? like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_0-1700041114626.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249923i9FF4627EDD6EB109/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_0-1700041114626.png" alt="Nhi_Nguyen_0-1700041114626.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Nhi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2023 09:38:53 GMT</pubDate>
    <dc:creator>Nhi_Nguyen</dc:creator>
    <dc:date>2023-11-15T09:38:53Z</dc:date>
    <item>
      <title>s32k3 sdhc/sdio read data uncorrect</title>
      <link>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1742917#M27980</link>
      <description>&lt;P&gt;HI anyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I got a problem when using s32k358 usdhc/sdio to config wifi module 88w8987.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; After download FW success, it need to read some data from the module, but it will always got uncorrect data at somewhere, but there is no error during transfer(no CRC or DMA error).&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have disabled D-cache and I-cache, and do not use DMA, the no help.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;And when the data uncorrect, it always uncorrect in first 4 bytes, as bellow picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiangyaqiang_0-1697717685698.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245941i24616E26D7288303/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jiangyaqiang_0-1697717685698.png" alt="jiangyaqiang_0-1697717685698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Could anyone give me a hand ?&lt;/P&gt;&lt;P&gt;　　Thanks very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 12:16:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1742917#M27980</guid>
      <dc:creator>jiangyaqiang</dc:creator>
      <dc:date>2023-10-19T12:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 sdhc/sdio read data uncorrect</title>
      <link>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1757529#M28662</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/115007"&gt;@jiangyaqiang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Did you try to put data buffer into the non-cache memory? like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_0-1700041114626.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249923i9FF4627EDD6EB109/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_0-1700041114626.png" alt="Nhi_Nguyen_0-1700041114626.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Nhi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 09:38:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1757529#M28662</guid>
      <dc:creator>Nhi_Nguyen</dc:creator>
      <dc:date>2023-11-15T09:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 sdhc/sdio read data uncorrect</title>
      <link>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1761716#M28863</link>
      <description>&lt;P&gt;HI：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have fixed the problem, it's because of hardware not good, I need to turn low the frequency , but not too low , it's ok for 1M , but fail at 400K.&lt;/P&gt;&lt;P&gt;but I have another problem when use DMA and cache, it will cache in function:&lt;/P&gt;&lt;P&gt;hwAcc_ArmCoreMx_DataCacheCleanByAddr(&lt;BR /&gt;false,&lt;BR /&gt;(uint32_t)(content-&amp;gt;data-&amp;gt;txData == NULL ? content-&amp;gt;data-&amp;gt;rxData : content-&amp;gt;data-&amp;gt;txData),&lt;BR /&gt;(content-&amp;gt;data-&amp;gt;blockSize) * (content-&amp;gt;data-&amp;gt;blockCount));&lt;/P&gt;&lt;P&gt;it will fail in the while of the function&lt;/P&gt;&lt;P&gt;hwAcc_ArmCoreMx_DataCacheCleanByAddr&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;while(tmpAddr &amp;lt; endAddr)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*pDataCacheCleanByAddr = tmpAddr;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MCAL_DATA_SYNC_BARRIER();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MCAL_INSTRUCTION_SYNC_BARRIER();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tmpAddr = tmpAddr + cacheLineSize; /* Clean 1 line at a time. */&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;do you have any idea about it ?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 08:18:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1761716#M28863</guid>
      <dc:creator>jiangyaqiang</dc:creator>
      <dc:date>2023-11-22T08:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 sdhc/sdio read data uncorrect</title>
      <link>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1770455#M29398</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;jiangyaqiang,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could please provide detail how it fail in while?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nhi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 06:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1770455#M29398</guid>
      <dc:creator>Nhi_Nguyen</dc:creator>
      <dc:date>2023-12-07T06:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 sdhc/sdio read data uncorrect</title>
      <link>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1770470#M29400</link>
      <description>&lt;P&gt;HI :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it will trigger "HardFault" event.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 06:50:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1770470#M29400</guid>
      <dc:creator>jiangyaqiang</dc:creator>
      <dc:date>2023-12-07T06:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 sdhc/sdio read data uncorrect</title>
      <link>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1770500#M29403</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;jiangyaqiang,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you send me your project or configuration?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nhi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 07:33:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1770500#M29403</guid>
      <dc:creator>Nhi_Nguyen</dc:creator>
      <dc:date>2023-12-07T07:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 sdhc/sdio read data uncorrect</title>
      <link>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1770505#M29404</link>
      <description>&lt;P&gt;HI Nhi：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp; using S32K3X8EVB , the code and config is from&amp;nbsp;S32K3_SDHC_CD1_0_4_0_D2307_updatesite.zip example of "sdhc_wifi_S32K358"&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 07:39:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1770505#M29404</guid>
      <dc:creator>jiangyaqiang</dc:creator>
      <dc:date>2023-12-07T07:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3 sdhc/sdio read data uncorrect</title>
      <link>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1780242#M29959</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/115007"&gt;@jiangyaqiang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I was attached an example for DMA and cache enabled. Please refer to it.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Nhi&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 04:15:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3-sdhc-sdio-read-data-uncorrect/m-p/1780242#M29959</guid>
      <dc:creator>Nhi_Nguyen</dc:creator>
      <dc:date>2023-12-27T04:15:16Z</dc:date>
    </item>
  </channel>
</rss>

