<?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>Kinetis Design Studio中的主题 Kinetis L: Clock Gating - Using Partial STOP1</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435665#M3909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interested in reducing as much power a possible to my system while ADC is able to take a measurement. This requires Partial STOP1, with clock gating control...only enabling ADC clock, and disabling clocks from all peripherals and sleeping processor.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this post explaining STOP1, which I just learned of, and I can see in PE how this is enabled, etc:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2022" data-containertype="14" data-objectid="102163" data-objecttype="102" href="https://community.nxp.com/docs/DOC-102163"&gt;Operation modes in Processor Expert&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But how is the gate controlling done? I do not see additional option menus pop up once enables in PE? Am I going to have to dig through registers on my own or is there some options/directions guidance that can be given? Also, does PE generate the needed code to implement clock gating on specific peripherals?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 00:10:40 GMT</pubDate>
    <dc:creator>petertwiss</dc:creator>
    <dc:date>2015-09-09T00:10:40Z</dc:date>
    <item>
      <title>Kinetis L: Clock Gating - Using Partial STOP1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435665#M3909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interested in reducing as much power a possible to my system while ADC is able to take a measurement. This requires Partial STOP1, with clock gating control...only enabling ADC clock, and disabling clocks from all peripherals and sleeping processor.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this post explaining STOP1, which I just learned of, and I can see in PE how this is enabled, etc:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2022" data-containertype="14" data-objectid="102163" data-objecttype="102" href="https://community.nxp.com/docs/DOC-102163"&gt;Operation modes in Processor Expert&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But how is the gate controlling done? I do not see additional option menus pop up once enables in PE? Am I going to have to dig through registers on my own or is there some options/directions guidance that can be given? Also, does PE generate the needed code to implement clock gating on specific peripherals?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 00:10:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435665#M3909</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-09-09T00:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis L: Clock Gating - Using Partial STOP1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435666#M3910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can use the PE to configure the low power mode , after configure , the code will generate on the cpu.c file ,&lt;/P&gt;&lt;P&gt;and the register have be configured .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54908iD5E6EF78E3EA84A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;About the Low power , you can refer to&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4470.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4470.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4470.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt; &lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4503.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 03:15:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435666#M3910</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-09-09T03:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis L: Clock Gating - Using Partial STOP1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435667#M3911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not what I asked. I know how to do this. In Partial Stop1, the post reference states I can clock gate perihperals to save power. I want to know the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I need to control clock gating of peripherals in Partial Stop 1, does PE generate this code? I do not see options in PE to generate this code. I wish to only have ADC clock running (ADC reading), while all other peripherals are shut down. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If PE does not generate this code? Are there examples of clock gating? What kinds of register sets are involved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 19:15:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435667#M3911</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-09-09T19:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis L: Clock Gating - Using Partial STOP1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435668#M3912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;Yes, the PE generate the code :&lt;/P&gt;&lt;P&gt; when you select the "STOP2" mode, you can see the generated code :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55715i2A4186213355A5B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;when you select "STOP1" mode , you can see :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55756i624200732F28D8E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in stop1 mode , from the Reference manual : PSTOP1 - Partial Stop with both system and bus clocks disabled&lt;/P&gt;&lt;P&gt;so , i thin it can not use ADC .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 02:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435668#M3912</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-09-10T02:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis L: Clock Gating - Using Partial STOP1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435669#M3913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying again but this is not what I am asking, please read carefully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use Partial Stop Mode to turn off some of the peripherals, not the bus clock. I want to stop the clock on peripherals and disable them, this is known as clock gating. You're showing me the bus clock is stopped, I do not want to stop it, I want to stop it reaching peripherals, but not all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on this post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-102163"&gt;Operation modes in Processor Expert&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can clock gate peripherals. I wish to do THIS.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;- CPU sleeps&lt;/P&gt;&lt;P&gt;- All Peripherals disabled and not receiving clock&lt;/P&gt;&lt;P&gt;- EXCEPT: ADC is running and taking a measurement, when this measurement is finished, I wish to wake up, read the value, and then re-enable all peripherals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**There is no code from PE to control the clock gating for individual peripherals. IS there? if so where is it? if not, where can I find support on this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there additional people who can help answer this question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 17:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435669#M3913</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-09-10T17:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis L: Clock Gating - Using Partial STOP1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435670#M3914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for KL25Z with LDD components, you can find clock gating in a processor component, Internal peripherals &amp;gt; System Integration Modules &amp;gt; Clock gating control:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="clock_gating.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55890i18DF4157CAE1E377/image-size/large?v=v2&amp;amp;px=999" role="button" title="clock_gating.png" alt="clock_gating.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The code is then placed into PE_low_level_init() function called during application startup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of Processor Expert with Kinetis SDK there is System Integration Module initialization component, Init_SIM, where similar properties are available and code placed in the Init() function of this component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 10:59:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435670#M3914</guid>
      <dc:creator>Lukas_Heczko</dc:creator>
      <dc:date>2015-09-14T10:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis L: Clock Gating - Using Partial STOP1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435671#M3915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;I suppose that you want to configure clock gate during execution of your application (before entering the partial stop mode).&lt;/P&gt;&lt;P&gt;The run-time settings of peripherals clock gates can be configured by using SIM PDD macros (see SIM_PDD.h source code file, SIM_PDD_SetClockGate() macro) when you are using Processor Expert project without Kinetis SDK.&lt;/P&gt;&lt;P&gt;If you are using Kinetis SDK you can use fsl_sim_hal component and SIM_HAL_EnableClock() and SIM_HAL_Disable() function of this HAL component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that you must prevent access to a device's registers when you disable the clock gate of the device. Otherwise the hard fault exception will be invoked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 12:36:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435671#M3915</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-09-14T12:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis L: Clock Gating - Using Partial STOP1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435672#M3916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lucas &amp;amp; Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I found these options under the CPU component properties, using your picture, but I am using the typical view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For others who may use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Go to your CPU component Inspector&lt;/P&gt;&lt;P&gt;- Go to Internal Peripherals Tab&lt;/P&gt;&lt;P&gt;- Go to System Integration Module Sub-Tab&lt;/P&gt;&lt;P&gt;- Go to Clock gating sub-sub tab (haha)&lt;/P&gt;&lt;P&gt;- Enable clock Gating and which peripheral.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Marek &amp;amp; Lucas!&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 16:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Kinetis-L-Clock-Gating-Using-Partial-STOP1/m-p/435672#M3916</guid>
      <dc:creator>petertwiss</dc:creator>
      <dc:date>2015-09-14T16:29:25Z</dc:date>
    </item>
  </channel>
</rss>

