<?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のトピックSPI time delay between bytes adjust action consultation</title>
    <link>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1894520#M14486</link>
    <description>&lt;P&gt;Dear;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This project adopts the LS1043A platform and uses SPI interface to communicate with external devices, and meets an SPI problem:&lt;BR /&gt;One of the SPI devices has the following requirements for timing, requiring the delay between byte to be less than 400ns, as shown in Figure 1.&lt;BR /&gt;The timing diagram is as follows, and the delay between byte is 1us, see Figure 2 for details.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; After viewing the code, it is found that because the buffer sent at one time is 24bit (the chip manual requirements), 24 is a multiple of 8 in the code (not a multiple of 16 and 32), so the code is divided into 3 cycles to send 8bit operations in turn, and the delay is brought by separate transmission.&lt;BR /&gt;In this case, is there any way to adjust the latency between bytes?&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Check the parameter Delay after Transfer Prescaler in the LS1043ARM manual. How do I configure the parameter?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2024 15:01:08 GMT</pubDate>
    <dc:creator>jack_huang1</dc:creator>
    <dc:date>2024-06-26T15:01:08Z</dc:date>
    <item>
      <title>SPI time delay between bytes adjust action consultation</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1894520#M14486</link>
      <description>&lt;P&gt;Dear;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This project adopts the LS1043A platform and uses SPI interface to communicate with external devices, and meets an SPI problem:&lt;BR /&gt;One of the SPI devices has the following requirements for timing, requiring the delay between byte to be less than 400ns, as shown in Figure 1.&lt;BR /&gt;The timing diagram is as follows, and the delay between byte is 1us, see Figure 2 for details.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; After viewing the code, it is found that because the buffer sent at one time is 24bit (the chip manual requirements), 24 is a multiple of 8 in the code (not a multiple of 16 and 32), so the code is divided into 3 cycles to send 8bit operations in turn, and the delay is brought by separate transmission.&lt;BR /&gt;In this case, is there any way to adjust the latency between bytes?&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Check the parameter Delay after Transfer Prescaler in the LS1043ARM manual. How do I configure the parameter?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 15:01:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1894520#M14486</guid>
      <dc:creator>jack_huang1</dc:creator>
      <dc:date>2024-06-26T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: SPI time delay between bytes adjust action consultation</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1895460#M14492</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137206"&gt;@jack_huang1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please provide us with more information of which SPI device are you trying to connect?&lt;/P&gt;
&lt;P&gt;We will be aware of your kind reply.&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Hector Villarruel.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 23:05:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1895460#M14492</guid>
      <dc:creator>Hector_Villarruel</dc:creator>
      <dc:date>2024-06-27T23:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: SPI time delay between bytes adjust action consultation</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1897110#M14503</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear； &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The SPI interconnects with the Tranceiver ADI adrv902x.&amp;nbsp; The description of the SPI interface is timely, as shown in the following screenshot. Please check. tINT indicates the delay between Byte and Byte. The maximum value is 400ns.&amp;nbsp;See attachment for SPI description of the device. Thank you! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Best Regards! &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 03:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1897110#M14503</guid>
      <dc:creator>jack_huang1</dc:creator>
      <dc:date>2024-07-02T03:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: SPI time delay between bytes adjust action consultation</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1900535#M14518</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137206"&gt;@jack_huang1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this post finds you well,&lt;/P&gt;
&lt;P&gt;Based on your last reply, since you are sending 8 bits,&lt;/P&gt;
&lt;P&gt;Could you please provide us in how you are doing the SPI communication on the example that you provide us?&lt;/P&gt;
&lt;P&gt;We will be aware for your kind reply.&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Hector V&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2024 00:12:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1900535#M14518</guid>
      <dc:creator>Hector_Villarruel</dc:creator>
      <dc:date>2024-07-06T00:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: SPI time delay between bytes adjust action consultation</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1901651#M14525</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear&lt;/SPAN&gt;；&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The spi call procedure is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jack_huang1_0-1720409933316.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287407i9DDA283ABF492BBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jack_huang1_0-1720409933316.jpeg" alt="jack_huang1_0-1720409933316.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jack_huang1_1-1720409974002.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287408i14E56C100CA67668/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jack_huang1_1-1720409974002.jpeg" alt="jack_huang1_1-1720409974002.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; As shown above, the bits_per_word field value in the _read_xmit struct is assigned a default value of 8. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;What other information do you need? Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Best Regards!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 03:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1901651#M14525</guid>
      <dc:creator>jack_huang1</dc:creator>
      <dc:date>2024-07-08T03:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: SPI time delay between bytes adjust action consultation</title>
      <link>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1907179#M14538</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137206"&gt;@jack_huang1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this post finds you well,&lt;/P&gt;
&lt;P&gt;Reviewing your procedure, we notice that you are using SPI dev, which is handled by making transitions defined of 8 bits.&lt;/P&gt;
&lt;P&gt;In order to modify this configuration to the 24 bit transitions, you have to modify it on the device tree.&lt;/P&gt;
&lt;P&gt;Have a great day.&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Hector Villarruel&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 15:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SPI-time-delay-between-bytes-adjust-action-consultation/m-p/1907179#M14538</guid>
      <dc:creator>Hector_Villarruel</dc:creator>
      <dc:date>2024-07-12T15:11:29Z</dc:date>
    </item>
  </channel>
</rss>

