<?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 Are the eTPU application note APIs misleading about eTPU link channels? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Are-the-eTPU-application-note-APIs-misleading-about-eTPU-link/m-p/457389#M1532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After pulling my hair out about why a current controller eTPU function wouldn't run, and after verifying it would properly execute a step if I used a host service request to invoke it, I just decided to change the channel it was running on to the same eTPU.&amp;nbsp; It worked properly.&amp;nbsp; I found that links from eTPU A to eTPU B don't work.&lt;/P&gt;&lt;P&gt;To make a long story short, I think where the application notes (this is from Analog Sensing for DC converters) say something like:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;• &lt;EM&gt;CC_innerloop_chan (uint8_t) – Number of the channel on which an inner-loop controller (in slave mode) runs. In order to not activate any inner-loop controller, set the number to a channel with priority disabled. This parameter should be assigned a value of&lt;STRONG&gt; 0-31 for ETPU_A and of 64-95 for ETPU_B.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is not correct, I think this gets directly loaded into the link register:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;+-------------------------------------------------------+&lt;/SPAN&gt;&lt;BR style="font-family: 'Courier New';" /&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;| Engine Select |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Channel number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;+-------------------------------------------------------+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;|&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New';"&gt;+-------------------------------------------------------+&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;Engine select:&lt;/SPAN&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;0 0: Select this engine&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;0 1: Select engine A&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;1 0: Select engine B&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;1 1: Select other engine&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so 0-31 is &lt;EM&gt;Select this engine&lt;/EM&gt; while 64-95 is &lt;EM&gt;Select engine B.&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I right?&amp;nbsp; Is this well-known?&amp;nbsp; I had to dig into the eTPU reference manual to figure this out, which a consumer of the API in the application notes shouldn't need to do.&amp;nbsp; Google searches didn't help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 May 2015 15:48:18 GMT</pubDate>
    <dc:creator>peterdufault</dc:creator>
    <dc:date>2015-05-23T15:48:18Z</dc:date>
    <item>
      <title>Are the eTPU application note APIs misleading about eTPU link channels?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Are-the-eTPU-application-note-APIs-misleading-about-eTPU-link/m-p/457389#M1532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After pulling my hair out about why a current controller eTPU function wouldn't run, and after verifying it would properly execute a step if I used a host service request to invoke it, I just decided to change the channel it was running on to the same eTPU.&amp;nbsp; It worked properly.&amp;nbsp; I found that links from eTPU A to eTPU B don't work.&lt;/P&gt;&lt;P&gt;To make a long story short, I think where the application notes (this is from Analog Sensing for DC converters) say something like:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;• &lt;EM&gt;CC_innerloop_chan (uint8_t) – Number of the channel on which an inner-loop controller (in slave mode) runs. In order to not activate any inner-loop controller, set the number to a channel with priority disabled. This parameter should be assigned a value of&lt;STRONG&gt; 0-31 for ETPU_A and of 64-95 for ETPU_B.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is not correct, I think this gets directly loaded into the link register:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;+-------------------------------------------------------+&lt;/SPAN&gt;&lt;BR style="font-family: 'Courier New';" /&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;| Engine Select |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Channel number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;+-------------------------------------------------------+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;|&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New';"&gt;+-------------------------------------------------------+&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;Engine select:&lt;/SPAN&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;0 0: Select this engine&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;0 1: Select engine A&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;1 0: Select engine B&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Helvetica;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;1 1: Select other engine&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #000000; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so 0-31 is &lt;EM&gt;Select this engine&lt;/EM&gt; while 64-95 is &lt;EM&gt;Select engine B.&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I right?&amp;nbsp; Is this well-known?&amp;nbsp; I had to dig into the eTPU reference manual to figure this out, which a consumer of the API in the application notes shouldn't need to do.&amp;nbsp; Google searches didn't help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 15:48:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Are-the-eTPU-application-note-APIs-misleading-about-eTPU-link/m-p/457389#M1532</guid>
      <dc:creator>peterdufault</dc:creator>
      <dc:date>2015-05-23T15:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Are the eTPU application note APIs misleading about eTPU link channels?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Are-the-eTPU-application-note-APIs-misleading-about-eTPU-link/m-p/457390#M1533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I meant links from eTPU B to eTPU don't work.&amp;nbsp; Links to eTPU B work if you follow the API since it specifies &lt;EM&gt;Run on engine B.&amp;nbsp; &lt;/EM&gt;Link to eTPU A from eTPU B don't work because it specifies to run on the same engine.&lt;/P&gt;&lt;P&gt;So links A-&amp;gt;A, A-&amp;gt;B, B-&amp;gt;B all would work, only B-&amp;gt;A wouldn't work (using the channel number from the documentation).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 15:51:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Are-the-eTPU-application-note-APIs-misleading-about-eTPU-link/m-p/457390#M1533</guid>
      <dc:creator>peterdufault</dc:creator>
      <dc:date>2015-05-23T15:51:15Z</dc:date>
    </item>
  </channel>
</rss>

