<?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 CLK WaveForm in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1957415#M41118</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;at first, please check your clock settings. Your frame length 8usec (estimated from your waveform) doesn't correspond to the "Baudrate 500000". I would expect frame rate 16usec/frame for 8 bit frame. "Source clock 16000000" needs to be manually synchronized with your settings in Peripheral clock view in S32DS.&lt;/P&gt;
&lt;P&gt;Next item, there is no PCS settings in SDK. So, it needs to be manually setup by LPSPI_DRV_MasterSetDelay&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PavelL_0-1726732836478.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299937iE7826E842B1B99EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PavelL_0-1726732836478.png" alt="PavelL_0-1726732836478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Personally, I prefer working PCS. It might show settings issues.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 08:12:57 GMT</pubDate>
    <dc:creator>PavelL</dc:creator>
    <dc:date>2024-09-19T08:12:57Z</dc:date>
    <item>
      <title>SPI CLK WaveForm</title>
      <link>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1956432#M41050</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299667i2EBD4D8AFD2C0A19/image-size/large?v=v2&amp;amp;px=999" role="button" title="P1.png" alt="P1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P2.png" style="width: 583px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299666iA9F98BD7D69DBF34/image-size/large?v=v2&amp;amp;px=999" role="button" title="P2.png" alt="P2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;我想知道为什么SPI通信中每发送一个字节，CLK的波形都会变短一下。我尝试将频率从500K修改为1M，这种情况会好一些，但依然会有这种现象。&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 08:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1956432#M41050</guid>
      <dc:creator>Embedded_novice</dc:creator>
      <dc:date>2024-09-18T08:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: SPI CLK WaveForm</title>
      <link>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1956578#M41064</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you share a waveform with all SPI signals? What processor are you using?&lt;/P&gt;
&lt;P&gt;It still could be a correct behavior, it might be related only to SPI settings.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 10:44:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1956578#M41064</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2024-09-18T10:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: SPI CLK WaveForm</title>
      <link>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1956579#M41065</link>
      <description>我使用的是S32K116，它实际上不会影响我的通信，但是我是想知道为什么会发生这种现象？我无法提供全部的波形图，抱歉。</description>
      <pubDate>Wed, 18 Sep 2024 10:47:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1956579#M41065</guid>
      <dc:creator>Embedded_novice</dc:creator>
      <dc:date>2024-09-18T10:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: SPI CLK WaveForm</title>
      <link>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1956588#M41066</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;your CLK is negative = active low, it means that inactive level is high. When PCS goes high, the clock goes to the inactive level. If there is a short positive pulse on PCS (= short delay between frames), the CLK might be the short pulse you can see now.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 11:06:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1956588#M41066</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2024-09-18T11:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: SPI CLK WaveForm</title>
      <link>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1957054#M41085</link>
      <description>&lt;P&gt;但是我依然有一个问题，我在传输完8个字节数据前是没有执行CS拉高的GPIO操作的，但是他依然会出现这种情况？&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299826i4669068396800572/image-size/large?v=v2&amp;amp;px=999" role="button" title="P1.png" alt="P1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 01:47:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1957054#M41085</guid>
      <dc:creator>Embedded_novice</dc:creator>
      <dc:date>2024-09-19T01:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: SPI CLK WaveForm</title>
      <link>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1957415#M41118</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;at first, please check your clock settings. Your frame length 8usec (estimated from your waveform) doesn't correspond to the "Baudrate 500000". I would expect frame rate 16usec/frame for 8 bit frame. "Source clock 16000000" needs to be manually synchronized with your settings in Peripheral clock view in S32DS.&lt;/P&gt;
&lt;P&gt;Next item, there is no PCS settings in SDK. So, it needs to be manually setup by LPSPI_DRV_MasterSetDelay&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PavelL_0-1726732836478.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299937iE7826E842B1B99EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PavelL_0-1726732836478.png" alt="PavelL_0-1726732836478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Personally, I prefer working PCS. It might show settings issues.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 08:12:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1957415#M41118</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2024-09-19T08:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: SPI CLK WaveForm</title>
      <link>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1958166#M41160</link>
      <description>&lt;P&gt;感谢你的帮助&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 01:45:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-CLK-WaveForm/m-p/1958166#M41160</guid>
      <dc:creator>Embedded_novice</dc:creator>
      <dc:date>2024-09-20T01:45:45Z</dc:date>
    </item>
  </channel>
</rss>

