<?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のトピックRe: LPCXpresso SPIFI RTOS example</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745485#M30063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="308681" data-username="primate" href="https://community.nxp.com/people/primate" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;primate&lt;/A&gt;，&lt;/P&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;for the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;According to your statement, you'd like to execute the FreeRTOS task in the SPIFI flash, however the code execution performance only up to 60~70% of internal flash performance when code runs in the&amp;nbsp;&lt;SPAN&gt;the SPIFI flash.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;So I don't think the proposal is good.&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;TIC&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2018 02:39:34 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2018-03-14T02:39:34Z</dc:date>
    <item>
      <title>LPCXpresso SPIFI RTOS example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745484#M30062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a LPCXpresso54628 board and I was wondering does anybody have an example how to implement SPIFI into FreeRTOS? If no, any ideas how to implement it (taking the &lt;EM&gt;lpcxpresso54628_driver_examples_spifi_spifi_dma_transfer&lt;/EM&gt; as a reference?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2018 15:22:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745484#M30062</guid>
      <dc:creator>primate</dc:creator>
      <dc:date>2018-03-10T15:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso SPIFI RTOS example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745485#M30063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="308681" data-username="primate" href="https://community.nxp.com/people/primate" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;primate&lt;/A&gt;，&lt;/P&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;for the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;According to your statement, you'd like to execute the FreeRTOS task in the SPIFI flash, however the code execution performance only up to 60~70% of internal flash performance when code runs in the&amp;nbsp;&lt;SPAN&gt;the SPIFI flash.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;So I don't think the proposal is good.&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;TIC&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 02:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745485#M30063</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-03-14T02:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso SPIFI RTOS example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745486#M30064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A _jive_internal="true" data-avatarid="27803" data-externalid="" data-online="false" data-presence="null" data-userid="213424" data-username="jeremyzhou" href="https://community.nxp.com/people/jeremyzhou" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;jeremyzhou&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for the answer.&lt;/P&gt;&lt;P&gt;What would be a better solution in your opinion for&amp;nbsp;using the on-board &lt;SPAN style="color: #4a4a4d; background-color: #ffffff; font-size: 16px;"&gt;Quad-SPI flash&lt;/SPAN&gt; in FreeRTOS?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a project running FreeRTOS where one of the tasks is to take a user input and store it on&lt;SPAN style="color: #4a4a4d; background-color: #ffffff; font-size: 16px;"&gt;&amp;nbsp;flash (for later use). One of the inputs is also user settings which would be taken on board power-up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4a4a4d; background-color: #ffffff; font-size: 16px;"&gt;Have a nice day&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 18:07:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745486#M30064</guid>
      <dc:creator>primate</dc:creator>
      <dc:date>2018-03-15T18:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso SPIFI RTOS example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745487#M30065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="308681" data-username="primate" href="https://community.nxp.com/people/primate" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;primate&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;If the SPIFI flash is just used to store some data and the internal flash is assigned the application code.&lt;/P&gt;&lt;P&gt;Definitely, it's available.&lt;/P&gt;&lt;P&gt;However you need to initialize the SPIFI flash&amp;nbsp;prior to create the tasks in RTOS.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;TIC&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 06:23:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745487#M30065</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-03-16T06:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso SPIFI RTOS example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745488#M30066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Dear&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="213424" data-objecttype="3" href="https://community.nxp.com/people/jeremyzhou" rel="nofollow noopener noreferrer" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px; padding: 1px 0px 1px calc(12px + 0.35ex);" target="_blank"&gt;jeremyzhou&lt;/A&gt;,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I did intialize the SPIFI (like in the DMA SPIFI example) prior to RTOS task but every time I want to write something it hangs at:&lt;/P&gt;&lt;PRE style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;STRONG&gt;SPIFI_SetMemoryCommand(SPIFI0, &amp;amp;command[READ]);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;BTW is that function really needed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Jut to let you know that I have managed to port the polling SPIFI example into my RTOS project and it works &lt;SPAN style="text-decoration: line-through;"&gt;relatively&lt;/SPAN&gt; OK &lt;SPAN style="text-decoration: line-through;"&gt;(sometimes the data is not written into memory like it should and I will need to sort out why)&lt;/SPAN&gt;. &lt;EM&gt;EDIT: looks like a &lt;STRONG&gt;vTaskDelay(5);&lt;/STRONG&gt; was needed before&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM style="color: #3d3d3d;"&gt;&lt;STRONG&gt;enable_quad_mode();&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;To clarify even further just to see the whole picture:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;I am using lwIP RTOS where, among other things, the user can enter some data&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;That data should then be stored into SPIFI flash&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;As for the project first everything is intialized and the lwIP task is called&lt;/SPAN&gt;&lt;UL&gt;&lt;LI style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;within lwIP there is also&amp;nbsp;a init function where I have put the function&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;enable_quad_mode();&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;I am not sure do I need to put the that function prior to the RTOS task since it works in the RTOS SPIFI polling example.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;If you need any more info please let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2018 11:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso-SPIFI-RTOS-example/m-p/745488#M30066</guid>
      <dc:creator>primate</dc:creator>
      <dc:date>2018-03-18T11:28:56Z</dc:date>
    </item>
  </channel>
</rss>

