<?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: Transmitting data via SPI dma s32k324</title>
    <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2077042#M47605</link>
    <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&lt;BR /&gt;It is working now after changing it from leading to trailing. Thank You for the help.</description>
    <pubDate>Wed, 09 Apr 2025 10:23:19 GMT</pubDate>
    <dc:creator>ann14</dc:creator>
    <dc:date>2025-04-09T10:23:19Z</dc:date>
    <item>
      <title>Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2075731#M47545</link>
      <description>&lt;DIV&gt;I have been using SPI DMA for data transfer with the digital pins IC in S32K324. While the data transmitted is generally correct, we are encountering instances where incorrect data is transmitted.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Our analysis indicates that the MOSI&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;line does not start sending data immediately upon clock enablement. This results in an additional bit (1) being added to the data, which affects the integrity of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;d&lt;SPAN class=""&gt;ata being transmitted.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have attached screenshots that illustrate this issue for your reference.&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Correct transmission of data" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331797i6B0CF8E2B3FDA88D/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI_DMA_Correct_Transfer.png" alt="Correct transmission of data" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Correct transmission of data&lt;/span&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Clock and MOSI line is synchronized correctly" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331796i4D37325071908DF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI_DMA_CT_Clk_MOSI_Synch.png" alt="Clock and MOSI line is synchronized correctly" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Clock and MOSI line is synchronized correctly&lt;/span&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Incorrect transmission of data" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331798i2D578B9C99B47EF0/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI_DMA_Incorrect_Transfer.png" alt="Incorrect transmission of data" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Incorrect transmission of data&lt;/span&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Slight delay in the MOSI line on clock enablement" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331799i5E844030F22CA9D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-04-04 175243.png" alt="Slight delay in the MOSI line on clock enablement" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Slight delay in the MOSI line on clock enablement&lt;/span&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SPI_DMA_IT_Clk_MOSI_Synch.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331800iC2431D0A0829BA3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI_DMA_IT_Clk_MOSI_Synch.png" alt="SPI_DMA_IT_Clk_MOSI_Synch.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Apr 2025 04:53:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2075731#M47545</guid>
      <dc:creator>ann14</dc:creator>
      <dc:date>2025-04-08T04:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2075969#M47555</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;ann14&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can have a try to increase PCSSCK .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_1-1744102628841.png" style="width: 680px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331878i426A7BD81D32A648/image-dimensions/680x397?v=v2" width="680" height="397" role="button" title="Senlent_1-1744102628841.png" alt="Senlent_1-1744102628841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;PCSSCK parameters correspond to &lt;STRONG&gt;SpiTimeCs2Clk&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;（Please ignore the configuration in the picture, I just want to tell you where to set this parameter）&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_2-1744102829189.png" style="width: 650px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/331879i5B52B7FF65B85F71/image-dimensions/650x361?v=v2" width="650" height="361" role="button" title="Senlent_2-1744102829189.png" alt="Senlent_2-1744102829189.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 09:07:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2075969#M47555</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-08T09:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076059#M47561</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;,&lt;BR /&gt;according to the datasheet of the IC being used the chip select to clk time is 100ns. I gave this value and did the analysis but still it showed the same results.</description>
      <pubDate>Tue, 08 Apr 2025 10:13:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076059#M47561</guid>
      <dc:creator>ann14</dc:creator>
      <dc:date>2025-04-08T10:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076085#M47568</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;ann14&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;“according to the datasheet of the IC being used the chip select to clk time is 100ns”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think 100ns should be the minimum allowed value, not the maximum value.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Because I can't tell the actual PCSCLK value from your picture, you can measure the actual PCSCLK value.&lt;BR /&gt;Then change the value of SpiTimeCs2Clk and send me a screenshot of the test result.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 10:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076085#M47568</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-08T10:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076105#M47571</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&lt;BR /&gt;You are correct the minimum value for the cs to clk is 100ns. But while testing we had varied the value of cs to clk from 100ns to the maximum value that is possible. Yet still the results where the same. If you would like i could provide you with the further result illustrations</description>
      <pubDate>Tue, 08 Apr 2025 10:56:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076105#M47571</guid>
      <dc:creator>ann14</dc:creator>
      <dc:date>2025-04-08T10:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076554#M47588</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;ann14&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Yes,please, also could you please tell me which version of RTD you are using and show me the I2C parameter configuration in your S32 DS.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 01:44:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076554#M47588</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-09T01:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076656#M47590</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am currently using RTD 3.0.0 and SPI DMA configuration. I have attached the logs taken along&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="SPI_Settings.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332103i0C9CB9A923D86E99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SPI_Settings.png" alt="SPI_Settings.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="SPI_Settings_2.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332102i0AF56CFF6A907A29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SPI_Settings_2.png" alt="SPI_Settings_2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2025-04-09 091725.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332105i1D75AA55C5324441/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-09 091725.png" alt="Screenshot 2025-04-09 091725.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2025-04-09 092340.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332104i7A03D1DF11F97C5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-09 092340.png" alt="Screenshot 2025-04-09 092340.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2025-04-09 092654.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332106i6CB64BA3E58DAFFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-09 092654.png" alt="Screenshot 2025-04-09 092654.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2025-04-09 092919.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332108iE3276FB713026B31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-09 092919.png" alt="Screenshot 2025-04-09 092919.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2025-04-09 093646.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332107i76579425EECA2DA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-09 093646.png" alt="Screenshot 2025-04-09 093646.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 04:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076656#M47590</guid>
      <dc:creator>ann14</dc:creator>
      <dc:date>2025-04-09T04:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076709#M47592</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;ann14&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks for your detail info, aslo,please share the slave device you're using, i&amp;nbsp;want to see if there is anything that can be improved.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 05:52:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076709#M47592</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-09T05:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076747#M47593</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&lt;BR /&gt;MC33972ATEWR2 this is the slave device we are using</description>
      <pubDate>Wed, 09 Apr 2025 06:26:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2076747#M47593</guid>
      <dc:creator>ann14</dc:creator>
      <dc:date>2025-04-09T06:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2077015#M47601</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@ann14" target="_blank"&gt;Hi@ann14&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_1-1744191048743.png" style="width: 625px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332263i4F2C5D9F1532267D/image-dimensions/625x300?v=v2" width="625" height="300" role="button" title="Senlent_1-1744191048743.png" alt="Senlent_1-1744191048743.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;According to the MC33972 data sheet, I think you have set it wrong here.&lt;/P&gt;
