<?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 MPC574XG eMIOS Channel Type G and Counters in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755894#M10640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A couple of questions about counters.&lt;/P&gt;&lt;P&gt;1. Ch Type X and G have internal counters, but can they use Counter Bus A or Counter Bus F?&lt;/P&gt;&lt;P&gt;2. Ch Type G internal counter seems to be slower than Ch Type X internal counter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I tried using Ch Type G internal counter, but used counter E0UC_22_X and counter Bus F.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I believe Ch Type X internal counter is different than Ch Type G internal counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18902i25AE7423062C5D85/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2018 20:18:20 GMT</pubDate>
    <dc:creator>cholland</dc:creator>
    <dc:date>2018-03-13T20:18:20Z</dc:date>
    <item>
      <title>MPC574XG eMIOS Channel Type G and Counters</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755894#M10640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A couple of questions about counters.&lt;/P&gt;&lt;P&gt;1. Ch Type X and G have internal counters, but can they use Counter Bus A or Counter Bus F?&lt;/P&gt;&lt;P&gt;2. Ch Type G internal counter seems to be slower than Ch Type X internal counter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I tried using Ch Type G internal counter, but used counter E0UC_22_X and counter Bus F.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I believe Ch Type X internal counter is different than Ch Type G internal counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18902i25AE7423062C5D85/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 20:18:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755894#M10640</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2018-03-13T20:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC574XG eMIOS Channel Type G and Counters</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755895#M10641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;All channels can select global counter buses A and F, of course if the selected counting mode allows that.&lt;/LI&gt;&lt;LI&gt;There should be no difference between internal counters. Can you specify the setting you have that shows different behavior?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 08:03:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755895#M10641</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2018-03-14T08:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPC574XG eMIOS Channel Type G and Counters</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755896#M10642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;Can you specify the setting you have that shows different behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I just changed the Bus Select to use a different counter.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;eMIOS_UC_0.UC[2].C.B.BSL = 0x2;&amp;nbsp; &amp;nbsp; /* Bus Select : Use Bus F */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to setup PWM Buffered for the following channels&lt;/P&gt;&lt;P&gt;(E0UC_0_X),&amp;nbsp;(E0UC_26_Y),&amp;nbsp;(E0UC_10_H),&amp;nbsp;(E0UC_11_H),&amp;nbsp;(E0UC_2_G),&amp;nbsp;(E0UC_4_G).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I couldn't use (E0UC_0_X) as a counter for the G channels, since I am using it&amp;nbsp;as a seperate&amp;nbsp;PWM signal.&lt;/LI&gt;&lt;LI&gt;I tried selecting counter bus[A] for all the eMIOS channels, but the G channels didn't work.&lt;/LI&gt;&lt;LI&gt;When I tried to&amp;nbsp;setup the G channels to use their internal counters, they&amp;nbsp;seemed to be a lot&amp;nbsp;slower than (E0UC_23_X) counter.&lt;/LI&gt;&lt;LI&gt;I finally setup (E0UC_22_X) (F Bus) and used that counter for both&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(E0UC_2_G) and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(E0UC_4_G).&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;All channels can select global counter buses A and F, of course if the selected counting mode allows that.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;How do I know which counting mode allows me to use which counter busses?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 12:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755896#M10642</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2018-03-14T12:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: MPC574XG eMIOS Channel Type G and Counters</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755897#M10643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement for the counter bus is mentioned in the counting mode description, chapters 35.6.1.1.1-.12&lt;/P&gt;&lt;P&gt;For the OPWMB mode the external counter driven in MCB Up mode must be selected from one of the counter buses.&lt;/P&gt;&lt;P&gt;So either global counter bus is selected (A or F) or local counter bus (B, C, D, E) depending of used channel.&lt;/P&gt;&lt;P&gt;Regarding your questions…&lt;/P&gt;&lt;P&gt;1. I couldn't use (E0UC_0_X) as a counter for the G channels, since I am using it as a seperate PWM signal.&lt;/P&gt;&lt;P&gt;Yes, if you want to operate ch0 in OPWMB mode, then it cannot serve counter bus B for channels 1-7.&lt;/P&gt;&lt;P&gt;2. I tried selecting counter bus[A] for all the eMIOS channels, but the G channels didn't work.&lt;/P&gt;&lt;P&gt;Channels working in OPWMB mode can run with counter bus A (channel 23) without issue. Channel 23 must be set for MCB mode and determines the PWM period for OPWMB channels.&lt;/P&gt;&lt;P&gt;3. When I tried to setup the G channels to use their internal counters, they seemed to be a lot slower than (E0UC_23_X) counter.&lt;/P&gt;&lt;P&gt;If you set channels to OPWMB mode, internal counter cannot be selected, period is not configurable, so internal counter, if enabled, overflows. If you want to use internal counter then OPWFMB can be used on channel types X and G.&lt;/P&gt;&lt;P&gt;4. I finally setup (E0UC_22_X) (F Bus) and used that counter for both (E0UC_2_G) and (E0UC_4_G).&lt;/P&gt;&lt;P&gt;Yes, this is a possibility, but counter bus A is functional too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 09:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755897#M10643</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2018-03-15T09:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: MPC574XG eMIOS Channel Type G and Counters</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755898#M10644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Petr!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 11:56:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574XG-eMIOS-Channel-Type-G-and-Counters/m-p/755898#M10644</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2018-03-15T11:56:58Z</dc:date>
    </item>
  </channel>
</rss>

