<?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: eTPU2 spark Problem</title>
    <link>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720577#M9628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing issues in accuracy of injection and spark pulses.&lt;/P&gt;&lt;P&gt;The dwell times, end angles are all way off from what is configured in the software.&lt;/P&gt;&lt;P&gt;Were you able to resolve the above mentioned problems?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arjun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2019 12:21:33 GMT</pubDate>
    <dc:creator>arjunraveendran</dc:creator>
    <dc:date>2019-04-10T12:21:33Z</dc:date>
    <item>
      <title>eTPU2 spark Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720576#M9627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'have started to use eTPU2 function on MPC5644A and i referred to the documentation AN4907 ,and&amp;nbsp; AN4908 . I have implemented all that is reported in the apllication&amp;nbsp;&amp;nbsp;AN4908SW but reduced for only 2 cylinder control , but for what i have understand the spark function works with this configuration structure :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int24_t angle_offset_recalc;&lt;/P&gt;&lt;P&gt;uint24_t dwell_time_max;&lt;/P&gt;&lt;P&gt;uint24_t multi_on_time;&lt;/P&gt;&lt;P&gt;uint24_t dwell_time_min;&lt;/P&gt;&lt;P&gt;uint24_t multi_off_time;&lt;/P&gt;&lt;P&gt;uint8_t&amp;nbsp; spark_count;&amp;nbsp;&lt;/P&gt;&lt;P&gt;struct single_spark_config_t *p_single_spark_config;&lt;/P&gt;&lt;P&gt;uint8_t&amp;nbsp; generation_disable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;struct single_spark_config_t&lt;BR /&gt;{&lt;BR /&gt; int24_t end_angle;&amp;nbsp;&lt;BR /&gt;uint24_t dwell_time; /&lt;BR /&gt; uint8_t multi_pulse_count;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So ,&amp;nbsp;&lt;SPAN&gt;end_angle is the angle where the Dwell must end .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In my c code I have done this configuration :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;struct spark_config_t spark_config =&lt;BR /&gt;{&lt;BR /&gt; DEG2TCR2(10), /* angle_offset_recalc */&lt;BR /&gt; USEC2TCR1(1800), /* dwell_time_min */&lt;BR /&gt; USEC2TCR1(2200), /* dwell_time_max */&lt;BR /&gt; USEC2TCR1(100), /* multi_on_time *///100&lt;BR /&gt; USEC2TCR1(100), /* multi_off_time *///100&lt;BR /&gt; 1, /* spark_count */&lt;BR /&gt; &amp;amp;single_spark_config[0], /* p_single_spark_config */&lt;BR /&gt; FS_ETPU_SPARK_GENERATION_ALLOWED /* generation_disable */&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;struct single_spark_config_t single_spark_config[1] =&lt;BR /&gt;{&lt;BR /&gt; {&lt;BR /&gt; DEG2TCR2(30), /* end_angle */&lt;BR /&gt; USEC2TCR1(2000), /* dwell_time */&lt;BR /&gt;3/* multi_pulse_count */&lt;BR /&gt; }&lt;BR /&gt;};&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And I work on a flywheel 12-1 at fixed 1000 rpm .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the polarity of crank instance is :&amp;nbsp;FS_ETPU_CRANK_FM0_USE_TRANS_RISING &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and all other gereral settings are :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;#define SYS_FREQ_HZ 120E6&lt;BR /&gt;#define TCR1_FREQ_HZ (SYS_FREQ_HZ/1)&lt;BR /&gt;#define TEETH_TILL_GAP 11&lt;BR /&gt;#define TEETH_IN_GAP 1&lt;BR /&gt;#define TEETH_PER_CYCLE 24&lt;BR /&gt;#define TCR2_TICKS_PER_TOOTH 1000&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define TDC1_DEG 0&lt;BR /&gt;#define TDC3_DEG 180&lt;BR /&gt;#define TDC4_DEG 360&lt;BR /&gt;#define TDC2_DEG 540&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But what happend is shown in attached image .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The green signal is my spark output , the yellow one is my crank signal.&amp;nbsp; As you can see the output seems start at 30 ° not end . But why I have set this&amp;nbsp;DEG2TCR2(30)?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyone can help me ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks in advance&amp;nbsp; ...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 16:45:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720576#M9627</guid>
      <dc:creator>alessandrosirto</dc:creator>
      <dc:date>2017-12-13T16:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: eTPU2 spark Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720577#M9628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing issues in accuracy of injection and spark pulses.&lt;/P&gt;&lt;P&gt;The dwell times, end angles are all way off from what is configured in the software.&lt;/P&gt;&lt;P&gt;Were you able to resolve the above mentioned problems?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arjun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 12:21:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720577#M9628</guid>
      <dc:creator>arjunraveendran</dc:creator>
      <dc:date>2019-04-10T12:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: eTPU2 spark Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720578#M9629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arjun ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately not....&lt;/P&gt;&lt;P&gt;I build by my self all the API and status machine , to control the engine (capture of flywheel&amp;nbsp; , injector and ignition ;&amp;nbsp; using the eMIOS200). This job have required to me a lot of work , but after this I arrived at desired resolution of the output, without any strange effects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ale,&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 08:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720578#M9629</guid>
      <dc:creator>alessandrosirto</dc:creator>
      <dc:date>2019-04-11T08:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: eTPU2 spark Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720579#M9630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 04:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720579#M9630</guid>
      <dc:creator>arjunraveendran</dc:creator>
      <dc:date>2019-04-19T04:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: eTPU2 spark Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720580#M9631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alessandro hi,&lt;/P&gt;&lt;P&gt;I think this effect is because of the latency of scheduling between etpu's crank and spark channels. As you know etpu microengine scheduler handles just one task at the time and when you increase the RPM of your engine continously, the etpu channels (crank and spark) will loose synchronization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have recently faced this problem, and reported as below. And now it's solved, you may check it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/518362"&gt;ETPU Spark Function Accuracy Problem&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to ask and learn your opinion, how did you get and arrange the exact &lt;SPAN&gt;TCR1 for dwell_time and TCR2 for spark_end_angle in EMIOS200? Your suggestions will help me, thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Turgay Kale&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 14:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/eTPU2-spark-Problem/m-p/720580#M9631</guid>
      <dc:creator>turgay_kale</dc:creator>
      <dc:date>2019-11-21T14:38:16Z</dc:date>
    </item>
  </channel>
</rss>

