<?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: RT1170 ADC_ETC in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1488521#M20559</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201722"&gt;@Andy_h&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;RT1170 LPADC1 has 12 channel and LPADC2 has 14 channel.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;DEMO_ADC_USER_CHANNEL&amp;nbsp; defines which channel are used in the demo.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are 8 hardware trig signal(ext_hwts[7:0]) send from ETC to ADC.&amp;nbsp;DEMO_ADC_ETC_CHANNEL defines which trig signal are used.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ADC input pins are in ADC input function by default.&amp;nbsp;That means you needn't set anything if you use them as ADC pins.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 06:19:11 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2022-07-13T06:19:11Z</dc:date>
    <item>
      <title>RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1487962#M20540</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i want to get a better understanding of how the ADC and the ADC_ETC works on the RT1170. Therefor i implemented the adc_etc example. I have a few questions about the program.&lt;/P&gt;&lt;P&gt;1) Parameters&amp;nbsp;&lt;/P&gt;&lt;P&gt;while DEMO_ADC_BASE is appartently the used ADC, i can't imagine what the DEMO_ADC_USER_CHANNEL and the DEMO_ADC_CHANNEL_GROUPS are.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the PinConfig, i'm able to set the LPADC input channels as A_1, A_2... but the defines in the example doesn't have any identifiers with letters, just numbers.&lt;/P&gt;&lt;P&gt;Same with the adc_etc channels. What is this parameter for?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 08:23:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1487962#M20540</guid>
      <dc:creator>Andy_h</dc:creator>
      <dc:date>2022-07-12T08:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1488521#M20559</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201722"&gt;@Andy_h&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;RT1170 LPADC1 has 12 channel and LPADC2 has 14 channel.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;DEMO_ADC_USER_CHANNEL&amp;nbsp; defines which channel are used in the demo.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are 8 hardware trig signal(ext_hwts[7:0]) send from ETC to ADC.&amp;nbsp;DEMO_ADC_ETC_CHANNEL defines which trig signal are used.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ADC input pins are in ADC input function by default.&amp;nbsp;That means you needn't set anything if you use them as ADC pins.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 06:19:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1488521#M20559</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-07-13T06:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1488526#M20561</link>
      <description>&lt;P&gt;Hello Sir,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your fast response. I want to use the following Pins as Input:&lt;/P&gt;&lt;P&gt;- LPADC A,2_1 at GPIO_AD_20&lt;/P&gt;&lt;P&gt;- LPADC A.2_2 at GPIO_AD_22&lt;/P&gt;&lt;P&gt;so, do i need 2 user channels with this setup? Iam a little bit confused because the implemented adc_etc works fine as long as i want to use the pre configurated LPADC1...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also iam interessted in the DEMO_ADC_ETC_CHAINGROUP defines. I used to work with the RT1150 and there were modifications about the Chain group possible in the config tools menu..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Andy&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 06:31:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1488526#M20561</guid>
      <dc:creator>Andy_h</dc:creator>
      <dc:date>2022-07-13T06:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1489109#M20582</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201722"&gt;@Andy_h&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;To understanding these conventions better, you have to go back to reference manual and demo project. Otherwise it is really easy to get confuse.&lt;/P&gt;
