<?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 Using a CTIMER with FreeRTOS on LPC546xx in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-a-CTIMER-with-FreeRTOS-on-LPC546xx/m-p/964605#M38186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have FreeRTOS running on my 54628 dev board (OM13098) and can use the LCD, TCP/IP and SD features.&lt;/P&gt;&lt;P&gt;I am using MCUXpresso v10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is add a timer to drive 2 GPIO pins (a synchronized set of pulses).&lt;/P&gt;&lt;P&gt;I can use the 4 match setpoints of the timer for the synchonization and reset the TC on the last match.&lt;/P&gt;&lt;P&gt;I should be able to do it with 1 timer (#2) set for Match mode and let my IRQ handler manage the pin output logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my initialization and IRQ logic.&lt;/P&gt;&lt;P&gt;This code compiles without error or warning...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT&lt;/P&gt;&lt;P&gt;I cannot seem to get it to work?&lt;/P&gt;&lt;P&gt;It will not stop in the IRQ when debugging it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;And I don't see the outputs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2019 20:26:40 GMT</pubDate>
    <dc:creator>anealca</dc:creator>
    <dc:date>2019-07-09T20:26:40Z</dc:date>
    <item>
      <title>Using a CTIMER with FreeRTOS on LPC546xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-a-CTIMER-with-FreeRTOS-on-LPC546xx/m-p/964605#M38186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have FreeRTOS running on my 54628 dev board (OM13098) and can use the LCD, TCP/IP and SD features.&lt;/P&gt;&lt;P&gt;I am using MCUXpresso v10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is add a timer to drive 2 GPIO pins (a synchronized set of pulses).&lt;/P&gt;&lt;P&gt;I can use the 4 match setpoints of the timer for the synchonization and reset the TC on the last match.&lt;/P&gt;&lt;P&gt;I should be able to do it with 1 timer (#2) set for Match mode and let my IRQ handler manage the pin output logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my initialization and IRQ logic.&lt;/P&gt;&lt;P&gt;This code compiles without error or warning...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT&lt;/P&gt;&lt;P&gt;I cannot seem to get it to work?&lt;/P&gt;&lt;P&gt;It will not stop in the IRQ when debugging it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;And I don't see the outputs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 20:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-a-CTIMER-with-FreeRTOS-on-LPC546xx/m-p/964605#M38186</guid>
      <dc:creator>anealca</dc:creator>
      <dc:date>2019-07-09T20:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using a CTIMER with FreeRTOS on LPC546xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-a-CTIMER-with-FreeRTOS-on-LPC546xx/m-p/964606#M38187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your question, I have checked your code, your problem is that you CAN NOT enter CTimer interrupt hadler .&lt;/P&gt;&lt;P&gt;I have changed your code, I attach it here,&amp;nbsp; but I do not try to compile/link, pls have a try.&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>Wed, 10 Jul 2019 08:52:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-a-CTIMER-with-FreeRTOS-on-LPC546xx/m-p/964606#M38187</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-07-10T08:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using a CTIMER with FreeRTOS on LPC546xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-a-CTIMER-with-FreeRTOS-on-LPC546xx/m-p/964607#M38188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjunrong"&gt;xiangjunrong&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YES I was missing the timer start TCR event...&lt;/P&gt;&lt;P&gt;Thanks for that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have hard coded my IRQ into the interrupt vectors (in&amp;nbsp;g_pfnVectors[]) because I can't figure out how to dynamically replace the weak definition of CTIMER2_IRQHandler&amp;nbsp;to my IRQ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shouldn't need the clocks on the digital outputs...&lt;/P&gt;&lt;P&gt;I have configured the pins using the configuration tool...&lt;/P&gt;&lt;P&gt;So they should work OK...&lt;/P&gt;&lt;P&gt;My other configured output pins are working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now getting interrupts...&lt;/P&gt;&lt;P&gt;Thankyou...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 15:29:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-a-CTIMER-with-FreeRTOS-on-LPC546xx/m-p/964607#M38188</guid>
      <dc:creator>anealca</dc:creator>
      <dc:date>2019-07-10T15:29:17Z</dc:date>
    </item>
  </channel>
</rss>

