<?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 FRDM-KL43Z- ADC not receiving any input in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442101#M25939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to run the sample project in the SDK that utilize the DAC and ADC but whenever I read the value on the output of the ADC the values are always constant even if I try to change the ADC input values using the DAC's output.&amp;nbsp; The ADC would always return 3.3V even if I set the DAC's voltage so 1V. This seems to hint that the ADC isn't receiving it's input from the DAC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed that the FRDM-KL43Z was listed as a board that needs external sine wave connected either because of lack of the DAC hardware feature support or lack of the SoC/Board signal connection support.&amp;nbsp; However when I look at the board schematic it seems the DAC is indeed connected to the ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample project lists the FRDM-KL43Z as a supported board and it mentions that it uses internal connections to connect the DAC out to the ADC in. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also suggestions to jump GPIO pins in some of the sample projects to get the ADC to function however, I'm not sure if I need to jump certain GPIO pins for the ADC to function properly on the FRDM-KL43Z or if it's a software issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 15:31:56 GMT</pubDate>
    <dc:creator>keihitomi</dc:creator>
    <dc:date>2015-06-09T15:31:56Z</dc:date>
    <item>
      <title>FRDM-KL43Z- ADC not receiving any input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442101#M25939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to run the sample project in the SDK that utilize the DAC and ADC but whenever I read the value on the output of the ADC the values are always constant even if I try to change the ADC input values using the DAC's output.&amp;nbsp; The ADC would always return 3.3V even if I set the DAC's voltage so 1V. This seems to hint that the ADC isn't receiving it's input from the DAC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed that the FRDM-KL43Z was listed as a board that needs external sine wave connected either because of lack of the DAC hardware feature support or lack of the SoC/Board signal connection support.&amp;nbsp; However when I look at the board schematic it seems the DAC is indeed connected to the ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample project lists the FRDM-KL43Z as a supported board and it mentions that it uses internal connections to connect the DAC out to the ADC in. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also suggestions to jump GPIO pins in some of the sample projects to get the ADC to function however, I'm not sure if I need to jump certain GPIO pins for the ADC to function properly on the FRDM-KL43Z or if it's a software issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 15:31:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442101#M25939</guid>
      <dc:creator>keihitomi</dc:creator>
      <dc:date>2015-06-09T15:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL43Z- ADC not receiving any input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442102#M25940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve tried this example using the FRDM-KL43Z board, and I didn’t have an issue with it, see the terminal screenshot below.&amp;nbsp; I loaded the KSDK example \KSDK_1.2.0\examples\frdmkl43z\demo_apps\dac_adc_demo\iar, and did not need to make any changes to the board for the example to work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Terminal output.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37690iF6A5DFE42FF7AA69/image-size/large?v=v2&amp;amp;px=999" role="button" title="Terminal output.jpg" alt="Terminal output.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document “Kinetis SDK v.1.2.0 Demo Applications User's Guide.pdf” covers the Hardware settings for the “DAC ADC Demo” in section 7.4.2.&amp;nbsp; This section says “This table shows the connections that are required for each of the supported platforms. Not mentioned platforms use the internal connection.”&amp;nbsp; The FRDM-KL43Z is not mentioned, and it is using internal connection for the demo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example firmware sets the ADC channel to convert to BOARD_DAC_DEMO_ADC_CHANNEL, which is defined in the board.h file for that board.&amp;nbsp; For the FRDM-KL43Z board, this is defined as channel 23 in \KSDK_1.2.0\examples\frdmkl43z\board.h.&amp;nbsp; From the KL43 reference manual, the channel assignment table below shows channel 23 will read DAC0 output and ADC0_SE23 for external signal.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ADC Channel Table.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37703i7364C44ABA26E054/image-size/large?v=v2&amp;amp;px=999" role="button" title="ADC Channel Table.jpg" alt="ADC Channel Table.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking in the pinout of the KL43, the DAC0_OUT signal is shared on the same pin as ADC0_SE23, see pinout below.&amp;nbsp; So if the DAC0 output is enabled, then the DAC voltage will come out on this pin, and at the same time, the ADC can read it back in.&amp;nbsp; This is why no hardware modification is required on this board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Pinout.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22209i09B50D423812EFFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pinout.jpg" alt="Pinout.jpg" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This DAC0_OUT signal comes out to the header pins on the FRDM-KL43Z board.&amp;nbsp; Header J1 pin 16 is tied to this pin.&amp;nbsp; Since you are always reading 3.3V back in the example, can you try measuring the voltage on this header pin when using the example?&amp;nbsp; Perhaps there is an issue with your board where this signal is shorted to VDD or some other signal.&amp;nbsp; When I test it, I’m able to see the DAC voltage change when using the example, and when measuring the voltage, it matches the settings in the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know what you find. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 17:55:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442102#M25940</guid>
      <dc:creator>dereksnell</dc:creator>
      <dc:date>2015-06-18T17:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL43Z- ADC not receiving any input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442103#M25941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We ran the sample code again with a scope on header J1 pin 16 and it seems like the DAC is working properly.&amp;nbsp; The measured voltage does change appropriately with the different voltage values selected in the program. However, the ADC still returns the same value.&amp;nbsp; We ran the same setup with another board as well and got the same results.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed on the scope though that the measured voltage seemed to be around 0.2 volts lower than the voltage setup in the program.&amp;nbsp; For example, if I chose to output 1.5volts in the program the scope would would give a measured voltage of 1.3volts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using IAR to build and setup the example project and nothing in the code has been changed.&amp;nbsp; I am able to successfully build and download the project to the board but is there anything perhaps in IAR that I need to setup to get the ADC to function properly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 14:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442103#M25941</guid>
      <dc:creator>keihitomi</dc:creator>
      <dc:date>2015-06-19T14:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL43Z- ADC not receiving any input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442104#M25942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running to the same issue that you have mentioned in your post. The only different is that I have a potentiometer connected to the pin (PTE30) instead of using the DAC. Can you please let me know if you have a solution for this problem? The value I get from the ADC is always 4095 (since I have it in the 12-bit mode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 18:47:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442104#M25942</guid>
      <dc:creator>srcoolz</dc:creator>
      <dc:date>2016-11-04T18:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL43Z- ADC not receiving any input</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442105#M25943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that I had a problem with the potentiometer, once I fixed it the ADC is working correctly.&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;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 23:34:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL43Z-ADC-not-receiving-any-input/m-p/442105#M25943</guid>
      <dc:creator>srcoolz</dc:creator>
      <dc:date>2016-12-01T23:34:48Z</dc:date>
    </item>
  </channel>
</rss>

