<?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 SPI_MasterTransfer non blocking function, how to detect Master transfer is completed over SPI ? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SPI-MasterTransfer-non-blocking-function-how-to-detect-Master/m-p/1204039#M9382</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here am using SPI PAL driver with PE configuration, am i need to non blocking function call transferring data over SPI. but would like to get notified when SPI transaction is done.&lt;/P&gt;&lt;P&gt;please help me on how to achieve it.&lt;/P&gt;&lt;P&gt;Thanks in advance !.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Dec 2020 07:59:25 GMT</pubDate>
    <dc:creator>Saitej</dc:creator>
    <dc:date>2020-12-24T07:59:25Z</dc:date>
    <item>
      <title>SPI_MasterTransfer non blocking function, how to detect Master transfer is completed over SPI ?</title>
      <link>https://community.nxp.com/t5/S32K/SPI-MasterTransfer-non-blocking-function-how-to-detect-Master/m-p/1204039#M9382</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here am using SPI PAL driver with PE configuration, am i need to non blocking function call transferring data over SPI. but would like to get notified when SPI transaction is done.&lt;/P&gt;&lt;P&gt;please help me on how to achieve it.&lt;/P&gt;&lt;P&gt;Thanks in advance !.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 07:59:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-MasterTransfer-non-blocking-function-how-to-detect-Master/m-p/1204039#M9382</guid>
      <dc:creator>Saitej</dc:creator>
      <dc:date>2020-12-24T07:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: SPI_MasterTransfer non blocking function, how to detect Master transfer is completed over SPI ?</title>
      <link>https://community.nxp.com/t5/S32K/SPI-MasterTransfer-non-blocking-function-how-to-detect-Master/m-p/1205314#M9429</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181201"&gt;@Saitej&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;When you set the SPI to call a callback is possible to achieve this. If you set a name to the callback:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alexis_A_0-1609359718068.png" style="width: 589px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133697i0342F4FD0DA330AE/image-dimensions/589x287?v=v2" width="589" height="287" role="button" title="Alexis_A_0-1609359718068.png" alt="Alexis_A_0-1609359718068.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And in your main code you will need to set a function with the following syntax:&lt;/P&gt;
&lt;P&gt;SPI1_Callback(void *driverState, spi_event_t event, void *userData);&lt;/P&gt;
&lt;P&gt;In the event parameter, the SPI_EVENT_END_TRANSFER event is called if the transfer is finished.&lt;/P&gt;
&lt;P&gt;Let me know if this helps you.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Alexis Andalon&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 20:26:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-MasterTransfer-non-blocking-function-how-to-detect-Master/m-p/1205314#M9429</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-12-30T20:26:01Z</dc:date>
    </item>
  </channel>
</rss>

