<?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 How to start an ADC, Processor ecpert, KSDK 1.3.0 in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496504#M4643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using KDS_3.0+KSKD_1.3+PE with a MK02FN64VLH10 on a custom board. &lt;/P&gt;&lt;P&gt;I'm new to this and its probably something obvious..but after a day of trying I have to ask: &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used PE and the adCnv1:fsl_adc16 component to set up ADC0_se12 as an 8 bit Converter. &lt;/P&gt;&lt;P&gt;I checked Pin_mux&amp;gt;ADC , and this was the default for 2,PTB , so I did not change anything there.&lt;/P&gt;&lt;P&gt;I selected A/D channel (pin), and under ADC Configurations&amp;gt;Name, I changed this to Low_Bat_InitConfig0.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason I have a new event, ADC0_IRQHandler. I don't want to convert on an interrupt, I want to:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Start a conversion in code. (can't find anything that looks like it will do this)&lt;/P&gt;&lt;P&gt;2. Wait for the Conversion to finish, See this one: ADC16_DRV_WaitConvDone(adConv1_IDX,); But not sure what the pass values are..&lt;/P&gt;&lt;P&gt;3. Get the results, also see this, ADCBattvaule=ADC16_DRV_GetConvValueSigned(adConv1_IDX,); Again, not sure what to pass in..&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the structure to get the adc started?&lt;/P&gt;&lt;P&gt;And, exactly what should I put after the comma in the in the parenthesis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Feb 2016 22:21:20 GMT</pubDate>
    <dc:creator>randenewberry</dc:creator>
    <dc:date>2016-02-29T22:21:20Z</dc:date>
    <item>
      <title>How to start an ADC, Processor ecpert, KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496504#M4643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using KDS_3.0+KSKD_1.3+PE with a MK02FN64VLH10 on a custom board. &lt;/P&gt;&lt;P&gt;I'm new to this and its probably something obvious..but after a day of trying I have to ask: &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used PE and the adCnv1:fsl_adc16 component to set up ADC0_se12 as an 8 bit Converter. &lt;/P&gt;&lt;P&gt;I checked Pin_mux&amp;gt;ADC , and this was the default for 2,PTB , so I did not change anything there.&lt;/P&gt;&lt;P&gt;I selected A/D channel (pin), and under ADC Configurations&amp;gt;Name, I changed this to Low_Bat_InitConfig0.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason I have a new event, ADC0_IRQHandler. I don't want to convert on an interrupt, I want to:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Start a conversion in code. (can't find anything that looks like it will do this)&lt;/P&gt;&lt;P&gt;2. Wait for the Conversion to finish, See this one: ADC16_DRV_WaitConvDone(adConv1_IDX,); But not sure what the pass values are..&lt;/P&gt;&lt;P&gt;3. Get the results, also see this, ADCBattvaule=ADC16_DRV_GetConvValueSigned(adConv1_IDX,); Again, not sure what to pass in..&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the structure to get the adc started?&lt;/P&gt;&lt;P&gt;And, exactly what should I put after the comma in the in the parenthesis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 22:21:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496504#M4643</guid>
      <dc:creator>randenewberry</dc:creator>
      <dc:date>2016-02-29T22:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to start an ADC, Processor ecpert, KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496505#M4644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rande,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I recommend you refer to one ADC demo , under the KSDK1.3&amp;nbsp; there is no ADC demo about MK02 chip,&lt;/P&gt;&lt;P&gt;while you can refer to the other chip demo, for example , you&amp;nbsp; can refer to the TWRK60d100m&lt;/P&gt;&lt;P&gt;(KSDK_1.3.0\examples\twrk60d100m\driver_examples\adc16), the usage of the functions is the same among the&lt;/P&gt;&lt;P&gt;chips, you can also refer to how to pass the parameter.&lt;/P&gt;&lt;P&gt;In the example , you can see the three functions you mentioned :&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/55418i9DB0013DC5573663/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;- About the interrupt of ADC complete , you can disable it at here(uncheck the "Interrupt")&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/55327i40E0D5AC47679817/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;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&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, 01 Mar 2016 02:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496505#M4644</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-01T02:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to start an ADC, Processor ecpert, KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496506#M4645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #222222; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #222222; background: white;"&gt;Alice, you recently replied to Rande Newberry referring him to use the demo sample. After trying that and following along, the code still doesn't work.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #222222;"&gt;&lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial Unicode MS'; color: #222222; background: white;"&gt;​&lt;SPAN style="font-size: 10pt; font-family: Arial; background-position: initial;"&gt;Could you through the code together and post for me, on Rande's post.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #222222;"&gt;&lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial Unicode MS'; color: #222222; background: white;"&gt;​&lt;SPAN style="font-size: 10pt; font-family: Arial; background-position: initial;"&gt;Thank you so much for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 00:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496506#M4645</guid>
      <dc:creator>sportsradar</dc:creator>
      <dc:date>2016-03-02T00:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to start an ADC, Processor ecpert, KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496507#M4646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;After some time I found the definitions, they are all 0's, except &lt;/P&gt;&lt;P&gt;ChnConfig. I could not find another occurrence of that term, so I put in &lt;/P&gt;&lt;P&gt;the name I gave it, and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I debugged the ADC without a problem, I found an error popped up &lt;/P&gt;&lt;P&gt;in the SDK&amp;gt;drivers&amp;gt;src.adc16 &amp;gt; fsl_adc16_driver.c. I tried close, exit , &lt;/P&gt;&lt;P&gt;open, clean, rebuild but the error is still there, see below pic.&lt;/P&gt;&lt;P&gt;It does not affect anything so far..but do you know what would cause &lt;/P&gt;&lt;P&gt;this, or how to remove the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rande Newberry&lt;/P&gt;&lt;P&gt;H-ITT, LLC, a Hyper-Interactive Teaching Technology Company&lt;/P&gt;&lt;P&gt;420 Shearer Blvd.-Cocoa, FL, 32922&lt;/P&gt;&lt;P&gt;PH: 888-322-0089&lt;/P&gt;&lt;P&gt;rande@h-itt.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496507#M4646</guid>
      <dc:creator>randenewberry</dc:creator>
      <dc:date>2016-03-02T15:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to start an ADC, Processor ecpert, KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496508#M4647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Katrina,&lt;/P&gt;&lt;P&gt;Sorry&amp;nbsp; i do not know your meaning , do you want the demo code i mentioned ? This is the kSDK demo ,&lt;/P&gt;&lt;P&gt;after you install the KSDK, you can find it.&lt;/P&gt;&lt;P&gt;And if you need help , could you please describe detail about the "doesn't work", do you also use K02 chip ? KDS? thank!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 10:53:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496508#M4647</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-07T10:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to start an ADC, Processor ecpert, KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496509#M4648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rande,&lt;/P&gt;&lt;P&gt;Please delete the ksdk_platform_lib on the KDS project explorer :&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/58377iF7F267E734F45D3D/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;then delete the "debug" folder :&lt;/P&gt;&lt;P&gt;&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/58453i1FBA43F0FBD71313/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;then re-import it , build. &lt;/P&gt;&lt;P&gt;If still have error , please show me the console window :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58417i30E834BD81ECF024/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(Doesn't you change the code of the driver ?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 11:05:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496509#M4648</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-07T11:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to start an ADC, Processor ecpert, KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496510#M4649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I was not that far into the project so I deleted it and started a new one.&lt;/P&gt;&lt;P&gt;So far everything is working well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all the assistance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rande Newberry&lt;/P&gt;&lt;P&gt;H-ITT, LLC, a Hyper-Interactive Teaching Technology Company&lt;/P&gt;&lt;P&gt;420 Shearer Blvd.-Cocoa, FL, 32922&lt;/P&gt;&lt;P&gt;PH: 888-322-0089&lt;/P&gt;&lt;P&gt;rande@h-itt.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 13:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-start-an-ADC-Processor-ecpert-KSDK-1-3-0/m-p/496510#M4649</guid>
      <dc:creator>randenewberry</dc:creator>
      <dc:date>2016-03-07T13:18:14Z</dc:date>
    </item>
  </channel>
</rss>

