<?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: Usage of FlexSPI LUT in i.MXRT in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/860246#M1979</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/124395"&gt;@brain00&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, the LUT just can support up to 16 sequences, the LUT table have the size limit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, from my own viewpoint, I think if you think 16 sequences is not enough, after you finish the 16 sequences code, you can configure the LUT table again, just add the other command sequence, then update the LUT table and run the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think the FlexSPI module need to use the LUT table to work, but more details, I will help you to check it with according department, then give you feedback.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Please waiting patiently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;
&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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 style="min- padding: 0px;"&gt;&amp;nbsp;&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;</description>
    <pubDate>Wed, 25 Aug 2021 02:21:58 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2021-08-25T02:21:58Z</dc:date>
    <item>
      <title>Usage of FlexSPI LUT in i.MXRT</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/860245#M1978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MXRT1050 FlexSPI module have LUT which support up to 16 sequences which is equivalent to 16 Flash commands.&lt;/P&gt;&lt;P&gt;Many NOR Flash chips today support much more than 16 commands.&lt;/P&gt;&lt;P&gt;1. Is there a way to support NOR Flash devices with more than 16 flash commands ?&lt;/P&gt;&lt;P&gt;2. Is there a way to work with FlexSPI module without the LUT ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 15:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/860245#M1978</guid>
      <dc:creator>brain00</dc:creator>
      <dc:date>2019-02-13T15:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of FlexSPI LUT in i.MXRT</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/860246#M1979</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/124395"&gt;@brain00&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, the LUT just can support up to 16 sequences, the LUT table have the size limit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, from my own viewpoint, I think if you think 16 sequences is not enough, after you finish the 16 sequences code, you can configure the LUT table again, just add the other command sequence, then update the LUT table and run the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think the FlexSPI module need to use the LUT table to work, but more details, I will help you to check it with according department, then give you feedback.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Please waiting patiently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;