&lt;P&gt;Please refer to Figure-87-1, each ADC input is a channel.&amp;nbsp;&lt;SPAN&gt;GPIO_AD_20 is channel 1A and&amp;nbsp;GPIO_AD_22 is channel 2A.&amp;nbsp;GPIO_AD_21 can combine with&amp;nbsp;GPIO_AD_20 to work in differential mode. And it's same to&amp;nbsp;GPIO_AD_22. So,&amp;nbsp;GPIO_AD_20 and&amp;nbsp;GPIO_AD_22 are two different channel. You can use ADC_ETC to trig these two channel in a chain by one hardware trig. You also can trig them separately by two ext_hwts from ETC.\&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CHAIN group is try to use one ext_hwts event to trig multiple ADC channel. You can trace into the code to check if TRIGa_CHAIN_b_c register is configured correctly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jing&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 03:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1489109#M20582</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-07-14T03:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1489531#M20609</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i've read the reference manual and still have some questions.&lt;/P&gt;&lt;P&gt;I used the adc_etc interrupt example which worked fine. Then i switched to LPADC2 and nothing worked. After a closer view i recognised that the program doesn't even come to the Interrupt routine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed the define corresponding to the XBAR from&amp;nbsp;&lt;/P&gt;&lt;P&gt;kXBARA1_OutputAdcEtc0Coco0&lt;/P&gt;&lt;P&gt;to&amp;nbsp;kXBARA1_OutputAdcEtc1Coco0 as i've seen that these one from coco0-coco3 are for the ADC2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also enabled the Interrupt routines 2 and 3 and implemented them the exact same way as in the Demo, but it still doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do i oversee some important configuration?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 13:50:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1489531#M20609</guid>
      <dc:creator>Andy_h</dc:creator>
      <dc:date>2022-07-14T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1490212#M20632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you change the&amp;nbsp;adcEtcConfig.XBARtriggerMask to 4? Since XBAR1 output is changed to&amp;nbsp;ADC_ETC1_TRIG0, ETC-&amp;gt;CTRL.TRIG_ENABLE should also change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;jing&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 09:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1490212#M20632</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-07-15T09:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1490219#M20634</link>
      <description>&lt;P&gt;Hello Jing,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, i did. But it doesnt work. The interessting thing is that i tried the lpadc polling example and that works..so i must have a wrong configuration with the edc. These are my Parameters:&lt;/P&gt;&lt;P&gt;#define DEMO_ADC_BASE&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LPADC&lt;BR /&gt;#define DEMO_ADC_CHANNEL_GROUP0&amp;nbsp; &amp;nbsp; &amp;nbsp; 1U&lt;BR /&gt;#define DEMO_ADC_CHANNEL_GROUP1&amp;nbsp; &amp;nbsp; &amp;nbsp; 2U&lt;BR /&gt;#define DEMO_ADC_ETC_CHANNEL0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0U&lt;BR /&gt;#define DEMO_ADC_ETC_CHANNEL1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1U&lt;/P&gt;&lt;P&gt;#define DEMO_XBARA_BASE&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XBARA1&lt;BR /&gt;#define DEMO_XBARA_INPUT_PITCH0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;kXBARA1_InputPit1Trigger0&lt;BR /&gt;#define DEMO_XBARA_OUTPUT_ADC_ETC&amp;nbsp; &amp;nbsp;kXBARA1_OutputAdcEtc1Coco0&lt;/P&gt;&lt;P&gt;#define DEMO_PIT_BASE&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PIT1&lt;BR /&gt;#define DEMO_PIT_CLOCK_SOURCE CLOCK_GetRootClockFreq(kCLOCK_Root_Bus)&lt;/P&gt;&lt;P&gt;#define TEST_XBARTriggerMask&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4U&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;else iam just using the normal adc_etc example source code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 09:36:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1490219#M20634</guid>
      <dc:creator>Andy_h</dc:creator>
      <dc:date>2022-07-15T09:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1490402#M20638</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have found a solution. I changed the TriggerMask to 255 so it enables all. The Conversion of the first Value works now. But the second value always stays at 0. If i change the DEMO_ADC_USER_CHANNEL, its the direct opposite. Do i have to change something in the trigger chain?? The configuration of the trigger chain is filled with the same parameters despite the DEMO_ADC_ETC_TRIGGER_GROUP, which is 4 by now due to the switch to ADC2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 14:37:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1490402#M20638</guid>
      <dc:creator>Andy_h</dc:creator>
      <dc:date>2022-07-15T14:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1491702#M20686</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The demo use one trig source to AD converter one ADC channel twice.&lt;/P&gt;
