<?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>Processor Expert SoftwareのトピックRe: OC_SetCompareValue(.., OC_ABSOLUTE_VALUE) in oc_pal component</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1569793#M5364</link>
    <description>Please see my post below. I found that the SW triggers used in OC_SetCompareValue() created my issue.</description>
    <pubDate>Wed, 14 Dec 2022 14:06:15 GMT</pubDate>
    <dc:creator>CharlesAlbert</dc:creator>
    <dc:date>2022-12-14T14:06:15Z</dc:date>
    <item>
      <title>OC_SetCompareValue(.., OC_ABSOLUTE_VALUE) in oc_pal component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1565071#M5349</link>
      <description>&lt;P&gt;I there,&lt;/P&gt;&lt;P&gt;I try to use a FTM counter to generate interruption at a desired time. Each time the interrup falls, I want to settle the next time (relative) it raises again. Interrupt can also be forced asynchronuously by setting the relative time very close to the current counter value.&lt;/P&gt;&lt;P&gt;I need two channels like because I want this beavior 2 times, I used OC_pal with a disable output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This normally allows me to generate interrupt when CnV value matches counter values CNT. Counter values shall count up to Mod values and restart (0-0xFFFF) continuously.&lt;/P&gt;&lt;P&gt;I did the following test with a counter at 1Mhz, at each interrupt I toggle a pin to check timing at scope.&lt;/P&gt;&lt;P&gt;- I use in the interrupt handler,&amp;nbsp;OC_SetCompareValue(.., OC_ABSOLUTE_VALUE) to set a fixed value of 1000. I expect a period of 65,535 ms (one match per period of timer). Instead I have a period of arround 1ms? Why?&lt;/P&gt;&lt;P&gt;Is the CNT reload initial value when loading CnV register? how to avoid that? (I want the counter to always count).&lt;/P&gt;&lt;P&gt;Thanks a lot,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 09:21:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1565071#M5349</guid>
      <dc:creator>CharlesAlbert</dc:creator>
      <dc:date>2022-12-06T09:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: OC_SetCompareValue(.., OC_ABSOLUTE_VALUE) in oc_pal component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1565086#M5350</link>
      <description>&lt;P&gt;I change CNTIN value and it seems used at load of CnV.. How to avoid that reload?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 09:33:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1565086#M5350</guid>
      <dc:creator>CharlesAlbert</dc:creator>
      <dc:date>2022-12-06T09:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: OC_SetCompareValue(.., OC_ABSOLUTE_VALUE) in oc_pal component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1565096#M5351</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CharlesAlbert_0-1670320262544.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/203203i85AC232E899462B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CharlesAlbert_0-1670320262544.png" alt="CharlesAlbert_0-1670320262544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Found it myself &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 09:51:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1565096#M5351</guid>
      <dc:creator>CharlesAlbert</dc:creator>
      <dc:date>2022-12-06T09:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: OC_SetCompareValue(.., OC_ABSOLUTE_VALUE) in oc_pal component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1567460#M5353</link>
      <description>&lt;P&gt;Hi&amp;nbsp;CharlesAlbert&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please tell us your chip part number thus we can assign right engineer for your issue.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 10:46:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1567460#M5353</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-12-09T10:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: OC_SetCompareValue(.., OC_ABSOLUTE_VALUE) in oc_pal component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1569756#M5363</link>
      <description>&lt;P&gt;I found my issue:&amp;nbsp;OC_SetCompareValue() call FTM_DRV_UpdateOutputCompareChannel(..) with the software trigger as TRUE! I change to not use the SW trigger and then I have the behavior I expect!&lt;/P&gt;&lt;P&gt;Thx.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 13:43:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1569756#M5363</guid>
      <dc:creator>CharlesAlbert</dc:creator>
      <dc:date>2022-12-14T13:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: OC_SetCompareValue(.., OC_ABSOLUTE_VALUE) in oc_pal component</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1569793#M5364</link>
      <description>Please see my post below. I found that the SW triggers used in OC_SetCompareValue() created my issue.</description>
      <pubDate>Wed, 14 Dec 2022 14:06:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/OC-SetCompareValue-OC-ABSOLUTE-VALUE-in-oc-pal-component/m-p/1569793#M5364</guid>
      <dc:creator>CharlesAlbert</dc:creator>
      <dc:date>2022-12-14T14:06:15Z</dc:date>
    </item>
  </channel>
</rss>

