<?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 S32K312 - SPI Clock, MOSI make wrong pulse in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1810551#M31779</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;When I send data to MOSI by called Spi_SyncTansmit(),&amp;nbsp;SCK and MOSI make wrong pulse at start.&lt;/P&gt;&lt;P&gt;It happen only in use CPOL=1(Clock Idle HIGH, Active LOW).&lt;/P&gt;&lt;P&gt;If I set CPOL=0 (Clock Idle Low, Active HIGH), it is okay.&lt;/P&gt;&lt;P&gt;* RTD Version 2.0.1 (7, July, 2022)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Send 0x00 00&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0x0000.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263624i8C96874CA9E6270B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0x0000.jpeg" alt="0x0000.jpeg" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;0x0000.jpeg&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;2. Send 0x07 31&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0x0731.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263625iE87AF8732107EF68/image-size/large?v=v2&amp;amp;px=999" role="button" title="0x0731.jpeg" alt="0x0731.jpeg" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;0x0731.jpeg&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. LPSPI_1 Register value&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LPSPI_1.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263626i15AF2998B085510B/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPSPI_1.jpeg" alt="LPSPI_1.jpeg" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;LPSPI_1.jpeg&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sean Sung&lt;/P&gt;</description>
    <pubDate>Mon, 19 Feb 2024 05:00:17 GMT</pubDate>
    <dc:creator>ssean</dc:creator>
    <dc:date>2024-02-19T05:00:17Z</dc:date>
    <item>
      <title>S32K312 - SPI Clock, MOSI make wrong pulse</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1810551#M31779</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;When I send data to MOSI by called Spi_SyncTansmit(),&amp;nbsp;SCK and MOSI make wrong pulse at start.&lt;/P&gt;&lt;P&gt;It happen only in use CPOL=1(Clock Idle HIGH, Active LOW).&lt;/P&gt;&lt;P&gt;If I set CPOL=0 (Clock Idle Low, Active HIGH), it is okay.&lt;/P&gt;&lt;P&gt;* RTD Version 2.0.1 (7, July, 2022)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Send 0x00 00&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0x0000.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263624i8C96874CA9E6270B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0x0000.jpeg" alt="0x0000.jpeg" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;0x0000.jpeg&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;2. Send 0x07 31&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0x0731.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263625iE87AF8732107EF68/image-size/large?v=v2&amp;amp;px=999" role="button" title="0x0731.jpeg" alt="0x0731.jpeg" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;0x0731.jpeg&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. LPSPI_1 Register value&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LPSPI_1.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263626i15AF2998B085510B/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPSPI_1.jpeg" alt="LPSPI_1.jpeg" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;LPSPI_1.jpeg&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sean Sung&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 05:00:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1810551#M31779</guid>
      <dc:creator>ssean</dc:creator>
      <dc:date>2024-02-19T05:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 - SPI Clock, MOSI make wrong pulse</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1810915#M31804</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215656"&gt;@ssean&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It was discussed here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K3-SPI-CS-problem-when-using-GPIO-to-simulate-CS/td-p/1564367" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K3-SPI-CS-problem-when-using-GPIO-to-simulate-CS/td-p/1564367&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The module is reset at the beginning of each transfer.&lt;/P&gt;
&lt;P&gt;Normally, with your configuration OUTCFG = 0, the MOSI line should retains last value when chip select is negated (beetween transfers).&lt;/P&gt;
&lt;P&gt;But the module is reset in the driver.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 13:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1810915#M31804</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-02-19T13:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 - SPI Clock, MOSI make wrong pulse</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1811375#M31823</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reply.&lt;/P&gt;&lt;P&gt;It happen with OUTCFG=1, too.&lt;/P&gt;&lt;P&gt;Can you give me advise for how can I fix this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;SEAN SUNG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 02:44:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1811375#M31823</guid>
      <dc:creator>ssean</dc:creator>
      <dc:date>2024-02-20T02:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 - SPI Clock, MOSI make wrong pulse</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1811686#M31844</link>
      <description>&lt;P&gt;Dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215656"&gt;@ssean&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The issue is that the Lpspi_Ip_SyncTransmit() resets the LPSPI module in function Lpspi_TransmitTxInit().&lt;/P&gt;
&lt;P&gt;You would need to remove the code that reset the LPSPI from the function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 09:04:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1811686#M31844</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-02-20T09:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 - SPI Clock, MOSI make wrong pulse</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1815364#M32096</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I fix this issue to CS control by peripheral engine (not GPIO).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reply.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 08:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-SPI-Clock-MOSI-make-wrong-pulse/m-p/1815364#M32096</guid>
      <dc:creator>ssean</dc:creator>
      <dc:date>2024-02-26T08:36:29Z</dc:date>
    </item>
  </channel>
</rss>

