<?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 PCS Selection in K22F in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-Selection-in-K22F/m-p/916896#M53619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I want to use PCS[1] of SPI 1 as a chip select pin in&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;MK22FN512VLL12 microcontroller whereas the rest of the PCS line as a digital output to control LEDs/display.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I understand that PCS bits (16-21) of PUSHR register is used to operate the corresponding PCS pin and PCSIS bits(16-21) of MCR register to select default state of PCS pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;If is dont operate the&amp;nbsp;&lt;SPAN&gt;PCS bits (16-21) of PUSHR register while operating SPI, then can i use the unused PCS pins as normal GPIO's?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;SPAN&gt;Thanks and best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;SPAN&gt;Prasanna&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Aug 2019 11:12:27 GMT</pubDate>
    <dc:creator>prasannanaik</dc:creator>
    <dc:date>2019-08-13T11:12:27Z</dc:date>
    <item>
      <title>PCS Selection in K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-Selection-in-K22F/m-p/916896#M53619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I want to use PCS[1] of SPI 1 as a chip select pin in&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;MK22FN512VLL12 microcontroller whereas the rest of the PCS line as a digital output to control LEDs/display.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I understand that PCS bits (16-21) of PUSHR register is used to operate the corresponding PCS pin and PCSIS bits(16-21) of MCR register to select default state of PCS pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;If is dont operate the&amp;nbsp;&lt;SPAN&gt;PCS bits (16-21) of PUSHR register while operating SPI, then can i use the unused PCS pins as normal GPIO's?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;SPAN&gt;Thanks and best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;SPAN&gt;Prasanna&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 11:12:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-Selection-in-K22F/m-p/916896#M53619</guid>
      <dc:creator>prasannanaik</dc:creator>
      <dc:date>2019-08-13T11:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: PCS Selection in K22F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-Selection-in-K22F/m-p/916897#M53620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasanna,&lt;/P&gt;&lt;P&gt;PORTx_PCRn[MUX] can be used to select the pin is Peripheral Chip Select or GPIO.&lt;/P&gt;&lt;P&gt;If you want to configure the Pin as GPIO function, then please set MUX=0001&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SPI0_PCS0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87920i0B394481BC759FD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI0_PCS0.png" alt="SPI0_PCS0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PORTx_PCRn[MUX].png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87871iCB00A15261E3F6CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="PORTx_PCRn[MUX].png" alt="PORTx_PCRn[MUX].png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Robin&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 08:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-Selection-in-K22F/m-p/916897#M53620</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-08-14T08:56:22Z</dc:date>
    </item>
  </channel>
</rss>

