<?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 Re: About GDU overcurrent action in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704034#M14596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Matej!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have set the overcurrent action as GOCA0=1(turn off all high side and low side predrivers ) and because of this setting motor stops permanantly till the MCU reset.&lt;/P&gt;&lt;P&gt;We want to know that, is there any way to clear this trip condition by software so that PWM output will restart again and no need to reset MCU?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 13:40:06 GMT</pubDate>
    <dc:creator>pratibhasurabhi</dc:creator>
    <dc:date>2017-09-15T13:40:06Z</dc:date>
    <item>
      <title>About GDU overcurrent action</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704032#M14594</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;P&gt;Using NXP S12Z MagniV, we are rotating a 3 phase BLDC motor. &lt;BR /&gt;We are using "Current Sense Amplifier and Overcurrent Comparator" in the GDU. &lt;BR /&gt;The GDU is driven by PWM from the PMF module.&lt;/P&gt;&lt;P&gt;Present implementation - &lt;BR /&gt;When over current situation occurs, the OC comparator trips and cause the GDU output to be OFF. &lt;BR /&gt;Since this point, the motor stops permanently till the MCU reset.&lt;/P&gt;&lt;P&gt;Requested modification - &lt;BR /&gt;When the OC comparator trips and cause the GDU to be OFF, is there a way to clear this trip condition using software such that the PWM output from the GDU can be re-started ? &lt;BR /&gt;If yes, what is the procedure/settings for this ? &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 13:41:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704032#M14594</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2017-09-14T13:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: About GDU overcurrent action</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704033#M14595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried to write "1" to the GDUF_GOCIF[1:0]? Similar action should work for all the flags (e.g. if a desaturation is asserted). Please set a correct "overcurrent action" (GOCAx) to prevent the system from consequent faults (depending on your system requirements).&lt;BR /&gt;For your future reference (I understand it's hard to link the information together), please follow the Reference Manual:&lt;/P&gt;&lt;P&gt;Chapter 18.3.2.3 GDU Interrupt Enable Register (GDUIE)&lt;/P&gt;&lt;P&gt;Chapter 18.3.2.5 GDU Status Register (GDUSTAT)&lt;/P&gt;&lt;P&gt;Mainly:&lt;/P&gt;&lt;P&gt;Chapter 18.3.2.7 GDU Flag Register (GDUF)&lt;/P&gt;&lt;P&gt;Chapter 18.3.2.15 GDU Overcurrent Register 0 (GDUOC0)&lt;/P&gt;&lt;P&gt;Chapter&amp;nbsp;18.4.7 Fault Protection Features&lt;/P&gt;&lt;P&gt;Chapter 18.4.8 Current Sense Amplifier and Overcurrent Comparator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 08:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704033#M14595</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2017-09-15T08:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: About GDU overcurrent action</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704034#M14596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Matej!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have set the overcurrent action as GOCA0=1(turn off all high side and low side predrivers ) and because of this setting motor stops permanantly till the MCU reset.&lt;/P&gt;&lt;P&gt;We want to know that, is there any way to clear this trip condition by software so that PWM output will restart again and no need to reset MCU?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 13:40:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704034#M14596</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2017-09-15T13:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: About GDU overcurrent action</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704035#M14597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the same settings and if I write&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;"1" to the GDUF_GOCIF[1:0], the GDU works again. Have you tried it? There is no need for resetting the MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Matej&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 14:30:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704035#M14597</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2017-09-15T14:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: About GDU overcurrent action</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704036#M14598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&amp;nbsp;&amp;nbsp;GDUF_GOCIF0 = 1;&lt;/P&gt;&lt;P&gt;(or&amp;nbsp;&amp;nbsp;GDUF_GOCIF1 = 1; respectively if the other overcurrent comparator is used).&lt;/P&gt;&lt;P&gt;You can do it using FreeMaster as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 14:32:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704036#M14598</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2017-09-15T14:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: About GDU overcurrent action</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704037#M14599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mateja!&lt;/P&gt;&lt;P&gt;Above setting is working.&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>Tue, 19 Sep 2017 04:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/About-GDU-overcurrent-action/m-p/704037#M14599</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2017-09-19T04:59:47Z</dc:date>
    </item>
  </channel>
</rss>

