<?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 S32K3 LPSPI pcs question in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K3-LPSPI-pcs-question/m-p/2366571#M58648</link>
    <description>&lt;P&gt;Hi Nxp experts:&lt;/P&gt;&lt;P&gt;If I manually control the LPSPI Chip Select (CS) using a GPIO pin, will the SpiCsPolarity setting in the S32DS configuration tool still affect it? Do I need to disable the PCS (Peripheral Chip Select) selection in the tool? Also, what is the purpose of the SpiHostRequest parameter?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="focusdoit_0-1779058033130.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/385673i44A94C65C22D2B8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="focusdoit_0-1779058033130.png" alt="focusdoit_0-1779058033130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 17 May 2026 22:49:46 GMT</pubDate>
    <dc:creator>focusdoit</dc:creator>
    <dc:date>2026-05-17T22:49:46Z</dc:date>
    <item>
      <title>S32K3 LPSPI pcs question</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-LPSPI-pcs-question/m-p/2366571#M58648</link>
      <description>&lt;P&gt;Hi Nxp experts:&lt;/P&gt;&lt;P&gt;If I manually control the LPSPI Chip Select (CS) using a GPIO pin, will the SpiCsPolarity setting in the S32DS configuration tool still affect it? Do I need to disable the PCS (Peripheral Chip Select) selection in the tool? Also, what is the purpose of the SpiHostRequest parameter?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="focusdoit_0-1779058033130.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/385673i44A94C65C22D2B8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="focusdoit_0-1779058033130.png" alt="focusdoit_0-1779058033130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2026 22:49:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-LPSPI-pcs-question/m-p/2366571#M58648</guid>
      <dc:creator>focusdoit</dc:creator>
      <dc:date>2026-05-17T22:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 LPSPI pcs question</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-LPSPI-pcs-question/m-p/2367079#M58676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206632"&gt;@focusdoit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If I manually control the LPSPI Chip Select (CS) using a GPIO pin, will the SpiCsPolarity setting in the S32DS configuration tool still affect it?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;No, it should not affect the behavior.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are using a GPIO as the Chip Select, you are responsible for controlling it.. The SpiCsPolarity parameter applies to hardware-controlled CS managed by the LPSPI peripheral, not to GPIO-controlled signals.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Do I need to disable the PCS (Peripheral Chip Select) selection in the tool?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are working with low-level drivers (IP) in ConfigTools, you only need to configure the desired pin as a GPIO, and you should not configure any PCS pin.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For high-level drivers (MCAL), in addition to configuring the pin as GPIO, there is a parameter called SpiCsSelection. This parameter should be set to CS_VIA_GPIO. In this case, the driver will use notifications (defined by the nodes SpiJobStartNotification and SpiJobEndNotification) to control the CS pin via GPIO for each SPI job.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Also, what is the purpose of the SpiHostRequest parameter?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In Master mode, this parameter allows the LPSPI module to start a new SPI transfer only when the host request input is asserted. If the LPSPI is busy, the host request input is ignored.&lt;/P&gt;
&lt;P&gt;In Slave mode, it causes the HREQ output pin to assert when data is available to be transmitted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2026 18:04:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-LPSPI-pcs-question/m-p/2367079#M58676</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2026-05-18T18:04:35Z</dc:date>
    </item>
  </channel>
</rss>

