<?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>S32KのトピックRe: S32K344 LPSPI cs is active too long</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1661553#M23477</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;. Thank you for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I disable continuous transfer I have this timings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_0-1685602469068.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225773iAEA71E7129763361/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_0-1685602469068.png" alt="esmax_0-1685602469068.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but I need&amp;nbsp; CS to be active during transferring all 3 bytes.&lt;/P&gt;&lt;P&gt;I have similar project and SPI configuration is the same but another behavior of CS.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_1-1685602665001.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225775i306DA11E94540EFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_1-1685602665001.png" alt="esmax_1-1685602665001.png" /&gt;&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>Thu, 01 Jun 2023 06:59:21 GMT</pubDate>
    <dc:creator>esmax</dc:creator>
    <dc:date>2023-06-01T06:59:21Z</dc:date>
    <item>
      <title>S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1659158#M23365</link>
      <description>&lt;P&gt;Hello. I am trying to work with SPI but have a problem . SPI transmission is too long. CS stays in active state after data is transferred.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_0-1685359817547.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225213i76A0FC31790FDB21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_0-1685359817547.png" alt="esmax_0-1685359817547.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SPI configuration :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_1-1685359960713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225214i67B860F08D5F9045/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_1-1685359960713.png" alt="esmax_1-1685359960713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Has anyone encountered such behavior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 11:35:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1659158#M23365</guid>
      <dc:creator>esmax</dc:creator>
      <dc:date>2023-05-29T11:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1661011#M23456</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211053"&gt;@esmax&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Continuous Transfer configures to "keep PCS asserted between frames (as configured by FRAMESZ). A new command word is required to cause PCS to negate. Also supports changing the command word at the frame size boundaries."&lt;/P&gt;
&lt;P&gt;If you disable continuous transfer you have the same behavior?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 17:32:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1661011#M23456</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2023-05-31T17:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1661553#M23477</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;. Thank you for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I disable continuous transfer I have this timings.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_0-1685602469068.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225773iAEA71E7129763361/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_0-1685602469068.png" alt="esmax_0-1685602469068.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but I need&amp;nbsp; CS to be active during transferring all 3 bytes.&lt;/P&gt;&lt;P&gt;I have similar project and SPI configuration is the same but another behavior of CS.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_1-1685602665001.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225775i306DA11E94540EFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_1-1685602665001.png" alt="esmax_1-1685602665001.png" /&gt;&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>Thu, 01 Jun 2023 06:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1661553#M23477</guid>
      <dc:creator>esmax</dc:creator>
      <dc:date>2023-06-01T06:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1662050#M23515</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211053"&gt;@esmax&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The platform should behave similarly by having the same LPSPI configuration so that the problem may be due to the implementation.&lt;/P&gt;
&lt;P&gt;Could you tell me the differences in your projects to verify if this is the reason?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 17:44:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1662050#M23515</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2023-06-01T17:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1662384#M23529</link>
      <description>&lt;P&gt;Actually there are no differences. I read SPI registers during debug. They look correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LPSPI_2/SR, 0x40360014, 0x00000001&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPSPI_2/CFGR0, 0x40360020, 0x00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPSPI_2/CFGR1, 0x40360024, 0x00000001&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPSPI_2/CCR, 0x40360040, 0x27270000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPSPI_2/CCR1, 0x40360044, 0xFF800303&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to datasheet there are no any SPI registers that can affect SPI behavior. Am I right ?&lt;/P&gt;&lt;P&gt;It is written that write operation to CCR register overwrites CCR1 but there is no information how CCR1 can be calculated.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 05:57:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1662384#M23529</guid>
      <dc:creator>esmax</dc:creator>
      <dc:date>2023-06-02T05:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1662899#M23570</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211053"&gt;@esmax&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As I mentioned before the platform should behave similarly if it used the same LPSPI configuration for both projects.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would like to know if you are using an EVB or a custom board. If you are testing each project on a different board. I would like to discard all possible causes of the problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 21:07:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1662899#M23570</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2023-06-02T21:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1662965#M23578</link>
      <description>&lt;P&gt;I am using the same hardware&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2023 08:04:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1662965#M23578</guid>
      <dc:creator>esmax</dc:creator>
      <dc:date>2023-06-03T08:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1663635#M23626</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211053"&gt;@esmax&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you are using the same hardware and the same LPSPI configuration in both projects, what must be generating this difference in CS behavior could be another module.&lt;/P&gt;
&lt;P&gt;Could you help me with information regarding what other modules each project uses or if you want you can create a case in which you can share your projects with us so we can carry out tests.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 17:30:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1663635#M23626</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2023-06-05T17:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1668247#M23881</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I use for the tests next code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_0-1686646299510.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227367iA285ECC3941F4E4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_0-1686646299510.png" alt="esmax_0-1686646299510.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I do not change the code . Just size of buffers. As you can see I set up two buffers for transmission. They will be sent during one sequence.&lt;/P&gt;&lt;P&gt;When the size of buffers equal to 1 I have a delay between transferring data and disabling CS is around 15 uS&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_1-1686646542464.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227369i34FEDAAE22FD6C91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_1-1686646542464.png" alt="esmax_1-1686646542464.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_2-1686646684689.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227370iE2DADDFC6ED14BD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_2-1686646684689.png" alt="esmax_2-1686646684689.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the size of buffers is 2 bytes&amp;nbsp;a delay between transferring data and disabling CS is around 12 uS&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_3-1686646779708.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227372i4E6B4F7115276CE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_3-1686646779708.png" alt="esmax_3-1686646779708.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_4-1686646867800.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227374iF53A7CB07DE7164D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_4-1686646867800.png" alt="esmax_4-1686646867800.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When the size of buffers is 3 bytes&amp;nbsp;a delay between transferring data and disabling CS is around 1 uS&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_5-1686647009890.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227377i279BBD6414C45E62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_5-1686647009890.png" alt="esmax_5-1686647009890.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_6-1686647105424.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227379iE111734F3289940F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_6-1686647105424.png" alt="esmax_6-1686647105424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When the size of buffers is 4 bytes&amp;nbsp;a delay between transferring data and disabling CS is around 11 uS&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_7-1686647201809.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227380i2A2FBEE00CD68FA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_7-1686647201809.png" alt="esmax_7-1686647201809.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_10-1686647541893.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227384i57FFDE7663981BB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_10-1686647541893.png" alt="esmax_10-1686647541893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the size of buffers is 5 bytes&amp;nbsp;a delay between transferring data and disabling CS is around 2.5 uS&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_8-1686647343756.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227382iDA10ABECF1AD70DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_8-1686647343756.png" alt="esmax_8-1686647343756.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="esmax_9-1686647406882.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227383iB8CC81F8A0A3D6B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="esmax_9-1686647406882.png" alt="esmax_9-1686647406882.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When size of buffers 6 and 7 bytes, delays are the same as for 5 bytes length buffers.&lt;/P&gt;&lt;P&gt;Could you please tell me what can be a reason of such weird behavior of SPI ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 09:31:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1668247#M23881</guid>
      <dc:creator>esmax</dc:creator>
      <dc:date>2023-06-13T09:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI cs is active too long</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1670580#M24029</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211053"&gt;@esmax&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you verify if you have the same behavior with the example SPI_Transfer_S32K344 or Lpspi_Flexio_Ip_Transfer_S32K344?&lt;/P&gt;
&lt;P&gt;Also, I notice that your clock is not symmetric, could you share an oscilloscope image of this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 20:30:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-cs-is-active-too-long/m-p/1670580#M24029</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2023-06-15T20:30:29Z</dc:date>
    </item>
  </channel>
</rss>

