<?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>i.MX ProcessorsのトピックRe: Interfacing Quad Flash, Octal RAM, Octal Flash and/or MCP memory with flexSPI on iMX8 processor</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1133587#M160965</link>
    <description>&lt;P&gt;Hi Igor&lt;/P&gt;&lt;P&gt;I understand &lt;STRONG&gt;"dts changes are not sufficient and changes in driver are also needed."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have made necessary changes in driver. I am a little confused about the CS pin.&lt;/P&gt;&lt;P&gt;I am trying to interface Octal RAM in this manner,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2020-08-18 14-10-59.png" style="width: 612px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123933iE6D5D4B300116B99/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2020-08-18 14-10-59.png" alt="Screenshot from 2020-08-18 14-10-59.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;where an &lt;STRONG&gt;Octal RAM&lt;/STRONG&gt; is in place of &lt;STRONG&gt;Flash A2&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;In this case what changes would I need to do in dts file to make the CS pin work?&lt;/P&gt;&lt;P&gt;Will making &lt;STRONG&gt;reg = &amp;lt;1&amp;gt;&lt;/STRONG&gt; do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Priyank&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 03:51:54 GMT</pubDate>
    <dc:creator>priyank_bhatt</dc:creator>
    <dc:date>2020-09-02T03:51:54Z</dc:date>
    <item>
      <title>Interfacing Quad Flash, Octal RAM, Octal Flash and/or MCP memory with flexSPI on iMX8 processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051339#M154732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using iMX8QXP processor with linux-imx_5.4.3-1.0.0(&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx" title="https://source.codeaurora.org/external/imx/linux-imx"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;). I am new to iMX8 series processors and I am trying to interface Quad Flash, Octal Flash, Octal RAM, MCP memory to flexSPI.&lt;BR /&gt;I know I can connect Quad/Octal flash to flexspi0 interface, the .dts file is present in source. Change it according to the chip I am using. Create a new driver for the particular chip. Then I can access flash from user space using MTD utils/commands in my application. I have few questions regarding memory access.&lt;BR /&gt;1. Is there any example driver which I can go through to create my own flash driver?&lt;BR /&gt;2. What is the case if I am using Octal RAM. How can I access it from user space? using MTD utils? Are there any examples?&lt;BR /&gt;3. In case of MCP memory(Octal flash + Octal RAM), is it possible to access both Flash and RAM at the same time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 13:19:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051339#M154732</guid>
      <dc:creator>priyank_bhatt</dc:creator>
      <dc:date>2020-07-01T13:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Interfacing Quad Flash, Octal RAM, Octal Flash and/or MCP memory with flexSPI on iMX8 processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051340#M154733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. for driver example one can look at &amp;nbsp;SDK_MEK-MIMX8QX available&lt;/P&gt;&lt;P&gt;on &lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or linux driver:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/spi/spi-nxp-fspi.c?h=imx_5.4.3_2.0.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/spi/spi-nxp-fspi.c?h=imx_5.4.3_2.0.0"&gt;spi-nxp-fspi.c\spi\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. unfortunately for Octal RAM I am not aware of any examples, seems MTD utils can be used.&lt;/P&gt;&lt;P&gt;3. I am afraid not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 23:46:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051340#M154733</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-07-01T23:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Interfacing Quad Flash, Octal RAM, Octal Flash and/or MCP memory with flexSPI on iMX8 processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051341#M154734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov" rel="nofollow noopener noreferrer" target="_blank"&gt;igorpadykov&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Since the Octal RAM I am using does not use the SPI NOR commands, I have created kernel driver by taking reference from /driver/mtd/devices/mchp23k256.c from Microchip. I have also changed Kconfig &amp;amp; Makefile accordingly. &lt;BR /&gt;I want to connect Octal RAM through flexspi interface. I am confused about the changes I will required to do in my dtsi file. &lt;BR /&gt;Right now it contains&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;flexspi0 &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    pinctrl&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;names &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"default"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    pinctrl&lt;SPAN class="number token"&gt;-0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;pinctrl_flexspi0&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    status &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"okay"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

    flash0&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; mt35xu512aba@&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        reg &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        &lt;SPAN class="property macro token"&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;/SPAN&gt;
        &lt;SPAN class="property macro token"&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;/SPAN&gt;
        compatible &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"jedec,spi-nor"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        spi&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;max&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;frequency &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;133000000&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        spi&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;tx&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;bus&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;width &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        spi&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;rx&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;bus&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;width &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&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;/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;And I want to change it for Octal RAM.&lt;BR /&gt;Can you provide some reference for Flexspi RAM(Dual/Quad/Octal) dts file?&lt;/P&gt;&lt;P&gt;I have seen &lt;A _jive_internal="true" href="https://community.nxp.com/thread/509352" rel="nofollow noopener noreferrer" target="_blank"&gt;SPI SRAM on the IMX6ul&lt;/A&gt; but still not clear how to add for flexspi interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Priyank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 11:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051341#M154734</guid>
      <dc:creator>priyank_bhatt</dc:creator>
      <dc:date>2020-08-10T11:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Interfacing Quad Flash, Octal RAM, Octal Flash and/or MCP memory with flexSPI on iMX8 processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051342#M154735</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;Hi Priyank&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am afraid dts changes are not sufficient and changes in driver are also needed.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 12:19:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051342#M154735</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-08-10T12:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Interfacing Quad Flash, Octal RAM, Octal Flash and/or MCP memory with flexSPI on iMX8 processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051343#M154736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for quick reply.&lt;BR /&gt;I have already added driver in kernel to support the Octal RAM, made changes in Kconfig and Makefile.&lt;BR /&gt;But I am a little confused about the changes in dts file. That is why I need a reference dts file for flexspi RAM(Quad/Octal).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Priyank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 14:45:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1051343#M154736</guid>
      <dc:creator>priyank_bhatt</dc:creator>
      <dc:date>2020-08-10T14:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Interfacing Quad Flash, Octal RAM, Octal Flash and/or MCP memory with flexSPI on iMX8 processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1133587#M160965</link>
      <description>&lt;P&gt;Hi Igor&lt;/P&gt;&lt;P&gt;I understand &lt;STRONG&gt;"dts changes are not sufficient and changes in driver are also needed."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have made necessary changes in driver. I am a little confused about the CS pin.&lt;/P&gt;&lt;P&gt;I am trying to interface Octal RAM in this manner,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2020-08-18 14-10-59.png" style="width: 612px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/123933iE6D5D4B300116B99/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2020-08-18 14-10-59.png" alt="Screenshot from 2020-08-18 14-10-59.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;where an &lt;STRONG&gt;Octal RAM&lt;/STRONG&gt; is in place of &lt;STRONG&gt;Flash A2&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;In this case what changes would I need to do in dts file to make the CS pin work?&lt;/P&gt;&lt;P&gt;Will making &lt;STRONG&gt;reg = &amp;lt;1&amp;gt;&lt;/STRONG&gt; do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Priyank&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 03:51:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Interfacing-Quad-Flash-Octal-RAM-Octal-Flash-and-or-MCP-memory/m-p/1133587#M160965</guid>
      <dc:creator>priyank_bhatt</dc:creator>
      <dc:date>2020-09-02T03:51:54Z</dc:date>
    </item>
  </channel>
</rss>

