<?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 Re: S32K344 SPI with External Flash in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-SPI-with-External-Flash/m-p/1639697#M22363</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211298"&gt;@S3RD4R&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Sorry for the late response, this topic was missed in my support list,&lt;BR /&gt;Your sequence seems correct if you use external buffer, despite that I'm not sure what is&amp;nbsp;&lt;SPAN&gt;FLASH_NSS_LOW and&amp;nbsp;FLASH_NSS_HIGH in your source code.&lt;/SPAN&gt;&lt;BR /&gt;If the issue you faced is the same with&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K3-SPI-CS-problem-when-using-GPIO-to-simulate-CS/td-p/1564367," target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K/S32K3-SPI-CS-problem-when-using-GPIO-to-simulate-CS/td-p/1564367,&lt;/A&gt;&amp;nbsp;the simple workaround is remove macro ERR_IPV_LPSPIV2_0001 from the compiling process.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 10:44:19 GMT</pubDate>
    <dc:creator>cuongnguyenphu</dc:creator>
    <dc:date>2023-04-25T10:44:19Z</dc:date>
    <item>
      <title>S32K344 SPI with External Flash</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-SPI-with-External-Flash/m-p/1612015#M21240</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am just a beginner for S32K344 and trying to communicate with external flash. I control NSS with GPIO myself. I try to read device's ID which consists of 2 step:&lt;/P&gt;&lt;P&gt;1 - Send ID read command&amp;nbsp; to the external flash&lt;/P&gt;&lt;P&gt;2 - Read 3 bytes back from&amp;nbsp;the external flash&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I send the following commands;&lt;/P&gt;&lt;P&gt;FLASH_NSS_LOW();&lt;/P&gt;&lt;P&gt;Spi_SetupEB(0u, CommandArray, NULL, 1u);&lt;BR /&gt;Spi_SyncTransmit(SpiConf_SpiSequence_FlashSpiSequence);&lt;/P&gt;&lt;P&gt;Spi_SetupEB(0u, NULL, ReadArray, 3u);&lt;BR /&gt;Spi_SyncTransmit(SpiConf_SpiSequence_FlashSpiSequence);&lt;/P&gt;&lt;P&gt;FLASH_NSS_HIGH();&lt;/P&gt;&lt;P&gt;Is this sequence correct? Because whenever i send&amp;nbsp;Spi_SyncTransmit command, i receive an abnormal pulse. I checked the forums i came to this topic;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K3-SPI-CS-problem-when-using-GPIO-to-simulate-CS/td-p/1564367" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K3-SPI-CS-problem-when-using-GPIO-to-simulate-CS/td-p/1564367&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Therefore, i removed&amp;nbsp;FLASH_NSS_LOW to Lpspi_TransmitTxInit after&amp;nbsp;State-&amp;gt;TxIndex = 0u;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, when i send the first command the pulse is ignored, however when i send the second&amp;nbsp;Spi_SyncTransmit another pulse just messes up my command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any help at this stage.&lt;/P&gt;&lt;P&gt;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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 01:07:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-SPI-with-External-Flash/m-p/1612015#M21240</guid>
      <dc:creator>S3RD4R</dc:creator>
      <dc:date>2023-03-09T01:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 SPI with External Flash</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-SPI-with-External-Flash/m-p/1639697#M22363</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211298"&gt;@S3RD4R&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Sorry for the late response, this topic was missed in my support list,&lt;BR /&gt;Your sequence seems correct if you use external buffer, despite that I'm not sure what is&amp;nbsp;&lt;SPAN&gt;FLASH_NSS_LOW and&amp;nbsp;FLASH_NSS_HIGH in your source code.&lt;/SPAN&gt;&lt;BR /&gt;If the issue you faced is the same with&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K3-SPI-CS-problem-when-using-GPIO-to-simulate-CS/td-p/1564367," target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K/S32K3-SPI-CS-problem-when-using-GPIO-to-simulate-CS/td-p/1564367,&lt;/A&gt;&amp;nbsp;the simple workaround is remove macro ERR_IPV_LPSPIV2_0001 from the compiling process.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 10:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-SPI-with-External-Flash/m-p/1639697#M22363</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2023-04-25T10:44:19Z</dc:date>
    </item>
  </channel>
</rss>

