<?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 S32K148 SPI Slave with Real Time Driver in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1390059#M13323</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to set up a simple routine for the&amp;nbsp;S32K148 EVB to act as a SPI-Slave. My issue is with the functions from the&amp;nbsp;Lpspi_Ip. Following version is used:&lt;/P&gt;&lt;P&gt;* Project : RTD AUTOSAR 4.4&lt;BR /&gt;* Platform : CORTEXM&lt;BR /&gt;* Peripheral : LPSPI&lt;BR /&gt;* Dependencies :&lt;BR /&gt;*&lt;BR /&gt;* Autosar Version : 4.4.0&lt;BR /&gt;* Autosar Revision : ASR_REL_4_4_REV_0000&lt;BR /&gt;* Autosar Conf.Variant :&lt;BR /&gt;* SW Version : 1.0.0&lt;BR /&gt;* Build Version : S32K1_RTD_1_0_0_D2108_ASR_REL_4_4_REV_0000_20210810&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried implementing following functions:&lt;/P&gt;&lt;P&gt;/* Initalized clock */&lt;BR /&gt;Clock_Ip_Init(&amp;amp;Mcu_aClockConfigPB[0]);&lt;/P&gt;&lt;P&gt;/* Initialize interrupt */&lt;BR /&gt;IntCtrl_Ip_Init(&amp;amp;IntCtrlConfig_0);&lt;BR /&gt;IntCtrl_Ip_ConfigIrqRouting(&amp;amp;intRouteConfig);&lt;/P&gt;&lt;P&gt;/* Initalized spi using instance lpspi as a spi slave */&lt;BR /&gt;Lpspi_Ip_Init(&amp;amp;Lpspi_Ip_PhyUnitConfig_SpiPhyUnit_0_BOARD_InitPeripherals);&lt;/P&gt;&lt;P&gt;/* Update Transfer Mode */&lt;BR /&gt;Lpspi_Ip_UpdateTransferMode(SLAVE_EXTERNAL_DEVICE.Instance, LPSPI_IP_INTERRUPT);&lt;/P&gt;&lt;P&gt;/* Slave set up and waiting active signal of Cs from master to process data reception */&lt;BR /&gt;Lpspi_Ip_AsyncTransmitHalfDuplex(&amp;amp;SLAVE_EXTERNAL_DEVICE, RxSlaveBuffer, (uint16)NUMBER_OF_BYTES, LPSPI_IP_HALF_DUPLEX_RECEIVE, SpiCallBack);&lt;/P&gt;&lt;P&gt;I use an external device to send SPI-frames to the board. --&amp;gt; If I send something, the&amp;nbsp;Lpspi_Ip_GetStatus(SLAVE_EXTERNAL_DEVICE.Instance); status stays BUSY. I am realy not sure how to aproach this properly.&lt;/P&gt;&lt;P&gt;Can you help me out somehow?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your support!&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 14:31:48 GMT</pubDate>
    <dc:creator>wkim</dc:creator>
    <dc:date>2021-12-22T14:31:48Z</dc:date>
    <item>
      <title>S32K148 SPI Slave with Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1390059#M13323</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to set up a simple routine for the&amp;nbsp;S32K148 EVB to act as a SPI-Slave. My issue is with the functions from the&amp;nbsp;Lpspi_Ip. Following version is used:&lt;/P&gt;&lt;P&gt;* Project : RTD AUTOSAR 4.4&lt;BR /&gt;* Platform : CORTEXM&lt;BR /&gt;* Peripheral : LPSPI&lt;BR /&gt;* Dependencies :&lt;BR /&gt;*&lt;BR /&gt;* Autosar Version : 4.4.0&lt;BR /&gt;* Autosar Revision : ASR_REL_4_4_REV_0000&lt;BR /&gt;* Autosar Conf.Variant :&lt;BR /&gt;* SW Version : 1.0.0&lt;BR /&gt;* Build Version : S32K1_RTD_1_0_0_D2108_ASR_REL_4_4_REV_0000_20210810&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried implementing following functions:&lt;/P&gt;&lt;P&gt;/* Initalized clock */&lt;BR /&gt;Clock_Ip_Init(&amp;amp;Mcu_aClockConfigPB[0]);&lt;/P&gt;&lt;P&gt;/* Initialize interrupt */&lt;BR /&gt;IntCtrl_Ip_Init(&amp;amp;IntCtrlConfig_0);&lt;BR /&gt;IntCtrl_Ip_ConfigIrqRouting(&amp;amp;intRouteConfig);&lt;/P&gt;&lt;P&gt;/* Initalized spi using instance lpspi as a spi slave */&lt;BR /&gt;Lpspi_Ip_Init(&amp;amp;Lpspi_Ip_PhyUnitConfig_SpiPhyUnit_0_BOARD_InitPeripherals);&lt;/P&gt;&lt;P&gt;/* Update Transfer Mode */&lt;BR /&gt;Lpspi_Ip_UpdateTransferMode(SLAVE_EXTERNAL_DEVICE.Instance, LPSPI_IP_INTERRUPT);&lt;/P&gt;&lt;P&gt;/* Slave set up and waiting active signal of Cs from master to process data reception */&lt;BR /&gt;Lpspi_Ip_AsyncTransmitHalfDuplex(&amp;amp;SLAVE_EXTERNAL_DEVICE, RxSlaveBuffer, (uint16)NUMBER_OF_BYTES, LPSPI_IP_HALF_DUPLEX_RECEIVE, SpiCallBack);&lt;/P&gt;&lt;P&gt;I use an external device to send SPI-frames to the board. --&amp;gt; If I send something, the&amp;nbsp;Lpspi_Ip_GetStatus(SLAVE_EXTERNAL_DEVICE.Instance); status stays BUSY. I am realy not sure how to aproach this properly.&lt;/P&gt;&lt;P&gt;Can you help me out somehow?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your support!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 14:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1390059#M13323</guid>
      <dc:creator>wkim</dc:creator>
      <dc:date>2021-12-22T14:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SPI Slave with Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1392138#M13408</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/194984"&gt;@wkim&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Have you checked whether the interrupt handle could be called?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Nam&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 07:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1392138#M13408</guid>
      <dc:creator>namnguyenviet</dc:creator>
      <dc:date>2021-12-27T07:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SPI Slave with Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1396646#M13590</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/83222"&gt;@namnguyenviet&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thank you for your quick reply. And also a happy new year!&lt;/P&gt;&lt;P&gt;The interrupt handle is called without issues using following function:&amp;nbsp; Lpspi_Ip_IrqHandler(SLAVE_EXTERNAL_DEVICE.Instance);&lt;/P&gt;&lt;P&gt;Also I have added some void testFunction in the "generic interrupt settings" (LPSPI0_IRQn)&lt;/P&gt;&lt;P&gt;This function is also never called if my external device sends dome SPI commands.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kim&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 08:41:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1396646#M13590</guid>
      <dc:creator>wkim</dc:creator>
      <dc:date>2022-01-10T08:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SPI Slave with Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1396647#M13591</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/194984"&gt;@wkim&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I assumed you might have missed some interrupt installation. Can you share with me the project so I will check in my site?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Nam&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 08:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1396647#M13591</guid>
      <dc:creator>namnguyenviet</dc:creator>
      <dc:date>2022-01-10T08:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SPI Slave with Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1396652#M13592</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/83222"&gt;@namnguyenviet&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;sure. The project is in the 7zip file.&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;Kim&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 08:48:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1396652#M13592</guid>
      <dc:creator>wkim</dc:creator>
      <dc:date>2022-01-10T08:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SPI Slave with Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1402372#M13727</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/83222" target="_blank"&gt;@namnguyenviet&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;could you open my project? Is there any more information I can provide to you, so you can better understand my issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for you Help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kim&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 07:21:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1402372#M13727</guid>
      <dc:creator>wkim</dc:creator>
      <dc:date>2022-01-20T07:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SPI Slave with Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1402405#M13729</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/194984"&gt;@wkim&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I'm checking your issue on be half of&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/83222"&gt;@namnguyenviet&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 07:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1402405#M13729</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2022-01-20T07:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SPI Slave with Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1408091#M13867</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/83222"&gt;@namnguyenviet&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I urgently need assistance. Your colleague&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;does not seem to answer to my request. It is quite important, that we solve this issue, due to a deadline of our customerproject.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kim&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 14:56:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1408091#M13867</guid>
      <dc:creator>wkim</dc:creator>
      <dc:date>2022-02-02T14:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 SPI Slave with Real Time Driver</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1411015#M13935</link>
      <description>&lt;P&gt;Following sample could solve my issue. See attached file SPI_Slave_solved&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your assistance!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 13:36:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-SPI-Slave-with-Real-Time-Driver/m-p/1411015#M13935</guid>
      <dc:creator>wkim</dc:creator>
      <dc:date>2022-02-09T13:36:55Z</dc:date>
    </item>
  </channel>
</rss>

