<?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: how to use SLAVE spi with interrupt in K32 L Series Microcontrollers</title>
    <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1927101#M217</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In image attached you can see the installed packages. The packages seems to be fine installed. Also reimporting the project was not working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I am checking the configuration. I see the following warning message:&lt;/P&gt;&lt;P&gt;Orphaned configuration. No base extension cfg exists for com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.10.2.exe.debug.1072142349&lt;/P&gt;&lt;P&gt;I don't have any Build Variables and also the PATH variable is missing from Environment tab. Please check the image attached&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 07:26:13 GMT</pubDate>
    <dc:creator>mcristian</dc:creator>
    <dc:date>2024-08-07T07:26:13Z</dc:date>
    <item>
      <title>how to use SLAVE spi with interrupt</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1925259#M213</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am using S32K148 LQFP176, and I am trying to get data from from another device, using SPI. Thus, I am trying to use LPSPI0 with the following pins: PTD15 (LPSPI0_SCK as input), PTD16 (LPSPI0_SIN as input), PTA30 (LPSPI0_SOUT as output) and PTA26 (LPSPI0_PCS0)&lt;/P&gt;&lt;P&gt;For initializing the slave state, I was using this function:&amp;nbsp;LPSPI_DRV_SlaveInit(INST_LPSPI_1, &amp;amp;lpspi_2State, &amp;amp;lpspi_1_SlaveConfig0);&lt;/P&gt;&lt;P&gt;For adding the interrupt I was using the following functions:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;INT_SYS_InstallHandler(LPSPI0_IRQn, SPI0_Slave_ISR, (isr_t*) 0);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;INT_SYS_EnableIRQ(LPSPI0_IRQn);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To get the data, I was expecting to have one register which I need to check it every time when the&amp;nbsp;&lt;SPAN&gt;SPI0_Slave_ISR function is called, but I don't know how to read the data.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there any example or can you give me some details how to get the SPI data?&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Aug 2024 11:09:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1925259#M213</guid>
      <dc:creator>mcristian</dc:creator>
      <dc:date>2024-08-05T11:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to use SLAVE spi with interrupt</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1925678#M214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234016"&gt;@mcristian&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;With SDK it is not possible to check if the data from slave data is ready all the lpspi register operations are done in the background. Please check the following community post:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-SDK/How-do-I-know-if-the-SPI-slave-has-received-the-data/m-p/849975" target="_blank"&gt;Solved: How do I know if the SPI slave has received the data? - NXP Community.&lt;/A&gt;&amp;nbsp;An spi example is shared where there is a callback function used.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;There is also the &lt;STRONG&gt;Lpspi_Ip_HalfDuplex_Transfer_S32K148&lt;/STRONG&gt; example from the RTD package which uses interrupt for the transfer. You can go into the&amp;nbsp;Lpspi_Ip_IrqHandler function which is called by LPSPI ISR to analyze how the transfer is processed in interrupt mode.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 18:55:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1925678#M214</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-08-05T18:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to use SLAVE spi with interrupt</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1926240#M215</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp; for the answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to install RTD but I have some issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. First, I have a compilation problem:&lt;/P&gt;&lt;P&gt;Error: Program "" not found in PATH&lt;BR /&gt;PATH=[C:/NXP/S32DS.3.4/eclipse/jre/bin/server;C:/NXP/S32DS.3.4/eclipse/jre/bin;C:/NXP/S32DS.3.4/eclipse/jre/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\java8path;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Pico Technology\PicoScope6\;C:\Program Files\Microchip\xc8\v2.41\bin;C:\Program Files (x86)\Microchip\xc8\v2.00\bin;C:\Program Files (x86)\Microchip\xc8\v1.45\bin;C:\Program Files\PuTTY\;C:\Program Files\Microchip\xc16\v2.10\bin;C:\Program Files\WindowsPowerShell\Scripts\HP.ClientScriptLibrary;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microchip\xc16\v2.00\bin;C:\Program Files\Microchip\xc16\v1.70\bin;C:\Program Files\Microchip\xc16\v1.61\bin;C:\Program Files (x86)\Microchip\xc16\v1.41\bin;C:\Program Files\Microchip\xc16\v1.50\bin;C:\Users\uie69050\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\uie69050\AppData\Local\Programs\Python\Python310\;C:\Users\uie69050\AppData\Local\Microsoft\WindowsApps;C:\Users\uie69050\AppData\Local\GitHubDesktop\bin;C:\Python27\;C:\Users\uie69050\Infineon\LauncherService;C:\NXP\S32DS.3.4\S32DS\tools\S32Trace\bin;C:\NXP\S32DS.3.4\eclipse]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Somehow it seems that the installation was not done properly. I have attached the folder structure. On another project downloaded from the forum, there are "generate" and "RTD" folders, and I cannot find those in my structure&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 09:32:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1926240#M215</guid>
      <dc:creator>mcristian</dc:creator>
      <dc:date>2024-08-06T09:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to use SLAVE spi with interrupt</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1926623#M216</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234016"&gt;@mcristian&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;S32DS 3.4 supports RTD 1.0.0 &amp;amp; 2.0.0, please confirm you are installing one of these versions. Also, try re-importing the project and follow the "description.txt" file.&lt;/P&gt;
&lt;P&gt;Normally, the "Program "" not found in PATH" refers to an error while importing the project, or if a different version was used to develop said project.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 17:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1926623#M216</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-08-06T17:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to use SLAVE spi with interrupt</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1927101#M217</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In image attached you can see the installed packages. The packages seems to be fine installed. Also reimporting the project was not working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I am checking the configuration. I see the following warning message:&lt;/P&gt;&lt;P&gt;Orphaned configuration. No base extension cfg exists for com.nxp.s32ds.cle.arm.mbs.arm32.bare.gnu.10.2.exe.debug.1072142349&lt;/P&gt;&lt;P&gt;I don't have any Build Variables and also the PATH variable is missing from Environment tab. Please check the image attached&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 07:26:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1927101#M217</guid>
      <dc:creator>mcristian</dc:creator>
      <dc:date>2024-08-07T07:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to use SLAVE spi with interrupt</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1927797#M218</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234016"&gt;@mcristian&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I apologize, I mistakenly said S32DS 3.4 supports both RTD 1.0.0 and 2.0.0. S32 Design Studio v3.4 only supports RTD 1.0.0. Please uninstall your current package and install RTD 1.0.0 instead.&lt;/P&gt;
&lt;P&gt;If the problem persists, please try some of the solutions on the following community posts:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/Migrating-from-2-2ARM-to-3-4DS-Errors-occurred-during-the-build/m-p/1290601?profile.language=zh-CN" target="_blank"&gt;Solved: Re: Migrating from 2.2ARM to 3.4DS: Errors occurred during the build - NXP Community&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/Orphaned-toolchain-Can-t-build-with-v10-1-1/m-p/770918" target="_blank"&gt;Solved: Orphaned toolchain... Can't build with v10.1.1 - NXP Community&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 00:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/how-to-use-SLAVE-spi-with-interrupt/m-p/1927797#M218</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-08-08T00:35:41Z</dc:date>
    </item>
  </channel>
</rss>

