<?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 Re: LPC54102 - Configuring CTIMER0 Capture Channel 3 in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/LPC54102-Configuring-CTIMER0-Capture-Channel-3/m-p/1574719#M4081</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The capture pins are dependent on the CTimer index, I suppose you can define the FSL_FEATURE_CTIMER_HAS_CCR_CAP3=1 in compiler option, but you remember that only CTimerB0/B1 have the CAP3 pins.&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;</description>
    <pubDate>Tue, 27 Dec 2022 01:23:10 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2022-12-27T01:23:10Z</dc:date>
    <item>
      <title>LPC54102 - Configuring CTIMER0 Capture Channel 3</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/LPC54102-Configuring-CTIMER0-Capture-Channel-3/m-p/1574325#M4074</link>
      <description>&lt;P&gt;SDK Version 2.6.1&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;_ctimer_capture_channel&lt;/STRONG&gt; value &lt;EM&gt;kCTIMER_Capture_3 &lt;/EM&gt;is only compiled in to the SDK if &lt;EM&gt;FSL_FEATURE_CTIMER_HAS_CCR_CAP3&lt;/EM&gt; is defined:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;/*! &lt;/SPAN&gt;&lt;SPAN&gt;@brief&lt;/SPAN&gt;&lt;SPAN&gt; List of Timer capture channels */&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;typedef&lt;/SPAN&gt; &lt;SPAN&gt;enum&lt;/SPAN&gt; &lt;SPAN&gt;_ctimer_capture_channel&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;kCTIMER_Capture_0&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;0U&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; /*!&amp;lt; Timer capture channel 0 */&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;kCTIMER_Capture_1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; /*!&amp;lt; Timer capture channel 1 */&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;kCTIMER_Capture_2&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; /*!&amp;lt; Timer capture channel 2 */&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;#if&lt;/SPAN&gt; &lt;SPAN&gt;defined&lt;/SPAN&gt;&lt;SPAN&gt;(FSL_FEATURE_CTIMER_HAS_CCR_CAP3) &lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt; FSL_FEATURE_CTIMER_HAS_CCR_CAP3&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;kCTIMER_Capture_3&lt;/SPAN&gt;&lt;SPAN&gt; /*!&amp;lt; Timer capture channel 3 */&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;SPAN&gt; /* FSL_FEATURE_CTIMER_HAS_IR_CR3INT */&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;SPAN&gt;ctimer_capture_channel_t&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&lt;P&gt;For LPC54102, however, this value is not defined (in &lt;EM&gt;LPC54102_cm4_features.h&lt;/EM&gt;) so &lt;EM&gt;kCTIMER_Capture_3&lt;/EM&gt; is not provided.&lt;/P&gt;&lt;P&gt;Why is this not the case? There are a number of pins that can be set up via pinmux for capture for ctimer0 input channel 3. So why is&amp;nbsp;&lt;EM&gt;FSL_FEATURE_CTIMER_HAS_CCR_CAP3&lt;/EM&gt;&amp;nbsp;not defined for LPC54102?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 25 Dec 2022 02:47:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/LPC54102-Configuring-CTIMER0-Capture-Channel-3/m-p/1574325#M4074</guid>
      <dc:creator>BTaylor</dc:creator>
      <dc:date>2022-12-25T02:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 - Configuring CTIMER0 Capture Channel 3</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/LPC54102-Configuring-CTIMER0-Capture-Channel-3/m-p/1574413#M4078</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you know that the LPC54102 has 4 CTimer CT32B0,CT32B1,CT32B2 and CT32B3. The CT32B0 has 4 Capture pins CT32B0_CAP0~3, CT32B1 has 4 Capture pins CT32B1_CAP0~3, the CT32B2 has 3 Capture pins CT32B2_CAP0~2, the CT32B3 has 3 Capture pins CT32B3_CAP0~2.&lt;/P&gt;
&lt;P&gt;So the CT32Bx_CAP3 is dependent on the the Ctimer index, that is why a compiler option &lt;FONT face="andale mono,times" size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt; FSL_FEATURE_CTIMER_HAS_CCR_CAP3&lt;/SPAN&gt;&lt;/FONT&gt; is defined.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Mon, 26 Dec 2022 04:15:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/LPC54102-Configuring-CTIMER0-Capture-Channel-3/m-p/1574413#M4078</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-12-26T04:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 - Configuring CTIMER0 Capture Channel 3</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/LPC54102-Configuring-CTIMER0-Capture-Channel-3/m-p/1574696#M4079</link>
      <description>&lt;P&gt;Thank you for the respons. The problem is that the compiler option is not dependent on the index of the timer. In other words, if that option is not defined, then input capture channel 3 is made unavailable for ALL timers, irrespective of index. And as I indicated in the original post,&amp;nbsp;&lt;SPAN&gt;FSL_FEATURE_CTIMER_HAS_CCR_CAP3 is NOT defined in&amp;nbsp;&lt;EM&gt;LPC54102_cm4_features.h&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 20:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/LPC54102-Configuring-CTIMER0-Capture-Channel-3/m-p/1574696#M4079</guid>
      <dc:creator>BTaylor</dc:creator>
      <dc:date>2022-12-26T20:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 - Configuring CTIMER0 Capture Channel 3</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/LPC54102-Configuring-CTIMER0-Capture-Channel-3/m-p/1574719#M4081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The capture pins are dependent on the CTimer index, I suppose you can define the FSL_FEATURE_CTIMER_HAS_CCR_CAP3=1 in compiler option, but you remember that only CTimerB0/B1 have the CAP3 pins.&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;</description>
      <pubDate>Tue, 27 Dec 2022 01:23:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/LPC54102-Configuring-CTIMER0-Capture-Channel-3/m-p/1574719#M4081</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-12-27T01:23:10Z</dc:date>
    </item>
  </channel>
</rss>

