<?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: Re: ADC stopped on KL05Z in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315731#M2379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nguyen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see a variable while running, this only works for global variables, not local variables, and you need to select the option "Refresh While Running". For details check the next tutorial:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/01/27/live-view-for-variables-and-memory/" title="http://mcuoneclipse.com/2013/01/27/live-view-for-variables-and-memory/"&gt;Live View for Variables and Memory | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the 16 bit result, this is normal because you are calling the AD1_GetChanValue&lt;STRONG style="color: #ff0000;"&gt;16&lt;/STRONG&gt;() method, which performs a bit shift. To obtain the real 12 bit result you should instead use the AD1_GetChanValue() method, just enable it from the "Methods" tab in Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps clarifying!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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>Thu, 12 Jun 2014 02:41:36 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2014-06-12T02:41:36Z</dc:date>
    <item>
      <title>ADC stopped on KL05Z</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315728#M2376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guy,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm practicing on ADC by using PE.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see attached file for my project.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is can't see the "value " variable when i click " run".&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if I want to see the value I must set the break point at end of loop.&lt;/P&gt;&lt;P&gt;for(;;){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AD1_MeasureChan(1,0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AD1_GetChanValue16(0,&amp;amp;value);&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set 12 bits resolution but the result shows me in 16 bits.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me point out what the problem is ?&lt;/P&gt;&lt;P&gt;thank you ,&lt;/P&gt;&lt;P&gt;Minh.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338412"&gt;ADC-by-PE.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jun 2014 09:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315728#M2376</guid>
      <dc:creator>nguyennhatminh</dc:creator>
      <dc:date>2014-06-07T09:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: ADC stopped on KL05Z</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315729#M2377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nguyen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded your code and I was able to reproduce the error, I am still looking for a possible cause but so far at this moment I have not found something definitive. On the reference manual I found that default clock source for ADC module is the OSCERCLK but only when this is working on MHz range, could you please confirm what clock configuration are you using?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing would be the power modes, if I am right you are not changing from normal RUN mode, but please confirm if this is the case. If not (if you are entering to another power modes) please see table below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="KL05.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44473iC0F71C5A9B082A55/image-size/large?v=v2&amp;amp;px=999" role="button" title="KL05.JPG.jpg" alt="KL05.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still looking for more information&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a nice day,&lt;BR /&gt;Perla Moncada&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, 10 Jun 2014 21:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315729#M2377</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-06-10T21:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: ADC stopped on KL05Z</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315730#M2378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perla Moncade,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The clock is FEI mode,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enable low power mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Minh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 11:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315730#M2378</guid>
      <dc:creator>nguyennhatminh</dc:creator>
      <dc:date>2014-06-11T11:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re: ADC stopped on KL05Z</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315731#M2379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nguyen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see a variable while running, this only works for global variables, not local variables, and you need to select the option "Refresh While Running". For details check the next tutorial:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/01/27/live-view-for-variables-and-memory/" title="http://mcuoneclipse.com/2013/01/27/live-view-for-variables-and-memory/"&gt;Live View for Variables and Memory | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the 16 bit result, this is normal because you are calling the AD1_GetChanValue&lt;STRONG style="color: #ff0000;"&gt;16&lt;/STRONG&gt;() method, which performs a bit shift. To obtain the real 12 bit result you should instead use the AD1_GetChanValue() method, just enable it from the "Methods" tab in Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps clarifying!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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>Thu, 12 Jun 2014 02:41:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315731#M2379</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-06-12T02:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: ADC stopped on KL05Z</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315732#M2380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You help me solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 07:15:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/ADC-stopped-on-KL05Z/m-p/315732#M2380</guid>
      <dc:creator>nguyennhatminh</dc:creator>
      <dc:date>2014-06-12T07:15:34Z</dc:date>
    </item>
  </channel>
</rss>

