<?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のトピックSDMMC_OSADelay() not working properly</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SDMMC-OSADelay-not-working-properly/m-p/1742925#M214428</link>
    <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;We are working on a project based on IMXRT1050 – EVKB where fatfs is implemented using SDcard, according to NXP example.&lt;/P&gt;&lt;P&gt;We are facing a stranger behavior regarding SDMMC_OSADelay() function, when instead delay milliseconds, &lt;STRONG&gt;it take several minutes&lt;/STRONG&gt;.&lt;BR /&gt;The stranger thing is when this happens. The fact to add or remove some code from anywhere from software, causes the SDMMC_OSADelay() to work well or not.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Example when everything works fine, including Sdcard:&lt;/U&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Hw_and_sw_initialization();&lt;BR /&gt;SD_PollingCardInsert();&lt;BR /&gt;Foo_func(); //this function just return 1.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;U&gt;Example when SDMMC_OSADelay() take minutes:&lt;/U&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Hw_and_sw_initialization();&lt;BR /&gt;SD_PollingCardInsert(); // software get stuck here for several minutes, and when continue, SDcard is not working.&lt;BR /&gt;&lt;STRONG&gt;//Foo_func(); //this function just return 1&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Any help will be welcome!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Angelo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2023 12:38:06 GMT</pubDate>
    <dc:creator>angelo_76</dc:creator>
    <dc:date>2023-10-19T12:38:06Z</dc:date>
    <item>
      <title>SDMMC_OSADelay() not working properly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMMC-OSADelay-not-working-properly/m-p/1742925#M214428</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;We are working on a project based on IMXRT1050 – EVKB where fatfs is implemented using SDcard, according to NXP example.&lt;/P&gt;&lt;P&gt;We are facing a stranger behavior regarding SDMMC_OSADelay() function, when instead delay milliseconds, &lt;STRONG&gt;it take several minutes&lt;/STRONG&gt;.&lt;BR /&gt;The stranger thing is when this happens. The fact to add or remove some code from anywhere from software, causes the SDMMC_OSADelay() to work well or not.&lt;/P&gt;&lt;P&gt;&lt;U&gt;Example when everything works fine, including Sdcard:&lt;/U&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Hw_and_sw_initialization();&lt;BR /&gt;SD_PollingCardInsert();&lt;BR /&gt;Foo_func(); //this function just return 1.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;U&gt;Example when SDMMC_OSADelay() take minutes:&lt;/U&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Hw_and_sw_initialization();&lt;BR /&gt;SD_PollingCardInsert(); // software get stuck here for several minutes, and when continue, SDcard is not working.&lt;BR /&gt;&lt;STRONG&gt;//Foo_func(); //this function just return 1&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Any help will be welcome!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Angelo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 12:38:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMMC-OSADelay-not-working-properly/m-p/1742925#M214428</guid>
      <dc:creator>angelo_76</dc:creator>
      <dc:date>2023-10-19T12:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: SDMMC_OSADelay() not working properly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMMC-OSADelay-not-working-properly/m-p/1745367#M214632</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224592"&gt;@angelo_76&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing fine.&lt;/P&gt;
&lt;P&gt;Please, try to increase the heap area for your RTOS application. Let's check if this has an effect on the behaviour of this function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 17:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMMC-OSADelay-not-working-properly/m-p/1745367#M214632</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2023-10-24T17:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: SDMMC_OSADelay() not working properly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMMC-OSADelay-not-working-properly/m-p/1745406#M214637</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response, but in this case, I'm running on bare metal.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 18:42:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMMC-OSADelay-not-working-properly/m-p/1745406#M214637</guid>
      <dc:creator>angelo_76</dc:creator>
      <dc:date>2023-10-24T18:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: SDMMC_OSADelay() not working properly</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMMC-OSADelay-not-working-properly/m-p/1745499#M214646</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224592"&gt;@angelo_76&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the clarification!&amp;nbsp; I see that you are using the baremetal implementation relying on the&amp;nbsp;&lt;SPAN&gt;SDK_DelayAtLeastUs&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1698183447404.png" style="width: 622px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/246620iAEC57B5E28661AE0/image-dimensions/622x126?v=v2" width="622" height="126" role="button" title="diego_charles_0-1698183447404.png" alt="diego_charles_0-1698183447404.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Please help me testing&amp;nbsp; DWT and check&amp;nbsp; if the delay given to this function is not too big, try&amp;nbsp; a smaller value.&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Below an example screenshot using RT1064 and MCUXpresso.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1698191428759.png" style="width: 638px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/246622iB055BCE168960B16/image-dimensions/638x531?v=v2" width="638" height="531" role="button" title="diego_charles_1-1698191428759.png" alt="diego_charles_1-1698191428759.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 23:53:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMMC-OSADelay-not-working-properly/m-p/1745499#M214646</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2023-10-24T23:53:59Z</dc:date>
    </item>
  </channel>
</rss>

