<?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: About S12ZVL Time Output Compare in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12ZVL-Time-Output-Compare/m-p/1030588#M17092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jx1207@126.com"&gt;jx1207@126.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Because the OC match does not reset the counter.&lt;/P&gt;&lt;P&gt;Your solution is correct,&amp;nbsp;you need to update the TIM0TC2 register with&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;the counter value of the next OC match.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A href="https://community.nxp.com/docs/DOC-341061"&gt;Example S12ZVL ADC0 triggered by TIM0 OC updates PWM duty cycle&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BR, Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2020 07:36:59 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2020-03-31T07:36:59Z</dc:date>
    <item>
      <title>About S12ZVL Time Output Compare</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12ZVL-Time-Output-Compare/m-p/1030586#M17090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wang to make an interrupt ever 200Hz, so I write the code as the follows. But the interrupt is not right, I didn't find the problem,I think set the TIM0TC2 register can change the output time,but it didn't work.Why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 05:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12ZVL-Time-Output-Compare/m-p/1030586#M17090</guid>
      <dc:creator>jx1207</dc:creator>
      <dc:date>2020-03-30T05:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: About S12ZVL Time Output Compare</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12ZVL-Time-Output-Compare/m-p/1030587#M17091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to add "TIM0TC2=TIM0TC2+OC_Time" in the interrupt. It works right. But why add this command? I have&amp;nbsp;configure the TIM0TC2&amp;nbsp; register in the Timer_OC().&lt;/P&gt;&lt;P&gt;(ps: the bus clock=16MHz,OC_Time=5000)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 00:17:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12ZVL-Time-Output-Compare/m-p/1030587#M17091</guid>
      <dc:creator>jx1207</dc:creator>
      <dc:date>2020-03-31T00:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: About S12ZVL Time Output Compare</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12ZVL-Time-Output-Compare/m-p/1030588#M17092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jx1207@126.com"&gt;jx1207@126.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Because the OC match does not reset the counter.&lt;/P&gt;&lt;P&gt;Your solution is correct,&amp;nbsp;you need to update the TIM0TC2 register with&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;the counter value of the next OC match.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A href="https://community.nxp.com/docs/DOC-341061"&gt;Example S12ZVL ADC0 triggered by TIM0 OC updates PWM duty cycle&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BR, Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 07:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-S12ZVL-Time-Output-Compare/m-p/1030588#M17092</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-03-31T07:36:59Z</dc:date>
    </item>
  </channel>
</rss>

