<?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: LPC55S16 1uS Interval Timer is not working</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-1uS-Interval-Timer-is-not-working/m-p/1439591#M48419</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;SPAN&gt;XiangJun&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, I am using LPC%%16 at 150Mhz as CPU clock frequency. As per below calculation interrupt latency is of 15 CPU clock cycles (100nS approximately). Where as in my case when i am running interval timer for 1uS the GPIO toggle execution is at 5uS.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 09:17:05 GMT</pubDate>
    <dc:creator>SateeshMaragani</dc:creator>
    <dc:date>2022-04-06T09:17:05Z</dc:date>
    <item>
      <title>LPC55S16 1uS Interval Timer is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-1uS-Interval-Timer-is-not-working/m-p/1438696#M48407</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using LPC5516 in our project, we observed one issue with timers (Any timer unit in LPC5516) in&amp;nbsp; during our development, none of the timers are executing interrupt for 1uS. There is always latency issue which is more that 5us.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After modifying many settings we are able to come down to 2.5uS for 1uS timer. Which is not making any sense to us.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is cortex-m33+ device &amp;amp; having SDK available, when we are trying the same also the issue not resolved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone can help us to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 06:52:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-1uS-Interval-Timer-is-not-working/m-p/1438696#M48407</guid>
      <dc:creator>SateeshMaragani</dc:creator>
      <dc:date>2022-04-05T06:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16 1uS Interval Timer is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-1uS-Interval-Timer-is-not-working/m-p/1439262#M48412</link>
      <description>&lt;P&gt;Hi, Sateesh,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your question of interrupt latency, when the interrupt is triggered, the CM33 core has to save 12 core registers to core, then jump to ISR, when it exits from the ISR, it has to pop 12 core registers to core, then jump to the original line, it takes along time. From our test, the maximum ISR execution frequency is&amp;nbsp; about 1MHz for LPC55xx I suppose. In order to achieve the result, the ISR should contain as less code as possible to shorten the ISR execution time.&lt;/P&gt;
&lt;P&gt;This is an application note which talks about the latency of ISR based on Cortex-M7&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com.cn/docs/en/application-note/AN12078.pdf" target="_blank"&gt;https://www.nxp.com.cn/docs/en/application-note/AN12078.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 02:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-1uS-Interval-Timer-is-not-working/m-p/1439262#M48412</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-04-06T02:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16 1uS Interval Timer is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-1uS-Interval-Timer-is-not-working/m-p/1439591#M48419</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;SPAN&gt;XiangJun&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, I am using LPC%%16 at 150Mhz as CPU clock frequency. As per below calculation interrupt latency is of 15 CPU clock cycles (100nS approximately). Where as in my case when i am running interval timer for 1uS the GPIO toggle execution is at 5uS.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 09:17:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-1uS-Interval-Timer-is-not-working/m-p/1439591#M48419</guid>
      <dc:creator>SateeshMaragani</dc:creator>
      <dc:date>2022-04-06T09:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16 1uS Interval Timer is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-1uS-Interval-Timer-is-not-working/m-p/1441155#M48452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If you do want to toggle a GPIO pin as fast as possible, I suppose you can locate the ISR in SRAMX space, furthermore, write assembly code to toggle the GPIO pin.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 08:40:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-1uS-Interval-Timer-is-not-working/m-p/1441155#M48452</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-04-08T08:40:41Z</dc:date>
    </item>
  </channel>
</rss>