&lt;P&gt;I have change it to TRAILING.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1744191032872.png" style="width: 609px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332262i0499CBA680C6112D/image-dimensions/609x291?v=v2" width="609" height="291" role="button" title="Senlent_0-1744191032872.png" alt="Senlent_0-1744191032872.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 09:49:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2077015#M47601</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-09T09:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2077042#M47605</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&lt;BR /&gt;It is working now after changing it from leading to trailing. Thank You for the help.</description>
      <pubDate>Wed, 09 Apr 2025 10:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2077042#M47605</guid>
      <dc:creator>ann14</dc:creator>
      <dc:date>2025-04-09T10:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2077098#M47606</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&lt;BR /&gt;From this timing diagram how were you able to identify that data is sampled on the trailing edge.</description>
      <pubDate>Wed, 09 Apr 2025 11:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2077098#M47606</guid>
      <dc:creator>ann14</dc:creator>
      <dc:date>2025-04-09T11:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Transmitting data via SPI dma s32k324</title>
      <link>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2077843#M47616</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@ann14" target="_blank"&gt;Hi@ann14&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;From this timing diagram, this should be sampled from the falling edge of SCK, not the rising edge.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 01:55:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Transmitting-data-via-SPI-dma-s32k324/m-p/2077843#M47616</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-10T01:55:35Z</dc:date>
    </item>
  </channel>
</rss>

