<?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>LPC Microcontrollers中的主题 Re: LPC55x clocks &amp; timer configuration</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-clocks-timer-configuration/m-p/1021171#M39901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steffen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2019 09:43:06 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2019-12-05T09:43:06Z</dc:date>
    <item>
      <title>LPC55x clocks &amp; timer configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-clocks-timer-configuration/m-p/1021168#M39898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;BR /&gt;I am starting a project on LPC55S69 and got stuck with very basic things.&lt;BR /&gt;I hope to get some help, in order to be able to carry on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam using MCUXpresso IDE and the SDK for the mentioned board.&lt;BR /&gt;I started with:&lt;BR /&gt;lpcxpresso55s69_ctimer_match_example&lt;BR /&gt;bcause there is no example about a free running timer, which is what I need.&lt;BR /&gt;It was easy to get rid of the "match stuff" from the example and to read the&lt;BR /&gt;free running counter with:&lt;BR /&gt;CTIMER_GetTimerCountValue(CTIMER); // where CTIMER is e.g. CTIMER2 or 4&lt;BR /&gt;However I need microseconds and milliseconds and the clock attached in the&lt;BR /&gt;example is 12 Mhz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I tried to replace the 12 MHz clock with a 1 MHz clock:&lt;BR /&gt;CLOCK_AttachClk(kFRO1M_to_CTIMER4);&amp;nbsp; // when CTIMER was defined as CTIMER4&lt;BR /&gt;This gave the following error, when executing the above statement:&lt;BR /&gt;"15: Target error from Register access&lt;BR /&gt;Wire ACK Fault in DAP access"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: when using:&lt;BR /&gt;kOSC32K_to_CTIMER4&lt;BR /&gt;it did work as expected (with 32 768 Hz).&lt;BR /&gt;&amp;nbsp;What was the mistake? &lt;BR /&gt;&amp;nbsp;And could some one give me a hint how to configure a prescaler (or two) to get down to&lt;BR /&gt;&amp;nbsp;1 Mhz and 1 Khz.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Thank you in andvance for your help&lt;BR /&gt;&amp;nbsp;Steffen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2019 18:36:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-clocks-timer-configuration/m-p/1021168#M39898</guid>
      <dc:creator>steffen_norbert</dc:creator>
      <dc:date>2019-11-08T18:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x clocks &amp; timer configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-clocks-timer-configuration/m-p/1021169#M39899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="338125" data-username="steffen.norbert@iseconsult.de" href="https://community.nxp.com/people/steffen.norbert@iseconsult.de"&gt;Steffen Norbert&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Could you please send your project to me, I will test it on my side.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 05:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-clocks-timer-configuration/m-p/1021169#M39899</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-11-13T05:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x clocks &amp; timer configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-clocks-timer-configuration/m-p/1021170#M39900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the solution, meanwhile:&lt;/P&gt;&lt;P&gt;Although the 1 Mhz clock is routed to some "consumers" (e.g. wdt), it is disabled by default. Therefore I had to:&lt;/P&gt;&lt;P&gt;open the clocks view and&lt;/P&gt;&lt;P&gt;1. configure the clock input of ctimer 3 &amp;amp; 4 to the 1 Mhz clock&lt;/P&gt;&lt;P&gt;2. enable the 1 Mhz clock&lt;/P&gt;&lt;P&gt;3. update code&lt;/P&gt;&lt;P&gt;and return to development view&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 10:44:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-clocks-timer-configuration/m-p/1021170#M39900</guid>
      <dc:creator>steffen_norbert</dc:creator>
      <dc:date>2019-12-04T10:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55x clocks &amp; timer configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-clocks-timer-configuration/m-p/1021171#M39901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steffen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 09:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55x-clocks-timer-configuration/m-p/1021171#M39901</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-12-05T09:43:06Z</dc:date>
    </item>
  </channel>
</rss>

