<?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>Processor Expert SoftwareのトピックRe: How to send more then 8 frames via SPI</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-send-more-then-8-frames-via-SPI/m-p/1856545#M5801</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232835"&gt;@Marconi_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about firstly test the SPI demo under SPI. Does it can work well on your board?&lt;/P&gt;
&lt;P&gt;Please contact us if have any issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2024 08:13:42 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2024-04-29T08:13:42Z</dc:date>
    <item>
      <title>How to send more then 8 frames via SPI</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-send-more-then-8-frames-via-SPI/m-p/1856236#M5799</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;Using LPCXPresso55S28 board I try to send 16 bit data via SPI.&lt;/P&gt;&lt;P&gt;I'm using FLEXCOMM2 and I connected my locical analyzer to the board using the pins:&lt;/P&gt;&lt;P&gt;- P18 [15] -&amp;gt; MOSI&lt;/P&gt;&lt;P&gt;- P18 [18] -&amp;gt; SSEL0&lt;/P&gt;&lt;P&gt;- P18[8] -&amp;gt; SCK&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marconi__0-1714293127402.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276303i655BC79E707B6B14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marconi__0-1714293127402.png" alt="Marconi__0-1714293127402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using MCUXpressoIDE peripherals configurator I configured FLEXCOMM2 as shown in the picture&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marconi__1-1714293262161.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276304i5B72B174BC4420B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marconi__1-1714293262161.png" alt="Marconi__1-1714293262161.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wrote a very simple program to test SPI functionality. It uses an infinite loop where the variable dato is incremented by one and the following routine is called each iteration to send the incremented value over SPI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SPI_WriteData(FLEXCOMM2_PERIPHERAL, dato,	kSPI_FrameDelay | kSPI_FrameAssert); &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I compiled my program successfully and flashed it to the evaluation board. I observed the output SPI signals using my logic analyzer and noticed that only 8 frames were sent correctly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marconi__2-1714294172945.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276310iF67649E23376959F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marconi__2-1714294172945.png" alt="Marconi__2-1714294172945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The clock of the 9th is not correct, the CS signal remains low and MOSI remains high.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marconi__0-1714296799382.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276323i5C6DB6443AE97E9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marconi__0-1714296799382.png" alt="Marconi__0-1714296799382.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using MCUXpresso IDE v11.8.1_1197 whith SDK_2.x__LPCXpresso55S28 version 2.13.0&lt;/P&gt;&lt;P&gt;Did you have a similar problem?&lt;/P&gt;&lt;P&gt;How did you fixed it ?&lt;/P&gt;&lt;P&gt;Thank you very much for your help and cooperation&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 09:33:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-send-more-then-8-frames-via-SPI/m-p/1856236#M5799</guid>
      <dc:creator>Marconi_</dc:creator>
      <dc:date>2024-04-28T09:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to send more then 8 frames via SPI</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-send-more-then-8-frames-via-SPI/m-p/1856545#M5801</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232835"&gt;@Marconi_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about firstly test the SPI demo under SPI. Does it can work well on your board?&lt;/P&gt;
&lt;P&gt;Please contact us if have any issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 08:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-send-more-then-8-frames-via-SPI/m-p/1856545#M5801</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-04-29T08:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to send more then 8 frames via SPI</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-send-more-then-8-frames-via-SPI/m-p/1856627#M5803</link>
      <description>&lt;P&gt;SPI SDK demo example works fine. Unfortunately it doesn't use&amp;nbsp;SPI_WriteData function,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 09:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-send-more-then-8-frames-via-SPI/m-p/1856627#M5803</guid>
      <dc:creator>Marconi_</dc:creator>
      <dc:date>2024-04-29T09:21:37Z</dc:date>
    </item>
  </channel>
</rss>

