<?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: LPC812 max systick rate and MRT</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559088#M15743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tuturuu on Mon Sep 07 06:37:42 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi R2D2. By capture timer do you mean the MRT?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:00:05 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:00:05Z</dc:date>
    <item>
      <title>LPC812 max systick rate and MRT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559086#M15741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tuturuu on Mon Sep 07 03:55:18 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The thing is I need to measure the time between the moment the ultra-sonic ping is sent and the moment it comes back to measure the distance. I am planning on using a systick timer for that. Of course then smaller the time interval between ticks better the result. But I am not sure about how small should I set the time interval between ticks. Is 1us too small?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or should I use the MRT and read the TIMER register directly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure since normally I only see the example using the interrupts generated by the MRT, never seen anyone read the TIMER register directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:00:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559086#M15741</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 max systick rate and MRT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559087#M15742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Sep 07 04:08:12 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Use a capture timer...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Speed of sound (20°C): 340m/s = 34 cm/ ms&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and measured time from start pulse to low:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; distance = 34cm/ms / 2 * time[ms] = 17 cm/ms * time[ms]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a 1us timer should do the job...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559087#M15742</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 max systick rate and MRT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559088#M15743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tuturuu on Mon Sep 07 06:37:42 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi R2D2. By capture timer do you mean the MRT?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559088#M15743</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 max systick rate and MRT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559089#M15744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Sep 07 07:36:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Tuturuu&lt;/STRONG&gt;&lt;BR /&gt;By capture timer do you mean the MRT?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No. Usually the hardware edge of the ultrasonic sensor is triggering a capture input of a timer (in your case SCT)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559089#M15744</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 max systick rate and MRT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559090#M15745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tuturuu on Mon Sep 07 11:02:06 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I heard that some ultrasonic sensor can automatically send timed data or trigger an interrupt when new data come. Unfortunately mine doesn't have anything like that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:00:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559090#M15745</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 max systick rate and MRT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559091#M15746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Mon Sep 07 12:07:26 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Tuturuu&lt;/STRONG&gt;&lt;BR /&gt;I heard that some ultrasonic sensor can automatically send timed data or trigger an interrupt when new data come. Unfortunately mine doesn't have anything like that.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How is that device communicating&amp;nbsp; :quest: Smoke signals&amp;nbsp; :quest: &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:00:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559091#M15746</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 max systick rate and MRT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559092#M15747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tuturuu on Mon Sep 07 19:24:28 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to send a command to the IC, then it send back the amplitude of the envelop signal at that moment only. No time info included.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:00:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559092#M15747</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 max systick rate and MRT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559093#M15748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Thu Sep 10 08:24:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;As mentioned by R2D2 you can use SCTimer/PWM block to capture time difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What interface are you using to send command? let us know the connection between LPC and sensor IC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which sensor are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To learn more about SCTimer/PWM block please look into below app note&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Fan11538-sctimerpwm-cookbook" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/nxpfile/an11538-sctimerpwm-cookbook&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559093#M15748</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 max systick rate and MRT</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559094#M15749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Tuturuu on Thu Sep 10 09:17:16 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using an Elmos IC. The LPC812 send command to the sensor IC by SPI interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying the MRT. Could you please explain about the advantage and disadvantage SCT/PWM in compare to MRT and what should I use in such kind of application?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-max-systick-rate-and-MRT/m-p/559094#M15749</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:00:08Z</dc:date>
    </item>
  </channel>
</rss>

