<?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 SPI doesn't work in custom project in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SPI-doesn-t-work-in-custom-project/m-p/2103394#M49126</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on my project with S32K358 that has to communicate with FS26 via SPI.&lt;/P&gt;&lt;P&gt;I tried the SPI async example provided by NXP on&amp;nbsp;S32K3X8EVB-Q289 working correctly.&lt;/P&gt;&lt;P&gt;I've copied the configuration (.mex) done on the EVAL project into my personal project that i've been working on, but when i try to send one byte nothing happens on my board.&lt;/P&gt;&lt;P&gt;Comparing the generated code in both projects nothing seems to be different except for the other modules configured.&lt;/P&gt;&lt;P&gt;I've also read the SPI registers in both projects and they are different (see screenshot attached) .. i don't know why because the code generated in both projects seems to be the same...&lt;/P&gt;&lt;P&gt;I don't know how to going farward.&lt;/P&gt;&lt;P&gt;I attach the eval prj into a zip folder... inside there is the SPI block that's the same in my project.&lt;/P&gt;&lt;P&gt;I also attach my project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
    <pubDate>Fri, 23 May 2025 08:53:38 GMT</pubDate>
    <dc:creator>simon98</dc:creator>
    <dc:date>2025-05-23T08:53:38Z</dc:date>
    <item>
      <title>SPI doesn't work in custom project</title>
      <link>https://community.nxp.com/t5/S32K/SPI-doesn-t-work-in-custom-project/m-p/2103394#M49126</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on my project with S32K358 that has to communicate with FS26 via SPI.&lt;/P&gt;&lt;P&gt;I tried the SPI async example provided by NXP on&amp;nbsp;S32K3X8EVB-Q289 working correctly.&lt;/P&gt;&lt;P&gt;I've copied the configuration (.mex) done on the EVAL project into my personal project that i've been working on, but when i try to send one byte nothing happens on my board.&lt;/P&gt;&lt;P&gt;Comparing the generated code in both projects nothing seems to be different except for the other modules configured.&lt;/P&gt;&lt;P&gt;I've also read the SPI registers in both projects and they are different (see screenshot attached) .. i don't know why because the code generated in both projects seems to be the same...&lt;/P&gt;&lt;P&gt;I don't know how to going farward.&lt;/P&gt;&lt;P&gt;I attach the eval prj into a zip folder... inside there is the SPI block that's the same in my project.&lt;/P&gt;&lt;P&gt;I also attach my project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 08:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-doesn-t-work-in-custom-project/m-p/2103394#M49126</guid>
      <dc:creator>simon98</dc:creator>
      <dc:date>2025-05-23T08:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: SPI doesn't work in custom project</title>
      <link>https://community.nxp.com/t5/S32K/SPI-doesn-t-work-in-custom-project/m-p/2103400#M49127</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on my project with S32K358 that has to communicate with FS26 via SPI.&lt;/P&gt;&lt;P&gt;I tried the SPI async example provided by NXP on S32K3X8EVB-Q289 working correctly.&lt;/P&gt;&lt;P&gt;I've copied the configuration (.mex) done on the EVAL project into my personal project that i've been working on, but when i try to send one byte nothing happens on my board&amp;nbsp;&lt;A href="https://www.cattranslatorapp.com" target="_self"&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#FFFFFF"&gt;Cat Translator App&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Comparing the generated code in both projects nothing seems to be different except for the other modules configured.&lt;/P&gt;&lt;P&gt;I've also read the SPI registers in both projects and they are different (see screenshot attached) .. i don't know why because the code generated in both projects seems to be the same...&lt;/P&gt;&lt;P&gt;I don't know how to going farward.&lt;/P&gt;&lt;P&gt;I attach the eval prj into a zip folder... inside there is the SPI block that's the same in my project.&lt;/P&gt;&lt;P&gt;I also attach my project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When facing SPI issues with S32K358, where generated code is identical but registers differ and no transmission occurs, focus on clocking and pin muxing—ensure the SPI module is enabled with correct clocks and pins are configured for SPI functionality. Debug by comparing initialization sequences, checking function return values, and using an oscilloscope to verify SCK, MOSI, and CS signals. The differing register values are key: investigate if another module is reconfiguring SPI or if the SPI initialization itself isn't completing successfully in your project. Providing your project files would allow for a detailed analysis.&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 08:59:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-doesn-t-work-in-custom-project/m-p/2103400#M49127</guid>
      <dc:creator>rebecca65bell</dc:creator>
      <dc:date>2025-05-23T08:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: SPI doesn't work in custom project</title>
      <link>https://community.nxp.com/t5/S32K/SPI-doesn-t-work-in-custom-project/m-p/2103711#M49151</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240160"&gt;@simon98&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To rule out any issues related to other configurations in your project, try creating a simplified test project that includes only the SPI functionality. This will help you verify whether the SPI is working correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 18:18:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-doesn-t-work-in-custom-project/m-p/2103711#M49151</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-05-23T18:18:04Z</dc:date>
    </item>
  </channel>
</rss>

