<?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 is not working on ADC_ETC/PWM Sync mode in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ADC-is-not-working-on-ADC-ETC-PWM-Sync-mode/m-p/1321402#M15777</link>
    <description>&lt;P&gt;Hi Kenji,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What is&amp;nbsp;conversion control group?&amp;nbsp;&amp;nbsp;According to the description, specifies which ADC trigger input will be used.&lt;BR /&gt;&lt;/STRONG&gt;Yes, this is correct. The trigger is different depending on the channel groups. I mentioned this in my last reply to the other community thread.&amp;nbsp;&lt;SPAN&gt;The conversion control group specifies which control register for hardware triggers and which result register (ADCx_HCn &amp;amp; ADCx_Rn) will be used for the conversion.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;But according SDKs comment, channel group 0 is for Group A registers and channel group 1 is for Group B. Group A is ADC1 and Group B is ADC2?&lt;BR /&gt;&lt;/STRONG&gt;When we mentioned Group A and Group B in the comment of the SDK was just to put an example that you can have one group in a channel group and a different group in another channel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;And what is trigger group and chain group?&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit;"&gt;The ADC_ETC has one TSC &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;external trigger and 8 external triggers from XBAR. The trigger group corresponds to these external triggers. To see more information regarding this, please refer to section&amp;nbsp;67.2.1 of the reference manual. &lt;BR /&gt;The chain group, one external trigger of ADC_ETC results in multiple sequential triggers, which are named as trigger chain, to ADC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Regarding your example not working properly. I suggest you refer to the SDK project named&amp;nbsp;adc_etc_software_trigger_conv. This way you will see all the configurations that are needed for the ADC_ETC module to work properly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;As additional information, you might find useful the information in the following threads to understand better this module. The bugs that are mentioned in those threads have been fixed in the current version of the Config tools.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987787" target="_blank"&gt;Solved: Are there bugs in ADC_ETC and ADC driver? - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/Understanding-ADC-ADC-ETC/m-p/1015784" target="_blank"&gt;Solved: Understanding ADC + ADC-ETC - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/ADC-ETC-B2B-Mode/m-p/987609" target="_blank"&gt;Solved: ADC_ETC B2B Mode - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Regards,&lt;BR /&gt;Victor&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 01:27:21 GMT</pubDate>
    <dc:creator>victorjimenez</dc:creator>
    <dc:date>2021-08-11T01:27:21Z</dc:date>
    <item>
      <title>ADC is not working on ADC_ETC/PWM Sync mode</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ADC-is-not-working-on-ADC-ETC-PWM-Sync-mode/m-p/1318799#M15671</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;ADC is not working on ADC_ETC/PWM Sync mode.&lt;BR /&gt;&lt;SPAN&gt;As for the situation, wrong value is being read.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ADC_ETC/PWM Sync mode is working and&amp;nbsp;I can control the ADC_ECT timing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my ADC and ADC_ETC settings. Are there any mistakes？&lt;/P&gt;&lt;P&gt;[ADC]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kenji_0-1628148636460.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151928iE260649B4D80740B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kenji_0-1628148636460.png" alt="kenji_0-1628148636460.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="kenji_1-1628148649412.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151929i9FA2AFCD27D75D1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kenji_1-1628148649412.png" alt="kenji_1-1628148649412.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;[ADC_ETC]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kenji_2-1628148695469.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151930iF78F0C2406965F2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kenji_2-1628148695469.png" alt="kenji_2-1628148695469.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="kenji_3-1628148712076.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151931iF86C49D44D433324/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kenji_3-1628148712076.png" alt="kenji_3-1628148712076.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also I tested this code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kenji_0-1628158155473.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/151954iB79A7DAD1D6F0881/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kenji_0-1628158155473.png" alt="kenji_0-1628158155473.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I found that ADC is working, but even though it is 12bit AD, it cannot convert more than 2047.&lt;BR /&gt;Also channel group need to set to all 0.&amp;nbsp;It does not work when the group set with the Config tool is selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me some advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 04:37:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ADC-is-not-working-on-ADC-ETC-PWM-Sync-mode/m-p/1318799#M15671</guid>
      <dc:creator>kenji</dc:creator>
      <dc:date>2021-08-06T04:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: ADC is not working on ADC_ETC/PWM Sync mode</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ADC-is-not-working-on-ADC-ETC-PWM-Sync-mode/m-p/1319090#M15684</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/126273"&gt;@victorjimenez&lt;/a&gt;&amp;nbsp;-san&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-message-author-avatar lia-component-author-avatar lia-component-message-view-widget-author-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-author-with-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I have A problem, as written above.&lt;/P&gt;&lt;P&gt;I have received your answer &lt;A href="https://community.nxp.com/t5/i-MX-Processors/i-MX-RT1062-What-is-channel-group-on-ADC/m-p/1309219#M177077" target="_self"&gt;before&lt;/A&gt;, but I will ask you the same thing again.&lt;BR /&gt;&lt;SPAN&gt;What is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;conversion control group?&amp;nbsp;&amp;nbsp;According to the description, specifies which ADC trigger input will be used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kenji_0-1628169955198.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152006iE1B3CCD0C7B150F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kenji_0-1628169955198.png" alt="kenji_0-1628169955198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But a&lt;SPAN&gt;ccording SDKs comment,&amp;nbsp;channel group 0 is for Group A registers and channel group 1 is for Group B. Group A is ADC1 and Group B is ADC2?&lt;/SPAN&gt;&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="kenji_1-1628170176422.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152007iDAE6DC61F20C4D88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kenji_1-1628170176422.png" alt="kenji_1-1628170176422.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which comment is correct?&lt;/P&gt;&lt;P&gt;And what is trigger group and chain group?&lt;BR /&gt;What is the relationship with conversion control group.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kenji_0-1628224505512.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152082i008BF5A085D702EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kenji_0-1628224505512.png" alt="kenji_0-1628224505512.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kenji_1-1628224530750.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152083i379D95A84B5BE91E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kenji_1-1628224530750.png" alt="kenji_1-1628224530750.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 04:36:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ADC-is-not-working-on-ADC-ETC-PWM-Sync-mode/m-p/1319090#M15684</guid>
      <dc:creator>kenji</dc:creator>
      <dc:date>2021-08-06T04:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: ADC is not working on ADC_ETC/PWM Sync mode</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ADC-is-not-working-on-ADC-ETC-PWM-Sync-mode/m-p/1321402#M15777</link>
      <description>&lt;P&gt;Hi Kenji,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What is&amp;nbsp;conversion control group?&amp;nbsp;&amp;nbsp;According to the description, specifies which ADC trigger input will be used.&lt;BR /&gt;&lt;/STRONG&gt;Yes, this is correct. The trigger is different depending on the channel groups. I mentioned this in my last reply to the other community thread.&amp;nbsp;&lt;SPAN&gt;The conversion control group specifies which control register for hardware triggers and which result register (ADCx_HCn &amp;amp; ADCx_Rn) will be used for the conversion.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;But according SDKs comment, channel group 0 is for Group A registers and channel group 1 is for Group B. Group A is ADC1 and Group B is ADC2?&lt;BR /&gt;&lt;/STRONG&gt;When we mentioned Group A and Group B in the comment of the SDK was just to put an example that you can have one group in a channel group and a different group in another channel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;And what is trigger group and chain group?&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit;"&gt;The ADC_ETC has one TSC &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;external trigger and 8 external triggers from XBAR. The trigger group corresponds to these external triggers. To see more information regarding this, please refer to section&amp;nbsp;67.2.1 of the reference manual. &lt;BR /&gt;The chain group, one external trigger of ADC_ETC results in multiple sequential triggers, which are named as trigger chain, to ADC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Regarding your example not working properly. I suggest you refer to the SDK project named&amp;nbsp;adc_etc_software_trigger_conv. This way you will see all the configurations that are needed for the ADC_ETC module to work properly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;As additional information, you might find useful the information in the following threads to understand better this module. The bugs that are mentioned in those threads have been fixed in the current version of the Config tools.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987787" target="_blank"&gt;Solved: Are there bugs in ADC_ETC and ADC driver? - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/Understanding-ADC-ADC-ETC/m-p/1015784" target="_blank"&gt;Solved: Understanding ADC + ADC-ETC - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/ADC-ETC-B2B-Mode/m-p/987609" target="_blank"&gt;Solved: ADC_ETC B2B Mode - NXP Community&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Regards,&lt;BR /&gt;Victor&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 01:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ADC-is-not-working-on-ADC-ETC-PWM-Sync-mode/m-p/1321402#M15777</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2021-08-11T01:27:21Z</dc:date>
    </item>
  </channel>
</rss>

