<?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: FlexSPI octal mode in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2059707#M15486</link>
    <description>&lt;P&gt;dear&amp;nbsp;@&lt;SPAN&gt;fcenedese,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;you need to ask to the MRAM vendor in order to check if the commands in the LUT are in the correct order when you want to use 8 lanes, because the problem is in the MRAM side.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 16:35:24 GMT</pubDate>
    <dc:creator>LFGP</dc:creator>
    <dc:date>2025-03-11T16:35:24Z</dc:date>
    <item>
      <title>FlexSPI octal mode</title>
      <link>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2058882#M15479</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;We're using a LX2160A with its integrated FlexSPI controller to access an Everspin MRAM device. Reading and writing with standard commands (0x03/0x02) on a single lane works fine. Now I try to speed it up by using 8 lanes. I did manage to read data but the first byte seems to be duplicated.&lt;/P&gt;&lt;P&gt;This is the table I use in the LUT (I tried both sdr and dtr). The MRAM is configured for 8 dummy cycles, the speed is very low (20MHz):&lt;/P&gt;&lt;P&gt;// read octal sdr&lt;BR /&gt;(LUT_CMD, LUT_PAD(1), 0xCB)&lt;BR /&gt;(LUT_ADDR, LUT_PAD(8), 24)&lt;BR /&gt;(LUT_DUMMY, LUT_PAD(8), LUT_MODE8)&lt;BR /&gt;(LUT_NXP_READ, LUT_PAD(8), &lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;0x0B1804CB, 0x27083307, 0x00000000, 0x00000000&lt;/P&gt;&lt;P&gt;// read octal ddr&lt;BR /&gt;(LUT_CMD, LUT_PAD(1), 0xFD)&lt;BR /&gt;(LUT_ADDR_DDR, LUT_PAD(8), 32)&lt;BR /&gt;(LUT_DUMMY_DDR, LUT_PAD(8), LUT_MODE8)&lt;BR /&gt;(LUT_READ_DDR, LUT_PAD(8), &lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; 0x8B2004FD, 0xA708B307, 0x00000000, 0x00000000&lt;/P&gt;&lt;P&gt;What could be the reason that I get an additional byte in the beginning with both commands?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 16:12:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2058882#M15479</guid>
      <dc:creator>fcenedese</dc:creator>
      <dc:date>2025-03-10T16:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSPI octal mode</title>
      <link>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2059707#M15486</link>
      <description>&lt;P&gt;dear&amp;nbsp;@&lt;SPAN&gt;fcenedese,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;you need to ask to the MRAM vendor in order to check if the commands in the LUT are in the correct order when you want to use 8 lanes, because the problem is in the MRAM side.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 16:35:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2059707#M15486</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2025-03-11T16:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSPI octal mode</title>
      <link>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2065363#M15525</link>
      <description>&lt;P&gt;I have a follow-up question: Reading and writing octal now works. However the speedup in writing was rather small. Checking with an oscilloscope on the SPI bus we saw that each 8-byte write is a separate transaction with write-enable, write command, address and data, then the chip select is reset again.&lt;/P&gt;&lt;P&gt;In the LUT I do have two commands being executed for an AHB write, WE and Write octal. But even if I take out the WE, issue this manually before writing and then write all the values in a loop the chip select still gets deasserted after each data packet. Is it possible to have a burst write with AHB or do I need to do this with an IP command? What is the recommended way to get the most speed out of it?&lt;/P&gt;&lt;P&gt;Interestingly reading octal seems to work fine, all data is read in a continuous burst, even though I'm reading exactly the same way as I'm writing (for loop, pointer dereference).&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 08:05:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2065363#M15525</guid>
      <dc:creator>fcenedese</dc:creator>
      <dc:date>2025-03-20T08:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSPI octal mode</title>
      <link>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2067981#M15538</link>
      <description>dear Fabian,&lt;BR /&gt;this issue is a little out of our support.&lt;BR /&gt;But, writing operations usually require write-enable and may be limited to page sizes or minimum transaction units, at this sense you could develop as next:&lt;BR /&gt;&amp;gt;&amp;gt; use the IP commands &lt;BR /&gt;&amp;gt;&amp;gt; Keep CS asserted over multiple writes&lt;BR /&gt;&amp;gt;&amp;gt; use ""SEQUENCE"" and ""SEQID"" to create bigger transactions.&lt;BR /&gt;&lt;BR /&gt;Note: This is only a suggestion.</description>
      <pubDate>Tue, 25 Mar 2025 17:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2067981#M15538</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2025-03-25T17:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSPI octal mode</title>
      <link>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2068461#M15542</link>
      <description>&lt;P&gt;I would have thought that NXP is the right place to support the FlexSPI controller used in NXP CPUs. Is there another place I can go to ask for help?&lt;/P&gt;&lt;P&gt;How can I keep CS asserted as this is fully controlled by FlexSPI?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 08:00:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FlexSPI-octal-mode/m-p/2068461#M15542</guid>
      <dc:creator>fcenedese</dc:creator>
      <dc:date>2025-03-26T08:00:13Z</dc:date>
    </item>
  </channel>
</rss>

