<?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: NAND Flash Read/Write Time lpc1788 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/NAND-Flash-Read-Write-Time-lpc1788/m-p/1071148#M41296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the timing of the EMC, what number of waitstates etc are used when reading a byte ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2020 07:52:52 GMT</pubDate>
    <dc:creator>carstengroen</dc:creator>
    <dc:date>2020-06-22T07:52:52Z</dc:date>
    <item>
      <title>NAND Flash Read/Write Time lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NAND-Flash-Read-Write-Time-lpc1788/m-p/1071147#M41295</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;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I'm using LPC1788 custom board and interfaced NAND Flash (K9F1G08U0C) working fine.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;In my project i'm working on bulky data to read and write from/to NAND Flash. But the time it takes for read a single page is approx 5.5 millisecond and store data in buffer defined in SDRAM. &lt;BR /&gt;It makes my system slow and reduce the performance of system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm reading about 470 pages at a time (Takes about 2.6 sec that is too much time for my application).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached NAND Flash read function at the end of the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using oscilloscope to find which part of my code is time consuming. And i found that the for loop that store data into buffer takes approx 5 millisecond. This for loop store single page (2048 bytes) data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;BR /&gt; /* Get Data into Buffer */ &lt;BR /&gt; for(; index &amp;lt; size; index++)&lt;BR /&gt; {&lt;BR /&gt; pBuffer[index]= *(volatile uint8_t *)(NAND_FLASH_START_ADDR | DATA_AREA);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What should i do to make this more efficient and faster to read data ?&lt;/P&gt;&lt;P&gt;Is there any other way to store data in buffer faster than this one ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2020 08:47:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NAND-Flash-Read-Write-Time-lpc1788/m-p/1071147#M41295</guid>
      <dc:creator>rameshlalji9595</dc:creator>
      <dc:date>2020-06-20T08:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Flash Read/Write Time lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/NAND-Flash-Read-Write-Time-lpc1788/m-p/1071148#M41296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the timing of the EMC, what number of waitstates etc are used when reading a byte ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 07:52:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/NAND-Flash-Read-Write-Time-lpc1788/m-p/1071148#M41296</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2020-06-22T07:52:52Z</dc:date>
    </item>
  </channel>
</rss>

