<?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 Re: Reducing CS Low Time Before Starting SCLK in SPI Communication in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2030961#M233158</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238403"&gt;@mehul_dabhi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think if you must use DMA transfer, You can refer the spidev_test, It depends on your test code. And BTW, i will in spring festival for a long time, If you have any question, you can create a new ticket.&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 01:51:37 GMT</pubDate>
    <dc:creator>pengyong_zhang</dc:creator>
    <dc:date>2025-01-21T01:51:37Z</dc:date>
    <item>
      <title>Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2019919#M232421</link>
      <description>&lt;P&gt;I am using the i.MX8MP SoC and have configured the SPI frequency to 25 MHz and am writing 24-bit data. However, I am observing an extended CS (Chip Select) low time of approximately 2.2 µs before the SCLK (Serial Clock) starts, as seen in the captured image.&lt;/P&gt;&lt;P&gt;What steps can I take to reduce the CS low time before the SCLK begins? Any guidance or suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 07:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2019919#M232421</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2024-12-27T07:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020305#M232451</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238403"&gt;@mehul_dabhi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share your&amp;nbsp;&lt;SPAN&gt;captured image.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 05:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020305#M232451</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2024-12-30T05:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020396#M232456</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have attached the the waveform image below, the signal in yellow is CS gpio and the blue one is SCK of SPI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried configuring the cs_setup delay from spi_device structure but it too does not lead to any improvements. I have to write around 300K samples in a sec to a DAC and if this delay persists this will become an impossible thing for me to do.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mehul&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cs_low_time_with_sclk.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317621iBD5D509BD435928B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cs_low_time_with_sclk.png" alt="cs_low_time_with_sclk.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 07:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020396#M232456</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2024-12-30T07:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020734#M232482</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238403"&gt;@mehul_dabhi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Firstly, Do not use GPIO as CS ctrl, Then you can use the&amp;nbsp; &lt;SPAN class="fontstyle0"&gt;ECSPI&lt;/SPAN&gt;&lt;SPAN class="fontstyle1"&gt;x&lt;/SPAN&gt;&lt;SPAN class="fontstyle0"&gt;_PERIODREG&lt;/SPAN&gt;&amp;nbsp;(CSD_CTL) control the&amp;nbsp;Chip Select Delay.&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 07:55:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020734#M232482</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2024-12-31T07:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020785#M232490</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I removed the cs-gpios property from the device tree node and have been able to bring down the delay. But what happens is I am trying to transmit 24 bits of data and CS should remain low until all the bits are transferred rather the CS goes high after each transfer of 8-bit. I also tried configuring cs_change to 0 from spi_transfer structure but no improvement with that too. Below is the attached snap.&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="mehul_dabhi_0-1735639636977.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317743i06EF2638FA1E534B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mehul_dabhi_0-1735639636977.jpeg" alt="mehul_dabhi_0-1735639636977.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;BR /&gt;Mehul&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 10:07:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020785#M232490</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2024-12-31T10:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020938#M232510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238403"&gt;@mehul_dabhi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But what happens is I am trying to transmit 24 bits of data and CS should remain low until all the bits are transferred rather the CS goes high after each transfer of 8-bit&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;As long as you don't use gpio to control cs, it's like this. It is normal.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;B.R&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 01:44:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2020938#M232510</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-01-02T01:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2021096#M232530</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want to write samples to DAC continuously over SPI having data and register command lengths of 24 bits. The max frequency supported by DAC is 35MHz and I want to write counts at every us interval.&lt;BR /&gt;&lt;BR /&gt;Now when I use gpio to control CS (i.e. cs-gpios property in dts) I observe a delay of ~2us between CS assertion and SCLK availability for data transfer.&lt;BR /&gt;&lt;BR /&gt;If I use native CS (i.e. do not mention cs-gpios in dts) it goes high for every bits per word transfer (in my case 8-bits).&lt;BR /&gt;&lt;BR /&gt;Also as per reference manual I should be able to transmit 512 bytes in single transfer, but in my case I am unable to transmit 3-bytes in single transfer.&lt;BR /&gt;&lt;BR /&gt;Then how can I achieve my requirement? What is your suggestion/guidance?&lt;BR /&gt;&lt;BR /&gt;FYI I am working on kernel version 6.1.36&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mehul&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 07:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2021096#M232530</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-01-02T07:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2021234#M232539</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;, I could not edit my previous reply so replying on my previous comment.&lt;BR /&gt;&lt;BR /&gt;I am interfacing DAC to ecspi2 and I have gathered following understanding from the reference manual of imx8mp.&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="mehul_dabhi_0-1735810462438.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317855i334F16FBA3188FF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mehul_dabhi_0-1735810462438.png" alt="mehul_dabhi_0-1735810462438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With the configuration of&amp;nbsp;ECSPIx_CONREG[SMC] =1, I can immediately start the SPI transfer once the data is in TxFIFO and with ECSPIx_CONFIGREG[SS_CTL] = 0, the data should be transferred without the asserting the CS between the consecutive bursts until the&amp;nbsp;ECSPIx_CONREG[BURST_LENGTH] is transferred . Below are the snaps for this.&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="mehul_dabhi_1-1735810702247.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317856iEA5017BA7F5E0A99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mehul_dabhi_1-1735810702247.png" alt="mehul_dabhi_1-1735810702247.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mehul_dabhi_3-1735811236374.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317861i8C0CB77E786C22B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mehul_dabhi_3-1735811236374.png" alt="mehul_dabhi_3-1735811236374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Based on this theory we have selected and designed the hardware. So as I mentioned in my previous comment what can be done to meet my requirement? Or is there some problem with the reference manual? Or have I misunderstood something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 09:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2021234#M232539</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-01-02T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2021629#M232565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238403"&gt;@mehul_dabhi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you are right. you can config the register&amp;nbsp;SS_CTL bit to&amp;nbsp;&lt;SPAN&gt;meet your requirement. But i think you should keep&amp;nbsp;ECSPIx_CONREG[SMC] clear, And&amp;nbsp;writing a 1 to XCH bit starts one SPI burst or multiple SPI bursts according to the SPI SS Wave Form Select (SS_CTL)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;B.R&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 06:01:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2021629#M232565</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-01-03T06:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2021793#M232582</link>
      <description>&lt;P&gt;Thanks for the response&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;I have configured following register bits :&lt;BR /&gt;&lt;BR /&gt;SS_CTL = 0&lt;BR /&gt;SMC =0 (also tried setting it to 1 and handle XCH accordingly)&lt;BR /&gt;BURST_LENGTH = 7 (for 8-bits and even tried setting it to 0x017 for 24 bits)&lt;/P&gt;&lt;P&gt;With the above configurations I still am facing problem of CS assertion at every byte transfer, so what have I done wrong here and have I missed something within the configurations?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mehul&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 09:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2021793#M232582</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-01-03T09:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2023033#M232700</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I still am facing the issue and have tried the above configurations for trying to make it work. I could use some guidance about what I am doing wrong here to resolve this issue.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mehul&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 07:03:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2023033#M232700</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-01-07T07:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2023067#M232706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238403"&gt;@mehul_dabhi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Working on your this request. and will give you the feedback ASAP.&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 07:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2023067#M232706</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-01-07T07:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2023239#M232725</link>
      <description>&lt;P&gt;Ok&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;, I will be looking forward for your response&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 11:10:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2023239#M232725</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-01-07T11:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2023570#M232746</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238403"&gt;@mehul_dabhi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can disable the DMA to&amp;nbsp;implementation for your needs.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pengyong_zhang_0-1736300673545.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318454iEEAB606E1D36F811/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pengyong_zhang_0-1736300673545.png" alt="pengyong_zhang_0-1736300673545.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 01:45:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2023570#M232746</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-01-08T01:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2024754#M232827</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for the timely response. I will test this and report the results here.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mehul&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 10:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2024754#M232827</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-01-09T10:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2025834#M232878</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I have faced a setback for my hardware setup and I will be on leave for next week. So my response to your suggestion will be a bit delayed but will surely post the results whenever I test it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mehul&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 13:26:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2025834#M232878</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-01-10T13:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2030656#M233128</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I followed your suggestion and disabled DMA as a result I have been able to get the delay lowered down to around ~500ns for 1MHz I have attached the snap of it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mehul_dabhi_1-1737374746705.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320384i02CB0B06F704B5BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mehul_dabhi_1-1737374746705.jpeg" alt="mehul_dabhi_1-1737374746705.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have following questions :&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How does enabling DMA causes the CS pin to go high after each byte transfer?&lt;/LI&gt;&lt;LI&gt;The project that I am working on also has ADC interfaced to SPI (not the same bus as DAC). So communicating continuously to both ADC and DAC for high sample rates will burden the CPU a lot. For this reason I was thinking of forcing DMA for every transaction over SPI. With your current solution I will not be able to do that. So, is there any way to get this issue resolved with DMA enabled? If not, what can I do to lower the burden from CPU?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Mehul&lt;BR /&gt;&lt;BR /&gt;&lt;LI-PRODUCT title="IMX8MPLUS" id="IMX8MPLUS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 12:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2030656#M233128</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-01-20T12:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2030961#M233158</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238403"&gt;@mehul_dabhi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think if you must use DMA transfer, You can refer the spidev_test, It depends on your test code. And BTW, i will in spring festival for a long time, If you have any question, you can create a new ticket.&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 01:51:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2030961#M233158</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-01-21T01:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2034514#M233381</link>
      <description>&lt;P&gt;Continued discussion at &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Using-DMA-with-native-CS-for-a-SPI-peripheral/m-p/2034512#M233380" target="_self"&gt;link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 11:16:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2034514#M233381</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-01-27T11:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing CS Low Time Before Starting SCLK in SPI Communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2053756#M234590</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202673"&gt;@pengyong_zhang&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Also, when using HW CS pin, we are observing the high CS idle time of around ~3.4us&lt;BR /&gt;I am attaching the snap for the same; kindly look into it.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 11:21:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Reducing-CS-Low-Time-Before-Starting-SCLK-in-SPI-Communication/m-p/2053756#M234590</guid>
      <dc:creator>mehul_dabhi</dc:creator>
      <dc:date>2025-02-28T11:21:49Z</dc:date>
    </item>
  </channel>
</rss>

