<?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: k82 : qspi clock in polling example in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k82-qspi-clock-in-polling-example/m-p/917120#M53632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eugene,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding your questions, the QSPI clock takes care of that in QSPI_Init to avoid the QSPI works under unsupported frequency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you like to change power mode, I highly recommend you to disable QSPI module before the transition. Once you are sure that the correct transition has been made you can enable QSPI again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A similar procedure is done in qspi_polling() right before the QSPI writes to flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2019 19:32:03 GMT</pubDate>
    <dc:creator>FelipeGarcia</dc:creator>
    <dc:date>2019-08-29T19:32:03Z</dc:date>
    <item>
      <title>k82 : qspi clock in polling example</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k82-qspi-clock-in-polling-example/m-p/917119#M53631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see in RM : "The controller supports singles,dual,&lt;BR /&gt;quad or octal data lines in single (SDR) or double (DDR) data rate configurations. SDR&lt;BR /&gt;mode supports upto 100 MHz and DDR mode supports up to 75MHz.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;But in SDK example CLOCK_GetFreq(kCLOCK_McgPll0Clk) is taken as clock source for QSPI module&lt;/P&gt;&lt;P&gt;and it 120Mhz from this source.&lt;/P&gt;&lt;P&gt;Also SDR data rate configuration is in use. DDR enabling function exixts but not used in any place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is reason to use higher clock e.g. 120Mhz?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in VLPR power mode this clock should be set to 4 Mhz max from relevant source.&lt;/P&gt;&lt;P&gt;But what is right way to change QSPI clock ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disable QSPI interface and call full reinitialization by using&amp;nbsp;qspi_nor_flash_init() full sequence or&lt;/P&gt;&lt;P&gt;if clock source is the same ( config.clockSource ) and it drop automatically when power mode changed,&lt;/P&gt;&lt;P&gt;for example SystemClock ( clock source = 0) drops from 120Mhz to 4Mhz, it is no need any QSPI reinitialization at all .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, suggest right initialisation sequence for QSPI for RUN - VLPR -&amp;gt; RUN transit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 11:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k82-qspi-clock-in-polling-example/m-p/917119#M53631</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-08-28T11:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: k82 : qspi clock in polling example</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k82-qspi-clock-in-polling-example/m-p/917120#M53632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eugene,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding your questions, the QSPI clock takes care of that in QSPI_Init to avoid the QSPI works under unsupported frequency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you like to change power mode, I highly recommend you to disable QSPI module before the transition. Once you are sure that the correct transition has been made you can enable QSPI again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A similar procedure is done in qspi_polling() right before the QSPI writes to flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 19:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k82-qspi-clock-in-polling-example/m-p/917120#M53632</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-08-29T19:32:03Z</dc:date>
    </item>
  </channel>
</rss>

