<?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 how to use three adc in MK60F120 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-use-three-adc-in-MK60F120/m-p/356332#M17775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;now ,i have developed a board based on MK 60F120, in my board,i want to use ADC1,ADC2 and ADC3, total is 6 channel ADCs with PDB trigle it . when i configure only one ADC with two channels,they work well, but when i configured all the six channel ,only the two channels based on ADC1 is working well,the other four channels can work no more than 100 circles. when system reset,i can read data some times,the read function&amp;nbsp; returned with 0. i can not get any data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 07:39:39 GMT</pubDate>
    <dc:creator>qinchenghu</dc:creator>
    <dc:date>2014-11-20T07:39:39Z</dc:date>
    <item>
      <title>how to use three adc in MK60F120</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-use-three-adc-in-MK60F120/m-p/356332#M17775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;now ,i have developed a board based on MK 60F120, in my board,i want to use ADC1,ADC2 and ADC3, total is 6 channel ADCs with PDB trigle it . when i configure only one ADC with two channels,they work well, but when i configured all the six channel ,only the two channels based on ADC1 is working well,the other four channels can work no more than 100 circles. when system reset,i can read data some times,the read function&amp;nbsp; returned with 0. i can not get any data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 07:39:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-use-three-adc-in-MK60F120/m-p/356332#M17775</guid>
      <dc:creator>qinchenghu</dc:creator>
      <dc:date>2014-11-20T07:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to use three adc in MK60F120</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-use-three-adc-in-MK60F120/m-p/356333#M17776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the reason for this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 07:42:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-use-three-adc-in-MK60F120/m-p/356333#M17776</guid>
      <dc:creator>qinchenghu</dc:creator>
      <dc:date>2014-11-20T07:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to use three adc in MK60F120</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-use-three-adc-in-MK60F120/m-p/356334#M17777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi qin chenghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the below threads:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/95198"&gt;How to add channels in mqx adc example?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/311868"&gt;Re: A/D Driver Unable to Open Channel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt; Sol &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 00:34:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-use-three-adc-in-MK60F120/m-p/356334#M17777</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2014-11-25T00:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to use three adc in MK60F120</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-use-three-adc-in-MK60F120/m-p/356335#M17778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks soledad,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; now ,the there adcs with six channel is working,but some of the adc results is lost,&lt;/P&gt;&lt;P&gt;in my project the adc period is 625us, with a 20ms PIT interrupt ISR,i read the ADC result,most of time, the read return is 32 results,but some times,the read return is 31 results,that is to say ,on result is lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my configuration is show below:&lt;/P&gt;&lt;P&gt;const ADC_INIT_CHANNEL_STRUCT adc3ch1_channel_param = &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC3_SOURCE_AD17, /* physical ADC channel */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_CHANNEL_MEASURE_LOOP | ADC_CHANNEL_START_TRIGGERED, /* runs continuously after IOCTL trigger */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* number of samples in one run sequence */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&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; /* time offset from trigger point in us */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 625,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* period in us (= 625us ) */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10000,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* scale range of result (not used now) */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_BUFFER_SIZE,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* circular buffer size (sample count) */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MY_TRIGGER,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* logical trigger ID that starts this ADC channel */&lt;/P&gt;&lt;P&gt;#if MQX_USE_LWEVENTS&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;evn,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* mask of event to be set */&lt;/P&gt;&lt;P&gt;&amp;nbsp; NULL&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const ADC_INIT_CHANNEL_STRUCT adc3ch1_channel_param = &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC3_SOURCE_AD16, /* physical ADC channel */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_CHANNEL_MEASURE_LOOP | ADC_CHANNEL_START_TRIGGERED, /* runs continuously after IOCTL trigger */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* number of samples in one run sequence */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 300,&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; /* time offset from trigger point in us */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 625,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* period in us (= 625us ) */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10000,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* scale range of result (not used now) */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_BUFFER_SIZE,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* circular buffer size (sample count) */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MY_TRIGGER,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* logical trigger ID that starts this ADC channel */&lt;/P&gt;&lt;P&gt;#if MQX_USE_LWEVENTS&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;evn,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* mask of event to be set */&lt;/P&gt;&lt;P&gt;&amp;nbsp; NULL&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 06:10:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-use-three-adc-in-MK60F120/m-p/356335#M17778</guid>
      <dc:creator>qinchenghu</dc:creator>
      <dc:date>2014-11-25T06:10:54Z</dc:date>
    </item>
  </channel>
</rss>

