<?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: ADC conversion completion interrupt in MC56F83789 controller in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1886611#M16031</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Do you use software triggering or hardware triggering?&lt;/P&gt;
&lt;P&gt;If you use software triggering mode, you configured to have reloading event to fire interrupt, in the reloading ISR, you set the ADC SRART bit to launch a ADC conversion. In the process, The SMxCTRL[LDFQ]&amp;nbsp; controls the frequency, if you want to trigger ADC for each PWM, set the LDFQ=0.&lt;/P&gt;
&lt;P&gt;If you use hardware triggering mode, for example, the PWM generates triggering signal via SMxTCTRL register, then the signal triggers ADC via cross-bar.&lt;/P&gt;
&lt;P&gt;Pls refer to 27.3.22 Output Trigger Control Register (SM0TCTRL - SM3T&lt;BR /&gt;CTRL). If you use hardware triggering mode and want to trigger ADC for each PWM cycle, I suggest you clear the SMxTCTRL[TRGFRQ] bit, otherwise, the LDFQ also controls the triggering frequency.&lt;/P&gt;
&lt;P&gt;If you toggle a GPIO in ADC ISR, note if the PWM is 50khz, the GPIO frequency is 25Khz when each PWM cycle triggers ADC.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2024 06:22:12 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2024-06-13T06:22:12Z</dc:date>
    <item>
      <title>ADC conversion completion interrupt in MC56F83789 controller</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1884691#M16029</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was trying to schedule ADC conversion complete interrupt for ADC which is triggered by PWM pulse of 50KHZ, but I noticed the interrupt executed only at 25KHz instead of 50. Can you please let me know the reason and how to correct it?&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;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 04:54:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1884691#M16029</guid>
      <dc:creator>Aman786</dc:creator>
      <dc:date>2024-06-11T04:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: ADC conversion completion interrupt in MC56F83789 controller</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1886611#M16031</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Do you use software triggering or hardware triggering?&lt;/P&gt;
&lt;P&gt;If you use software triggering mode, you configured to have reloading event to fire interrupt, in the reloading ISR, you set the ADC SRART bit to launch a ADC conversion. In the process, The SMxCTRL[LDFQ]&amp;nbsp; controls the frequency, if you want to trigger ADC for each PWM, set the LDFQ=0.&lt;/P&gt;
&lt;P&gt;If you use hardware triggering mode, for example, the PWM generates triggering signal via SMxTCTRL register, then the signal triggers ADC via cross-bar.&lt;/P&gt;
&lt;P&gt;Pls refer to 27.3.22 Output Trigger Control Register (SM0TCTRL - SM3T&lt;BR /&gt;CTRL). If you use hardware triggering mode and want to trigger ADC for each PWM cycle, I suggest you clear the SMxTCTRL[TRGFRQ] bit, otherwise, the LDFQ also controls the triggering frequency.&lt;/P&gt;
&lt;P&gt;If you toggle a GPIO in ADC ISR, note if the PWM is 50khz, the GPIO frequency is 25Khz when each PWM cycle triggers ADC.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 06:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1886611#M16031</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-06-13T06:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: ADC conversion completion interrupt in MC56F83789 controller</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1887485#M16032</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp; for the reply.&lt;/P&gt;&lt;P&gt;I was using hardware interrupt trigger using the PWM however I checked the ADC scanning configuration there were some corrections required in the configuration .Once done with correct configuration this interrupt started triggering at 50KHz frequency.&lt;/P&gt;&lt;P&gt;Regarding the interrupts, I have an additional question.&lt;/P&gt;&lt;P&gt;00 IRQ disabled (default)&lt;BR /&gt;01 IRQ Priority Level 0&lt;BR /&gt;10 IRQ Priority Level 1&lt;BR /&gt;11 IRQ Priority Level 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This controller has 3 interrupt levels 0-2, so if have more than 3 interrupts how interrupts can be configured. If the same priority comes for the interrupts, then how the controller behaves?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 03:48:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1887485#M16032</guid>
      <dc:creator>Aman786</dc:creator>
      <dc:date>2024-06-14T03:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: ADC conversion completion interrupt in MC56F83789 controller</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1887549#M16033</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;What you said is correct:&lt;/P&gt;
&lt;P&gt;00 IRQ disabled (default)&lt;BR /&gt;01 IRQ Priority Level 0&lt;BR /&gt;10 IRQ Priority Level 1&lt;BR /&gt;11 IRQ Priority Level 2&lt;/P&gt;
&lt;P&gt;The level 3 is non-maskable interrupt, the highest priority.&lt;/P&gt;
&lt;P&gt;Regarding the interrupt priority mechanism, pls refer to 9.3.1 Interrupt Priority Structure in the attached family manual of DSC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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>Fri, 14 Jun 2024 05:37:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1887549#M16033</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-06-14T05:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: ADC conversion completion interrupt in MC56F83789 controller</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1887552#M16034</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can download the DSC family manual from the website:&lt;/P&gt;
&lt;H3 class="item-title" style="box-sizing: border-box; font-family: Poppins, sans-serif; line-height: 1.1; color: #000000; margin-top: 0px; margin-bottom: 0px; font-size: 16px; font-weight: 600; position: relative; margin-right: 8px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;A id="relatedDocsClickPDF_6" class="dtmcustomrulelink" style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: underline; cursor: pointer; outline: dotted thin; outline-offset: -2px; padding-right: 8px; margin-right: 8px;" href="https://www.nxp.com/webapp/Download?colCode=DSP56800ERM" target="_blank" rel="noopener" data-dtmaction="Documentation Section - Results Link Click" data-dtmsubaction="DSP56800E and DSP56800EX - Reference Manual - NXP - Reference Manual - English"&gt;&lt;SPAN&gt;DSP56800E and DSP56800EX - Reference Manual&lt;/SPAN&gt;&lt;/A&gt;&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/additional-mpu-mcus-architectures/digital-signal-controllers/32-bit-56800ex-ef-core/performance-level-digital-signal-controllers-usb-fs-otg-can-fd:MC56F83xxx" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/additional-mpu-mcus-architectures/digital-signal-controllers/32-bit-56800ex-ef-core/performance-level-digital-signal-controllers-usb-fs-otg-can-fd:MC56F83xxx&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Fri, 14 Jun 2024 05:46:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1887552#M16034</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-06-14T05:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: ADC conversion completion interrupt in MC56F83789 controller</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1887766#M16035</link>
      <description>&lt;P&gt;Thanks&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;There is one more clarification required. Reg DSC controller, is it possible to control PFC and DC_DC using a single controller?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 09:29:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ADC-conversion-completion-interrupt-in-MC56F83789-controller/m-p/1887766#M16035</guid>
      <dc:creator>Aman786</dc:creator>
      <dc:date>2024-06-14T09:29:14Z</dc:date>
    </item>
  </channel>
</rss>

