<?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: spi protocol sequence in P2040 in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742942#M4385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for you reply...&lt;/P&gt;&lt;P&gt;Just went through the section 14.6, and i'm not able to understand how to use&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SPITF&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;register.&lt;/P&gt;&lt;P&gt;Let's say i want to write 0x10 in slave in that case what would be the value of SPITF register??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 09:06:15 GMT</pubDate>
    <dc:creator>gouravjain</dc:creator>
    <dc:date>2018-03-28T09:06:15Z</dc:date>
    <item>
      <title>spi protocol sequence in P2040</title>
      <link>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742940#M4383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Can any one pls let me know about the configuration sequence of SPI protocol initialization in P2040 chipset. Since i want to write FPGA code (slave) which is connected to P2040 chipset on SPI bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Gourav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 04:31:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742940#M4383</guid>
      <dc:creator>gouravjain</dc:creator>
      <dc:date>2018-03-28T04:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: spi protocol sequence in P2040</title>
      <link>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742941#M4384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible to refer to the QorIQ P2040 Reference Manual, 14.6 eSPI programming examples and U-Boot eSPI source code "u-boot/drivers/spi/fsl_espi.c" (&lt;A class="link-titled" href="https://github.com/qoriq-open-source/u-boot/blob/503eff00a7119d2690a662ed64e83e4782b7d3d9/drivers/spi/fsl_espi.c" title="https://github.com/qoriq-open-source/u-boot/blob/503eff00a7119d2690a662ed64e83e4782b7d3d9/drivers/spi/fsl_espi.c"&gt;u-boot/fsl_espi.c at 503eff00a7119d2690a662ed64e83e4782b7d3d9 · qoriq-open-source/u-boot · GitHub&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 04:53:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742941#M4384</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2018-03-28T04:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: spi protocol sequence in P2040</title>
      <link>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742942#M4385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for you reply...&lt;/P&gt;&lt;P&gt;Just went through the section 14.6, and i'm not able to understand how to use&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SPITF&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;register.&lt;/P&gt;&lt;P&gt;Let's say i want to write 0x10 in slave in that case what would be the value of SPITF register??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 09:06:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742942#M4385</guid>
      <dc:creator>gouravjain</dc:creator>
      <dc:date>2018-03-28T09:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: spi protocol sequence in P2040</title>
      <link>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742943#M4386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In uboot when i do , sf probe 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i found the below prints, (given some addition prints starting with GJ)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; sf probe 0&lt;BR /&gt;GJ: SPI probed&lt;BR /&gt;cs value : 0&lt;BR /&gt;gj_temp1 value : 1&lt;BR /&gt;GJ: In SPI driver spi_claim_bus&lt;BR /&gt;spi_claim_bus: bus:0 cs:0&lt;BR /&gt;GJ: CSMODE[0]: 0x28170008&lt;BR /&gt;GJ: In SPI driver spi_xfer&lt;BR /&gt;GJ: In SPI driver spi_xfer&lt;BR /&gt;spi_xfer: slave 0:0 dout 00000000(00000000) din 00000000(00000000) len 6&lt;BR /&gt;GJ: In SPI driver spi_cs_activate&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;GJ: command value 0x5&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;GJ: event_tx value: 0x208900&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;***spi_xfer:...9ffa03f4 written&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;GJ: event_rx value: 0x420ab00&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;***spi_xfer:...00012018 readed&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;GJ: event_tx value: 0x208900&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;***spi_xfer:...18fa03f4 written&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;GJ: event_rx value: 0x21ecb00&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;***spi_xfer:...4d010101 readed&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;SF: Got idcodes&lt;BR /&gt;00000000: 01 20 18 4d 01 . .M.&lt;BR /&gt;SF: Detected S25FL129P_64K/S25FL128S with page size 64 KiB, total 16 MiB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not able to understand the highlighted part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 09:20:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742943#M4386</guid>
      <dc:creator>gouravjain</dc:creator>
      <dc:date>2018-03-28T09:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: spi protocol sequence in P2040</title>
      <link>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742944#M4387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Log when i'm trying to write in flash device(slave),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; sf write 1000000 5 16&lt;BR /&gt;GJ: In SPI driver spi_claim_bus &lt;BR /&gt;spi_claim_bus: bus:0 cs:0&lt;BR /&gt;GJ: CSMODE[0]: 0x28170008&lt;BR /&gt;GJ: In SPI driver spi_xfer&lt;BR /&gt;spi_xfer: slave 0:0 dout 00000000(00000000) din 00000000(00000000) len 1&lt;BR /&gt;GJ: In SPI driver spi_cs_activate&lt;BR /&gt;GJ: command value 0x0&lt;BR /&gt;GJ: event_tx value: 0x208900&lt;BR /&gt;***spi_xfer:...&lt;EM&gt;&lt;STRONG&gt;06fa03ec&lt;/STRONG&gt; &lt;/EM&gt;written&lt;BR /&gt;GJ: event_rx value: 0x11dcb00&lt;BR /&gt;***spi_xfer:...00000000 readed&lt;BR /&gt;GJ: In SPI driver spi_xfer&lt;BR /&gt;GJ: In SPI driver spi_xfer&lt;BR /&gt;spi_xfer: slave 0:0 dout 00000000(00000000) din 00000000(00000000) len 23&lt;BR /&gt;GJ: In SPI driver spi_cs_activate&lt;BR /&gt;GJ: command value 0x16&lt;BR /&gt;GJ: event_tx value: 0x208900&lt;BR /&gt;***spi_xfer:...&lt;EM&gt;&lt;STRONG&gt;02000005&lt;/STRONG&gt;&lt;/EM&gt; written&lt;BR /&gt;GJ: event_rx value: 0x420ab00&lt;BR /&gt;***spi_xfer:...00000000 readed&lt;BR /&gt;GJ: event_tx value: 0x208900&lt;BR /&gt;***spi_xfer:...02020202 written&lt;BR /&gt;GJ: event_rx value: 0x420ab00&lt;BR /&gt;***spi_xfer:...00000000 readed&lt;BR /&gt;GJ: event_tx value: 0x208900&lt;BR /&gt;***spi_xfer:...02010101 written&lt;BR /&gt;GJ: event_rx value: 0x420ab00&lt;BR /&gt;***spi_xfer:...00000000 readed&lt;BR /&gt;GJ: event_tx value: 0x208900&lt;BR /&gt;***spi_xfer:...fffffffd written&lt;BR /&gt;GJ: event_rx value: 0x420ab00&lt;BR /&gt;***spi_xfer:...00000000 readed&lt;BR /&gt;GJ: event_tx value: 0x208900&lt;BR /&gt;***spi_xfer:...fffffffc written&lt;BR /&gt;GJ: event_rx value: 0x420ab00&lt;BR /&gt;***spi_xfer:...00000000 readed&lt;BR /&gt;GJ: event_tx value: 0x208900&lt;BR /&gt;***spi_xfer:...ffffffec written&lt;BR /&gt;GJ: event_rx value: 0x31fcb00&lt;BR /&gt;***spi_xfer:...00000000 readed&lt;BR /&gt;GJ: In SPI driver spi_xfer&lt;BR /&gt;GJ: In SPI driver spi_xfer&lt;BR /&gt;spi_xfer: slave 0:0 dout 00000000(00000000) din 00000000(00000000) len 2&lt;BR /&gt;GJ: In SPI driver spi_cs_activate&lt;BR /&gt;GJ: command value 0x1&lt;BR /&gt;GJ: event_tx value: 0x208900&lt;BR /&gt;***spi_xfer:...&lt;EM&gt;&lt;STRONG&gt;05fa03ec&lt;/STRONG&gt;&lt;/EM&gt; written&lt;BR /&gt;GJ: event_rx value: 0x21ecb00&lt;BR /&gt;***spi_xfer:...00000000 readed&lt;BR /&gt;GJ: In SPI driver spi_xfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per mu understanding first time SPITF:&lt;EM&gt;&lt;STRONG&gt;06fa03ec&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;gt; first byte(06) is command for write enable rest didn't get&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Second time SPITF:&lt;STRONG&gt;02000005&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;gt; first byte (02) is command for Page Program, rest for address(000005)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Then several times SPITF will hold the transfer data until gets over.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;And finally last time SPITF:&amp;nbsp;&lt;STRONG&gt;05fa03ec&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;gt; first byte (05) command byte for read status register and rest bytes didn't understand.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Pls let me know if my understanding is wrong.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 11:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742944#M4387</guid>
      <dc:creator>gouravjain</dc:creator>
      <dc:date>2018-03-28T11:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: spi protocol sequence in P2040</title>
      <link>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742945#M4388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ufedor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 03:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/spi-protocol-sequence-in-P2040/m-p/742945#M4388</guid>
      <dc:creator>gouravjain</dc:creator>
      <dc:date>2018-04-02T03:56:22Z</dc:date>
    </item>
  </channel>
</rss>

