<?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>S12 / MagniV MicrocontrollersのトピックRe: Desaturation Error</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797829#M15682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Since your issue cannot be experienced with our devKit/EVB, I assume it would be connected with your HW. Have you checked the drain-to-source voltage of the MOSFET indicating the desaturation? If it is below 1.4 V, then you would need to check the HD pin or phase pins for peaks or ringing. If that would be the case, you can try to adjust the blanking time or implement a HW filter (RC-filter) to these pins.&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>Wed, 27 Jun 2018 05:21:23 GMT</pubDate>
    <dc:creator>pachamatej</dc:creator>
    <dc:date>2018-06-27T05:21:23Z</dc:date>
    <item>
      <title>Desaturation Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797823#M15676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I download the source code from NXP website,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so as to motor can be started,&amp;nbsp; at first&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;#define ADVANCE_ANGLE&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;FRAC16(0.4815),&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and another macro define ：#define ADVANCE_ANGLE1&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;FRAC16(0.08),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;when the motor speed reach the&amp;nbsp;certain speed, i want to let the motor‘s speed much faster,so&amp;nbsp;we will let &lt;SPAN&gt;advanceAngle decrease ,&lt;/SPAN&gt;judge&lt;/P&gt;&lt;P&gt;if(advanceAngle&amp;gt;ADVANCE_ANGLE1)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;advanceAngle-=2;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;when&amp;nbsp;&lt;SPAN style="font-weight: 400;"&gt;ADVANCE_ANGLE &amp;lt; 0.12 , &lt;STRONG&gt;GDUDSE ERR&lt;/STRONG&gt; will appear.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i don't know where is wrong, and how to correct it.&lt;/P&gt;&lt;P&gt;below figure is my&amp;nbsp;Schematic，&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62009i90584056C67AA3A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62007i48A16BA25B0B4BC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 03:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797823#M15676</guid>
      <dc:creator>chdingding</dc:creator>
      <dc:date>2018-06-20T03:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Desaturation Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797824#M15677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chding,&lt;/P&gt;&lt;P&gt;Are you using our&amp;nbsp;MTRCKTSBNZVM128 (BLDC) or&amp;nbsp;MTRCKTSPNZVM128 (PMSM) software examples?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/sps/download/preDownload.jsp" title="https://www.nxp.com/webapp/sps/download/preDownload.jsp"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the values of GDSLLS and GDSLHS registers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 23:40:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797824#M15677</guid>
      <dc:creator>alejandro_cervantes</dc:creator>
      <dc:date>2018-06-20T23:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Desaturation Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797825#M15678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jimenez,&lt;/P&gt;&lt;P style="padding: 0px;"&gt;Thank you for your reply！ We using&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;MTRCKTSBNZVM128 (BLDC)&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;software examples, next is the source code of&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;GDU module configuration.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;The values of GDSLLS and GDSLHS are 0x07,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="550"&gt;&lt;SPAN class=""&gt;V&lt;/SPAN&gt;&lt;SPAN class="" style="font-size: 7pt;"&gt;desatls &lt;/SPAN&gt;&lt;SPAN class=""&gt;= 1.40V&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;BR style="font-weight: normal;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;/*****************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* Function: void initGDU(void)&lt;BR /&gt;*&lt;BR /&gt;* Description: GDU module configuration&lt;BR /&gt;*&lt;BR /&gt;*****************************************************************************/&lt;BR /&gt;void initGDU(void)&lt;BR /&gt;{&lt;BR /&gt; GDUE_GCPE = 1; // charge pump&lt;/P&gt;&lt;P&gt;GDUE_GCSE0 = 1; // enable Current Sense Amplifier 0&lt;/P&gt;&lt;P&gt;GDUF = 0xff; // Flag Register - clear all error flags&lt;/P&gt;&lt;P&gt;GDUBCL = 0x0F; // Set coil current limit to maximum 750mA&lt;BR /&gt; &lt;BR /&gt; GDUCLK1_GBOCD = 0b10001; // Set boost frequency ~ 0.52MHz &lt;BR /&gt; &lt;BR /&gt; GDUCLK1_GBODC = 0b11; // Set duty cycle to 75%&lt;BR /&gt; &lt;BR /&gt; GDUE_GBOE = 1; // Enable boost&lt;/P&gt;&lt;P&gt;GDUCLK2_GCPCD = 2; // Fbus / 32&lt;/P&gt;&lt;P&gt;GDUCTR = 0x13;//0x13; // blanking time&lt;/P&gt;&lt;P&gt;GDUDSLVL = 0x77; // desat. level&lt;/P&gt;&lt;P&gt;GDUE_GFDE = 1; // enable FET pre-driver&lt;/P&gt;&lt;P&gt;GDUDSE = 0x77; // Clear Desaturation Error Flags&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 00:09:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797825#M15678</guid>
      <dc:creator>chdingding</dc:creator>
      <dc:date>2018-06-21T00:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Desaturation Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797826#M15679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem as you. I download the source code(bldc) from NXP website,and modify the configuration as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;#define ADVANCE_ANGLE FRAC16(0.01)&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;GDSLLS=7;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;GDSLHS=7;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;GDUCTR=0XBB;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Unfortunately,the GDUDSE error will appear as soon as&amp;nbsp;advanceAngle is less than &amp;nbsp;FRAC16(0.12).&lt;/SPAN&gt;&lt;/SPAN&gt;Have you solved the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 01:38:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797826#M15679</guid>
      <dc:creator>雪辰彭</dc:creator>
      <dc:date>2018-06-21T01:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Desaturation Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797827#M15680</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;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have the same problem. I download the source code(bldc) from NXP website,and modify the configuration as follows:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;#define ADVANCE_ANGLE FRAC16(0.01)&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #51626f; font-weight: inherit;"&gt;GDSLLS=7;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;GDSLHS=7;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;GDUCTR=0XBB;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;Unfortunately,the GDUDSE error will appear as soon as&amp;nbsp;advanceAngle is less than &amp;nbsp;FRAC16(0.12).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 03:57:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797827#M15680</guid>
      <dc:creator>雪辰彭</dc:creator>
      <dc:date>2018-06-21T03:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Desaturation Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797828#M15681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I haven't solve this problem now, if i find the answer, i will write here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 01:46:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797828#M15681</guid>
      <dc:creator>chdingding</dc:creator>
      <dc:date>2018-06-22T01:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Desaturation Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797829#M15682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Since your issue cannot be experienced with our devKit/EVB, I assume it would be connected with your HW. Have you checked the drain-to-source voltage of the MOSFET indicating the desaturation? If it is below 1.4 V, then you would need to check the HD pin or phase pins for peaks or ringing. If that would be the case, you can try to adjust the blanking time or implement a HW filter (RC-filter) to these pins.&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>Wed, 27 Jun 2018 05:21:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Desaturation-Error/m-p/797829#M15682</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2018-06-27T05:21:23Z</dc:date>
    </item>
  </channel>
</rss>

