<?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 Lpc4357 Timer Configuration in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc4357-Timer-Configuration/m-p/1063847#M41072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am starting on LPC4357 which has dual-core M0 and M4, I using LPC43xx_Old_Libraries for configuration purpose.&lt;/P&gt;&lt;P&gt;The issue I am facing is that when I&amp;nbsp;am not able to configure M0_timer0 faster then 10us I want to configure it to 2us. Until 10us configuration is working fine. When I go faster than 10us M0 core is showing hard fault. also, I am not able to configure Timer3 on M0 core but all these things are working fine on M0 core. someone can please explain this issue and tell whatever I&amp;nbsp;am trying is doable or not. If yes then how. I have attached M0app and M4 core main files below.&lt;/P&gt;&lt;P&gt;lpc4357‌&amp;nbsp;#lpc4357timers cortex m4‌ cortex m0‌ dual-core‌ mcuxpressoide‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2020 08:52:26 GMT</pubDate>
    <dc:creator>hdhedhu</dc:creator>
    <dc:date>2020-04-06T08:52:26Z</dc:date>
    <item>
      <title>Lpc4357 Timer Configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc4357-Timer-Configuration/m-p/1063847#M41072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am starting on LPC4357 which has dual-core M0 and M4, I using LPC43xx_Old_Libraries for configuration purpose.&lt;/P&gt;&lt;P&gt;The issue I am facing is that when I&amp;nbsp;am not able to configure M0_timer0 faster then 10us I want to configure it to 2us. Until 10us configuration is working fine. When I go faster than 10us M0 core is showing hard fault. also, I am not able to configure Timer3 on M0 core but all these things are working fine on M0 core. someone can please explain this issue and tell whatever I&amp;nbsp;am trying is doable or not. If yes then how. I have attached M0app and M4 core main files below.&lt;/P&gt;&lt;P&gt;lpc4357‌&amp;nbsp;#lpc4357timers cortex m4‌ cortex m0‌ dual-core‌ mcuxpressoide‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2020 08:52:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc4357-Timer-Configuration/m-p/1063847#M41072</guid>
      <dc:creator>hdhedhu</dc:creator>
      <dc:date>2020-04-06T08:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc4357 Timer Configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc4357-Timer-Configuration/m-p/1063848#M41073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Himanshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your question, for the code:&lt;/P&gt;&lt;P&gt;void M0_TIMER0_IRQHandler(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(msec)msec--;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;counter++;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_TIMER0-&amp;gt;IR = TIM_IR_CLR(0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC_ClearPendingIRQ(M0_TIMER0_IRQn);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about using the code:&lt;/P&gt;&lt;P&gt;void M0_TIMER0_IRQHandler(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(msec)msec--;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;counter++;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //LPC_TIMER0-&amp;gt;IR = TIM_IR_CLR(0);&lt;/P&gt;&lt;P&gt;LPC_TIMER0-&amp;gt;IR |= 0x01; //clear flag&lt;/P&gt;&lt;P&gt;//delete the following line NVIC_ClearPendingIRQ(M0_TIMER0_IRQn);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //NVIC_ClearPendingIRQ(M0_TIMER0_IRQn);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2020 09:37:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc4357-Timer-Configuration/m-p/1063848#M41073</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-04-13T09:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Lpc4357 Timer Configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc4357-Timer-Configuration/m-p/1063849#M41074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;A _jive_internal="true" class="" data-avatarid="1001" data-externalid="" data-online="false" data-presence="null" data-userid="19420" data-username="xiangjun.rong" href="https://community.nxp.com/people/xiangjun.rong" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;xiangjun.rong&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now My Timer 0 is working at 2us but I am still not able to configure Timer 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 06:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Lpc4357-Timer-Configuration/m-p/1063849#M41074</guid>
      <dc:creator>hdhedhu</dc:creator>
      <dc:date>2020-04-17T06:24:30Z</dc:date>
    </item>
  </channel>
</rss>

