<?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>P-Series中的主题 Re: Different Phase/Polarity combinations not working for eSPI on P1020RDB</title>
    <link>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572780#M3460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey pavel. Just one last question. Is there something special you have to do for higher transfer length, meaning that when SPMODEx[LENx] = 15, do I have to set any other bit in any register for proper transfer. I've tried a lot of things to get this to work, but I'm still facing little issues. Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2016 08:06:02 GMT</pubDate>
    <dc:creator>bilalwasim</dc:creator>
    <dc:date>2016-09-01T08:06:02Z</dc:date>
    <item>
      <title>Different Phase/Polarity combinations not working for eSPI on P1020RDB</title>
      <link>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572776#M3456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've successfully implemented the eSPI driver on P1020RDB, but I'm currently facing a problem related to Phase/Polarity combinations. With Polarity low and Phase high, I'm able to successfully transmit data. However, if I use any other combinations, I'm unable to get the correct data transmission. I think I'm setting the registers correctly, and the configuration on the slave is also correct. Is this a hardware limitation? Can anyone point me in the correct direction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 07:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572776#M3456</guid>
      <dc:creator>bilalwasim</dc:creator>
      <dc:date>2016-08-30T07:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Different Phase/Polarity combinations not working for eSPI on P1020RDB</title>
      <link>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572777#M3457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Usually similar behavior happens if your SPI slave supports only this configuration: Polarity low and Phase high.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Check documentation of your SPI slave. Often SPI devices support only single Phase/Polarity combination.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;For example the P1020RDB board contains the &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;S25FL128P0XNFI00 SPI Flash;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Datasheet for this SPI Flash contains the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;A microcontroller can use either of its two SPI modes to control Spansion SPI Flash memory devices:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;CPOL = 0, CPHA = 0 (Mode 0)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;CPOL = 1, CPHA = 1 (Mode 3) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Input data is latched in on the rising edge of SCK, and output data is available from the falling edge of SCK for both modes. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 31 Aug 2016 03:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572777#M3457</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2016-08-31T03:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Different Phase/Polarity combinations not working for eSPI on P1020RDB</title>
      <link>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572778#M3458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The P1020RDB does support different Phase/Polarity combinations. I've verified from various sources. I'm even getting it to work at baud rates like 500 kHz, but whenever I'm using higher baud rates(~ 4000 kHz, which in fact is supported by the aardvark slave), I'm seeing problems with the data received. What, in your opinion, could be the possible reason for this. I'm just using the formula given in the manual for Baud Rate Calculation.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 07:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572778#M3458</guid>
      <dc:creator>bilalwasim</dc:creator>
      <dc:date>2016-08-31T07:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Different Phase/Polarity combinations not working for eSPI on P1020RDB</title>
      <link>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572779#M3459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Usually it happens since there is signal jitter or noise at high-speed transfers. Look at sSPI timing diagrams at the Figures 14-13 and 14-14 of the P2040 Reference Manual. See also the Table 33 of the P2041 Datasheet. The P2041 eSPI requires 7ns for &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Master data (internal clock) input setup time. It is not simple requirement for high speed data transfers and the &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;SPMODEx[CPx] = 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Usually there is no problem if SPI is configured for SPI clock toggling at the middle of data bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 31 Aug 2016 10:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572779#M3459</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2016-08-31T10:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Different Phase/Polarity combinations not working for eSPI on P1020RDB</title>
      <link>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572780#M3460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey pavel. Just one last question. Is there something special you have to do for higher transfer length, meaning that when SPMODEx[LENx] = 15, do I have to set any other bit in any register for proper transfer. I've tried a lot of things to get this to work, but I'm still facing little issues. Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 08:06:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572780#M3460</guid>
      <dc:creator>bilalwasim</dc:creator>
      <dc:date>2016-09-01T08:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Different Phase/Polarity combinations not working for eSPI on P1020RDB</title>
      <link>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572781#M3461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;It looks like that you should check timing SPI diagram on your board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Try to change the &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;HO_ADJ field and provides correct data transfers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 01 Sep 2016 09:20:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Different-Phase-Polarity-combinations-not-working-for-eSPI-on/m-p/572781#M3461</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2016-09-01T09:20:05Z</dc:date>
    </item>
  </channel>
</rss>

