<?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: Need help about S32K144_LPIT_DMA_LPSPI</title>
    <link>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1736424#M27714</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185447"&gt;@YF_LYW&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you test the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Lower the baudrate&lt;/LI&gt;
&lt;LI&gt;Set High-drive strength of the pins used for the SPI (both Master and Slave).&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1696927709330.png" style="width: 704px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/244259i0037A70841211937/image-dimensions/704x102?v=v2" width="704" height="102" role="button" title="danielmartynek_0-1696927709330.png" alt="danielmartynek_0-1696927709330.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1696927709330.png&lt;/span&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Disable the SAMPLE feature&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;LPSPI_DRV_MasterInit(SEND, &amp;amp;SendState, &amp;amp;Send_MasterConfig0);
LPSPI0-&amp;gt;CFGR1 &amp;amp;= ~(LPSPI_CFGR1_SAMPLE_MASK);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you monitor the bus with a logic analyzer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2023 09:02:39 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2023-10-10T09:02:39Z</dc:date>
    <item>
      <title>Need help about S32K144_LPIT_DMA_LPSPI</title>
      <link>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1730142#M27412</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I debug Example_S32K144_LPIT_DMA_LPSPI_DS22_v1 in S32K144 EVB-Q100. And i have some issues about SPI-dma function:&lt;/P&gt;&lt;P&gt;1.why the example stopped by DMA-ES-SGE error and TCD0-DADDR is wrong when 64 bytes has been tramsimit.&lt;/P&gt;&lt;P&gt;2.why the DMA ISR occurs when 32 bytes has been tramsimitted.&lt;/P&gt;&lt;P&gt;3.Whether DMA-SPI can be triggered by software insted of LPIT. Is there some demo project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for anyone reply.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YF_LYW_0-1695791788583.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242841i1E16AFA7CB5CDB83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YF_LYW_0-1695791788583.png" alt="YF_LYW_0-1695791788583.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;YF_LYW_0-1695791788583.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 05:20:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1730142#M27412</guid>
      <dc:creator>YF_LYW</dc:creator>
      <dc:date>2023-09-27T05:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about S32K144_LPIT_DMA_LPSPI</title>
      <link>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1730666#M27451</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185447"&gt;@YF_LYW&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you don't need the periodic LPIT trigger for the DMA, you can refer to the lpspi_dma_s32k144 SDK example.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1695829512719.png" style="width: 713px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242989i622090C2E29E10F7/image-dimensions/713x538?v=v2" width="713" height="538" role="button" title="danielmartynek_0-1695829512719.png" alt="danielmartynek_0-1695829512719.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1695829512719.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The transfer is triggered by this function: &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1695829596532.png" style="width: 729px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242990i9FEB9CEE2F74F8CD/image-dimensions/729x196?v=v2" width="729" height="196" role="button" title="danielmartynek_1-1695829596532.png" alt="danielmartynek_1-1695829596532.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_1-1695829596532.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 15:47:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1730666#M27451</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-27T15:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about S32K144_LPIT_DMA_LPSPI</title>
      <link>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1735140#M27617</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply. I study the example which you refer. And I find there are will be some data skipped in SPI-DMA. And I slow down the transmit speed as 1Mhz, almost half receive data is lost.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you give me some hints for this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YF_LYW_0-1696659565582.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243946i7E59DF0EBC7DDCA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YF_LYW_0-1696659565582.png" alt="YF_LYW_0-1696659565582.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;YF_LYW_0-1696659565582.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YF_LYW_1-1696660100034.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243947i592E0AEEE601553B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YF_LYW_1-1696660100034.png" alt="YF_LYW_1-1696660100034.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;YF_LYW_1-1696660100034.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2023 06:30:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1735140#M27617</guid>
      <dc:creator>YF_LYW</dc:creator>
      <dc:date>2023-10-07T06:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about S32K144_LPIT_DMA_LPSPI</title>
      <link>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1736424#M27714</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185447"&gt;@YF_LYW&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you test the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Lower the baudrate&lt;/LI&gt;
&lt;LI&gt;Set High-drive strength of the pins used for the SPI (both Master and Slave).&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1696927709330.png" style="width: 704px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/244259i0037A70841211937/image-dimensions/704x102?v=v2" width="704" height="102" role="button" title="danielmartynek_0-1696927709330.png" alt="danielmartynek_0-1696927709330.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1696927709330.png&lt;/span&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Disable the SAMPLE feature&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;LPSPI_DRV_MasterInit(SEND, &amp;amp;SendState, &amp;amp;Send_MasterConfig0);
LPSPI0-&amp;gt;CFGR1 &amp;amp;= ~(LPSPI_CFGR1_SAMPLE_MASK);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you monitor the bus with a logic analyzer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 09:02:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1736424#M27714</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-10-10T09:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about S32K144_LPIT_DMA_LPSPI</title>
      <link>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1736439#M27716</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I modify the configuration as you suggested and slow down the transfer speed to 100k, the data is all matched and there is no data skipped.&lt;/P&gt;&lt;P&gt;Can you tell me reason why this configuration can fix this issue.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 09:12:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1736439#M27716</guid>
      <dc:creator>YF_LYW</dc:creator>
      <dc:date>2023-10-10T09:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about S32K144_LPIT_DMA_LPSPI</title>
      <link>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1736487#M27723</link>
      <description>&lt;P&gt;The electrical characteristics of the bus can distorted the signals.&lt;/P&gt;
&lt;P&gt;It is recommended to use GPIO-HD pins that provide better slew rate especially at higher baudrates.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1696931951723.png" style="width: 653px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/244271i76DEFC82B5DE3BF7/image-dimensions/653x214?v=v2" width="653" height="214" role="button" title="danielmartynek_0-1696931951723.png" alt="danielmartynek_0-1696931951723.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1696931951723.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If SAMPLE = 1, the Master samples the external delayed SCK that can be distorted, not the internal signal.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1696932067499.png" style="width: 611px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/244274i8DF389182112873C/image-dimensions/611x330?v=v2" width="611" height="330" role="button" title="danielmartynek_1-1696932067499.png" alt="danielmartynek_1-1696932067499.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_1-1696932067499.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure the signals on the bus are within the specs.&lt;/P&gt;
&lt;P&gt;DS, Table 46. LPSPI electrical specifications&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&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>Tue, 10 Oct 2023 10:04:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1736487#M27723</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-10-10T10:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help about S32K144_LPIT_DMA_LPSPI</title>
      <link>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1736914#M27734</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you patience reply.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 00:40:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Need-help-about-S32K144-LPIT-DMA-LPSPI/m-p/1736914#M27734</guid>
      <dc:creator>YF_LYW</dc:creator>
      <dc:date>2023-10-11T00:40:15Z</dc:date>
    </item>
  </channel>
</rss>

