<?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 LPSPI3 Chip select is high continously in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LPSPI3-Chip-select-is-high-continously/m-p/1006295#M149115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on imx8 target, connected my LPSPI3 to ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have configured pins as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pinctrl_lpspi3: lpspi3grp {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; SC_P_SPI3_SCK_ADMA_SPI3_SCK&amp;nbsp; &amp;nbsp;0x0600004c&lt;BR /&gt; SC_P_SPI3_SDO_ADMA_SPI3_SDO&amp;nbsp; 0x0600004c&lt;BR /&gt; SC_P_SPI3_SDI_ADMA_SPI3_SDI&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0600004c&lt;BR /&gt; SC_P_SPI3_CS0_ADMA_SPI3_CS0&amp;nbsp; &amp;nbsp; 0x0600004c&lt;BR /&gt; SC_P_SPI3_CS1_ADMA_SPI3_CS1&amp;nbsp; &amp;nbsp; 0x0600004c&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my current setup, i am getting clock and data on MOSI, but chip select is continuously high. I want to change the pin configuration to pull down by default instead of pull up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to find the SCU registers in Reference manual, please point me to the reference manual from where i can get these registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to understand the value assigned to "&lt;SPAN&gt;SC_P_SPI3_CS1_ADMA_SPI3_CS1&amp;nbsp; &amp;nbsp; 0x0600004c", how to make default configuration of CS1 low.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2019 07:30:11 GMT</pubDate>
    <dc:creator>yellapu_anishkh</dc:creator>
    <dc:date>2019-12-04T07:30:11Z</dc:date>
    <item>
      <title>LPSPI3 Chip select is high continously</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPSPI3-Chip-select-is-high-continously/m-p/1006295#M149115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on imx8 target, connected my LPSPI3 to ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have configured pins as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pinctrl_lpspi3: lpspi3grp {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; SC_P_SPI3_SCK_ADMA_SPI3_SCK&amp;nbsp; &amp;nbsp;0x0600004c&lt;BR /&gt; SC_P_SPI3_SDO_ADMA_SPI3_SDO&amp;nbsp; 0x0600004c&lt;BR /&gt; SC_P_SPI3_SDI_ADMA_SPI3_SDI&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0600004c&lt;BR /&gt; SC_P_SPI3_CS0_ADMA_SPI3_CS0&amp;nbsp; &amp;nbsp; 0x0600004c&lt;BR /&gt; SC_P_SPI3_CS1_ADMA_SPI3_CS1&amp;nbsp; &amp;nbsp; 0x0600004c&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my current setup, i am getting clock and data on MOSI, but chip select is continuously high. I want to change the pin configuration to pull down by default instead of pull up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to find the SCU registers in Reference manual, please point me to the reference manual from where i can get these registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to understand the value assigned to "&lt;SPAN&gt;SC_P_SPI3_CS1_ADMA_SPI3_CS1&amp;nbsp; &amp;nbsp; 0x0600004c", how to make default configuration of CS1 low.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 07:30:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPSPI3-Chip-select-is-high-continously/m-p/1006295#M149115</guid>
      <dc:creator>yellapu_anishkh</dc:creator>
      <dc:date>2019-12-04T07:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPSPI3 Chip select is high continously</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPSPI3-Chip-select-is-high-continously/m-p/1006296#M149116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;polarity can be changed by bit PCSPOL register CFGR1, seems it is not&lt;/P&gt;&lt;P&gt;configurable via dts and changes may be applied in driver&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/spi/spi-fsl-lpspi.c?h=imx_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/spi/spi-fsl-lpspi.c?h=imx_4.19.35_1.1.0"&gt;spi-fsl-lpspi.c\spi\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SCU registers are not available for users, it necessary to use APIs using&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_SCFWKIT-1.2.7.1&amp;amp;appType=license" target="_blank"&gt;SCFW Porting Kit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Value assigned to "&lt;SPAN&gt;SC_P_SPI3_CS1_ADMA_SPI3_CS1 is pad configuration value&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;described in Chapter "IOMUXD" i.MX8QM Reference Manual.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Thu, 05 Dec 2019 01:08:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPSPI3-Chip-select-is-high-continously/m-p/1006296#M149116</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-12-05T01:08:26Z</dc:date>
    </item>
  </channel>
</rss>

