<?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: What can I do with FlexSPI? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/What-can-I-do-with-FlexSPI/m-p/1753035#M215328</link>
    <description>&lt;P&gt;Up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 08:58:32 GMT</pubDate>
    <dc:creator>rdr3e</dc:creator>
    <dc:date>2023-11-07T08:58:32Z</dc:date>
    <item>
      <title>What can I do with FlexSPI?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-can-I-do-with-FlexSPI/m-p/1752975#M215326</link>
      <description>&lt;P&gt;Hi, I'm wondering what makes the difference between FlexSPI and a traditional SPI controller.&lt;/P&gt;&lt;P&gt;From what I understand, the FlexSPI automatically creates transactions on the SPI bus, depending on the LUT configuration that is programmed by a driver.&lt;/P&gt;&lt;P&gt;I've read that this driver is designed to work mainly with SPI memories like SPI NOR memory but would also work e.g. with FPGA devices.&lt;/P&gt;&lt;P&gt;As I understand the typical write transaction on the SPI bus triggered by FlexSPI (when communicating with SPI NOR Flash) would look like this:&lt;BR /&gt;[ 1 byte: CMD ] [ 2-3 bytes ADDR] [ opt: DUMMY ] [ DATA ]&lt;/P&gt;&lt;P&gt;However, I would like to use this FlexSPI to communicate with something different than SPI memory, namely Hilsher netX90.&lt;/P&gt;&lt;P&gt;The problem is that the netX90 expects a slightly different protocol which basically looks like this (write registers):&lt;/P&gt;&lt;P&gt;[ 1 byte CMD ] [ 2 bytes ADDR ] [ DATA ] *&lt;/P&gt;&lt;P&gt;Can I configure FlexSPI to send data in this format?&lt;/P&gt;&lt;P&gt;As the name (Flex) suggests it should be possible but I'm still not sure.&lt;/P&gt;&lt;P&gt;I would appreciate any information that will help me to understand how it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* In fact the protocol is a bit different:&lt;/P&gt;&lt;P&gt;[ 1 byte CMD + part of ADDR(4 bits) ] [ 2 bytes: ADDR ] [ DATA ]&lt;/P&gt;&lt;P&gt;but I think I would be able to encode part of the address (4 bits) in the CMD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 18:30:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-can-I-do-with-FlexSPI/m-p/1752975#M215326</guid>
      <dc:creator>rdr3e</dc:creator>
      <dc:date>2023-11-06T18:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: What can I do with FlexSPI?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-can-I-do-with-FlexSPI/m-p/1753035#M215328</link>
      <description>&lt;P&gt;Up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 08:58:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-can-I-do-with-FlexSPI/m-p/1753035#M215328</guid>
      <dc:creator>rdr3e</dc:creator>
      <dc:date>2023-11-07T08:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: What can I do with FlexSPI?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-can-I-do-with-FlexSPI/m-p/1753567#M215374</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You will have to change the flex spi current driver to support this fpga.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-can-I-do-with-FlexSPI/m-p/1753567#M215374</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-11-07T14:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: What can I do with FlexSPI?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-can-I-do-with-FlexSPI/m-p/1753575#M215377</link>
      <description>What exactly?&lt;BR /&gt;The problem is that I need to use this FlexSPI to communicate with SPI NOR Flash and my FPGA.&lt;BR /&gt;&lt;BR /&gt;Usually, when we want to save sth on SPI NOR Flash, the transaction on the SPI bus looks as follows:&lt;BR /&gt;[ 1 byte CMD ] [ 3-4 bytes ADDR ] [ n bytes opt dummy] [ n bytes DATA ]&lt;BR /&gt;&lt;BR /&gt;My FPGA expects data in the following format:&lt;BR /&gt;[ 1 byte CMD ] [ 2 bytes ADDR ] [ n bytes DATA ]&lt;BR /&gt;&lt;BR /&gt;Does this driver support something like this?&lt;BR /&gt;If not - what's the purpose of e.g. op-&amp;gt;addr.nbytes ?&lt;BR /&gt;&lt;BR /&gt;My question is as follows: can I configure the current FlexSPI driver, by using opcodes prepared by my driver to issue a transaction on the bus in the following format:&lt;BR /&gt;[ 1 byte CMD ] [ 2 bytes ADDR ] [ n bytes DATA ]&lt;BR /&gt;?&lt;BR /&gt;If not, what's the flex part in the current driver when it's not flexible enough to work with different devices than flash memory?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:55:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-can-I-do-with-FlexSPI/m-p/1753575#M215377</guid>
      <dc:creator>rdr3e</dc:creator>
      <dc:date>2023-11-07T14:55:59Z</dc:date>
    </item>
  </channel>
</rss>