&lt;P&gt;"DEMO_ADC_ETC_TRIGGER_GROUP = 0" means it use ETC.TRIG0_CTRL register to control ADC trig.&amp;nbsp;TRIG0_CTRL.TRIG_CHAIN=1 means it will trig twice. In the ETC TRIG0 group it use&amp;nbsp;ETC_TRIG Chain 0/1 Register(TRIG0_CHAIN_1_0).&lt;/P&gt;
&lt;P&gt;The low halfword is CHAIN0. It generate HWTS[0] in this demo. It point to ADC.TCTRL[0]. The high halfword is CHAIN1 it is used to generate HWTS[1] in this demo. It point to ADC.TCTRL[1]. Both&amp;nbsp; ADC.TCTRL[0] and&amp;nbsp; ADC.TCTRL[1] point to ADC.CMDL[0] and&amp;nbsp;ADC.CMDH[0] pair.&lt;/P&gt;
&lt;P&gt;All signals, such as HWTS and TCMD, send to ADC1 and ADC2 identically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 10:17:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1491702#M20686</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-07-19T10:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1491837#M20693</link>
      <description>&lt;P&gt;these are my defines:&lt;/P&gt;&lt;P&gt;current:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DEMO&lt;/P&gt;&lt;P&gt;#define DEMO_ADC_BASE LPADC2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//LPADC1&lt;BR /&gt;#define DEMO_ADC_USER_CHANNEL 1U&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//0U&lt;BR /&gt;#define DEMO_ADC_USER_CMDID 1U&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //1U&lt;BR /&gt;#define DEMO_ADC_CHANNEL_GROUP0 0U&amp;nbsp; &amp;nbsp; //0U&lt;BR /&gt;#define DEMO_ADC_CHANNEL_GROUP1 1U&amp;nbsp; &amp;nbsp; //1U&lt;/P&gt;&lt;P&gt;#define DEMO_ADC_ETC_BASE ADC_ETC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //ADC_ETC&lt;BR /&gt;#define DEMO_ADC_ETC_CHAIN_LENGTH 1U&amp;nbsp; &amp;nbsp;//1U&lt;BR /&gt;#define DEMO_ADC_ETC_CHANNEL0 0U&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//0U&lt;BR /&gt;#define DEMO_ADC_ETC_CHANNEL1 1U&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//1U&lt;BR /&gt;#define DEMO_ADC_ETC_TRIGGER_GROUP 4U //0U&lt;BR /&gt;#define DEMO_ADC_ETC_DONE0_Handler ADC_ETC_IRQ0_IRQHandler&lt;BR /&gt;#define DEMO_ADC_ETC_DONE1_Handler ADC_ETC_IRQ1_IRQHandler&lt;/P&gt;&lt;P&gt;#define DEMO_XBARA_BASE XBARA1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //XBARA1&lt;BR /&gt;#define DEMO_XBARA_INPUT_PITCH0 kXBARA1_InputPit1Trigger0 //kXBARA_InputPitTrigger0&lt;BR /&gt;#define DEMO_XBARA_OUTPUT_ADC_ETC kXBARA1_OutputAdcEtc1Coco0 //kXBARA1OutputAdcEtc0Coco0&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 13:48:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1491837#M20693</guid>
      <dc:creator>Andy_h</dc:creator>
      <dc:date>2022-07-19T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1491840#M20694</link>
      <description>&lt;P&gt;Hello Jing,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for that information. Please have a look at my parameters. I hope you can tell me why the first Conversion works fine but the second doesn't do anything:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEFINES:&lt;/P&gt;&lt;P&gt;hese are my defines:&lt;/P&gt;&lt;P&gt;current:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DEMO&lt;/P&gt;&lt;P&gt;#define DEMO_ADC_BASE LPADC2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//LPADC1&lt;BR /&gt;#define DEMO_ADC_USER_CHANNEL 1U&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//0U&lt;BR /&gt;#define DEMO_ADC_USER_CMDID 1U&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //1U&lt;BR /&gt;#define DEMO_ADC_CHANNEL_GROUP0 0U&amp;nbsp; &amp;nbsp; //0U&lt;BR /&gt;#define DEMO_ADC_CHANNEL_GROUP1 1U&amp;nbsp; &amp;nbsp; //1U&lt;/P&gt;&lt;P&gt;#define DEMO_ADC_ETC_BASE ADC_ETC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //ADC_ETC&lt;BR /&gt;#define DEMO_ADC_ETC_CHAIN_LENGTH 1U&amp;nbsp; &amp;nbsp;//1U&lt;BR /&gt;#define DEMO_ADC_ETC_CHANNEL0 0U&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//0U&lt;BR /&gt;#define DEMO_ADC_ETC_CHANNEL1 1U&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//1U&lt;BR /&gt;#define DEMO_ADC_ETC_TRIGGER_GROUP 4U //0U&lt;BR /&gt;#define DEMO_ADC_ETC_DONE0_Handler ADC_ETC_IRQ0_IRQHandler&lt;BR /&gt;#define DEMO_ADC_ETC_DONE1_Handler ADC_ETC_IRQ1_IRQHandler&lt;/P&gt;&lt;P&gt;#define DEMO_XBARA_BASE XBARA1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //XBARA1&lt;BR /&gt;#define DEMO_XBARA_INPUT_PITCH0 kXBARA1_InputPit1Trigger0 //kXBARA_InputPitTrigger0&lt;BR /&gt;#define DEMO_XBARA_OUTPUT_ADC_ETC kXBARA1_OutputAdcEtc1Coco0 //kXBARA1OutputAdcEtc0Coco0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The LPADC_Configuration and adc_etc Configuration is exatly the same as in the adc_etc demo...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 13:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1491840#M20694</guid>
      <dc:creator>Andy_h</dc:creator>
      <dc:date>2022-07-19T13:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 ADC_ETC</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1493841#M20758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201722"&gt;@Andy_h&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;DEMO_ADC_ETC_TRIGGER_GROUP should be 4. Please see figure 88-2 in RM.&lt;/P&gt;
&lt;P&gt;And then,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ADC_ETC_ClearInterruptStatusFlags(DEMO_ADC_ETC_BASE, kADC_ETC_Trg4TriggerSource, kADC_ETC_Done0StatusFlagMask);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 07:19:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-ADC-ETC/m-p/1493841#M20758</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-07-22T07:19:11Z</dc:date>
    </item>
  </channel>
</rss>

