<?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のトピックRe: s32k312: Lpspi SyncTransmit with  NULL Tx buffer</title>
    <link>https://community.nxp.com/t5/S32K/s32k312-Lpspi-SyncTransmit-with-NULL-Tx-buffer/m-p/2101651#M49052</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can use HalfDuplex API or ignore received data and send dummy 0xFF for full duplex operation. See suggestion in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K314-SPI-flash-implementation/m-p/1618490/highlight/true#M21501" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K314-SPI-flash-implementation/m-p/1618490/highlight/true#M21501&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
    <pubDate>Wed, 21 May 2025 13:23:38 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2025-05-21T13:23:38Z</dc:date>
    <item>
      <title>s32k312: Lpspi SyncTransmit with  NULL Tx buffer</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-Lpspi-SyncTransmit-with-NULL-Tx-buffer/m-p/2100982#M49008</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I'm using the lpspi driver (sdk5.0) to read the device ID from an external flash. Running&amp;nbsp;Lpspi_Ip_SyncTransmit passing both Tx and Rx buffers works well, but we I try to first sent the Tx buffer and after the Rx buffer it does not work as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;WORK:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spiTxBuffer[0] = 0x9F;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lpspi_status = Lpspi_Ip_SyncTransmit(&amp;amp;MASTER_1, spiTxBuffer, spiRxBuffer, 4, TIMEOUT);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NOT WORKS:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;spiTxBuffer[0] = 0x9F;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lpspi_status = &lt;/SPAN&gt;&lt;SPAN&gt;Lpspi_Ip_SyncTransmit&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;amp;MASTER_1, spiTxBuffer, NULL, 1, TIMEOUT);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lpspi_status = &lt;/SPAN&gt;&lt;SPAN&gt;Lpspi_Ip_SyncTransmit&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;amp;MASTER_1, NULL, spiRxBuffer, 3, TIMEOUT);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is anything I'm missing? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for any clarification.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 May 2025 23:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-Lpspi-SyncTransmit-with-NULL-Tx-buffer/m-p/2100982#M49008</guid>
      <dc:creator>PaoloRB</dc:creator>
      <dc:date>2025-05-20T23:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312: Lpspi SyncTransmit with  NULL Tx buffer</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-Lpspi-SyncTransmit-with-NULL-Tx-buffer/m-p/2101651#M49052</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can use HalfDuplex API or ignore received data and send dummy 0xFF for full duplex operation. See suggestion in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K314-SPI-flash-implementation/m-p/1618490/highlight/true#M21501" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K314-SPI-flash-implementation/m-p/1618490/highlight/true#M21501&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 13:23:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-Lpspi-SyncTransmit-with-NULL-Tx-buffer/m-p/2101651#M49052</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-05-21T13:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312: Lpspi SyncTransmit with  NULL Tx buffer</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-Lpspi-SyncTransmit-with-NULL-Tx-buffer/m-p/2102085#M49061</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;To make it works, I need to UpdateTransferParam (Full duplex).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spiTxBuffer[0] = 0x9F;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;param&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FirstCmd&lt;/SPAN&gt;&lt;SPAN&gt; = TRUE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;param&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;KeepCs&lt;/SPAN&gt;&lt;SPAN&gt; = TRUE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Lpspi_Ip_UpdateTransferParam(&amp;amp;MASTER_1, &amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;param&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lpspi_status = Lpspi_Ip_SyncTransmit(&amp;amp;MASTER_1, spiTxBuffer, NULL, 1, TIMEOUT);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;param&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FirstCmd&lt;/SPAN&gt;&lt;SPAN&gt; = FALSE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;param&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;KeepCs&lt;/SPAN&gt;&lt;SPAN&gt; = FALSE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Lpspi_Ip_UpdateTransferParam(&amp;amp;MASTER_1, &amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;param&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lpspi_status = Lpspi_Ip_SyncTransmit(&amp;amp;MASTER_1, NULL, spiRxBuffer, 3, TIMEOUT);&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 May 2025 22:54:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-Lpspi-SyncTransmit-with-NULL-Tx-buffer/m-p/2102085#M49061</guid>
      <dc:creator>PaoloRB</dc:creator>
      <dc:date>2025-05-21T22:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312: Lpspi SyncTransmit with  NULL Tx buffer</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-Lpspi-SyncTransmit-with-NULL-Tx-buffer/m-p/2102478#M49085</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;yes, this makes sense, as you need to keep CS asserted between.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 07:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-Lpspi-SyncTransmit-with-NULL-Tx-buffer/m-p/2102478#M49085</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-05-22T07:59:06Z</dc:date>
    </item>
  </channel>
</rss>

