<?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>Kinetis Microcontrollers中的主题 Re: SPI slave select PINs</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-slave-select-PINs/m-p/888894#M52576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see below my answers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Not necessarely, if you want to have the same Ctar configuration for both SPI slaves you can use the same.&lt;/P&gt;&lt;P&gt;2,3. Using GPIO pins as slave pins &lt;EM&gt;is possible&lt;/EM&gt; but you need to disable FIFO&amp;nbsp;by setting the DIS_TXF in SPIx_MCR register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give it a try and let me know your findings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2019 21:00:28 GMT</pubDate>
    <dc:creator>FelipeGarcia</dc:creator>
    <dc:date>2019-01-24T21:00:28Z</dc:date>
    <item>
      <title>SPI slave select PINs</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-slave-select-PINs/m-p/888893#M52575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;If I understand well, when I configure the SPI master, I have to use the PCSn PINs as slave select PINs. These PINs depend on the SPIn port. For example, my board (FRDM-K28F) has only 1 PCS for SPI3, 2 PCSs for SPI2, etc.&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. So if I want to use 2 SPI slaves I have to configure kDSPI_Ctar0 for PCS0 and kDSPI_Ctar1 for PCS1, isn't it?&lt;/P&gt;&lt;P&gt;2. And what about if I want to use &lt;EM&gt;my own PIN&lt;/EM&gt; as slave select (I mean custom pin to set high and low from GPIO driver)? Is it possible? For example, can I configure in SPI3 one slave with the PCS0 and another using an external GPIO as slave select pin for a second device?&lt;/P&gt;&lt;P&gt;3. And what about to use only custom PINs as slave select? Is it possible?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2019 11:42:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-slave-select-PINs/m-p/888893#M52575</guid>
      <dc:creator>portal127</dc:creator>
      <dc:date>2019-01-21T11:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: SPI slave select PINs</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-slave-select-PINs/m-p/888894#M52576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see below my answers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Not necessarely, if you want to have the same Ctar configuration for both SPI slaves you can use the same.&lt;/P&gt;&lt;P&gt;2,3. Using GPIO pins as slave pins &lt;EM&gt;is possible&lt;/EM&gt; but you need to disable FIFO&amp;nbsp;by setting the DIS_TXF in SPIx_MCR register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give it a try and let me know your findings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 21:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-slave-select-PINs/m-p/888894#M52576</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-01-24T21:00:28Z</dc:date>
    </item>
  </channel>
</rss>

