<?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 Design StudioのトピックRe: KE02 Processor Expert ADC_LDD</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328198#M554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,JingJing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could find the function,&amp;nbsp; I mean that&amp;nbsp; can I&amp;nbsp; put "ADC_PDD_GetConversionCompleteFlag"&amp;nbsp; to the components-&amp;gt;AD1.like the screenshot &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46874i7EA5F4CAEEA3BDB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;Linda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2014 02:45:48 GMT</pubDate>
    <dc:creator>Fan_xy</dc:creator>
    <dc:date>2014-11-13T02:45:48Z</dc:date>
    <item>
      <title>KE02 Processor Expert ADC_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328194#M550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I use the ADC_LDD in processor_expert for KE02 Part.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;but, it always lock in below line.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;while (!AD1_GetMeasurementCompleteStatus(adcDevData)) ;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I create my project refer to help on commponet .&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I saw someone else on communiyt also have this problem .&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Do you have any idea for solving this issue?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Linda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 02:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328194#M550</guid>
      <dc:creator>Fan_xy</dc:creator>
      <dc:date>2014-11-11T02:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: KE02 Processor Expert ADC_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328195#M551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linda,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your interest in Freescale's kinetis product, I would like to provide service for you !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think you are using this mode： One conversion of a created sample group, without interrupt service&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The code in the help is really have problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I create a KE02 CW project based on the PE in CW with component ADC_LDD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When I use the code from the help , I meet the same question with you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So I check the ADC register,&amp;nbsp; after I run this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Error = AD1_StartSingleMeasurement(MyADCPtr);&lt;/P&gt;&lt;P&gt;&amp;nbsp; I find the ADC_SC1[COCO] already be 1, it means, the ADC already complete once converstion.&lt;/P&gt;&lt;P&gt;&amp;nbsp; But when run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (!AD1_GetMeasurementCompleteStatus(MyADCPtr));&lt;/P&gt;&lt;P&gt;&amp;nbsp; The Status = DeviceDataPrv-&amp;gt;CompleteStatus; in AD1_GetMeasurementCompleteStatus(MyADCPtr) function didn't get 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp; The problem is the real register of ADC didn't updated to DeviceDataPrv-&amp;gt;CompleteStatus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Then I modify the code in the main function to update the code to DeviceDataPrv-&amp;gt;CompleteStatus and DeviceDataPrv-&amp;gt;IntBuffer[Sample], the code will run OK, and the ADC result is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp; My code in main function is as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46884iDFCB15FD45324AF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also attached my project, you can refer to it.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please contact me!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: inherit; font-size: 12.72px; font-style: inherit; font-weight: inherit;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: inherit; font-size: 12.72px; font-style: inherit; font-weight: inherit;"&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: inherit; font-size: 12.72px; font-style: inherit; font-weight: inherit;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 14:18:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328195#M551</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2014-11-11T14:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: KE02 Processor Expert ADC_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328196#M552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find the function of&amp;nbsp; "ADC_PDD_GetConversionCompleteFlag()" on&amp;nbsp; PDD-&amp;gt;ADC,&amp;nbsp; while how put it in ADC:ADC_LDD,&amp;nbsp; and in the methods i couldn't find it.&lt;/P&gt;&lt;P&gt;And how i find the code about this function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Linda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 05:27:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328196#M552</guid>
      <dc:creator>Fan_xy</dc:creator>
      <dc:date>2014-11-12T05:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: KE02 Processor Expert ADC_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328197#M553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linda Yang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The defination of ADC_PDD_GetConversionCompleteFlag is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; #define ADC_PDD_GetConversionCompleteFlag(PeripheralBase, Index) ( \&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (uint32_t)(ADC_SC1_REG(PeripheralBase) &amp;amp; ADC_SC1_COCO_MASK) \&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just to check the ADC_SC1_COCO, if ADC_SC1_COCO=1, it means the ADC converstion is complete, then you can read the convert adc value.&lt;/P&gt;&lt;P&gt;You can find this funciton in ADC_PDD.h.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please contact me!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jingjing&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>Wed, 12 Nov 2014 13:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328197#M553</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2014-11-12T13:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: KE02 Processor Expert ADC_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328198#M554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,JingJing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could find the function,&amp;nbsp; I mean that&amp;nbsp; can I&amp;nbsp; put "ADC_PDD_GetConversionCompleteFlag"&amp;nbsp; to the components-&amp;gt;AD1.like the screenshot &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46874i7EA5F4CAEEA3BDB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;Linda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 02:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328198#M554</guid>
      <dc:creator>Fan_xy</dc:creator>
      <dc:date>2014-11-13T02:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: KE02 Processor Expert ADC_LDD</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328199#M555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; No, you can't&amp;nbsp; put "ADC_PDD_GetConversionCompleteFlag"&amp;nbsp; to the components-&amp;gt;AD1 directly, and you don't need to put it into the ADC_LDD module.&lt;/P&gt;&lt;P&gt;Because in the AD1.h, it will include the ADC_PDD.h directly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47140iAA5C709A4BC57D7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WIsh it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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, 13 Nov 2014 05:12:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KE02-Processor-Expert-ADC-LDD/m-p/328199#M555</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2014-11-13T05:12:45Z</dc:date>
    </item>
  </channel>
</rss>

