<?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>Processor Expert Software中的主题 Re: Configuration problem with fsl_sdcard driver component</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Configuration-problem-with-fsl-sdcard-driver-component/m-p/392290#M3060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;It worked&lt;/SPAN&gt;&lt;/SPAN&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 01:59:20 GMT</pubDate>
    <dc:creator>matheuspinto</dc:creator>
    <dc:date>2015-08-26T01:59:20Z</dc:date>
    <item>
      <title>Configuration problem with fsl_sdcard driver component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Configuration-problem-with-fsl-sdcard-driver-component/m-p/392288#M3058</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;I am trying to use the fsl_sdcard component with KDS 3.0.0 and PE, and the eval boards FDRM K22F and FRDM-KL25Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52777iE5F9143DC480E42B/image-size/large?v=v2&amp;amp;px=999" role="button" title="err6.png" alt="err6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the FRDM-K22F, the inherited component is added:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52837i608DE517B8882B45/image-size/large?v=v2&amp;amp;px=999" role="button" title="err3.png" alt="err3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But a problem occurs in the fsl_dspi component. Is not accepted any clock value, like you can see in figure below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52814i3FA7833A9BBE0F84/image-size/large?v=v2&amp;amp;px=999" role="button" title="err2.png" alt="err2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even using the timing dialogue box, to choose a predetermined clock, doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kkk.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52855iC90548E8A9710413/image-size/large?v=v2&amp;amp;px=999" role="button" title="kkk.png" alt="kkk.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same problem occurs using FRDM KL25Z, however, the inherited component add is the fsl_spi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52886iBE04D7A0F816A667/image-size/large?v=v2&amp;amp;px=999" role="button" title="err4.png" alt="err4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52935iFB15B2E7CA79E05C/image-size/large?v=v2&amp;amp;px=999" role="button" title="err5.png" alt="err5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 13:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Configuration-problem-with-fsl-sdcard-driver-component/m-p/392288#M3058</guid>
      <dc:creator>matheuspinto</dc:creator>
      <dc:date>2015-08-24T13:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Configuration problem with fsl_sdcard driver component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Configuration-problem-with-fsl-sdcard-driver-component/m-p/392289#M3059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Matheus Pinto:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a project for a board (e.g. FRDM-K22F) Processor Expert provides a set of predefined clock configurations. You can analyze such configurations by opening the settings of the &lt;STRONG&gt;fsl_clock_manager&lt;/STRONG&gt; component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the "clockMan1_InitConfig5" corresponds to a Core clock = 100 Mhz and Bus clock = 50 MHz:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52937iDB673D218687C640/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the top of the timing dialog box for &lt;STRONG&gt;fsl_dspi&lt;/STRONG&gt; you can see that all the clock configurations are enabled by default:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52891iA05A2268393CF40C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case the SPI clock frequency must be achievable with all clock configurations using dividers and prescalers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To resolve this you can simply disable the configurations that you will not use. e.g. I enabled only &lt;STRONG&gt;Clock cfg. 5&lt;/STRONG&gt; and this lets me set the frequency to 400 kHz:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52865iAE63DDCBBDAEC85E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. Let me know if you have questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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>Tue, 25 Aug 2015 23:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Configuration-problem-with-fsl-sdcard-driver-component/m-p/392289#M3059</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-08-25T23:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Configuration problem with fsl_sdcard driver component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Configuration-problem-with-fsl-sdcard-driver-component/m-p/392290#M3060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;It worked&lt;/SPAN&gt;&lt;/SPAN&gt;!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 01:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Configuration-problem-with-fsl-sdcard-driver-component/m-p/392290#M3060</guid>
      <dc:creator>matheuspinto</dc:creator>
      <dc:date>2015-08-26T01:59:20Z</dc:date>
    </item>
  </channel>
</rss>

