<?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: When using FLEXIO_SPI, how to toggle CS in Muti byte unit. in S32K</title>
    <link>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1406694#M13834</link>
    <description>&lt;P&gt;It works normally by simply changing the CS pin to gpio. thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 16:29:45 GMT</pubDate>
    <dc:creator>HyungGyuKim76</dc:creator>
    <dc:date>2022-01-28T16:29:45Z</dc:date>
    <item>
      <title>When using FLEXIO_SPI, how to toggle CS in Muti byte unit.</title>
      <link>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1406488#M13828</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using S32K148U EVB kit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Implemented FLEXIO_SPI using the provided RTM3.0 v3.0. However, the SPI waveform comes out as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HyungGyuKim76_0-1643356137006.png" style="width: 546px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/169120i42ABBBF81B3FABBF/image-dimensions/546x251?v=v2" width="546" height="251" role="button" title="HyungGyuKim76_0-1643356137006.png" alt="HyungGyuKim76_0-1643356137006.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When transferring from Master, 10 bytes(NUMBER_OF_FRAMES is 10) are transmitted as shown below. However, CS is toggled in units of 1 byte.&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" color="#FF6600"&gt;SPI_MasterTransferBlocking(&amp;amp;spi1Instance, master_send, master_receive, (uint8_t) NUMBER_OF_FRAMES, (uint8_t) TIMEOUT);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;How can toggle CS each of transfer size?&lt;/P&gt;&lt;P&gt;If possible, please provide example code.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 07:56:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1406488#M13828</guid>
      <dc:creator>HyungGyuKim76</dc:creator>
      <dc:date>2022-01-28T07:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: When using FLEXIO_SPI, how to toggle CS in Muti byte unit.</title>
      <link>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1406641#M13833</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195474"&gt;@HyungGyuKim76&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Do you want to keep the CS asserted during the 10byte transfer or what is the frame size required here?&lt;/P&gt;
&lt;P&gt;The driver supports 1byte, 2byte and 4byte frames.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1643377109216.png" style="width: 873px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/169139i3DD3BB17597F6A99/image-dimensions/873x576?v=v2" width="873" height="576" role="button" title="danielmartynek_0-1643377109216.png" alt="danielmartynek_0-1643377109216.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to send 10byte frames, you need to control the CS pin by the GPIO driver - toggle the pin before and after this SPI_MasterTransferBlocking() function is called.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 13:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1406641#M13833</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-28T13:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: When using FLEXIO_SPI, how to toggle CS in Muti byte unit.</title>
      <link>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1406694#M13834</link>
      <description>&lt;P&gt;It works normally by simply changing the CS pin to gpio. thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 16:29:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1406694#M13834</guid>
      <dc:creator>HyungGyuKim76</dc:creator>
      <dc:date>2022-01-28T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: When using FLEXIO_SPI, how to toggle CS in Muti byte unit.</title>
      <link>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1408913#M13891</link>
      <description>&lt;P&gt;Sloved it by using CS as GPIO.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 09:01:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1408913#M13891</guid>
      <dc:creator>HyungGyuKim76</dc:creator>
      <dc:date>2022-02-04T09:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: When using FLEXIO_SPI, how to toggle CS in Muti byte unit.</title>
      <link>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1524644#M17806</link>
      <description>&lt;P&gt;at what pins you are checking the output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 04:17:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/When-using-FLEXIO-SPI-how-to-toggle-CS-in-Muti-byte-unit/m-p/1524644#M17806</guid>
      <dc:creator>RishikeshB</dc:creator>
      <dc:date>2022-09-20T04:17:34Z</dc:date>
    </item>
  </channel>
</rss>

