<?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: S32k146 LPSPI0 doesn't work in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32k146-LPSPI0-doesn-t-work/m-p/1954923#M40961</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232799"&gt;@12914A&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you scope the bus?&lt;/P&gt;
&lt;P&gt;Is the LPSPI0 sending something on the bus?&lt;/P&gt;
&lt;P&gt;How do you call the write_byte() and read_byte() functions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2024 06:54:30 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2024-09-16T06:54:30Z</dc:date>
    <item>
      <title>S32k146 LPSPI0 doesn't work</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-LPSPI0-doesn-t-work/m-p/1954159#M40932</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tested the LPSPI example for S32k146, to add in future the communication with a sd-card via SPI. But it doesn't work. I use PTB0 - PTB3 (LPSPI0). While debugging, it stucks at the while loop in transmit / read function. I attach the functions (init, send, read).&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 09:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-LPSPI0-doesn-t-work/m-p/1954159#M40932</guid>
      <dc:creator>12914A</dc:creator>
      <dc:date>2024-09-13T09:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 LPSPI0 doesn't work</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-LPSPI0-doesn-t-work/m-p/1954923#M40961</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232799"&gt;@12914A&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you scope the bus?&lt;/P&gt;
&lt;P&gt;Is the LPSPI0 sending something on the bus?&lt;/P&gt;
&lt;P&gt;How do you call the write_byte() and read_byte() functions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 06:54:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-LPSPI0-doesn-t-work/m-p/1954923#M40961</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-16T06:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 LPSPI0 doesn't work</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-LPSPI0-doesn-t-work/m-p/1967612#M41672</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The CS and CLK line work as expected. But on the MOSI line there is no data.&lt;/P&gt;&lt;P&gt;Here is how we call the write_byte() function:&lt;/P&gt;&lt;P&gt;for (b = 0 ; b &amp;lt; 0x0f; b++) //Send min 74+ clocks&lt;BR /&gt;{ write_byte(0xff);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;but it stay stuck in the write_byte() in the following line:&lt;/P&gt;&lt;P&gt;while(((LPSPI0-&amp;gt;SR &amp;amp; LPSPI_SR_TDF_MASK)&amp;gt;&amp;gt;LPSPI_SR_TDF_SHIFT)==0);&lt;/P&gt;&lt;P&gt;What could be the problem?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 05:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-LPSPI0-doesn-t-work/m-p/1967612#M41672</guid>
      <dc:creator>12914A</dc:creator>
      <dc:date>2024-10-07T05:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 LPSPI0 doesn't work</title>
      <link>https://community.nxp.com/t5/S32K/S32k146-LPSPI0-doesn-t-work/m-p/1968648#M41756</link>
      <description>&lt;P&gt;Hello Sandra,&lt;/P&gt;
&lt;P&gt;How many of the 128 CLK cycles do you see at the pin?&lt;/P&gt;
&lt;P&gt;If you don't read the RX data from the RX FIFO, set CFGR1[NOSTALL].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 07:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k146-LPSPI0-doesn-t-work/m-p/1968648#M41756</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-10-08T07:27:37Z</dc:date>
    </item>
  </channel>
</rss>

