<?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: S32K Chip Select</title>
    <link>https://community.nxp.com/t5/S32K/S32K-Chip-Select/m-p/1269567#M10706</link>
    <description>&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;thanks for youre reply.&lt;/P&gt;&lt;P&gt;yes this is done ...but I have now 2 CS and 2 Configs and want to switch between CS1 and CS2.&lt;/P&gt;&lt;P&gt;one master -&amp;gt; 2 chip selects to 2 Slaves with same MOSI/MISO.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 09:41:21 GMT</pubDate>
    <dc:creator>puc2000</dc:creator>
    <dc:date>2021-04-28T09:41:21Z</dc:date>
    <item>
      <title>S32K Chip Select</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Chip-Select/m-p/1268958#M10691</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I´m using S32K144 LPSPI1 with SDK and try to switch the CS with&lt;/P&gt;&lt;P&gt;LPSPI_SetPcs(LPSPICOM1, LPSPI_PCS2);&lt;/P&gt;&lt;P&gt;and also with&lt;/P&gt;&lt;P&gt;LPSPI_DRV_MasterConfigureBus(LPSPICOM1, &amp;amp;lpspiCom1_MasterConfig3, NULL);&lt;/P&gt;&lt;P&gt;but it will always use the CS configured in the first&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LPSPI_DRV_MasterInit(LPSPICOM1, &amp;amp;lspi1_state, &amp;amp;lpspiCom1_MasterConfig1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;even if I have a Config for all CS. How can I use it inside SDK?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;peter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 13:28:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Chip-Select/m-p/1268958#M10691</guid>
      <dc:creator>puc2000</dc:creator>
      <dc:date>2021-04-27T13:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Chip Select</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Chip-Select/m-p/1269453#M10695</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;peter,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Did you configure &lt;STRONG&gt;PTE6&lt;/STRONG&gt; as &lt;STRONG&gt;LPSPI0_PCS2&lt;/STRONG&gt; in the &lt;STRONG&gt;PinSettings&lt;/STRONG&gt;?&lt;BR /&gt;Test the &lt;STRONG&gt;lpspi_transfer_s32k144&lt;/STRONG&gt;&amp;nbsp;SDK example, I am able to see the signal on &lt;STRONG&gt;PTE6&lt;/STRONG&gt;(&lt;STRONG&gt;LPSPI0_PCS2&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lpspi_transfer_s32k144.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143509i8980830793BBC51F/image-size/large?v=v2&amp;amp;px=999" role="button" title="lpspi_transfer_s32k144.jpg" alt="lpspi_transfer_s32k144.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The default setting of &lt;STRONG&gt;Peripheral Chip Select&lt;/STRONG&gt; is PCS0.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lpspi0 PCS0 default.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143508i530C56C4A623BD5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="lpspi0 PCS0 default.jpg" alt="lpspi0 PCS0 default.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&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;- 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, 28 Apr 2021 07:31:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Chip-Select/m-p/1269453#M10695</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-04-28T07:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Chip Select</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Chip-Select/m-p/1269567#M10706</link>
      <description>&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;thanks for youre reply.&lt;/P&gt;&lt;P&gt;yes this is done ...but I have now 2 CS and 2 Configs and want to switch between CS1 and CS2.&lt;/P&gt;&lt;P&gt;one master -&amp;gt; 2 chip selects to 2 Slaves with same MOSI/MISO.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 09:41:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Chip-Select/m-p/1269567#M10706</guid>
      <dc:creator>puc2000</dc:creator>
      <dc:date>2021-04-28T09:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Chip Select</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Chip-Select/m-p/1270773#M10746</link>
      <description>&lt;P&gt;If the only difference between Send_MasterConfig0 and&amp;nbsp;Send_MasterConfig1 was the PCS selection, then I don't think you need to add&amp;nbsp;Send_MasterConfig. &lt;SPAN&gt;&lt;STRONG&gt;LPSPI_SetPcs&lt;/STRONG&gt; should be able to switch different PCS.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But if you want to add several &lt;STRONG&gt;Master Configurations&lt;/STRONG&gt; with different configurations(not only PCS)&lt;/SPAN&gt;&lt;SPAN&gt;, then you may need to add&amp;nbsp;Master Configuration. In this case you only need to call: &lt;STRONG&gt;LPSPI_DRV_MasterInit&lt;/STRONG&gt; before transfer to another Slave.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Master Configurations.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143730iB6D9842678AE89AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Master Configurations.jpg" alt="Master Configurations.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 08:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Chip-Select/m-p/1270773#M10746</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-04-30T08:58:29Z</dc:date>
    </item>
  </channel>
</rss>

