<?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中的主题 SPIFI Flash Identification</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Identification/m-p/1574620#M51104</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I was working on LPC54018 Customized EVK Board to connect with TFT Controller.Where we connected external flash memory (W25Q128FV) to flash the code.&lt;/P&gt;&lt;P&gt;Doubts?&lt;/P&gt;&lt;P&gt;1.How to find which types of SPI to transfer the data whether it was single,dual or quad?&lt;/P&gt;&lt;P&gt;2.How to change the MODE of SPI in MCUXPRESSO?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Dec 2022 12:16:04 GMT</pubDate>
    <dc:creator>VIGNESH_BABU</dc:creator>
    <dc:date>2022-12-26T12:16:04Z</dc:date>
    <item>
      <title>SPIFI Flash Identification</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Identification/m-p/1574620#M51104</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I was working on LPC54018 Customized EVK Board to connect with TFT Controller.Where we connected external flash memory (W25Q128FV) to flash the code.&lt;/P&gt;&lt;P&gt;Doubts?&lt;/P&gt;&lt;P&gt;1.How to find which types of SPI to transfer the data whether it was single,dual or quad?&lt;/P&gt;&lt;P&gt;2.How to change the MODE of SPI in MCUXPRESSO?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 12:16:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Identification/m-p/1574620#M51104</guid>
      <dc:creator>VIGNESH_BABU</dc:creator>
      <dc:date>2022-12-26T12:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SPIFI Flash Identification</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Identification/m-p/1574692#M51106</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209612"&gt;@VIGNESH_BABU&lt;/a&gt;,&lt;/P&gt;
&lt;OL class="lia-align-justify" type="1"&gt;
&lt;LI value="1"&gt;How to find which type of SPI to transfer the data whether it was single, dual or quad?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="lia-align-justify"&gt;&lt;EM&gt;You may find the information in LPC54018JxM/LPC54S018JxM User manual. At Chapter 33: LPC54018JxM/LPC54S018JxM SPI flash interface (SPIFI), section 33.6 Register description.&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;EM&gt;There is a register called SPIFI control register that controls the overall operation of the SPIFI and should be written before any commands are initiated. There you could set the DUAL bit to select the mode of operation between Quad and Dual.&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_0-1672084040288.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205481i23B9593B0F591094/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_0-1672084040288.png" alt="RaulRomero_0-1672084040288.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL class="lia-align-justify" type="1"&gt;
&lt;LI value="2"&gt;How to change the MODE of SPI in MCUXPRESSO?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="lia-align-justify"&gt;&lt;EM&gt;Do you mean SPIFI? If that’s the case, then you could change it as follows:&lt;/EM&gt;&lt;/P&gt;
&lt;OL class="lia-align-justify" type="a"&gt;
&lt;LI value="1"&gt;&lt;EM&gt;First, you need to select the drivers to work with SPIFI. In new project -&amp;gt; drivers -&amp;gt; SPIFI and check the box. Then in the file fsl_spifi.c modify the next function in the highlighted line. &lt;/EM&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_1-1672084040291.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205482i4B165C4A3566973B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_1-1672084040291.png" alt="RaulRomero_1-1672084040291.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;As mentioned in the answer of your first question, you can modify between QUAD and DUAL:&lt;/EM&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_2-1672084040293.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205483i4312B428CE6A10DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_2-1672084040293.png" alt="RaulRomero_2-1672084040293.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL class="lia-align-justify" type="a"&gt;
&lt;LI value="2"&gt;&lt;EM&gt;In MCUXpresso there is a useful tool called ConfigTools, if you are aware of how it works, you could use Peripherals&lt;/EM&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_3-1672084040295.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205484i6CB0AD8B413E97A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_3-1672084040295.png" alt="RaulRomero_3-1672084040295.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;EM&gt;And trough Peripheral drivers add SPIFI and configure it according to your needs. In SPI Protocol you could select between QUAD and DUAL.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_4-1672084040296.png" style="width: 273px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205485i90FB5F94D9352B3D/image-dimensions/273x301?v=v2" width="273" height="301" role="button" title="RaulRomero_4-1672084040296.png" alt="RaulRomero_4-1672084040296.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_5-1672084040298.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205486i21A3921F30500D21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_5-1672084040298.png" alt="RaulRomero_5-1672084040298.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;EM&gt;Do not forget to Update the code.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_6-1672084040300.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205487i2C81C1ACB0F9037B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_6-1672084040300.png" alt="RaulRomero_6-1672084040300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;For more information, please take a look to the LPC54018JxM/LPC54S018JxM User manual (you could download it here &lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc54000-arm-cortex-m4-/power-efficient-microcontrollers-mcus-with-advanced-peripherals-based-on-arm-cortex-m4-core:LPC540XX?fpsp=1#documentation" target="_blank"&gt;LPC540XX Family of Microcontrollers (MCUs) | NXP Semiconductors&lt;/A&gt;) and SPIFI driver files in MCUXpresso.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Regards, Raul.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 19:49:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPIFI-Flash-Identification/m-p/1574692#M51106</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2022-12-26T19:49:50Z</dc:date>
    </item>
  </channel>
</rss>

