<?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: Can S32K3 Flash memory operation be changed to asynchronous operation</title>
    <link>https://community.nxp.com/t5/S32K/Can-S32K3-Flash-memory-operation-be-changed-to-asynchronous/m-p/1751187#M28371</link>
    <description>&lt;P&gt;It is basically up to you - you can do it this way.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 13:39:41 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2023-11-02T13:39:41Z</dc:date>
    <item>
      <title>Can S32K3 Flash memory operation be changed to asynchronous operation</title>
      <link>https://community.nxp.com/t5/S32K/Can-S32K3-Flash-memory-operation-be-changed-to-asynchronous/m-p/1748289#M28234</link>
      <description>&lt;P&gt;I find the operation of flash memory is&amp;nbsp;synchronous in AN13388. Can I change it to&amp;nbsp;asynchronous?&lt;/P&gt;&lt;P&gt;The sample code in&amp;nbsp;AN13388 is followed.&lt;/P&gt;&lt;P&gt;I don't want to wait for the&amp;nbsp;&lt;FONT color="#000000"&gt;MCRS[DONE].&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thank you.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;tFLASH_STATUS FLASH_ExecSeq (register uint32_t mask)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;register tFLASH_STATUS status;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;FLASH-&amp;gt;MCR |= mask; /* initiate sequence */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;FLASH-&amp;gt;MCR |= FLASH_MCR_EHV_MASK; /* enable high voltage */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;while(!(FLASH-&amp;gt;MCRS&amp;amp;FLASH_MCRS_DONE_MASK)); /* wait until MCRS[DONE]=1 */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;FLASH-&amp;gt;MCR &amp;amp;=~FLASH_MCR_EHV_MASK; /* disable high voltage */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;status = FLASH_GetStatus(); /* read main interface status */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;FLASH-&amp;gt;MCR &amp;amp;=~mask; /* close sequence */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;return status;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;}&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 05:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-S32K3-Flash-memory-operation-be-changed-to-asynchronous/m-p/1748289#M28234</guid>
      <dc:creator>xudequn</dc:creator>
      <dc:date>2023-10-30T05:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can S32K3 Flash memory operation be changed to asynchronous operation</title>
      <link>https://community.nxp.com/t5/S32K/Can-S32K3-Flash-memory-operation-be-changed-to-asynchronous/m-p/1748902#M28252</link>
      <description>&lt;P&gt;MCRS[DONE] flag can be used for generating interrupt, so it can be used ansynchornously.&lt;/P&gt;
&lt;P&gt;Ideally you could used FLS driver (part of RTD drivers pack) and it this driver works asynchronously by the default.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 18:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-S32K3-Flash-memory-operation-be-changed-to-asynchronous/m-p/1748902#M28252</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2023-10-30T18:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can S32K3 Flash memory operation be changed to asynchronous operation</title>
      <link>https://community.nxp.com/t5/S32K/Can-S32K3-Flash-memory-operation-be-changed-to-asynchronous/m-p/1749030#M28257</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;And can I use a polling way to make it&amp;nbsp;&lt;SPAN&gt;ansynchornous?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, I don't wait for the MCRS[DONE] in FLASH_ExecSeq, I just check the&amp;nbsp;MCRS in main loop until the&amp;nbsp;MCRS is done.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 01:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-S32K3-Flash-memory-operation-be-changed-to-asynchronous/m-p/1749030#M28257</guid>
      <dc:creator>xudequn</dc:creator>
      <dc:date>2023-10-31T01:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can S32K3 Flash memory operation be changed to asynchronous operation</title>
      <link>https://community.nxp.com/t5/S32K/Can-S32K3-Flash-memory-operation-be-changed-to-asynchronous/m-p/1751187#M28371</link>
      <description>&lt;P&gt;It is basically up to you - you can do it this way.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 13:39:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-S32K3-Flash-memory-operation-be-changed-to-asynchronous/m-p/1751187#M28371</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2023-11-02T13:39:41Z</dc:date>
    </item>
  </channel>
</rss>

