<?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 LPSPI-DMA-SDK S32K144 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/LPSPI-DMA-SDK-S32K144/m-p/1431891#M14535</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/Implementing-LPIT-DMA-SPI-for-UJA1169TK-F-in-S32K144/m-p/1430149#M14496" target="_blank"&gt;https://community.nxp.com/t5/S32K/Implementing-LPIT-DMA-SPI-for-UJA1169TK-F-in-S32K144/m-p/1430149#M14496&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I was trying to implement the above implementation with the help of SDK(V3.0.0) for S32K144&lt;/P&gt;&lt;P&gt;I could manage to configure 2 DMA channels and link it with Tx &amp;amp; Rx of LPSPI&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I start both the DMA channels , It is hitting Default ISR and throwing error as shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KARTHKSARODE_0-1647943352090.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174387i6A05D785E9A7D0D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KARTHKSARODE_0-1647943352090.png" alt="KARTHKSARODE_0-1647943352090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the Tx &amp;amp; Rx is working perfectly , I can see the expected received value in array&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KARTHKSARODE_1-1647943489865.png" style="width: 596px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174389i66B4619F28B3BA3E/image-dimensions/596x69?v=v2" width="596" height="69" role="button" title="KARTHKSARODE_1-1647943489865.png" alt="KARTHKSARODE_1-1647943489865.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm not sure , what's causing an interrupt , help me out&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the project for the reference , Let me know if there is an issue&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 10:06:36 GMT</pubDate>
    <dc:creator>KARTHKSARODE</dc:creator>
    <dc:date>2022-03-22T10:06:36Z</dc:date>
    <item>
      <title>LPSPI-DMA-SDK S32K144</title>
      <link>https://community.nxp.com/t5/S32K/LPSPI-DMA-SDK-S32K144/m-p/1431891#M14535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/Implementing-LPIT-DMA-SPI-for-UJA1169TK-F-in-S32K144/m-p/1430149#M14496" target="_blank"&gt;https://community.nxp.com/t5/S32K/Implementing-LPIT-DMA-SPI-for-UJA1169TK-F-in-S32K144/m-p/1430149#M14496&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I was trying to implement the above implementation with the help of SDK(V3.0.0) for S32K144&lt;/P&gt;&lt;P&gt;I could manage to configure 2 DMA channels and link it with Tx &amp;amp; Rx of LPSPI&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I start both the DMA channels , It is hitting Default ISR and throwing error as shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KARTHKSARODE_0-1647943352090.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174387i6A05D785E9A7D0D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KARTHKSARODE_0-1647943352090.png" alt="KARTHKSARODE_0-1647943352090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the Tx &amp;amp; Rx is working perfectly , I can see the expected received value in array&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KARTHKSARODE_1-1647943489865.png" style="width: 596px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/174389i66B4619F28B3BA3E/image-dimensions/596x69?v=v2" width="596" height="69" role="button" title="KARTHKSARODE_1-1647943489865.png" alt="KARTHKSARODE_1-1647943489865.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm not sure , what's causing an interrupt , help me out&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the project for the reference , Let me know if there is an issue&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 10:06:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPSPI-DMA-SDK-S32K144/m-p/1431891#M14535</guid>
      <dc:creator>KARTHKSARODE</dc:creator>
      <dc:date>2022-03-22T10:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPSPI-DMA-SDK S32K144</title>
      <link>https://community.nxp.com/t5/S32K/LPSPI-DMA-SDK-S32K144/m-p/1432647#M14572</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;why do you add code for DMA channels init? If DMA mode is selected for LPSPI transfer all init is done when calling&amp;nbsp;LPSPI_DRV_MasterTransfer function. See code for&amp;nbsp;LPSPI_DRV_MasterStartTransfer function. And in fact you wrote transfers are done.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 14:15:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPSPI-DMA-SDK-S32K144/m-p/1432647#M14572</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-03-23T14:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPSPI-DMA-SDK S32K144</title>
      <link>https://community.nxp.com/t5/S32K/LPSPI-DMA-SDK-S32K144/m-p/1433354#M14599</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response , Now I understood that there are 2 ways to implement LPSPI DMA SDK&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Using the DMA APIs for LPSPI TDR &amp;amp; RDR register&lt;/STRONG&gt; - Transfers are happening but in the end , it is hitting ISR(Not able to understand the cause of the issue)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Using the LPSPI transfer API&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;LPSPI_DRV_MasterTransfer&lt;/STRONG&gt; - Working perfectly fine , without any issues&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;LPSPI_DRV_MasterTransferBlocking&lt;/STRONG&gt; - Program is getting stuck in&amp;nbsp;OSIF_SemaWait , from few post from NXP community , I understood the issue is because of freertos&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In all the 3 methods transfers is happening perfectly , but 1st method is having issue of some interrupt&amp;nbsp;&lt;BR /&gt;Please help me to solve that issue&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 09:22:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPSPI-DMA-SDK-S32K144/m-p/1433354#M14599</guid>
      <dc:creator>KARTHKSARODE</dc:creator>
      <dc:date>2022-03-24T09:22:11Z</dc:date>
    </item>
  </channel>
</rss>

