<?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: S32K144 LPSPI communication error in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-LPSPI-communication-error/m-p/886599#M4206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the details provided in your post I see just one issue: data is stored as uint8_t, but your frame size is 32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share here the project to reproduce the same setup as on your side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2019 12:09:52 GMT</pubDate>
    <dc:creator>razva_tilimpea</dc:creator>
    <dc:date>2019-03-13T12:09:52Z</dc:date>
    <item>
      <title>S32K144 LPSPI communication error</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-LPSPI-communication-error/m-p/886598#M4205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I use&amp;nbsp;S32K144 LPSPI module to setup communication in S32DS environment,there is some issues as the following.&lt;/P&gt;&lt;P&gt;1.if LPSPI_DRV_MasterTransfer(instance,sendBuffer,receiveBuffer,transferByteCount); there is no receive data in RDR.&lt;/P&gt;&lt;P&gt;2. if LPSPI_DRV_MasterTransferBlocking(instance,sendBuffer,receiveBuffer,transferByteCount,100);after several frames, it is pended in OSif_wait().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;LPSPI_DRV_MasterInit(LPSPICOM1,&amp;amp;lpspiCom1State,&amp;amp;lpspiCom1_MasterConfig0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;status_t error = STATUS_ERROR;&lt;BR /&gt;uint16_t remaincnt=0;&lt;BR /&gt;uint8 txdatabuf[5]={0x55,0x55,0x55,0x55,0x55};&lt;BR /&gt;uint8 rxdatabuf[5]={0x00};&lt;BR /&gt;txdatabuf[0].=IMU_READ_SID0;&lt;BR /&gt;txdatabuf[1].Imufrm_U32=IMU_READ_SID1;&lt;BR /&gt;if(LPSPI_DRV_MasterGetTransferStatus(LPSPICOM1,&amp;amp;remaincnt)==STATUS_SUCCESS)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;//error=LPSPI_DRV_MasterTransfer(LPSPICOM1,txdatabuf,rxdatabuf,transferByteCount);&lt;BR /&gt;&amp;nbsp;error=LPSPI_DRV_MasterTransferBlocking(LPSPICOM1,txdatabuf,rxdatabuf,transferByteCount,5);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;project configuration as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="lpspiconfig.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72186i569688ABB292C73D/image-size/large?v=v2&amp;amp;px=999" role="button" title="lpspiconfig.png" alt="lpspiconfig.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="lpspiconfig2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72068i573472CA358768F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="lpspiconfig2.png" alt="lpspiconfig2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 03:08:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-LPSPI-communication-error/m-p/886598#M4205</guid>
      <dc:creator>lijz821</dc:creator>
      <dc:date>2019-03-12T03:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPSPI communication error</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-LPSPI-communication-error/m-p/886599#M4206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the details provided in your post I see just one issue: data is stored as uint8_t, but your frame size is 32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share here the project to reproduce the same setup as on your side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 12:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-LPSPI-communication-error/m-p/886599#M4206</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2019-03-13T12:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPSPI communication error</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-LPSPI-communication-error/m-p/1415150#M14040</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/92637"&gt;@razva_tilimpea&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using frame size of 16 bits , data is stored as&amp;nbsp;&lt;SPAN&gt;uint8_t (Given&amp;nbsp;array )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please try to answer the query posted here (&lt;A href="https://community.nxp.com/t5/S32K/Implementing-Non-SDK-example-in-SDK-LPSPI-S32K144-Project-LPSPI/m-p/1414315" target="_blank"&gt;https://community.nxp.com/t5/S32K/Implementing-Non-SDK-example-in-SDK-LPSPI-S32K144-Project-LPSPI/m-p/1414315&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 09:11:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-LPSPI-communication-error/m-p/1415150#M14040</guid>
      <dc:creator>KARTHKSARODE</dc:creator>
      <dc:date>2022-02-17T09:11:12Z</dc:date>
    </item>
  </channel>
</rss>

