<?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>LayerscapeのトピックRe: SPI Chip select issue on lx2160a based custom board</title>
    <link>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2190653#M16231</link>
    <description>&lt;P&gt;Hey Mr Wang,&lt;/P&gt;&lt;P&gt;We have made the changes and still the SPI behaves the same way&lt;BR /&gt;&lt;BR /&gt;here is a screen shot from PCS1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shivam_kumar_0-1761126404790.png" style="width: 738px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362065i57D1EDF8FFDBED49/image-dimensions/738x415?v=v2" width="738" height="415" role="button" title="shivam_kumar_0-1761126404790.png" alt="shivam_kumar_0-1761126404790.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;scale:- 1s/div&lt;BR /&gt;&lt;BR /&gt;this is the full capture from Power on -&amp;gt; Uboot&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2025 09:48:52 GMT</pubDate>
    <dc:creator>shivam_kumar</dc:creator>
    <dc:date>2025-10-22T09:48:52Z</dc:date>
    <item>
      <title>SPI Chip select issue on lx2160a based custom board</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2189783#M16227</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;We are currently facing an issue with the SPI interface. The chip select (CS) line is expected to remain high by default; however, it is observed to be low, and there is some unexpected toggling during the boot process.&lt;/P&gt;&lt;P&gt;For your reference, we have attached the Device Tree Source (DTS) node,, and necessary changes are made in the RCW.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DTS File&lt;/P&gt;&lt;P&gt;&amp;amp;dspi2 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;spidev@1 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;compatible = "spidev"; # we have also tried setting the compatibility to rohm,dh2228fv&lt;BR /&gt;reg = &amp;lt;1&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;15000000&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RCW Fields.&lt;/P&gt;&lt;P&gt;IIC5_PMUX=3&lt;/P&gt;&lt;P&gt;SDHC1_DIR_PMUX=3&lt;BR /&gt;SDHC1_DS_PMUX=2&lt;/P&gt;&lt;P&gt;Please Note: CLK, MOSI are generated correctly but CS isn't working the same.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="164b13c4.png" style="width: 895px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361810i10BD61CCF02E7F49/image-size/large?v=v2&amp;amp;px=999" role="button" title="164b13c4.png" alt="164b13c4.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="c02260f5.png" style="width: 617px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361809i367C0BDB35498319/image-size/large?v=v2&amp;amp;px=999" role="button" title="c02260f5.png" alt="c02260f5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;SPI3_SOUT i.e. SPI 3 is used in the board.&lt;/P&gt;&lt;P&gt;The Yellow is Chip select, Green Data(MOSI), Pink Clock and Blue DIO (MISO)&lt;/P&gt;&lt;P&gt;This is a zoomed out image to show the time gap between Chip select Going low and the Incoming Data&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0dea127f.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361811iD438AB6095AB820B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0dea127f.png" alt="0dea127f.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Zoomed in version green as MOSI and yellow as Clock.&lt;/P&gt;&lt;P&gt;why is SPI driver is generating so much delay between CS-CLK.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="e4ad65a2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361812i437D618AB591472A/image-size/large?v=v2&amp;amp;px=999" role="button" title="e4ad65a2.png" alt="e4ad65a2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Shivam&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 08:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2189783#M16227</guid>
      <dc:creator>shivam_kumar</dc:creator>
      <dc:date>2025-10-21T08:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Chip select issue on lx2160a based custom board</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2189848#M16229</link>
      <description>&lt;P&gt;&lt;SPAN&gt;RCW configuration:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SDHC1_DIR_PMUX=3, SDHC1_DS_PMUX=2, SDHC1_DS_PMUX=2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please open CONFIG_SPI, CONFIG_SPI_FSL_DSPI and CONFIG_SPI_SPIDEV.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They are have been opened in arm64 defconfig.&lt;/P&gt;
&lt;P&gt;Moreover, dts need modification, as below, under dspi node:&lt;/P&gt;
&lt;P&gt;spidev0: spi@0&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;reg = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;compatible = "rohm,dh2228fv";&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;spi-max-frequency = &amp;lt;3000000&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 09:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2189848#M16229</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2025-10-21T09:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Chip select issue on lx2160a based custom board</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2190653#M16231</link>
      <description>&lt;P&gt;Hey Mr Wang,&lt;/P&gt;&lt;P&gt;We have made the changes and still the SPI behaves the same way&lt;BR /&gt;&lt;BR /&gt;here is a screen shot from PCS1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shivam_kumar_0-1761126404790.png" style="width: 738px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362065i57D1EDF8FFDBED49/image-dimensions/738x415?v=v2" width="738" height="415" role="button" title="shivam_kumar_0-1761126404790.png" alt="shivam_kumar_0-1761126404790.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;scale:- 1s/div&lt;BR /&gt;&lt;BR /&gt;this is the full capture from Power on -&amp;gt; Uboot&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 09:48:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2190653#M16231</guid>
      <dc:creator>shivam_kumar</dc:creator>
      <dc:date>2025-10-22T09:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Chip select issue on lx2160a based custom board</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2191352#M16234</link>
      <description>&lt;P&gt;Please refer to the following dts configuration:&lt;/P&gt;
&lt;P&gt;spidev@1 {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "rohm,dh2228fv";&lt;BR /&gt;spi-cpol;&lt;BR /&gt;spi-cpha;&lt;BR /&gt;reg = &amp;lt;1&amp;gt;;&lt;BR /&gt;spi-max-frequency = &amp;lt;4000000&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Please go to Linux Kernel and try the following command.&lt;/P&gt;
&lt;P&gt;spidev_test -D /dev/spidev2.1 -H -O -s 16000000 -v -p "\x00\x00\x00\x00"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 08:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2191352#M16234</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2025-10-23T08:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Chip select issue on lx2160a based custom board</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2192381#M16237</link>
      <description>&lt;P&gt;Heyy yipingwang,&lt;/P&gt;&lt;P&gt;We booted the board via emmc with all the changes and now the CS is working fine. However, CS with SD card BOOT is still not working.&lt;BR /&gt;Let us know what you think about it and further steps.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 08:14:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2192381#M16237</guid>
      <dc:creator>shivam_kumar</dc:creator>
      <dc:date>2025-10-24T08:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Chip select issue on lx2160a based custom board</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2194059#M16245</link>
      <description>&lt;P&gt;SDHC1_DS_PMUX configuration:&lt;/P&gt;
&lt;P&gt;Configures the functionality on SDHC1_DS&lt;BR /&gt;0b00 - SDHC1_DS&lt;BR /&gt;0b01 - GPIO_4[29]&lt;BR /&gt;0b10 - SPI3_SCK&lt;BR /&gt;0b11 - Reserved&lt;/P&gt;
&lt;P&gt;SDHC1 and SPI3 cannot work at the same time.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 07:36:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-Chip-select-issue-on-lx2160a-based-custom-board/m-p/2194059#M16245</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2025-10-28T07:36:40Z</dc:date>
    </item>
  </channel>
</rss>

