<?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>Digital Signal ControllersのトピックPWM module not triggering fault</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1181555#M2003</link>
    <description>&lt;P&gt;Have an issue that GPIO C14/C15 inputs are not enabling PWMs fault channels in GCT. Even though they are selected. im not able to get a check mark on the boxes&lt;/P&gt;&lt;P&gt;How can i manually enable them during initilisation process in main.c?&lt;/P&gt;&lt;P&gt;Im using&amp;nbsp;MC56F837xx, CodeWarrior 11.1 and Quickstart 2.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fasihahmed_0-1605107473591.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129678i2C731B7E86C3B3BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="fasihahmed_0-1605107473591.png" alt="fasihahmed_0-1605107473591.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fasihahmed_0-1605107672986.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129679i068D7F4F3A6E6ABE/image-size/large?v=v2&amp;amp;px=999" role="button" title="fasihahmed_0-1605107672986.png" alt="fasihahmed_0-1605107672986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2020 23:09:45 GMT</pubDate>
    <dc:creator>fasihahmed</dc:creator>
    <dc:date>2020-11-11T23:09:45Z</dc:date>
    <item>
      <title>PWM module not triggering fault</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1181555#M2003</link>
      <description>&lt;P&gt;Have an issue that GPIO C14/C15 inputs are not enabling PWMs fault channels in GCT. Even though they are selected. im not able to get a check mark on the boxes&lt;/P&gt;&lt;P&gt;How can i manually enable them during initilisation process in main.c?&lt;/P&gt;&lt;P&gt;Im using&amp;nbsp;MC56F837xx, CodeWarrior 11.1 and Quickstart 2.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fasihahmed_0-1605107473591.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129678i2C731B7E86C3B3BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="fasihahmed_0-1605107473591.png" alt="fasihahmed_0-1605107473591.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fasihahmed_0-1605107672986.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/129679i068D7F4F3A6E6ABE/image-size/large?v=v2&amp;amp;px=999" role="button" title="fasihahmed_0-1605107672986.png" alt="fasihahmed_0-1605107672986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 23:09:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1181555#M2003</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2020-11-11T23:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: PWM module not triggering fault</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1182118#M2006</link>
      <description>&lt;P&gt;Hi, Fasih,&lt;/P&gt;
&lt;P&gt;Maybe it is only GCT tools issue. Pls output a PWM signal, and add the PWM_Fault signal, then observe the PWM signal and check if the Fault signal can disable PWM output.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 08:16:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1182118#M2006</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-11-12T08:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: PWM module not triggering fault</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1182147#M2007</link>
      <description>&lt;P&gt;Can you tell me the code to manually enable/init the fault during startup?&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im still not able to trigger an interrupt based on pwm faults&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 09:02:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1182147#M2007</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2020-11-13T09:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: PWM module not triggering fault</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1183614#M2008</link>
      <description>&lt;P&gt;Hi, Fasih,&lt;/P&gt;
