<?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>S32KのトピックRe: S32K342 - LSPI timeout issue</title>
    <link>https://community.nxp.com/t5/S32K/S32K342-LSPI-timeout-issue/m-p/1645872#M22670</link>
    <description>&lt;P&gt;&lt;A href="mailto:Hi@Indumathi" target="_blank"&gt;Hi@Indumathi&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Can you provide more information regarding your project?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example,provide your source code project, the IDE and SDK version you are using,so that i can&lt;/P&gt;
&lt;P&gt;reproduce your problem.&lt;/P&gt;
&lt;P&gt;PS:In addition, you can view the register status of LPSPI2 at this location&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1683353388298.png" style="width: 591px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222042iEE92DAFA3FAF4018/image-dimensions/591x111?v=v2" width="591" height="111" role="button" title="Senlent_0-1683353388298.png" alt="Senlent_0-1683353388298.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 06 May 2023 06:09:59 GMT</pubDate>
    <dc:creator>Senlent</dc:creator>
    <dc:date>2023-05-06T06:09:59Z</dc:date>
    <item>
      <title>S32K342 - LSPI timeout issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-LSPI-timeout-issue/m-p/1645746#M22656</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;Greetings!!!&lt;/P&gt;&lt;P&gt;We are using LSPI2 and LSPI3 as master for our project.&lt;/P&gt;&lt;P&gt;1. It is observed that when the communication is initiated from LSPI0 due to timeout, the SPI&amp;nbsp; module module API is returning faulty status.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;The registers CR, CFGR1, CCR, CCR1 are not having correct value which is causing issue as well. Attached the screenshot of the registers&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please check and let us know what is the issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SPI_Register_error5.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222009iFA401DB185EA77CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SPI_Register_error5.jpg" alt="SPI_Register_error5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Indumathi&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 21:58:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-LSPI-timeout-issue/m-p/1645746#M22656</guid>
      <dc:creator>Indumathi</dc:creator>
      <dc:date>2023-05-05T21:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 - LSPI timeout issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-LSPI-timeout-issue/m-p/1645872#M22670</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Indumathi" target="_blank"&gt;Hi@Indumathi&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Can you provide more information regarding your project?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example,provide your source code project, the IDE and SDK version you are using,so that i can&lt;/P&gt;
&lt;P&gt;reproduce your problem.&lt;/P&gt;
&lt;P&gt;PS:In addition, you can view the register status of LPSPI2 at this location&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1683353388298.png" style="width: 591px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/222042iEE92DAFA3FAF4018/image-dimensions/591x111?v=v2" width="591" height="111" role="button" title="Senlent_0-1683353388298.png" alt="Senlent_0-1683353388298.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 06:09:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-LSPI-timeout-issue/m-p/1645872#M22670</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-05-06T06:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 - LSPI timeout issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-LSPI-timeout-issue/m-p/1645998#M22684</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;Thanks for tin debugger it is not as expected. it is showing all zeros.&lt;/P&gt;&lt;P&gt;he reply. We are using S32K342 controller and Greenhills compiler. As part of application requirement we have configured LSPI2 as master to connect with external device PMIC. We are using RTD 2.0.0 package.&lt;/P&gt;&lt;P&gt;1. as part of communication the timeout is happening and communication is not initiated.&lt;/P&gt;&lt;P&gt;2. when debugged further it is observed that the registers of LSPI2 module are not updated properly as expected by the program.&lt;/P&gt;&lt;P&gt;Please hep to understand and resolve this issue.&lt;/P&gt;&lt;P&gt;Attaching the EB project configurations for the reference.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Indumathi&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2023 17:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-LSPI-timeout-issue/m-p/1645998#M22684</guid>
      <dc:creator>Indumathi</dc:creator>
      <dc:date>2023-05-07T17:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 - LSPI timeout issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-LSPI-timeout-issue/m-p/1655159#M23159</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Indumathi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I saw that LPSPI0 is configuring to use DMA request.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_2-1684809946257.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224305i4D9BBDE4EAD02594/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_2-1684809946257.png" alt="Nhi_Nguyen_2-1684809946257.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, you will need to configure for this, as below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In Mcl:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_0-1684809788425.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224301i497F7A47707532AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_0-1684809788425.png" alt="Nhi_Nguyen_0-1684809788425.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_1-1684809822017.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224302i8D4D0FF5E370AF1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_1-1684809822017.png" alt="Nhi_Nguyen_1-1684809822017.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_3-1684809991031.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224307iE4F6F4E7F37BDDA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_3-1684809991031.png" alt="Nhi_Nguyen_3-1684809991031.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_4-1684810022322.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224308iB740B10E45CAF133/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_4-1684810022322.png" alt="Nhi_Nguyen_4-1684810022322.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In Platform:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_5-1684810129420.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224309i246EC06ACAAD3B04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_5-1684810129420.png" alt="Nhi_Nguyen_5-1684810129420.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_6-1684810157564.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224310i4189941BA82647D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_6-1684810157564.png" alt="Nhi_Nguyen_6-1684810157564.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_7-1684810177138.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224311i2F15F45115E2BF81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_7-1684810177138.png" alt="Nhi_Nguyen_7-1684810177138.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I assume that the issue come from interrupt handler of LPSIP0 wasn't handled.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Nhi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 02:51:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-LSPI-timeout-issue/m-p/1655159#M23159</guid>
      <dc:creator>Nhi_Nguyen</dc:creator>
      <dc:date>2023-05-23T02:51:19Z</dc:date>
    </item>
  </channel>
</rss>

