<?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>LPC Microcontrollers中的主题 LPC4370 performance with external SPIFI flash</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924885#M36887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;We are faced with the problem of slow work of some parts of the code in LPC4370. We created a test code of 2 functions that allow you to set or reset the debug pin of the microcontroller. We have repeatedly set and reset pin and measure the set time by oscilloscope.&amp;nbsp;Between one pair of these functions, we added a call to the third function ExternFunc(), which has nothing to do with the test pin and can execute any code:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token function"&gt;ExternFunc&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As you can see from the waveform, the first function call takes a lot of time (about 3 µs), the second call takes about 0.5 µs, and the third call (after the intermediate function ExternFunc()) again takes about 3 µs:&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="SDS00001.BMP"&gt;&lt;IMG alt="SDS00001.BMP" src="https://community.nxp.com/t5/image/serverpage/image-id/87051i006DDABAD13BC6D0/image-size/large?v=v2&amp;amp;px=999" title="SDS00001.BMP" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We suspect that this delay is caused by loading code from external SPIFI-memory, which reduces the speed of the kernel ten times. Is there any way to get around this problem and achieve maximum core speed (204 MHz)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2020 14:24:11 GMT</pubDate>
    <dc:creator>vitaliylivnov</dc:creator>
    <dc:date>2020-11-02T14:24:11Z</dc:date>
    <item>
      <title>LPC4370 performance with external SPIFI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924885#M36887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;We are faced with the problem of slow work of some parts of the code in LPC4370. We created a test code of 2 functions that allow you to set or reset the debug pin of the microcontroller. We have repeatedly set and reset pin and measure the set time by oscilloscope.&amp;nbsp;Between one pair of these functions, we added a call to the third function ExternFunc(), which has nothing to do with the test pin and can execute any code:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token function"&gt;ExternFunc&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;DebugPointSet&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As you can see from the waveform, the first function call takes a lot of time (about 3 µs), the second call takes about 0.5 µs, and the third call (after the intermediate function ExternFunc()) again takes about 3 µs:&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="SDS00001.BMP"&gt;&lt;IMG alt="SDS00001.BMP" src="https://community.nxp.com/t5/image/serverpage/image-id/87051i006DDABAD13BC6D0/image-size/large?v=v2&amp;amp;px=999" title="SDS00001.BMP" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We suspect that this delay is caused by loading code from external SPIFI-memory, which reduces the speed of the kernel ten times. Is there any way to get around this problem and achieve maximum core speed (204 MHz)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924885#M36887</guid>
      <dc:creator>vitaliylivnov</dc:creator>
      <dc:date>2020-11-02T14:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 performance with external SPIFI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924886#M36888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;SPIFI is high speed interface comparing other flash interface such as high-cost parallel norflash. But the code is executed from external memory which speed is slower than on chip memory, It's normal. SPIFI flash is not designed for peak code-operation speed, but if the part of code don't care about the speed so much. SPIFI is a good choice.&lt;/P&gt;&lt;P&gt;Here is some testing result of SPIFI, FYI&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/87255i3FAF39FA67E4309A/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;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/87256i733B44641AEE548D/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;&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;Jun Zhang&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>Mon, 17 Jun 2019 08:53:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924886#M36888</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-06-17T08:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 performance with external SPIFI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924887#M36889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;Can we use a faster SPIFI chip and increase the speed of the SPI interface LPC4370 (for example, up to 102 MHz)?&lt;/P&gt;&lt;P&gt;And could you explain the meaning of the Score and Coremark parameters in your table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 15:11:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924887#M36889</guid>
      <dc:creator>vitaliylivnov</dc:creator>
      <dc:date>2019-06-17T15:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 performance with external SPIFI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924888#M36890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="308151" data-username="vitaliylivnov" href="https://community.nxp.com/people/vitaliylivnov"&gt;Vitaliy Livnov&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I don't think SPIFI can get to speed of 102M/s.&lt;/P&gt;&lt;P&gt;according to the latest LPC4370 datasheet, the maximal speed is 52MB/s:&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/88086iD23B96EF76DD16D2/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;Regarding to "Score and Coremark", this information is extracted from my old backup. The original author is no longer here. I don't know how they tested it.&lt;/P&gt;&lt;P&gt;We can understand higher "Score and Coremark"&amp;nbsp; marks means higher SPIFI performance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&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>Tue, 18 Jun 2019 06:54:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924888#M36890</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-06-18T06:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 performance with external SPIFI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924889#M36891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 13:04:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924889#M36891</guid>
      <dc:creator>vitaliylivnov</dc:creator>
      <dc:date>2019-06-19T13:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4370 performance with external SPIFI flash</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924890#M36892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4370-performance-with-external-SPIFI-flash/m-p/924890#M36892</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-06-19T14:24:46Z</dc:date>
    </item>
  </channel>
</rss>

