<?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>MCUXpresso Config ToolsのトピックRe: Are there bugs in ADC_ETC and ADC driver?</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987793#M840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;you're right, thanks for your reporting.&lt;/P&gt;&lt;P&gt;I found this in chapter TSC for better understanding of the HWTS coding:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102223i0E4C494539FDA811/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102347i0BAC799466DEBF0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;HWTS signal&amp;nbsp;is more clear:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;TSC HWTS[4:0] connects to the ADC HWTS[4:0]. The integration change will lead&lt;BR /&gt;change in driver implementation. On ADC side, HWTS = 1 &amp;lt;&amp;lt; &lt;STRONG&gt;x&lt;/STRONG&gt; indicates the x logic&lt;BR /&gt;channel is selected to start hardware ADC conversion. Configure ADC_HC&lt;STRONG&gt;x&lt;/STRONG&gt; to&lt;BR /&gt;configure &lt;STRONG&gt;x&lt;/STRONG&gt; logic channel and conversion will store in ADC_R&lt;STRONG&gt;x&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic channel of ADC means the appropriate tuple&amp;nbsp;&lt;SPAN&gt;ADC_HC&lt;/SPAN&gt;&lt;STRONG&gt;x &lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="font-weight: 400;"&gt;ADC_R&lt;/SPAN&gt;&lt;STRONG&gt;x.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can helps you also.&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2020 13:10:30 GMT</pubDate>
    <dc:creator>jch</dc:creator>
    <dc:date>2020-02-07T13:10:30Z</dc:date>
    <item>
      <title>Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987787#M834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I found some points where I think that the MCUXpresso Config Tools v7 and the RT1020 Reference Manual are inconsistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADC_ETC SW and HW Trigger Mode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;the reference manual of RT1020 states in the ADC-ETC Features list (61.2.2 in my version of the manual) that every trigger source can be configured as HW or SW trigger mode.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102114i6B6F7A42C0407F95/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Additionally every TRIGx_CTRL register has the field TRIG_MODE which specifies HW or SW trigger mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In MCUXpresso Config Tools v7 &amp;gt; peripheral tool the help text states that only Trigger 0 can be used as software trigger&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102032i205CEC43F71804F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I select the Software trigger mode and then switch the Trigger source to XBAR0_Trig,1 the checkbox will be greyed out and I can not change the Software trigger mode but it will keep the setting for it (from the selection before switching to XBAR0_Trig,1). The setting will also be set in the generated source code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102075i1236377FCDD8C1B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the reference manual correct and every Trigger source can be used as Software Trigger or is the setting in MCUXpresso Config Tools correct and only XBAR0_TRIG 0 can be used as Software Trigger?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the incorrect information comes from the ADC peripheral where only the ADCx_HC0 register can be used as Software Trigger.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102207i7617442E5AD06B82/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADC_ETC and ADC peripheral Conversion control group&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It is possible to select Group 0 to Group 15 in the ADC peripheral driver but the RT1020 only has 8 registers per ADC.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102033i7006B089698346AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I select the ADC1 peripheral driver and a Conversion control group 15 the generated code includes the line&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ADC_SetChannelConfig(ADC1_PERIPHERAL, 15U, &amp;amp;ADC1_channels_config[0]);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and this method tests the second parameter with&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;assert(channelGroup &amp;lt; FSL_FEATURE_ADC_CONVERSION_CONTROL_COUNT);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;where the macro is defined as&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define FSL_FEATURE_ADC_CONVERSION_CONTROL_COUNT (8)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the ADC_ETC peripheral I'm not sure how the value from HWTSx gets translated to the ADC registers. This overview&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102076i938272A0245D073C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;looks like every trigger input (trg0 to trg7) can be used for either ADC1 or ADC2 because of the Arbiter - Is that true? To which ADC does the TRIG0_CHAIN_1_0 register belong? And to which ADCx_HCn register does a HWTS0 value of 15 belong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the peripherals tool i can choose these trigger sources&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102388i6645AC3B5ABE06E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;which does not show which trigger is used for which ADC. This table in the reference manual for RT1020&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102427i5462CB7314634280/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;shows that all ADC_ETC Trigger inputs are connected to the XBAR1 peripheral. Why are they named XBAR0 and XBAR1 in MCUXpresso Config Tools?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;The RT1010 and RT1020 do not have a Touch Screen Controller so I think it would be better understandable if this part&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103198i2F974120FF11968B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;of the ADC_ETC driver will be greyed out or removed for the RT1010 and RT1020 devices and the default values set in code to&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;.enableTSCBypass = false,&lt;BR /&gt;.enableTSC0Trigger = false,&lt;BR /&gt;.enableTSC1Trigger = false,&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;Copy from another post as info for MCUXpresso Config Tools Development Team:&lt;/P&gt;&lt;P&gt;The boxes "Desired initial delay" and "Desired interval delay"&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/102042iF34B1E1E1BB89829/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;have to be set to at least 1 tick. The reference manual entry to ETC_TRIG0 Counter Register does not mention that the counter has to be set at least to 1 tick.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102043iD93DDB9BC6876391/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;A _jive_internal="true" href="https://community.nxp.com/message/1265166?commentID=1265166#comment-1265166"&gt;question got answered&lt;/A&gt; and it is allowed to be 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional info: The text "Real interval delay" is used for the "Desired initial delay" settings and I think it should be "Real initial delay".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have posted several other questions about the ADC and ADC_ETC on the IMXRT forum but no answers yet - depending on the answer to Question 5 of&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/523907"&gt;this post&lt;/A&gt; it is possible that there is something wrong with the warning generation of the ADC peripheral driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 16:30:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987787#M834</guid>
      <dc:creator>imxrtuser</dc:creator>
      <dc:date>2020-02-05T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987788#M835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="354250" data-username="stefan.mitterhauser@lst.at" href="https://community.nxp.com/people/stefan.mitterhauser@lst.at"&gt;Stefan Mitterhauser&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1) Is the reference manual correct and every Trigger source can be used as Software Trigger or is the setting in MCUXpresso Config Tools correct and only XBAR0_TRIG 0 can be used as Software Trigger?&lt;BR /&gt;-- In general, the reference manual is more reliable than the MCUXpresso Config Tools.&lt;BR /&gt;-- Please check the below figure.&lt;BR /&gt;2) According to RM, every four external trigger inputs are assigned to each ADC, however, ADC1 and ADC2 are controlled by the same trigger source after enabling Sync Mode.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 06:19:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987788#M835</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-02-07T06:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987789#M836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;1) You're right about SW trigger it can be selected on all 8 triggers.&lt;BR /&gt; 2) About ADC conversion control group max number - I don't know whether the feature was available when the component was created, but you are right, the limit should be taken from it.&lt;BR /&gt; 3) About interconnection of the ADC_ETC:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102140iDF6A57C6FBC266E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the scheme above you can see how I understand it: there are two ADC interface (ADC_INTF0 and ADC_INTF1) which divide whole ADC_ETC into two parts (red and green rectangle).&lt;/P&gt;&lt;P&gt;So e.g.:&amp;nbsp;&lt;SPAN&gt;ADC_INTF0: communicates with ADC1 and its input XBAR triggers are trg0,&amp;nbsp;&amp;nbsp;trg1,&amp;nbsp;trg2,&amp;nbsp;&amp;nbsp;trg3 only.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&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;ADC_INTF1: communicates with ADC2 and its input XBAR triggers are trg4,&amp;nbsp;&amp;nbsp;trg5,&amp;nbsp;trg6,&amp;nbsp;&amp;nbsp;trg7 only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Exception is SYNC mode that&amp;nbsp;I colored&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the scheme at the bottom part in this case trg0 also triggers&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;queue 4, trg1- queue 5, trg2 - queue 6 and trg3 queue 7.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4) Arbiter is there to manage the priority of the triggers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5)&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;TRIG0_CHAIN_1_0 register&amp;nbsp;is connected to the ADC1 only and means that the source is trg0 and this register has two first queue (chain) items 0 and 1 settings (from 1_0 in register name).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6) Maximum index of&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ADCx_HCn register is 7&amp;nbsp;in e.g. RT1050 and so as well HWTS0 = 7 is the maximum value.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 09:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987789#M836</guid>
      <dc:creator>jch</dc:creator>
      <dc:date>2020-02-07T09:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987790#M837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it is too long I have to continue here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;7) Relation of the ADC_ETC signals and XBAR signals in RM:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102210i2B41BA4A9F4189AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;In the ADC ETC as I said before are two parts ADC_INTF0 and 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;They have XBAR inputs as triggers. The name of the signal visible in the Pinks tool and also in the ADC_ETC component selection "Trigger source" e.g. XBAR0_TRIG, 3 can be decoded: as XBAR - trigger from XBAR (not from e.g. TSC) 0 - relates to INTF0, TRIG,&amp;nbsp;3 - trg3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;And this is in the XBAR1 Output Assignments table above = ADC_ETC_TRIG03 (0 and 3 are tuples as we as e.g. 12 is 1 and 2 not twelve) - means 0 - INTF0&amp;nbsp; and 3 trg3.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 09:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987790#M837</guid>
      <dc:creator>jch</dc:creator>
      <dc:date>2020-02-07T09:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987791#M838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;8) For the TSC - it can be nice improvement, but when the component was created, there was only RT1050 with TSC.&lt;/P&gt;&lt;P&gt;9)&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;OK, "Desired initial delay"&amp;nbsp;value can be 0.&lt;/SPAN&gt;&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;But for the Interval it doesn't make sense to start next conversion in chain without delay, it can only abort previous undone conversion or leads into the error interrupt.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&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;10) The other settings when in ADC is selected channel DRIVEN_BY_ADC_ETC has no meaning but should be there specified for the driver of ADC, so let it be. default. ADC peripheral is older and the ADC_ETC is somehow added here to drive it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&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;I will prepare hot fix of the components ADC_ETC and ADC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;By the way when we creating the component we have to use preliminary manuals and communicate with the HW designer to find how it works, so we have better knowledge base than RM can show, but sometimes the bugs can be in component also.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&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;Hope this help&lt;/SPAN&gt;&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;Jiri&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 09:31:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987791#M838</guid>
      <dc:creator>jch</dc:creator>
      <dc:date>2020-02-07T09:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987792#M839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeremy and Jiri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for explaining everything It's a lot clearer for me now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After trying to recreate the adc_etc_software_trigger_conv project with MCUXpresso Config tools I think I found two more bugs for the ADC_ETC driver in peripherals tool:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you add one chain element to the XBAR triggers configuration&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102257iE7CB27C2503646CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;BR /&gt;.triggerChainLength gets set to one - but it has to be zero. In the fsl_adc_etc.h file I found:&lt;BR /&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;typedef struct _adc_etc_trigger_config&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t triggerChainLength;&amp;nbsp; /* TRIG chain length to the ADC. 0: Trig length is 1. ... 7: Trig length is 8. */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ...&lt;BR /&gt;} adc_etc_trigger_config_t;&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;LI&gt;Additionally for Conversion control group "Group 0" the variable .ADCHCRegisterSelect&amp;nbsp; gets set to 0&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102344iC8997B064845FF55/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;BR /&gt;but it should be 1 according to the fsl_adc_etc.h driver:&lt;BR /&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;typedef struct _adc_etc_trigger_chain_config&lt;BR /&gt;{&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t ADCHCRegisterSelect; /* Select relevant ADC_HCx register to trigger. 1U : HC0, 2U: HC1, 4U: HC2 ... */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;BR /&gt;} adc_etc_trigger_chain_config_t;&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I think it would be a good idea to mention the correct values for the HWTS register in the reference manual (RT1020)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102429i3CBA1C088BB0EDB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;instead of referencing the ADC chapter. I can't find a place in the ADC chapter where it is described that a value of HWTS = 1 will select the ADCx_HC0 register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 10:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987792#M839</guid>
      <dc:creator>imxrtuser</dc:creator>
      <dc:date>2020-02-07T10:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987793#M840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;you're right, thanks for your reporting.&lt;/P&gt;&lt;P&gt;I found this in chapter TSC for better understanding of the HWTS coding:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102223i0E4C494539FDA811/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102347i0BAC799466DEBF0A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;HWTS signal&amp;nbsp;is more clear:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;TSC HWTS[4:0] connects to the ADC HWTS[4:0]. The integration change will lead&lt;BR /&gt;change in driver implementation. On ADC side, HWTS = 1 &amp;lt;&amp;lt; &lt;STRONG&gt;x&lt;/STRONG&gt; indicates the x logic&lt;BR /&gt;channel is selected to start hardware ADC conversion. Configure ADC_HC&lt;STRONG&gt;x&lt;/STRONG&gt; to&lt;BR /&gt;configure &lt;STRONG&gt;x&lt;/STRONG&gt; logic channel and conversion will store in ADC_R&lt;STRONG&gt;x&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic channel of ADC means the appropriate tuple&amp;nbsp;&lt;SPAN&gt;ADC_HC&lt;/SPAN&gt;&lt;STRONG&gt;x &lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="font-weight: 400;"&gt;ADC_R&lt;/SPAN&gt;&lt;STRONG&gt;x.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can helps you also.&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 13:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987793#M840</guid>
      <dc:creator>jch</dc:creator>
      <dc:date>2020-02-07T13:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987794#M841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you again Jiri,&lt;/P&gt;&lt;P&gt;yes this information helps. To be honest I did not think about looking in the Reference Manual for the RT1050 as I am currently working with the RT1020.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For other users it might be a good idea to include this information in the Reference Manuals for RT1010 and RT1020 processors too. Maybe you can suggest it to the responsible department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 13:22:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987794#M841</guid>
      <dc:creator>imxrtuser</dc:creator>
      <dc:date>2020-02-07T13:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987795#M842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;attached is the corrected hotfix patch for both ADC_ETC and ADC_12B1MSPS_SAR, please read instructions in the readme.txt inside the zip file.&lt;/P&gt;&lt;P&gt;Data was exported from the RT1021.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 19:56:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987795#M842</guid>
      <dc:creator>jch</dc:creator>
      <dc:date>2020-02-07T19:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Are there bugs in ADC_ETC and ADC driver?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987796#M843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 08:08:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Are-there-bugs-in-ADC-ETC-and-ADC-driver/m-p/987796#M843</guid>
      <dc:creator>imxrtuser</dc:creator>
      <dc:date>2020-02-10T08:08:55Z</dc:date>
    </item>
  </channel>
</rss>

