<?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>Kinetis MicrocontrollersのトピックRe: TWR-K60N512 - ADC - MQX</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-ADC-MQX/m-p/169118#M1139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked the schematics, and pin 8 from J4 is marked as ADC0_DP0&amp;nbsp;&amp;nbsp; / ADC1_DP3.&lt;/P&gt;&lt;P&gt;Looking in adc_mk60.h, this definition don't exist, but I believed it was ADC1_SOURCE_ADPM3.&lt;/P&gt;&lt;P&gt;So I connect my input there, and my response changed, but not exactly what I was expecting. Before plugging the cable, I had random samples, going from -1 up to 1. Now I have a constant DC voltage very close to 1 for about 7 seconds. But then changes to -1, and keep in there for another 5-7 seconds, then go back to 1...&lt;/P&gt;&lt;P&gt;But the value of the DC is also wrong, don't matter with I supply with 1V or 2.5V, I got the same result.&lt;/P&gt;&lt;P&gt;If you are reading this, and have any tip, please, don't be shy :smileyhappy:&lt;/P&gt;&lt;P&gt;I will update if I have any luck...&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 19:05:51 GMT</pubDate>
    <dc:creator>andreidamiandas</dc:creator>
    <dc:date>2012-11-12T19:05:51Z</dc:date>
    <item>
      <title>TWR-K60N512 - ADC - MQX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-ADC-MQX/m-p/169117#M1138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using the tower TWR-K60N512 and trying to develop using CW 10.2 with MQX 3.8.&lt;/P&gt;&lt;P&gt;My goal is to make the adc conversion with an external signal source. &lt;/P&gt;&lt;P&gt;So considering that it's my first experience with freescale/ARM/CW (I'm a student), I started with the basics:&lt;/P&gt;&lt;P&gt;- Executed the adc_demo, worked fine.&lt;/P&gt;&lt;P&gt;- I configured the output to be in the PE Serial Grapher style, read the output and tested with the potentiometer,everything OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now started my problem...&lt;/P&gt;&lt;P&gt;I wanted to start by supplying a DC voltage, just to test with an external source... but I don't even know where to connect my source.&lt;/P&gt;&lt;P&gt;I thought that I would have a pin to connect external sources, then I saw in the manual that gpio could be used, but what I don't understand is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TWRPI AN0 (J4 Pin 8) ― ADC0_DP0/ADC1_DP3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, I thought that I should change my configuration in adc_demo, so the source would be ADC1_SOURCE_AD3 or ADC1_SOURCE_ADPM3, and then connecting my DC voltage in Pin 8(J4 in my tower is one of gpio sockets).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then I just got crazy results...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how I should proceed?&lt;/P&gt;&lt;P&gt;Do I need to configure one gpio pin and assign to an adc channel or something?&lt;/P&gt;&lt;P&gt;Thank you :smileygrin:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 19:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-ADC-MQX/m-p/169117#M1138</guid>
      <dc:creator>andreidamiandas</dc:creator>
      <dc:date>2012-11-08T19:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60N512 - ADC - MQX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-ADC-MQX/m-p/169118#M1139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked the schematics, and pin 8 from J4 is marked as ADC0_DP0&amp;nbsp;&amp;nbsp; / ADC1_DP3.&lt;/P&gt;&lt;P&gt;Looking in adc_mk60.h, this definition don't exist, but I believed it was ADC1_SOURCE_ADPM3.&lt;/P&gt;&lt;P&gt;So I connect my input there, and my response changed, but not exactly what I was expecting. Before plugging the cable, I had random samples, going from -1 up to 1. Now I have a constant DC voltage very close to 1 for about 7 seconds. But then changes to -1, and keep in there for another 5-7 seconds, then go back to 1...&lt;/P&gt;&lt;P&gt;But the value of the DC is also wrong, don't matter with I supply with 1V or 2.5V, I got the same result.&lt;/P&gt;&lt;P&gt;If you are reading this, and have any tip, please, don't be shy :smileyhappy:&lt;/P&gt;&lt;P&gt;I will update if I have any luck...&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-ADC-MQX/m-p/169118#M1139</guid>
      <dc:creator>andreidamiandas</dc:creator>
      <dc:date>2012-11-12T19:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60N512 - ADC - MQX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-ADC-MQX/m-p/169119#M1140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I finally got it... I checked in the reference manual, K60P144M100SF2RM, and in there I could see the relationship between channels and pins ( crossing the rf manual with the schematics). Pin 12 in J4 is is adc1_dp0, so I changed my code to ADC1_SOURCE_AD0(adc_mk60.h) and now it works. I think I will have to make a better DC voltage to be my vdda, but this topic is closed for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 17:59:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-ADC-MQX/m-p/169119#M1140</guid>
      <dc:creator>andreidamiandas</dc:creator>
      <dc:date>2012-11-13T17:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60N512 - ADC - MQX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-ADC-MQX/m-p/169120#M1141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrei, I'm glad to see you cold solve your issue, keep up the good work and don't hesitate any other question you may have !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 21:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-ADC-MQX/m-p/169120#M1141</guid>
      <dc:creator>apanecatl</dc:creator>
      <dc:date>2012-11-13T21:24:06Z</dc:date>
    </item>
  </channel>
</rss>

