<?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从模式DMA通信示例 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1764813#M29081</link>
    <description>&lt;P&gt;It really requires some debugging on your side.&lt;/P&gt;
&lt;P&gt;For example, you can use a GPIO to see when the transfer starts and ends.&lt;/P&gt;
&lt;P&gt;Use another communication interface to send the state of the LPSPI TX FIFO.&lt;/P&gt;
&lt;P&gt;Also, as I mentioned, there are issues in the code you posted, like you cancel the transfer if the function does not return SUCCESS. You disable the interrupt before the code reads the status of the previous transfer in a while loop etc.&lt;/P&gt;
&lt;P&gt;I would recommend simplifying the project, and using at least the GPIOs.&lt;/P&gt;
&lt;P&gt;I guess there must be some data left in the TX FIFO from a previous transfer when the current transfer starts.&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, 28 Nov 2023 10:00:47 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2023-11-28T10:00:47Z</dc:date>
    <item>
      <title>SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1719911#M26948</link>
      <description>&lt;P&gt;因项目紧急，需要申请下SPI从模式DMA通信示例；帮忙提供一下S32K324平台参考；&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 02:31:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1719911#M26948</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-09-11T02:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1721063#M26990</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222760"&gt;@龙开云&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;A test project that utilizes S32K344 SPI DMA built with RTD 2.0.2 is attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 09:23:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1721063#M26990</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-12T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1721285#M26997</link>
      <description>&lt;P&gt;对于采用DMA方式，&amp;nbsp; 单次传输可以设定1024字节或以上么？&amp;nbsp; 从下图规格说明为512&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_1-1694531600361.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/240625i80286E3DE6851E97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_1-1694531600361.png" alt="_1-1694531600361.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 15:13:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1721285#M26997</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-09-12T15:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1721890#M27027</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222760"&gt;@龙开云&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This just specifies how much data can be written there in the burst mode.&lt;/P&gt;
&lt;P&gt;But the LPSPI module as well as the RTD driver support longer transfers.&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>Wed, 13 Sep 2023 08:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1721890#M27027</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-13T08:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1725418#M27197</link>
      <description>&lt;P&gt;感谢，已经通信正常；&lt;/P&gt;&lt;P&gt;但还存在一个现象就是，一帧数据的第一个字节在master端收到为0x7的值；&amp;nbsp; 这种情况是什么原因？&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 09:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1725418#M27197</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-09-19T09:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1726929#M27269</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222760"&gt;@龙开云&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Hard to say just from the description.&lt;/P&gt;
&lt;P&gt;What should be the first byte send by the Slave device?&lt;/P&gt;
&lt;P&gt;Is the TX FIFO filled before the Master starts the transfer?&lt;/P&gt;
&lt;P&gt;Do you monitor the bus with a logic analyzer / oscilloscope?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 08:02:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1726929#M27269</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-21T08:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1729654#M27390</link>
      <description>&lt;P&gt;图片为全0的情况下，第一个字节也是0x7&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1695724752649.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242748iB19A8F6BDADCF234/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1695724752649.png" alt="_0-1695724752649.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 10:40:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1729654#M27390</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-09-26T10:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1729660#M27391</link>
      <description>&lt;P&gt;使用如下函数进行填充时，是否需要等待，主机端才能读取。&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1695724933547.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242749iF142DE2886080A07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1695724933547.png" alt="_0-1695724933547.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 10:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1729660#M27391</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-09-26T10:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1730283#M27421</link>
      <description>&lt;P&gt;The function must be called before the master starts the transfer.&lt;/P&gt;
&lt;P&gt;Do you use the Lpspi_Ip_GetStatus() to check the transfer?&lt;/P&gt;
&lt;P&gt;Does the transfer completed successfully?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 08:02:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1730283#M27421</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-27T08:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1735153#M27619</link>
      <description>&lt;P&gt;是的，在master重新请求时，会判断状态。然后重新装载数据。&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1696671760559.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243951i6E63CE563379ABED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1696671760559.png" alt="_0-1696671760559.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;除了首字节为0x7外；&amp;nbsp; &amp;nbsp;还出现数据master发送时接收不全的问题，前面的几个数据丢失，但是逻辑分析抓到SPI线的数据是正常的；&lt;/P&gt;&lt;P&gt;目前发现速率在100KHz较为稳定，500KHz以上就比较容易出现问题。&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2023 14:25:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1735153#M27619</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-10-07T14:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1739601#M27839</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222760"&gt;@龙开云&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If this failure rate depends on the baud rate, can you examine the SPI signals using an oscilloscope and ensure that it is within the SPI specification (DS rev8, Table 44. LPSPI)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 14:28:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1739601#M27839</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-10-13T14:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1743957#M28037</link>
      <description>&lt;P&gt;两个问题：&lt;/P&gt;&lt;P&gt;问题1.首字节一直为0x7还没回答，先把这个问题解了呗。&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 问题2.至于SPI传输丢数据现象后面再提吧。&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1697872279152.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/246215iFA7FD0EB8413DDE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1697872279152.png" alt="_0-1697872279152.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2023 07:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1743957#M28037</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-10-21T07:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1744533#M28080</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222760"&gt;@龙开云&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What is in the Spi1TxBuffer?&lt;/P&gt;
