<?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: Switching between channels on an ADC in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976816#M55366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Evan&lt;/P&gt;&lt;P&gt;I'm working on your question, as soon as I have useful information I'll let you know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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&gt;&lt;/P&gt;&lt;P&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>Wed, 05 Feb 2020 23:00:26 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2020-02-05T23:00:26Z</dc:date>
    <item>
      <title>Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976815#M55365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sampling data on channels ADC0_SE4A and ADC0_SE0 and I am able to sample on the channels independently everything works great, but when I sample one channel and then another the second channel always returns incorrect values, usually 65XXX or something like 4.&amp;nbsp; I thought that I had read somewhere that this is caused by an issue with switching between channels, so the fix was to sample only the same channel type.&amp;nbsp; I want to make sure this is the case before I do a board respin.&amp;nbsp; The microcontroller I am using is:&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;MKL17Z64VDA4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 16:31:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976815#M55365</guid>
      <dc:creator>umlengineer</dc:creator>
      <dc:date>2020-02-03T16:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976816#M55366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Evan&lt;/P&gt;&lt;P&gt;I'm working on your question, as soon as I have useful information I'll let you know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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&gt;&lt;/P&gt;&lt;P&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>Wed, 05 Feb 2020 23:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976816#M55366</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-02-05T23:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976817#M55367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help.&amp;nbsp; Is this related to muxing the ADCs at all?&amp;nbsp; I know you have to select A or B, but I am unsure on an unlabeled one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 17:28:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976817#M55367</guid>
      <dc:creator>umlengineer</dc:creator>
      <dc:date>2020-02-06T17:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976818#M55368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Evan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The muxing of ADC channels have to be done by the user,&amp;nbsp; so maybe you are facing a problem with your channel muxing technique, without taking a look at it to me is difficult to tell where the error is.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your statement on channels of set A and B is correct, there is a bit called MUXSEL from&amp;nbsp; ADCx_CFG2 register. that allows selecting between alternate sets of ADC channels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the unlabeled channels, I´ll refer to&amp;nbsp;&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="225103" data-username="marek_neuzil" href="https://community.nxp.com/people/marek_neuzil"&gt;Marek Neuzil's&lt;/A&gt;&amp;nbsp;answer in the thread&amp;nbsp;&lt;/P&gt;&lt;P lang="es-MX"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/380707"&gt;kl25z ADC muxing problem&lt;/A&gt;. You must select unlabeled channels with one set&amp;nbsp;(set A or set B).&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 15px;"&gt;For example, select:&lt;/P&gt;&lt;UL style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 15px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: 15px; margin: 0.5ex 0px;"&gt;ADC0_SE0&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: 15px; margin: 0.5ex 0px;"&gt;ADC0_SE4a&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: 15px; margin: 0.5ex 0px;"&gt;ADC0_SE7a&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: 15px; margin: 0.5ex 0px;"&gt;ADC0_SE6a&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 15px;"&gt;or&amp;nbsp;&lt;/P&gt;&lt;UL style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 15px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: 15px; margin: 0.5ex 0px;"&gt;ADC0_SE0&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: 15px; margin: 0.5ex 0px;"&gt;ADC0_SE4b&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: 15px; margin: 0.5ex 0px;"&gt;ADC0_SE7b&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; font-size: 15px; margin: 0.5ex 0px;"&gt;ADC0_SE6b&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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&gt;&lt;/P&gt;&lt;P&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>Thu, 06 Feb 2020 22:10:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976818#M55368</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-02-06T22:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976819#M55369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think I have the muxing set, and I am still seeing the issue.&amp;nbsp; I am sure I am missing something, I am jsut not sure what.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help, and please see below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation says that setting it to 0 selects A:&lt;/P&gt;&lt;P&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/102147iDEA270FFD0DF138C/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;And when I look at the MuxSel register value I see that it is 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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/102148i2CA00AB5F7375CC4/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;/P&gt;&lt;P&gt;My ADC init code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uint8_t InitializeADC(spi_transfer_t *xfer)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;adc16_config_t adc16ConfigStruct;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ADC16_GetDefaultConfig(&amp;amp;adc16ConfigStruct);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#ifdef BOARD_ADC_USE_ALT_VREF&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;adc16ConfigStruct.referenceVoltageSource = kADC16_ReferenceVoltageSourceValt;&lt;BR /&gt;#endif&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ADC16_Init(ADC16_BASE, &amp;amp;adc16ConfigStruct);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ADC16_EnableHardwareTrigger(ADC16_BASE, false); // Make sure the software trigger is used.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;#if defined(FSL_FEATURE_ADC16_HAS_CALIBRATION) &amp;amp;&amp;amp; FSL_FEATURE_ADC16_HAS_CALIBRATION&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (kStatus_Success != ADC16_DoAutoCalibration(ADC16_BASE))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return ADC_AUTO_CAL_FAILURE;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;#endif /* FSL_FEATURE_ADC16_HAS_CALIBRATION */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ADC16_SetChannelMuxMode(ADC16_BASE, kADC16_ChannelMuxA);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my ADC read code is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helpful Defines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define ADC16_BASE ADC0&lt;BR /&gt;#define ADC16_CHANNEL_GROUP 0U&lt;BR /&gt;#define ADC16_CHANNEL_TOP 4U&lt;BR /&gt;#define ADC16_CHANNEL_BOTTOM 0U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Channel 4a:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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; adc16ChannelConfigStruct.channelNumber = ADC16_CHANNEL_TOP;&lt;BR /&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;ADC16_SetChannelConfig(ADC16_BASE, ADC16_CHANNEL_GROUP, &amp;amp;adc16ChannelConfigStruct);&lt;BR /&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;while (0U == (kADC16_ChannelConversionDoneFlag &amp;amp; ADC16_GetChannelStatusFlags(ADC16_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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ADC16_CHANNEL_GROUP)))&lt;BR /&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;{}&lt;BR /&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;counts = ADC16_GetChannelConversionValue(ADC16_BASE, ADC16_CHANNEL_GROUP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Channel 0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; adc16ChannelConfigStruct.channelNumber = ADC16_CHANNEL_BOTTOM;&lt;BR /&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;ADC16_SetChannelConfig(ADC16_BASE, ADC16_CHANNEL_GROUP, &amp;amp;adc16ChannelConfigStruct);&lt;BR /&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;while (0U == (kADC16_ChannelConversionDoneFlag &amp;amp; ADC16_GetChannelStatusFlags(ADC16_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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ADC16_CHANNEL_GROUP)))&lt;BR /&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;{}&lt;BR /&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;counts = ADC16_GetChannelConversionValue(ADC16_BASE, ADC16_CHANNEL_GROUP);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 17:11:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976819#M55369</guid>
      <dc:creator>umlengineer</dc:creator>
      <dc:date>2020-02-07T17:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976820#M55370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Evan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After taking a look at your code, even though&amp;nbsp; I don´t know the order of your procedures, I could not find something wrong with your configuration parameters. Thanks for showing me your code and the MUXSEL selection bit also I´ve noticed that you even used the function&amp;nbsp;ADC16_SetChannelMuxMode().&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a test by my side and I was able to sample successfully with both channels ADC_SE0 and ADC_SE4B.&lt;/P&gt;&lt;P&gt;I´ll contact you by email to provide you my main application code for your personal test in order to help you further.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&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 23:51:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976820#M55370</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-02-07T23:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976821#M55371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See appendix D of the following for a discussion of ADC muxing details that sometimes catch people out&amp;gt;&lt;BR /&gt;&lt;A href="https://www.utasker.com/docs/uTasker/uTaskerADC.pdf" target="test_blank"&gt;https://www.utasker.com/docs/uTasker/uTaskerADC.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;BR /&gt;&lt;EM&gt;[uTasker project developer for Kinetis and i.MX RT]&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2020 00:21:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976821#M55371</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-02-08T00:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976822#M55372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have received the code, and will read it and run it Monday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the code and the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 02:30:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976822#M55372</guid>
      <dc:creator>umlengineer</dc:creator>
      <dc:date>2020-02-10T02:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976823#M55373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this, I will take a peak tomorrow, 22 pages is not a lot, but it can be at 930pm on a Sunday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the document!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 02:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976823#M55373</guid>
      <dc:creator>umlengineer</dc:creator>
      <dc:date>2020-02-10T02:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976824#M55374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Evan&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, after that please let us know your results!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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&gt;&lt;/P&gt;&lt;P&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>Mon, 10 Feb 2020 20:11:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976824#M55374</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-02-10T20:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976825#M55375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I found the issues.&amp;nbsp; My guess is multiplexing was part of the issue, but the main thing I found, was that I had incorrectly scoped the ADC_config variable.&amp;nbsp; I made an init function that I called at the top, but the ADC_config was scoped to the function.&amp;nbsp; In someways its interesting it worked at all.&amp;nbsp; Once I correctly scoped the variable, put in the muxing code and explicitly set some channel settings to be sure, it looked like everything was working.&amp;nbsp; I will have to stress it a bit but it looks good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to you and Mark for your time, it was super helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 00:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976825#M55375</guid>
      <dc:creator>umlengineer</dc:creator>
      <dc:date>2020-02-11T00:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between channels on an ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976826#M55376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/umlengineer"&gt;umlengineer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m glad that you found out about the issue.&amp;nbsp; It's a&amp;nbsp; pleasure to help. Now I suggest you to marc the question as assumed if you don't have further issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards Diego.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 21:20:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Switching-between-channels-on-an-ADC/m-p/976826#M55376</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-02-11T21:20:08Z</dc:date>
    </item>
  </channel>
</rss>

