<?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: Strange setting for writing file into SD Card in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Strange-setting-for-writing-file-into-SD-Card/m-p/1032393#M40190</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;Unfortunately, we cannot guaranty the behavior using another value. The values supported are 0, 1, 2, 3 and 4.&lt;/P&gt;&lt;P&gt;Did you test setting the value 1 or 4? Could you please try?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I suggest you use the lpcopen SD card demo code, please download lpcopenhttps://www.nxp.com/support/developer-resources/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc40xx:LPCOPEN-SOFTWARE-FOR-LPC40XX&lt;BR /&gt;in side package, there is demo app_sdmmc_meas, This example measures the performance of SD/MMC raw read &amp;amp; write operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jan 2020 19:06:01 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2020-01-03T19:06:01Z</dc:date>
    <item>
      <title>Strange setting for writing file into SD Card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Strange-setting-for-writing-file-into-SD-Card/m-p/1032392#M40189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm developing an application which has to save some file to a SD Card.&lt;/P&gt;&lt;P&gt;At the moment I have some problem writing file into the SD Card.&lt;/P&gt;&lt;P&gt;I read some posts which suggested to drecrease the clock of the MCI peripheral.&lt;/P&gt;&lt;P&gt;I tried to decrease the clock and now I can write files into the SD Card.&lt;/P&gt;&lt;P&gt;The strange thingh is that in order to be able to write files into the SD Card I have to set the field PCLKDIV of PCLKSEL register to 8, but 8 is not a supported value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As specified into the User Manual for LPC408x/407x, permitted value of PCLKDIV are 0, 1, 2, 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/101500i3BB8F366679E0C8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone explain me how it it possible, and what I'm doing wrong?&lt;/P&gt;&lt;P&gt;And how can I decrease the clock of the MCI setting the field CLKDIV of CLOCK register?&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;P&gt;Giovanni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 13:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Strange-setting-for-writing-file-into-SD-Card/m-p/1032392#M40189</guid>
      <dc:creator>g_macaluso</dc:creator>
      <dc:date>2020-01-03T13:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Strange setting for writing file into SD Card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Strange-setting-for-writing-file-into-SD-Card/m-p/1032393#M40190</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;Unfortunately, we cannot guaranty the behavior using another value. The values supported are 0, 1, 2, 3 and 4.&lt;/P&gt;&lt;P&gt;Did you test setting the value 1 or 4? Could you please try?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I suggest you use the lpcopen SD card demo code, please download lpcopenhttps://www.nxp.com/support/developer-resources/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc40xx:LPCOPEN-SOFTWARE-FOR-LPC40XX&lt;BR /&gt;in side package, there is demo app_sdmmc_meas, This example measures the performance of SD/MMC raw read &amp;amp; write operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 19:06:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Strange-setting-for-writing-file-into-SD-Card/m-p/1032393#M40190</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2020-01-03T19:06:01Z</dc:date>
    </item>
  </channel>
</rss>

