<?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>MPC5xxx中的主题 Re: MPC5634  eTPU</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1269733#M18129</link>
    <description>&lt;P&gt;The read_time() function and the demo code I provided is simulation-only code, part of the ASH WARE System/eTPU Development Tool products.&amp;nbsp; I simulated the system startup and found that the first fuel pulse was firing at ~94500 us (microseconds) into the simulation.&amp;nbsp; I then used the timing numbers you mention (&lt;SPAN&gt;94520.0&amp;nbsp; 94720.0&amp;nbsp;&amp;nbsp;94920.0&amp;nbsp;&amp;nbsp;95350.0 us) to mimic the exact scenario portrayed in the AN3770 complex injection description - doing so showed multi-pulse to work as described.&amp;nbsp; This could no doubt be done on hardware/EVB, but much harder to reliably get the right timing and capture the result.&amp;nbsp; Simulation allows very quick and thorough examination of this capability.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 14:02:27 GMT</pubDate>
    <dc:creator>johndiener</dc:creator>
    <dc:date>2021-04-28T14:02:27Z</dc:date>
    <item>
      <title>MPC5634  eTPU</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1046723#M15691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hi,&amp;nbsp;I had a problem debugging eTPU.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: normal; font-size: 14px;"&gt;I checked the FUEL in AN4907 document, which said that the extra pulse width could be set through the fs_etpu_fuel_update_injection_time() function. But I checked that the function had only set the pulse width time. I wanted to know how to set the pulse width multiple times with FUEL.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2020 00:48:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1046723#M15691</guid>
      <dc:creator>208677262</dc:creator>
      <dc:date>2020-06-16T00:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634  eTPU</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1046724#M15692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, using of FUEL function you have explained in the details in the following appnote:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN3770.pdf" title="https://www.nxp.com/docs/en/application-note/AN3770.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN3770.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Figure 2 shows complex injection pulse.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 12:35:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1046724#M15692</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2020-06-17T12:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634  eTPU</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1209871#M17048</link>
      <description>&lt;P&gt;This is an old post but I happened to be working with the AN4907 eTPU code and was interested in experimenting with FUEL. I simulated a case similar to that described in the AN3770 complex injection section and got the expected results. The screen capture below shows 3 FUEL pulses resulting from 4 updates to the injection time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FUEL_multi_injection.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134458i49D892E5B2DF9FE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="FUEL_multi_injection.png" alt="FUEL_multi_injection.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Prior to start of fueling, the injection time is at 1000us. At (1) the injection time is updated to 400us via the fs_etpu_fuel_update_injection_time() API. Since ~600us of injection has already been applied to that point, the injection ends immediately. At (2) the injection time is updated again to 620us, but this is ignored because the additional injection (~20us) does not meet the minimum pulse time, which is configured to 50us. The injection time is updated to 800us at (3), which generates a pulse of approximately 200us (plus the 200us compensation time). Shortly after that pulse the injection time is updated one last time (4) to 1000us. At (5), after the off_time_minimum has been satisfied, the final 200us of injection is applied, at the end of which it can be seen that the injection_time_applied (measured) to equal to the injection_time (requested) - 1000us (100000 TCR1 ticks). Note that all of this occurs before the stop angle, which occurs at 680 degrees in this configuration.&lt;/P&gt;&lt;P&gt;Of course multi-pulse generation is going to be an atypical case with the FUEL function, but the code will generate such if so requested and within timing and angle limits - the timing window in which injection updates can trigger multiple pulses is rather small. More likely operation might be to update fuel timing at the stop angle interrupt, which would eliminate the possibility of a multi-pulse. I have attached the simulation test case I put together to examine this capability.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 20:23:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1209871#M17048</guid>
      <dc:creator>johndiener</dc:creator>
      <dc:date>2021-01-11T20:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634  eTPU</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1269545#M18122</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;SPAN&gt;johndiener.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Looking at the examples you provided, I have a few questions for you&lt;/P&gt;&lt;P&gt;current_time = read_time();&lt;BR /&gt;if (multi_inject_step == 0 &amp;amp;&amp;amp; current_time &amp;gt; 94520.0)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; fuel_config.injection_time = USEC2TCR1(400);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; fs_etpu_fuel_update_injection_time(&amp;amp;fuel_1_instance, &amp;amp;fuel_config);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; multi_inject_step = 1;&lt;BR /&gt;}&lt;BR /&gt;else if (multi_inject_step == 1 &amp;amp;&amp;amp; current_time &amp;gt; 94720.0)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;fuel_config.injection_time = USEC2TCR1(620);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;fs_etpu_fuel_update_injection_time(&amp;amp;fuel_1_instance, &amp;amp;fuel_config);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;multi_inject_step = 2;&lt;BR /&gt;}&lt;BR /&gt;else if (multi_inject_step == 2 &amp;amp;&amp;amp; current_time &amp;gt; 94920.0)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; fuel_config.injection_time = USEC2TCR1(800);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; fs_etpu_fuel_update_injection_time(&amp;amp;fuel_1_instance, &amp;amp;fuel_config);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; multi_inject_step = 3;&lt;BR /&gt;}&lt;BR /&gt;else if (multi_inject_step == 3 &amp;amp;&amp;amp; current_time &amp;gt; 95350.0)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; fuel_config.injection_time = USEC2TCR1(1000);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; fs_etpu_fuel_update_injection_time(&amp;amp;fuel_1_instance, &amp;amp;fuel_config);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; multi_inject_step = 4;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;The definition of this function is not found in the project. How to read the time?&amp;nbsp; ( read_time() )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp; &amp;nbsp;How do these numbers come about? (94520.0&amp;nbsp; 94720.0&amp;nbsp;&amp;nbsp;94920.0&amp;nbsp;&amp;nbsp;95350.0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have a great day.&lt;BR /&gt;best regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 09:09:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1269545#M18122</guid>
      <dc:creator>208677262</dc:creator>
      <dc:date>2021-04-28T09:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634  eTPU</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1269733#M18129</link>
      <description>&lt;P&gt;The read_time() function and the demo code I provided is simulation-only code, part of the ASH WARE System/eTPU Development Tool products.&amp;nbsp; I simulated the system startup and found that the first fuel pulse was firing at ~94500 us (microseconds) into the simulation.&amp;nbsp; I then used the timing numbers you mention (&lt;SPAN&gt;94520.0&amp;nbsp; 94720.0&amp;nbsp;&amp;nbsp;94920.0&amp;nbsp;&amp;nbsp;95350.0 us) to mimic the exact scenario portrayed in the AN3770 complex injection description - doing so showed multi-pulse to work as described.&amp;nbsp; This could no doubt be done on hardware/EVB, but much harder to reliably get the right timing and capture the result.&amp;nbsp; Simulation allows very quick and thorough examination of this capability.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 14:02:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU/m-p/1269733#M18129</guid>
      <dc:creator>johndiener</dc:creator>
      <dc:date>2021-04-28T14:02:27Z</dc:date>
    </item>
  </channel>
</rss>

