<?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>MQX Software SolutionsのトピックRe: How to get a timer component to timeout in us?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320416#M10235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look to the thread below, here I configured PIT and reached 1uS interrupt. Please note that you can let MQX handle the interrupts or bypass MQX, to reach 1uS I had to bypass MQX. In the project there is a macro to set if you want MQX to handle interrupts or bypass MQX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/324484"&gt;https://community.freescale.com/thread/324484&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 01:41:05 GMT</pubDate>
    <dc:creator>Carlos_Musich</dc:creator>
    <dc:date>2014-06-19T01:41:05Z</dc:date>
    <item>
      <title>How to get a timer component to timeout in us?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320415#M10234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am trying to use the timer component in MQX4.0.1.&lt;/P&gt;&lt;P&gt;Is it possible to make the timer timeout in us? Or what's the resolution for the timer component?\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 20:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320415#M10234</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2014-06-17T20:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a timer component to timeout in us?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320416#M10235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look to the thread below, here I configured PIT and reached 1uS interrupt. Please note that you can let MQX handle the interrupts or bypass MQX, to reach 1uS I had to bypass MQX. In the project there is a macro to set if you want MQX to handle interrupts or bypass MQX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/324484"&gt;https://community.freescale.com/thread/324484&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 01:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320416#M10235</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2014-06-19T01:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a timer component to timeout in us?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320417#M10236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Now I am using the hwtimer in MQX to generate the interrupt in micro-second and it seems working.&lt;/P&gt;&lt;P&gt;Is there any disadvantage of using hwtimer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 20:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320417#M10236</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2014-06-19T20:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a timer component to timeout in us?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320418#M10237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I have not used hwtimer but if you can reach the period you need for your interrupt there is no porblem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you cannot reach the desired period with hwtimer you may try with the PIT. The difference is that hwtimer is an MQX driver and the interrupts is handled by the RTOS while the example I provided can bypass MQX, the interrupts are handled directly by the core andd you can get a smaller period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 00:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320418#M10237</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2014-06-24T00:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a timer component to timeout in us?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320419#M10238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. For the hwtimer, I can get a 3us accurate period, and it works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:02:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320419#M10238</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2014-06-27T13:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a timer component to timeout in us?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320420#M10239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please give me more details on how you got us resolution in hwtimer? The smallest resolution I could get is 1ms by using&amp;nbsp; hwtimer_set_period().&lt;/P&gt;&lt;P&gt;I could use PIT approach as Carlos mentioned in the last post but I would prefer to stick with MQX handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 22:12:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-get-a-timer-component-to-timeout-in-us/m-p/320420#M10239</guid>
      <dc:creator>troide</dc:creator>
      <dc:date>2014-09-09T22:12:31Z</dc:date>
    </item>
  </channel>
</rss>