&lt;P&gt;For example, the GPIOG_5 is multiplexed with PWMA_Fault3, you can use the code to enable fault function and generate fault interrupt.&lt;/P&gt;
&lt;P&gt;/High logic of fault signal will disable PWM signal, The fault signal is inputed from the GPIOG5, the PWM signals recover after the Fault signal disappear&lt;BR /&gt;//automatically&lt;BR /&gt;void PWMAFault_GPIOG5(void)&lt;BR /&gt;{&lt;BR /&gt;//enable the GPIOG gated clock&lt;BR /&gt;SIM-&amp;gt;PCE0|=1&amp;lt;&amp;lt;0;&lt;BR /&gt;//set the GPIOG5 bit in PER reg&lt;BR /&gt;GPIOG-&amp;gt;PER|=0x20;&lt;BR /&gt;//set the GPIOG5 as PWMA fault3 signal&lt;BR /&gt;SIM-&amp;gt;GPSGL&amp;amp;=~(0xC00);&lt;BR /&gt;SIM-&amp;gt;GPSGL|=0x400;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;//High logic of fault signal will disable PWM signal, The fault signal is inputed from the GPIOG5, the PWM signals recover after the Fault signal disappear&lt;BR /&gt;//automatically&lt;BR /&gt;void testFaultFunction(void)&lt;BR /&gt;{&lt;BR /&gt;//enable fault &lt;BR /&gt;SIM-&amp;gt;IPS0&amp;amp;=~(0x08);&lt;BR /&gt;INTC-&amp;gt;IPR8|=0x300;&lt;BR /&gt;PWMA-&amp;gt;SM0DISMAP0=0x0088; //Disable PWMA_0A and 0B when the fault3 becomes high&lt;BR /&gt;PWMA-&amp;gt;FCTRL0|=0x8808;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;#pragma interrupt on&lt;BR /&gt;void PWMA_Fault_ISR(void)&lt;BR /&gt;{&lt;BR /&gt;//clear the PWMA_fault flag&lt;BR /&gt;PWMA-&amp;gt;FSTS0|=0x088;&lt;BR /&gt;__asm(nop);&lt;BR /&gt;}&lt;BR /&gt;#pragma interrupt off&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 05:57:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1183614#M2008</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-11-16T05:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: PWM module not triggering fault</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1184445#M2009</link>
      <description>&lt;P&gt;the PWMs are disabled but i cannot get the ISR to trigger based on the PWM fault.&lt;/P&gt;&lt;P&gt;I use GPIOF5 and PWM_A_FL7&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 10:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1184445#M2009</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2020-11-17T10:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: PWM module not triggering fault</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1184863#M2010</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, Fasih,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I see that the GPIOF5 pin can disable PWMA signal for your project, but can not generate interrupt, in the case, pls use the code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But you have to add the PWMA_Fault_ISR to PWMA_fault interrupt vector table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope it can help you&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;XiangJun rong&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;void testFaultFunction(void)&lt;BR /&gt;{&lt;BR /&gt;//enable fault &lt;BR /&gt;INTC-&amp;gt;IPR8|=0x300;&lt;BR /&gt;PWMA-&amp;gt;SM0DISMAP1=0x0088; //Disable PWMA_0A and 0B when the fault3 becomes high&lt;BR /&gt;PWMA-&amp;gt;FCTRL1|=0x8808;&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#pragma interrupt on&lt;BR /&gt;void PWMA_Fault_ISR(void)&lt;BR /&gt;{&lt;BR /&gt;//clear the PWMA_fault flag&lt;BR /&gt;PWMA-&amp;gt;FSTS1|=0x088;&lt;BR /&gt;__asm(nop);&lt;BR /&gt;}&lt;BR /&gt;#pragma interrupt off&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 03:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1184863#M2010</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-11-18T03:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: PWM module not triggering fault</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1187528#M2011</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fasihahmed_0-1606140804490.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130772i6118D12B5257C5F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fasihahmed_0-1606140804490.png" alt="fasihahmed_0-1606140804490.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in GCT's SYS - System Support Control why cant I choose the fault pins for example on GPIOF5? It only shows GPIO G's faults. Which are not supported by my DSC type. I need to select them on GPIOC14, GPIOC15 and GIPIOF5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also in SYS.h im not able to find register for GPIOF5.&lt;/P&gt;&lt;P&gt;The below code shows for GPIOG5. How can i select the register for GPIOF5?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//enable fault&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SIM-&amp;gt;IPS0&amp;amp;=~(0x08);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 15:35:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1187528#M2011</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2020-11-23T15:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: PWM module not triggering fault</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1187898#M2012</link>
      <description>&lt;P&gt;Hi, Fasih,&lt;/P&gt;
&lt;P&gt;For the PWMA module of MC56F83xxx, there are 8 Faults pins, they are Fault 0/1/2/3 and Fault 4/5/6/7, for the Fault 0/1/2/3, there are TWO sources, one is from external pads, another is from crossbar, which one functions as Fault is dependent on the SIM-&amp;gt;IPS0 register, that is why you are required to select the fault source for Fault 0/1/2/3 in SYS module.&lt;/P&gt;
&lt;P&gt;For the Fault 4/5/6/7, there is only one source, external pads.&lt;/P&gt;
&lt;P&gt;In conclusion, for fault 0/1/2/3, if you use external pads as fault pins, you are required to configure the SYS module and GPIO module, for example GPIO E8/E8 and G4/G5.&lt;/P&gt;
&lt;P&gt;For the Fault 4/5/6/7, you are only required to set up the GPIO for example GPIO F4/F5..&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 06:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/PWM-module-not-triggering-fault/m-p/1187898#M2012</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-11-24T06:15:08Z</dc:date>
    </item>
  </channel>
</rss>

