<?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>S32K中的主题 SPI not working with 2mbps baudrate on example code</title>
    <link>https://community.nxp.com/t5/S32K/SPI-not-working-with-2mbps-baudrate-on-example-code/m-p/1734801#M27603</link>
    <description>&lt;P&gt;Dear&amp;nbsp; Nxp team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an s32k144 EVM board. In this i am trying to establish SPI communication. I have used the Design studio 3.4. and I am using example lpspi_transfer_s32k146 sample project. I tried testing it with default setting (1mbps baud rate on spi). This works OK. but when i change the baud rate to 2mbps, the clock is distorted the spi fails.&lt;/P&gt;&lt;P&gt;I have attached the Config tool file for 1mbps and 2mbps setting&lt;/P&gt;&lt;P&gt;Clock with 2mbps setting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sukumar21_0-1696589639480.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243867i3488A032F0896F60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sukumar21_0-1696589639480.png" alt="Sukumar21_0-1696589639480.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;clock with 1 mbps:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sukumar21_3-1696589802734.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243869i0E64E3BDC7E6AEA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sukumar21_3-1696589802734.png" alt="Sukumar21_3-1696589802734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I have also attached the project zip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 11:06:49 GMT</pubDate>
    <dc:creator>Sukumar21</dc:creator>
    <dc:date>2023-10-06T11:06:49Z</dc:date>
    <item>
      <title>SPI not working with 2mbps baudrate on example code</title>
      <link>https://community.nxp.com/t5/S32K/SPI-not-working-with-2mbps-baudrate-on-example-code/m-p/1734801#M27603</link>
      <description>&lt;P&gt;Dear&amp;nbsp; Nxp team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an s32k144 EVM board. In this i am trying to establish SPI communication. I have used the Design studio 3.4. and I am using example lpspi_transfer_s32k146 sample project. I tried testing it with default setting (1mbps baud rate on spi). This works OK. but when i change the baud rate to 2mbps, the clock is distorted the spi fails.&lt;/P&gt;&lt;P&gt;I have attached the Config tool file for 1mbps and 2mbps setting&lt;/P&gt;&lt;P&gt;Clock with 2mbps setting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sukumar21_0-1696589639480.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243867i3488A032F0896F60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sukumar21_0-1696589639480.png" alt="Sukumar21_0-1696589639480.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;clock with 1 mbps:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sukumar21_3-1696589802734.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243869i0E64E3BDC7E6AEA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sukumar21_3-1696589802734.png" alt="Sukumar21_3-1696589802734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I have also attached the project zip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 11:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-not-working-with-2mbps-baudrate-on-example-code/m-p/1734801#M27603</guid>
      <dc:creator>Sukumar21</dc:creator>
      <dc:date>2023-10-06T11:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not working with 2mbps baudrate on example code</title>
      <link>https://community.nxp.com/t5/S32K/SPI-not-working-with-2mbps-baudrate-on-example-code/m-p/1734860#M27605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;maybe this is just sample issue on analyzer itself. Do you have selected sample rate high enough?&lt;BR /&gt;A 2MHz is not so high freq for an output pin, and data is clocked out at higher rate.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 13:05:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-not-working-with-2mbps-baudrate-on-example-code/m-p/1734860#M27605</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-10-06T13:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not working with 2mbps baudrate on example code</title>
      <link>https://community.nxp.com/t5/S32K/SPI-not-working-with-2mbps-baudrate-on-example-code/m-p/1734867#M27607</link>
      <description>&lt;P&gt;Hey Petr, Thanks for reply, SO i have slave IC that works on SPI at 2M-6M clock data rate. and i have to interface it with s32k146.&lt;BR /&gt;The problem was communication never got through hence i have to shift to logic analyzer.&lt;/P&gt;&lt;P&gt;The same is seen on DSO also.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 13:25:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-not-working-with-2mbps-baudrate-on-example-code/m-p/1734867#M27607</guid>
      <dc:creator>Sukumar21</dc:creator>
      <dc:date>2023-10-06T13:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not working with 2mbps baudrate on example code</title>
      <link>https://community.nxp.com/t5/S32K/SPI-not-working-with-2mbps-baudrate-on-example-code/m-p/1736505#M27724</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I tried your code on S32K146EVB and below is signal measured&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1696933952524.png" style="width: 669px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/244278i77430F28E9541FDA/image-dimensions/669x117?v=v2" width="669" height="117" role="button" title="PetrS_0-1696933952524.png" alt="PetrS_0-1696933952524.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I see no issue here.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 10:33:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-not-working-with-2mbps-baudrate-on-example-code/m-p/1736505#M27724</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-10-10T10:33:10Z</dc:date>
    </item>
  </channel>
</rss>

