<?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: LPC55S69 Configtool ADC, something missing in the ADC0_init?</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1173264#M1095</link>
    <description>&lt;P&gt;Hello Gertvb,&lt;/P&gt;
&lt;P&gt;Thank you for sharing your finding! I’m glad that you could find this omission!&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gustavo&lt;/P&gt;</description>
    <pubDate>Mon, 26 Oct 2020 16:33:55 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2020-10-26T16:33:55Z</dc:date>
    <item>
      <title>LPC55S69 Configtool ADC, something missing in the ADC0_init?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1170947#M1088</link>
      <description>&lt;P&gt;Good Day!&lt;/P&gt;&lt;P&gt;This is a duplicate of a post that I did in the "LPC Microcontrollers" group, but have since realised that I should rather have posted it here. Link to the original post :&amp;nbsp;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Configtool-ADC/td-p/1168980" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Configtool-ADC/td-p/1168980&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am using an OKDO E1 board with the LPC55S69 MCU, Hardware 1B, developing with MCUXpresso 11.2.0 with SDK version 2.8.2(376 2020-08-19)&lt;/P&gt;&lt;P&gt;I have set up 6x ADC inputs from within MCUXpresso with the embedded Pheriperals tool of the CONFIGTOOL, instead of coding every ADC register in my own software.&lt;/P&gt;&lt;P&gt;Anyhow my project compiles and runs on MCUXpresso. (see attached&amp;nbsp; zip file), ive also included the prosess I used to create the project from scratch (see the attached pdf file)&lt;/P&gt;&lt;P&gt;BUT all&amp;nbsp;the results that I read back from the ADC FIFO have the value 32768, even though my signal generator is correctly outputting the 6 sine waves into the ADC pins.&lt;/P&gt;&lt;P&gt;However if I FIRST run the lpcxpresso55s69_lpadc_polling example project, and then run my project, my project reads the correct values on the ADC inputs.&lt;/P&gt;&lt;P&gt;Telling me that SOMETHING CRUCIAL is missing in the initialization of the ADC (ADC0_Init), but that this is actually done in the&amp;nbsp;lpcxpresso55s69_lpadc_polling example project.&lt;/P&gt;&lt;P&gt;Can someone please just check what it is that I am missing?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Gert van Biljon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notes :&lt;/P&gt;&lt;P&gt;1. The OKDO E1 does not have a 32MHz crystal populated on the board, hence me using PLL1 from the 12MHz Free running Oscillator to generate the 150MHz I use for the core&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;I prefer the route of using the embedded Pheriperals Configuration tool from withint MCUXpresso, as until recently I was jumping between the AtSAMD51 and XMC4500 and for that I successfully used Infineon's DAVE and Atmel's Atmel Studio 7, where I didn't have to go down to register level to configure the ADC to run with DMA&lt;/P&gt;&lt;P&gt;3. This project was generated from scratch, but I think it should run on an lpcxpresso55s69 dev board?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 10:46:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1170947#M1088</guid>
      <dc:creator>gertvb</dc:creator>
      <dc:date>2020-10-21T10:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 Configtool ADC, something missing in the ADC0_init?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1172712#M1091</link>
      <description>&lt;P&gt;Hey Gert,&lt;/P&gt;&lt;P&gt;I downloaded the MCUX project and ran it on my OKdo E1 board. It works just fine... &lt;STRONG&gt;once the ADC has been calibrated...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark2_0-1603647153594.png" style="width: 721px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128191iFCA67F3836F43EA3/image-dimensions/721x116?v=v2" width="721" height="116" role="button" title="mark2_0-1603647153594.png" alt="mark2_0-1603647153594.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The clue was in your comment about it all working if you'd previously loaded the SDK's lpadc polling example. I've seen that from time to time.&lt;/P&gt;&lt;P&gt;Anyway, good luck and let us know how you get on.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;embeddedpro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Oct 2020 17:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1172712#M1091</guid>
      <dc:creator>mark2</dc:creator>
      <dc:date>2020-10-25T17:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 Configtool ADC, something missing in the ADC0_init?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1172714#M1092</link>
      <description>&lt;P&gt;Actually, scratch that. Just tried after power cycling the board and it's back to the original behaviour. This time all 6 channels read 32768 again. But I'm sure that we're only something with the ADC calibration.&lt;/P&gt;&lt;P&gt;Let me continue some tests.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Oct 2020 17:40:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1172714#M1092</guid>
      <dc:creator>mark2</dc:creator>
      <dc:date>2020-10-25T17:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 Configtool ADC, something missing in the ADC0_init?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1173042#M1093</link>
      <description>&lt;P&gt;In this case it rather seems to be a pebkac error on my side and nothing wrong with configtools&lt;/P&gt;&lt;P&gt;I have not enabled the power to the ADC!&lt;/P&gt;&lt;P&gt;Added the following before the while (1) loop, and it now works&lt;/P&gt;&lt;P&gt;POWER_DisablePD(kPDRUNCFG_PD_LDOGPADC);&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 09:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1173042#M1093</guid>
      <dc:creator>gertvb</dc:creator>
      <dc:date>2020-10-26T09:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 Configtool ADC, something missing in the ADC0_init?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1173264#M1095</link>
      <description>&lt;P&gt;Hello Gertvb,&lt;/P&gt;
&lt;P&gt;Thank you for sharing your finding! I’m glad that you could find this omission!&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gustavo&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 16:33:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/LPC55S69-Configtool-ADC-something-missing-in-the-ADC0-init/m-p/1173264#M1095</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2020-10-26T16:33:55Z</dc:date>
    </item>
  </channel>
</rss>

