<?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 MPC5634 eTPU Spark in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078543#M16216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL style="box-sizing: border-box; margin: 0px; padding: 0px; color: #2e3033; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 11.200000762939453px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;&lt;LI style="box-sizing: border-box; margin: 0px 0px 10px; padding: 0px; list-style: none;"&gt;&lt;P data-group="1-1" style="box-sizing: border-box; margin: 0px; padding: 0px; font-size: 14px; color: #666666; line-height: 20px;"&gt;Hi, I had a problem using ETPU's Spark feature.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN data-group="0-0" style="box-sizing: border-box; color: #333333; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25.987503051757813px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;When spark output was high, crank signals were suddenly lost and Spark was not automatically shut off.&lt;/SPAN&gt;&lt;SPAN data-group="0-1" style="box-sizing: border-box; color: #333333; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25.987503051757813px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;How do I set Spark to turn it off.&lt;/SPAN&gt;&lt;SPAN data-group="0-1" style="box-sizing: border-box; color: #333333; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25.987503051757813px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="box-sizing: border-box; margin: 0px; padding: 0px; color: #2e3033; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 11.200000762939453px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;&lt;LI style="box-sizing: border-box; margin: 0px 0px 10px; padding: 0px; list-style: none;"&gt;&lt;P data-group="1-1" style="box-sizing: border-box; margin: 0px; padding: 0px; font-size: 14px; color: #666666; line-height: 20px;"&gt;Please check the attached pictures for yellow crank signals and purple Spark signals.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2020 13:16:38 GMT</pubDate>
    <dc:creator>208677262</dc:creator>
    <dc:date>2020-08-10T13:16:38Z</dc:date>
    <item>
      <title>MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078543#M16216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL style="box-sizing: border-box; margin: 0px; padding: 0px; color: #2e3033; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 11.200000762939453px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;&lt;LI style="box-sizing: border-box; margin: 0px 0px 10px; padding: 0px; list-style: none;"&gt;&lt;P data-group="1-1" style="box-sizing: border-box; margin: 0px; padding: 0px; font-size: 14px; color: #666666; line-height: 20px;"&gt;Hi, I had a problem using ETPU's Spark feature.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN data-group="0-0" style="box-sizing: border-box; color: #333333; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25.987503051757813px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;When spark output was high, crank signals were suddenly lost and Spark was not automatically shut off.&lt;/SPAN&gt;&lt;SPAN data-group="0-1" style="box-sizing: border-box; color: #333333; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25.987503051757813px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;How do I set Spark to turn it off.&lt;/SPAN&gt;&lt;SPAN data-group="0-1" style="box-sizing: border-box; color: #333333; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 25.987503051757813px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="box-sizing: border-box; margin: 0px; padding: 0px; color: #2e3033; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 13.600001335144043px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 11.200000762939453px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa;"&gt;&lt;LI style="box-sizing: border-box; margin: 0px 0px 10px; padding: 0px; list-style: none;"&gt;&lt;P data-group="1-1" style="box-sizing: border-box; margin: 0px; padding: 0px; font-size: 14px; color: #666666; line-height: 20px;"&gt;Please check the attached pictures for yellow crank signals and purple Spark signals.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:16:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078543#M16216</guid>
      <dc:creator>208677262</dc:creator>
      <dc:date>2020-08-10T13:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078544#M16217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In theory, CRANK has some parameters in the crank_instance, .link1-4 where you can list 4 channels per .link entry and when your engine stalls, it will send a link to the listed channels and those other channels get reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when I get out from a weird processor crashing bug, I'll be putting together some code to show that we couldn't get this to work either. In our case I am using CRANK to send links to a bunch of channels that are controlling injectors.&lt;/P&gt;&lt;P&gt;We have seen the injectors left on when CRANK desynchronizes. I tried putting in some belt and suspender code into the CRANK ISR and it's not going well. Especially when the tpu says that the engine RPM is still high when in a stall resync.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, try the .link values in the crank_instance as documented in AN4907/AN4908, but check the results. The documentation of the link action is skimpy to non-existant, and we've had problems with it actually working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 18:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078544#M16217</guid>
      <dc:creator>AndreiC</dc:creator>
      <dc:date>2020-08-11T18:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078545#M16218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrei is correct, the spark channels should be in the crank link list, to which link requests get issued when a stall is detected.&amp;nbsp; However, as the OP noticed, if the stall occurs while a spark is active (during dwell time, before end angle), the spark pin remains stuck at active level.&amp;nbsp; This is true even if the spark channel is in the link list - the spark gets re-initialized, but the initialization code leaves the pin state untouched. It looks like:&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/110009i57864362B19DF40F/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;P&gt;&lt;/P&gt;&lt;P&gt;A small patch to the spark init eTPU code, which sets the pin level to the inactive state, results in better behavior:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110037iB3CEE17B9CDBC2FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know yet how to work around this without patching the eTPU code.&amp;nbsp; I had originally though the max dwell time should kick in and shut off the pulse, but it turns out given the channel mode being used, if the TCR2 counter (angle) never reaches the spark end angle in this case, max dwell time never kicks in.&lt;/P&gt;&lt;P&gt;-john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 21:51:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078545#M16218</guid>
      <dc:creator>johndiener</dc:creator>
      <dc:date>2020-08-11T21:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078546#M16219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey John, since I’m seeing this same action with FUEL leaving the injector open on stall, could it be an issue with CRANK not sending the links, or just a bad TPU code idiom where a bunch of the functions don’t go to their inactive state since they all share the same code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we had talked about this before, since my CRANK isr had code to disable my FUEL channels, but that also left the injectors open. One of my jobs in the next week was to raise this issue here and find a work around that actually worked reliably.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 05:40:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078546#M16219</guid>
      <dc:creator>AndreiC</dc:creator>
      <dc:date>2020-08-12T05:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078547#M16220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi. John Diener.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 16px;"&gt;My eTPU code is generated by CodeWarrior ETPU Function Selector, where should I change it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Attached is the etPU code file.&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 09:00:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078547#M16220</guid>
      <dc:creator>208677262</dc:creator>
      <dc:date>2020-08-12T09:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078548#M16221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When FUEL receives a link, unlike SPARK it explicitly sets the pin state to inactive (note that code running to capture image below has SPARK patch):&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/110085i65E314C56C3A548D/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;P&gt;If CRANK properly detects a stall, then it will issue links (up to 16 unique).&amp;nbsp; Is CRANK for sure detecting a stall?&amp;nbsp; Are your FUEL channels on the same eTPU engine? - if not, the link values need to be carefully programmed for cross-engine communication.&lt;/P&gt;&lt;P&gt;-john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 14:25:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078548#M16221</guid>
      <dc:creator>johndiener</dc:creator>
      <dc:date>2020-08-12T14:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078549#M16222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the FUEL functions are running on the same TPU engine. But we have seen injectors left open.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Which parameter of the FUEL channel config is used to control the inactive state?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feng Yang, NXP has to rev the code so you can download the corrected bundle.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 20:54:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078549#M16222</guid>
      <dc:creator>AndreiC</dc:creator>
      <dc:date>2020-08-12T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078550#M16223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can work with the eTPU source code, the patch to the SPARK initialization code is just a few lines:&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/110177iA64516246ECF6E86/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;P&gt;Otherwise, as mentioned, an option is to wait until the code gets rev'd on the NXP eTPU function selector. I am sending the above info to an NXP contact, so perhaps they will do so or identify a more appropriate solution.&amp;nbsp; May or may not make sense for you, but also available is the ASH WARE build of the AN4907 code, which has been updated and can be downloaded via a link on the&amp;nbsp;&lt;A class="link-titled" href="https://www.ashware.com/Software" title="https://www.ashware.com/Software"&gt;Software - Website - Ashware&lt;/A&gt;&amp;nbsp;webpage.&lt;/P&gt;&lt;P&gt;-john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 23:00:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078550#M16223</guid>
      <dc:creator>johndiener</dc:creator>
      <dc:date>2020-08-12T23:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078551#M16224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not have the source code of eTPU,&amp;nbsp;&lt;SPAN style="color: #666666; background-color: #f7f8fa; font-weight: normal; font-size: 16px;"&gt;thank you very much for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 08:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078551#M16224</guid>
      <dc:creator>208677262</dc:creator>
      <dc:date>2020-08-14T08:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078552#M16225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&amp;nbsp;&lt;A _jive_internal="true" class="" data-avatarid="20529" data-externalid="" data-online="false" data-presence="null" data-userid="30734" data-username="AndreiC" href="https://community.nxp.com/people/AndreiC" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;Andrei Chichak&lt;/A&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 16px;"&gt;The eTPU code was recently generated using CodeWarrior ETPU Function Selector.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 08:26:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078552#M16225</guid>
      <dc:creator>208677262</dc:creator>
      <dc:date>2020-08-14T08:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078553#M16226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Feng,&lt;/P&gt;&lt;P&gt;I had come across with this problem before, in the spark function (of NXP's standard engine control set) there is no default setting of spark output if crank signal is lost. You may set to default level when this condition is occured as John has told.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* NXP engine control set (ETPU) -- etpuc_spark.c */&lt;/P&gt;&lt;P&gt;void SPARK(struct SPARK_CHAN_PARAMS spark_local)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;if ((hsr == SPARK_HSR_INIT) || (&lt;STRONG&gt;lsr == 1&lt;/STRONG&gt;))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ..&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Deactivate spark output if crank signal is lost and engine is not synchronized&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;*/&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (eng_pos_state == ENG_POS_SEEK)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(cc.FM0 == SPARK_FM0_ACTIVE_HIGH)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;channel.PIN = PIN_SET_LOW;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;channel.PIN = PIN_SET_HIGH;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;..&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the source code of NXP's standard engine control set (ETPU) and API source code at&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note-software/AN4907SW.zip" title="https://www.nxp.com/docs/en/application-note-software/AN4907SW.zip"&gt;https://www.nxp.com/docs/en/application-note-software/AN4907SW.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 06:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078553#M16226</guid>
      <dc:creator>turgay_kale</dc:creator>
      <dc:date>2020-08-18T06:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078554#M16227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Feng,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You can get the source code of NXP's standard engine control set (ETPU) and API source code at&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note-software%2FAN4907SW.zip" rel="nofollow" style="color: #3d9ce7; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.nxp.com/docs/en/application-note-software/AN4907SW.zip&lt;/A&gt;then modify it as you wish. You have to build (compile &amp;amp; link) ETPU source code with an ETPU compiler to generate &lt;STRONG&gt;etpu_set.h&lt;/STRONG&gt; for your project.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 08:02:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078554#M16227</guid>
      <dc:creator>turgay_kale</dc:creator>
      <dc:date>2020-08-18T08:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634 eTPU Spark</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078555#M16228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I will try to modify it. Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2020 00:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634-eTPU-Spark/m-p/1078555#M16228</guid>
      <dc:creator>208677262</dc:creator>
      <dc:date>2020-08-21T00:56:45Z</dc:date>
    </item>
  </channel>
</rss>