&lt;P&gt;Why do you call the AsyncTransfer() in a while loop?&lt;/P&gt;
&lt;P&gt;Also, you cancel the transfer if the GetStatus() function returns other status that IDLE.&lt;/P&gt;
&lt;P&gt;You should simply call the AsyncTransfer() once and then poll the GetStatus() function until the transfer is completed, and you have to make sure the AsyncTransfer() function is called before the Master starts the transfer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share the project?&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>Mon, 23 Oct 2023 13:29:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1744533#M28080</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-10-23T13:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1763540#M28985</link>
      <description>&lt;P&gt;&lt;SPAN&gt;1.Spi1TxBuffer&amp;nbsp; is 0x00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.Why do you call the AsyncTransfer() in a while loop?&amp;nbsp; 没有一直loop这个，需要传输新的数据并且上一次传输完成才会调用；&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.是在AsyncTransfer()调用后的时候使用GetStatus()来检测是否空闲。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;工程没法共享哦，涉及的代码太多。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;主要是第一个位为何会主动拉高一下，因为填充的数据都为0，没理解内部如何产生；&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2023 07:55:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1763540#M28985</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-11-25T07:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1764732#M29073</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222760"&gt;@龙开云&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Is the pointer to Spi1TxBuffer 0x00 (NULL) or is the pointer valid and the content of the buffer is 0x00.&lt;/P&gt;
&lt;P&gt;Because if the pointer is NULL, the driver sends the SpiDefaultData.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1701161231976.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251834i48E251C225C27815/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielmartynek_0-1701161231976.png" alt="danielmartynek_0-1701161231976.png" /&gt;&lt;/span&gt;&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, 28 Nov 2023 08:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1764732#M29073</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-11-28T08:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1764776#M29078</link>
      <description>&lt;P&gt;SPI指向的buff数据内容为0，不是指向空NULL。&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SpiDefaultData默认设置也为0；&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1701163474247.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251849iD49C1C93515FF0DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1701163474247.png" alt="_0-1701163474247.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 09:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1764776#M29078</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-11-28T09:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1764813#M29081</link>
      <description>&lt;P&gt;It really requires some debugging on your side.&lt;/P&gt;
&lt;P&gt;For example, you can use a GPIO to see when the transfer starts and ends.&lt;/P&gt;
&lt;P&gt;Use another communication interface to send the state of the LPSPI TX FIFO.&lt;/P&gt;
&lt;P&gt;Also, as I mentioned, there are issues in the code you posted, like you cancel the transfer if the function does not return SUCCESS. You disable the interrupt before the code reads the status of the previous transfer in a while loop etc.&lt;/P&gt;
&lt;P&gt;I would recommend simplifying the project, and using at least the GPIOs.&lt;/P&gt;
&lt;P&gt;I guess there must be some data left in the TX FIFO from a previous transfer when the current transfer starts.&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, 28 Nov 2023 10:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1764813#M29081</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-11-28T10:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: SPI从模式DMA通信示例</title>
      <link>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1766460#M29192</link>
      <description>&lt;P&gt;如下是通过IO检测并装载数据，在装载数据前关闭中断，然后判断SPI是否空闲，之后再装载数据；&lt;/P&gt;&lt;P&gt;最后再开启中断。&lt;/P&gt;&lt;P&gt;请帮忙审核下这样的处理有何不妥之处，如何优化，感谢！&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1701342171952.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252300iEB13A57ABB51D449/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1701342171952.png" alt="_0-1701342171952.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;我们通过别的方式再查查。&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 11:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI%E4%BB%8E%E6%A8%A1%E5%BC%8FDMA%E9%80%9A%E4%BF%A1%E7%A4%BA%E4%BE%8B/m-p/1766460#M29192</guid>
      <dc:creator>龙开云</dc:creator>
      <dc:date>2023-11-30T11:06:08Z</dc:date>
    </item>
  </channel>
</rss>

