<?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: LPC802 IR application</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-IR-application/m-p/1045509#M40574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Hi, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/zhiwch@my.yorku.ca"&gt;zhiwch@my.yorku.ca&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you may already check, the&amp;nbsp; CTIMER peripheral is suitable.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, you could set the timer on a free-running mode and generate periodic interrupts to have a time base in combination with an external&amp;nbsp; GPIO interrupt to detect pulses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another way is to use the input capture mode of the timer to count the time between pulses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that you can import the&amp;nbsp; CTIMER and&amp;nbsp; GPIO (if required) examples from the device&amp;nbsp; SDK&amp;nbsp;as a&amp;nbsp;starting point to develop your application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following links to similar applications can help you further.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN3053.pdf"&gt;Infrared Remote Control Techniques on MC9S08RC/RD/RE/RG Family&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4152.pdf"&gt;Implementing an IR Blaster on HCS08-Based IEEE® 802.15.4 Wireless Nodes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/309459"&gt;A method to realize IR remote receiver with Kinetis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the other hand, a more efficient way is to use an IC to decode the IR NEC&amp;nbsp; protocol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, let me know if this information was useful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2020 22:31:00 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2020-04-07T22:31:00Z</dc:date>
    <item>
      <title>LPC802 IR application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-IR-application/m-p/1045508#M40573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am doing a project about receiving the input value from a remote via IR.&lt;/P&gt;&lt;P&gt;The protocol tends to be NEC&lt;/P&gt;&lt;P&gt;Please check the link if you need want more information for NEC&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://techdocs.altium.com/display/FPGA/NEC+Infrared+Transmission+Protocol" title="https://techdocs.altium.com/display/FPGA/NEC+Infrared+Transmission+Protocol"&gt;NEC Infrared Transmission Protocol | Online Documentation for Altium Products&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems I have to set an &lt;STRONG&gt;NEC&lt;/STRONG&gt; to encode and decode function from IR.&lt;/P&gt;&lt;P&gt;I wonder how to generate the clock properly as a &lt;STRONG&gt;timer/counter&lt;/STRONG&gt;&amp;nbsp;to capture input 1 or 0 and return the decoded value to the main function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The encode function is an interrupt function as IR receives the pulse from a remote.&lt;/P&gt;&lt;P&gt;I lost the thought to link encode and decode functions together such that pass through the decoded value to the main function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your time, if there is an efficient way to do IR encode and decode in LPC802, please share. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 04:00:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-IR-application/m-p/1045508#M40573</guid>
      <dc:creator>zhiwch</dc:creator>
      <dc:date>2020-04-02T04:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC802 IR application</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-IR-application/m-p/1045509#M40574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Hi, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/zhiwch@my.yorku.ca"&gt;zhiwch@my.yorku.ca&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you may already check, the&amp;nbsp; CTIMER peripheral is suitable.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, you could set the timer on a free-running mode and generate periodic interrupts to have a time base in combination with an external&amp;nbsp; GPIO interrupt to detect pulses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another way is to use the input capture mode of the timer to count the time between pulses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that you can import the&amp;nbsp; CTIMER and&amp;nbsp; GPIO (if required) examples from the device&amp;nbsp; SDK&amp;nbsp;as a&amp;nbsp;starting point to develop your application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following links to similar applications can help you further.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN3053.pdf"&gt;Infrared Remote Control Techniques on MC9S08RC/RD/RE/RG Family&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4152.pdf"&gt;Implementing an IR Blaster on HCS08-Based IEEE® 802.15.4 Wireless Nodes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/309459"&gt;A method to realize IR remote receiver with Kinetis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the other hand, a more efficient way is to use an IC to decode the IR NEC&amp;nbsp; protocol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, let me know if this information was useful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 22:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-IR-application/m-p/1045509#M40574</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-04-07T22:31:00Z</dc:date>
    </item>
  </channel>
</rss>