&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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 style="min- padding: 0px;"&gt;&amp;nbsp;&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;</description>
      <pubDate>Wed, 25 Aug 2021 02:21:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/860246#M1979</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-08-25T02:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of FlexSPI LUT in i.MXRT</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/860247#M1980</link>
      <description>&lt;P&gt;Thank you Kerry for the quick reply&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;if you already going to ask the R&amp;amp;D guys about this,&lt;/P&gt;&lt;P&gt;Can you please also add client request for the next chips to have more than 16 sequences ?&amp;nbsp; (i.e: 32)&lt;/P&gt;&lt;P&gt;Waiting for your reply&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 12:02:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/860247#M1980</guid>
      <dc:creator>brain00</dc:creator>
      <dc:date>2021-08-24T12:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of FlexSPI LUT in i.MXRT</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/860248#M1981</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/124395"&gt;@brain00&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can use the method which I recommend you in the above reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; About your request, I will record it, but I don't make sure it can be accepted by the according department.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks a lot for your understanding.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;&amp;nbsp;&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;</description>
      <pubDate>Wed, 25 Aug 2021 02:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/860248#M1981</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-08-25T02:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of FlexSPI LUT in i.MXRT</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/1209111#M12101</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having the same issue regarding the 16 sequence max limit. I need more than 16 sequences. I have tried to create a second LUT table to use after the Flexspi configuration, but when I try to update the LUT using FLEXSPI_UpdateLUT, it does not appear to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are the complete steps for updating the LUT with different sequences? Do I need to reinitialize the Flexspi?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 19:43:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/1209111#M12101</guid>
      <dc:creator>kamal1</dc:creator>
      <dc:date>2021-01-08T19:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of FlexSPI LUT in i.MXRT</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/1209113#M12102</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Here's the LUT reconfiguration from the uTasker project (I think that the NXP SDK has something similar).&lt;/P&gt;&lt;P&gt;The use is fnEnterLUT(&lt;STRONG&gt;&lt;EM&gt;pointer to the new look up table&lt;/EM&gt;&lt;/STRONG&gt;, &lt;STRONG&gt;&lt;EM&gt;reference to the bus&lt;/EM&gt;&lt;/STRONG&gt; - 0 for FlexSPI1 and 1 or FlexSPI2). &lt;EM&gt;It works for QSPI or hyper flash.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;static void fnEnterLUT(const FLEXSPI_LUT_ENTRY *ptrTable, int iBus)
{
    int iLUT = 0;
    volatile unsigned long *ptrLUT;
    iMX_FLEX_SPI *ptrFlexSPI = (iMX_FLEX_SPI *)FLEX_SPI_BLOCK;
#if FLEX_SPI_INTERFACES &amp;gt; 1
    if (iBus != 0) {
        ptrFlexSPI = (iMX_FLEX_SPI *)FLEX_SPI2_BLOCK;
    }
#endif
    // Update look-up table
    //
    while ((ptrFlexSPI-&amp;gt;STS0 &amp;amp; (FLEX_SPI_STS0_ARBIDLE | FLEX_SPI_STS0_SEQIDLE)) != (FLEX_SPI_STS0_ARBIDLE | FLEX_SPI_STS0_SEQIDLE)) {} // wait until the bus is idle

    ptrFlexSPI-&amp;gt;LUTKEY = FLEX_SPI_LUTKEY_KEY;
    ptrFlexSPI-&amp;gt;LUTCR = FLEX_SPI_LUTCR_UNLOCK;
    uMemset((void *)&amp;amp;ptrFlexSPI-&amp;gt;LUT0, 0x00, (FLEX_SPI_LUT_ENTRIES * sizeof(unsigned long))); // ensure all non-used entries are clear
    while (ptrTable[iLUT].ulReference != NOR_CMD_LUT_SEQ_IDX_END_OF_TABLE) {
        ptrLUT = &amp;amp;ptrFlexSPI-&amp;gt;LUT0;
        ptrLUT += ((ptrTable[iLUT].ulReference &amp;amp; 0x0f) * 4);             // move to the LUT entry
        if (*ptrLUT != 0) {
            _EXCEPTION("Overlapping LUT indexes being used!!!!");
        }
        *ptrLUT++ = ptrTable[iLUT].ulEntrySequence[0];                   // enter the sequence(s)
        *ptrLUT = ptrTable[iLUT].ulEntrySequence[1];
#if defined BOOT_HYPER_FLASH
        *(++ptrLUT) = ptrTable[iLUT].ulEntrySequence[2];
        *(++ptrLUT) = ptrTable[iLUT].ulEntrySequence[3];
#endif
        iLUT++;
    }

    ptrFlexSPI-&amp;gt;LUTKEY = FLEX_SPI_LUTKEY_KEY;
    ptrFlexSPI-&amp;gt;LUTCR = FLEX_SPI_LUTCR_LOCK;

    ptrFlexSPI-&amp;gt;MCR0 |= FLEX_SPI_MCR0_SWRESET;                           // perform a reset of the module
    _WAIT_REGISTER_TRUE(ptrFlexSPI-&amp;gt;MCR0, FLEX_SPI_MCR0_SWRESET);        // wait for reset to complete
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that a SW reset is made to the module before using the new table.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;BR /&gt;&lt;EM&gt;[uTasker project developer for Kinetis and i.MX RT]&lt;/EM&gt;&lt;BR /&gt;&lt;FONT color="#999999"&gt;Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or rapid product development requirements&lt;BR /&gt;&lt;BR /&gt;For professionals searching for faster, problem-free Kinetis and i.MX RT 10xx developments the uTasker project holds the key&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 20:07:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/1209113#M12102</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2021-01-08T20:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of FlexSPI LUT in i.MXRT</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/1644392#M24886</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on Hyper Bus interfaces (Hyper Flash/Hyper Bus).I referred the source code of SDK (RT-1050) along with reference manual. But, I require more information about hyper flash. Especially &lt;STRONG&gt;LUT&lt;/STRONG&gt; table. please share any information regarding usage of Hyper Bus devices.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 07:22:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Usage-of-FlexSPI-LUT-in-i-MXRT/m-p/1644392#M24886</guid>
      <dc:creator>ManikantaRobbi</dc:creator>
      <dc:date>2023-05-04T07:22:25Z</dc:date>
    </item>
  </channel>
</rss>

