<?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's dma mode receive data successfully but send data failed. in S32K</title>
    <link>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041019#M6714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vanaua@163.com"&gt;vanaua@163.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You didn't enabled peripheral request&amp;nbsp;for DMA Ch1, you enabled DMA Ch0 only (SERQ).&lt;/P&gt;&lt;P&gt;Do you measure the correct pin?&lt;/P&gt;&lt;P&gt;In the project, you commented that MISO is&amp;nbsp;PTD16 but it is PB4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you use your own board or an EVB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2020 15:50:03 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2020-05-29T15:50:03Z</dc:date>
    <item>
      <title>spi's dma mode receive data successfully but send data failed.</title>
      <link>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041013#M6708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I had a problem with using spi's dma mode for host and slave communication. I did not use the SDK, but programmed it directly by reading and writing registers . In the following code,&amp;nbsp; I tried to use s32k116&amp;nbsp;that&amp;nbsp;was set as a slave device to&amp;nbsp; communicate with the external spi host device,however, While the host&amp;nbsp; keeps sending 128 bytes of data, the slave DMA receive&amp;nbsp;interrupt could be triggered and receive data from the host, however, the oscilloscope found that the output pin from the slave machine shows no waveform, In other words, DMA transmiting of slave failed.could you help me find out where the problem is? Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 08:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041013#M6708</guid>
      <dc:creator>vanaua</dc:creator>
      <dc:date>2020-05-19T08:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: spi's dma mode could not receive or send data</title>
      <link>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041014#M6709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/18682445387@163.com"&gt;18682445387@163.com&lt;/A&gt;‌&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/khumphri"&gt;khumphri&lt;/A&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Mandar"&gt;Mandar&lt;/A&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jimtrudeau"&gt;jimtrudeau&lt;/A&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dhaval"&gt;dhaval&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 08:58:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041014#M6709</guid>
      <dc:creator>vanaua</dc:creator>
      <dc:date>2020-05-19T08:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: spi's dma mode receive data successfully but send data failed.</title>
      <link>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041015#M6710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vanaua@163.com"&gt;vanaua@163.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I just quickly tested your code and there is a configuration error in the DMA ch0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105557i60B9A46823CCFE6F/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 08:35:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041015#M6710</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-05-22T08:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: spi's dma mode receive data successfully but send data failed.</title>
      <link>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041016#M6711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thank you for your reply. I found that there was a&amp;nbsp;error with the code I uploaded earlier. Such as&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;DMA-&amp;gt;TCD[0].SADDR = DMA_TCD_SADDR_SADDR(&amp;amp;(LPSPI0-&amp;gt;RDR)); /* Source Address. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; "&gt;and the other.(the red is correct)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have changed it to be more perfect. However,&amp;nbsp;slave's LPSPI communication with DMA&amp;nbsp;can only receive data, but cannot send data. I can not figure out what kind of BUG cause this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2020 03:18:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041016#M6711</guid>
      <dc:creator>vanaua</dc:creator>
      <dc:date>2020-05-25T03:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: spi's dma mode receive data successfully but send data failed.</title>
      <link>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041017#M6712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to my understanding, Data from the array of TCD1_Send was transmitted to the&amp;nbsp;register of LPSPI0 - &amp;gt; TDR&amp;nbsp; in the channel 1 of DMA .And in fact, the channel is sent with receiving channel under one same clock, so&amp;nbsp; when receiving channel 0 transmission complete interruption was trigged, channel 1 send has been completed as well. However,&amp;nbsp; I don't see any output data sent from the pin during&amp;nbsp;this&amp;nbsp; period.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 01:48:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041017#M6712</guid>
      <dc:creator>vanaua</dc:creator>
      <dc:date>2020-05-26T01:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: spi's dma mode receive data successfully but send data failed.</title>
      <link>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041018#M6713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's more, Whether LPSPI slaves support sending DMA messages or not was still confusing me,&amp;nbsp;But I was following the manual of S32K-RM.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/107708iA5D8DE4594AAEFDC/image-size/large?v=v2&amp;amp;px=999" title="TIM截图20200526094723.jpg" alt="TIM截图20200526094723.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/107784iD2BB5160ABBC2220/image-size/large?v=v2&amp;amp;px=999" title="TIM截图20200526094749.jpg" alt="TIM截图20200526094749.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 01:50:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041018#M6713</guid>
      <dc:creator>vanaua</dc:creator>
      <dc:date>2020-05-26T01:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: spi's dma mode receive data successfully but send data failed.</title>
      <link>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041019#M6714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vanaua@163.com"&gt;vanaua@163.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You didn't enabled peripheral request&amp;nbsp;for DMA Ch1, you enabled DMA Ch0 only (SERQ).&lt;/P&gt;&lt;P&gt;Do you measure the correct pin?&lt;/P&gt;&lt;P&gt;In the project, you commented that MISO is&amp;nbsp;PTD16 but it is PB4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you use your own board or an EVB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2020 15:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/spi-s-dma-mode-receive-data-successfully-but-send-data-failed/m-p/1041019#M6714</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-05-29T15:50:03Z</dc:date>
    </item>
  </channel>
</rss>

