<?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: LPSPI is only working when setting a breakpoint in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPSPI-is-only-working-when-setting-a-breakpoint/m-p/1329949#M16070</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;After having a breif review of the code, I don't find something wrong.&lt;BR /&gt;So I'd like to suggest you to refe to freertos_lpspi or freertos_lpspi_b2b_master demo to adjust your demo project.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Thu, 26 Aug 2021 03:38:09 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2021-08-26T03:38:09Z</dc:date>
    <item>
      <title>LPSPI is only working when setting a breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPSPI-is-only-working-when-setting-a-breakpoint/m-p/1325246#M15920</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm facing some strange behavior concerning &lt;STRONG&gt;LPSPI&lt;/STRONG&gt; on &lt;STRONG&gt;MIMXRT1052&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;When I run my code in &lt;STRONG&gt;debug mode&lt;/STRONG&gt; SPI (set up as master) doesn't send anything. However, as soon as I set a &lt;STRONG&gt;breakpoint&lt;/STRONG&gt; data is sent out. It doesn't matter if I set or remove a breakpoint during runtime and even more, it doesn't matter where the breakpoint is placed. Even if it is at a point that will never be reached at this point in program execution.&lt;BR /&gt;I'm using eDMA to handle SPI transmission. However, I tested my code also with using SPI in polling mode without eDMA and it shows the same behavior. That's why I suspect the issue to be in SPI directly.&lt;BR /&gt;The problem occurs on LPSPI2 (master), while LPSPI1 (set up as slave) seems to work well.&lt;/P&gt;&lt;P&gt;I'm using a J-Link probe for programming and debugging from MCUXpresso IDE v11.3.1 [Build 5262] [2021-04-02].&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 06:55:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPSPI-is-only-working-when-setting-a-breakpoint/m-p/1325246#M15920</guid>
      <dc:creator>Michi_O</dc:creator>
      <dc:date>2021-08-18T06:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPSPI is only working when setting a breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPSPI-is-only-working-when-setting-a-breakpoint/m-p/1325331#M15923</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;I was wondering if you can introduce your testing environment, for instance, EVK board, demo project, IDE, etc.&lt;BR /&gt;Then I can replicate the phenomenon on my site.&lt;BR /&gt;Looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 08:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPSPI-is-only-working-when-setting-a-breakpoint/m-p/1325331#M15923</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-08-18T08:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPSPI is only working when setting a breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPSPI-is-only-working-when-setting-a-breakpoint/m-p/1328590#M16021</link>
      <description>&lt;P&gt;Hi and thanks for your reply &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I cannot provide you the whole project due to my companies compliance rules.&lt;/P&gt;&lt;P&gt;However, I prepared a test project which only contains &lt;STRONG&gt;FreeRTOS&lt;/STRONG&gt;, &lt;STRONG&gt;LPSPI2&lt;/STRONG&gt; in combination with &lt;STRONG&gt;eDMA&lt;/STRONG&gt; and an unfinished &lt;STRONG&gt;LED driver&lt;/STRONG&gt;, which makes use of &lt;STRONG&gt;LPSPI2&lt;/STRONG&gt;. I attached it to this post.&lt;BR /&gt;Sending data over LPSPI2 is triggered by the callback function of a FreeRTOS timer.&lt;BR /&gt;The behavior is exactly the same as with the original project. I'm monitoring the &lt;STRONG&gt;SPI pins&lt;/STRONG&gt; with a &lt;STRONG&gt;logic analyzer&lt;/STRONG&gt; which triggers only in the mentioned situation, that a &lt;STRONG&gt;breakpoint&lt;/STRONG&gt; is activated or deactivated regardless of if this breakpoint is reached or not. I tried the logic analyzers trigger for every signal (CS, CLK, MOSI).&lt;/P&gt;&lt;P&gt;For the hardware I'm using a custom board, but &lt;STRONG&gt;IMXRT1050-EVKB&lt;/STRONG&gt; is used as a basis for the project.&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 11:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPSPI-is-only-working-when-setting-a-breakpoint/m-p/1328590#M16021</guid>
      <dc:creator>Michi_O</dc:creator>
      <dc:date>2021-08-24T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPSPI is only working when setting a breakpoint</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPSPI-is-only-working-when-setting-a-breakpoint/m-p/1329949#M16070</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;After having a breif review of the code, I don't find something wrong.&lt;BR /&gt;So I'd like to suggest you to refe to freertos_lpspi or freertos_lpspi_b2b_master demo to adjust your demo project.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 03:38:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPSPI-is-only-working-when-setting-a-breakpoint/m-p/1329949#M16070</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-08-26T03:38:09Z</dc:date>
    </item>
  </channel>
</rss>

