<?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: PCS DSPI always active hi</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-DSPI-always-active-hi/m-p/2267988#M68119</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/20031"&gt;@pietrodicastri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Please refer to the PCSIS field in the SPIx_MCR register. When a bit is set to 0, the inactive state of PCSx is low, and high indicates the active state. Also note that the effect of this bit only takes place when the module is enabled. Ensure that this bit is configured correctly before enabling the SPI interface.&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1766472188581.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/371019iE25562D3F679BF2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1766472188581.png" alt="Alice_Yang_0-1766472188581.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 23 Dec 2025 06:43:17 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2025-12-23T06:43:17Z</dc:date>
    <item>
      <title>PCS DSPI always active hi</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-DSPI-always-active-hi/m-p/2266964#M68106</link>
      <description>&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;I have a remarkable behaviour for the DSPI. Using a KV58 tower .. The example from the SDK is just working normally. I can select the CS0 polarity.&lt;BR /&gt;I have my application using a driver SPI just as a copy paste. And the CS0 is always active hi.&lt;BR /&gt;I am looking over and over again ... I do not find a reason for it.&lt;BR /&gt;If someone wants to dedicate a little time I can send the files or the full project.&lt;BR /&gt;I am thankful for every support&lt;/P&gt;&lt;P&gt;Pietro&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 13:08:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-DSPI-always-active-hi/m-p/2266964#M68106</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2025-12-19T13:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: PCS DSPI always active hi</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-DSPI-always-active-hi/m-p/2266976#M68107</link>
      <description>Hello me agan&lt;BR /&gt;I have a remarkable fix and question.&lt;BR /&gt;That's the code for the initialization of the DSPI&lt;BR /&gt;&lt;BR /&gt;static bool MCP23S17_DspiInit(void)&lt;BR /&gt;{&lt;BR /&gt;dspi_master_config_t masterConfig;&lt;BR /&gt;uint32_t srcClock_Hz;&lt;BR /&gt;&lt;BR /&gt;CLOCK_EnableClock( kCLOCK_Spi0 );&lt;BR /&gt;DSPI_Deinit( MCP23S17_DSPI_BASE );&lt;BR /&gt;&lt;BR /&gt;DSPI_MasterGetDefaultConfig(&amp;amp;masterConfig);&lt;BR /&gt;&lt;BR /&gt;masterConfig.whichCtar = MCP23S17_DSPI_CTAR;&lt;BR /&gt;masterConfig.ctarConfig.baudRate = MCP23S17_SPI_BAUDRATE;&lt;BR /&gt;masterConfig.ctarConfig.bitsPerFrame = MCP23S17_SPI_BITS_PER_FRAME;&lt;BR /&gt;masterConfig.ctarConfig.cpol = MCP23S17_SPI_CPOL;&lt;BR /&gt;masterConfig.ctarConfig.cpha = MCP23S17_SPI_CPHA;&lt;BR /&gt;masterConfig.ctarConfig.direction = MCP23S17_SPI_SHIFT_DIR;&lt;BR /&gt;masterConfig.ctarConfig.pcsToSckDelayInNanoSec = MCP23S17_DELAY_NS;&lt;BR /&gt;masterConfig.ctarConfig.lastSckToPcsDelayInNanoSec = MCP23S17_DELAY_NS;&lt;BR /&gt;masterConfig.ctarConfig.betweenTransferDelayInNanoSec = MCP23S17_DELAY_NS;&lt;BR /&gt;&lt;BR /&gt;/* Default PCS for init; actual PCS is chosen via configFlags later */&lt;BR /&gt;masterConfig.whichPcs = MCP23S17_DSPI_PCS0;&lt;BR /&gt;masterConfig.pcsActiveHighOrLow = kDSPI_PcsActiveLow;&lt;BR /&gt;&lt;BR /&gt;masterConfig.enableContinuousSCK = false;&lt;BR /&gt;masterConfig.enableRxFifoOverWrite = false;&lt;BR /&gt;masterConfig.enableModifiedTimingFormat = false;&lt;BR /&gt;masterConfig.samplePoint = kDSPI_SckToSin0Clock;&lt;BR /&gt;&lt;BR /&gt;srcClock_Hz = MCP23S17_DSPI_CLK_FREQ;&lt;BR /&gt;if (srcClock_Hz == 0U)&lt;BR /&gt;{&lt;BR /&gt;return false;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;DSPI_MasterInit(MCP23S17_DSPI_BASE, &amp;amp;masterConfig, srcClock_Hz);&lt;BR /&gt;SPI0-&amp;gt;MCR |= (0x003F0000);&lt;BR /&gt;&lt;BR /&gt;return true;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The surprise here is the line&lt;BR /&gt;SPI0-&amp;gt;MCR |= (0x003F0000);&lt;BR /&gt;&lt;BR /&gt;needs to be there .. After the inizialization despite the explicit setting to have a low active CS the CS is always active high. But the procedure is the same in the SDK. So&lt;BR /&gt;explain me what is wrong.&lt;BR /&gt;&lt;BR /&gt;Thank You&lt;BR /&gt;Pietro</description>
      <pubDate>Fri, 19 Dec 2025 13:43:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-DSPI-always-active-hi/m-p/2266976#M68107</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2025-12-19T13:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: PCS DSPI always active hi</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-DSPI-always-active-hi/m-p/2267988#M68119</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/20031"&gt;@pietrodicastri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Please refer to the PCSIS field in the SPIx_MCR register. When a bit is set to 0, the inactive state of PCSx is low, and high indicates the active state. Also note that the effect of this bit only takes place when the module is enabled. Ensure that this bit is configured correctly before enabling the SPI interface.&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1766472188581.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/371019iE25562D3F679BF2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1766472188581.png" alt="Alice_Yang_0-1766472188581.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Dec 2025 06:43:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PCS-DSPI-always-active-hi/m-p/2267988#M68119</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-12-23T06:43:17Z</dc:date>
    </item>
  </channel>
</rss>

