<?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 IDEのトピックRe: Issue in ADC configuration</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Issue-in-ADC-configuration/m-p/1779697#M9409</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is the ADC working mechanism, for software triggering mode as you have done, writing the ADCx_SC1n register with channel bits ADCH will start&amp;nbsp; the ADC conversion automatically, you can check the COCO bit to know if the conversion is over, if it is over, you can read the result.&lt;/P&gt;
&lt;P&gt;The ADC16_SetChannelConfig(...,DEMO_ADC16_CHANNEL_GROUP,&amp;amp;adc16ChannelConfigStruct) line writes the ADCx_SC1n register, at the same start ADC conversion.&lt;/P&gt;
&lt;P&gt;The ADC16_GetChannelStatussFlag() read the ADCx_SC1n register and poll the COCO bit.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1703497045957.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/255803iBCA14426B6EDDB3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1703497045957.png" alt="xiangjun_rong_1-1703497045957.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;xiangjun_rong_1-1703497045957.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Dec 2023 09:52:59 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2023-12-25T09:52:59Z</dc:date>
    <item>
      <title>Issue in ADC configuration</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Issue-in-ADC-configuration/m-p/1779415#M9406</link>
      <description>&lt;P&gt;Hi Everyone,In&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhatsApp Image 2023-12-23 at 4.02.17 PM.jpeg" style="width: 562px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/255712i03F5BB80B911672B/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2023-12-23 at 4.02.17 PM.jpeg" alt="WhatsApp Image 2023-12-23 at 4.02.17 PM.jpeg" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;WhatsApp Image 2023-12-23 at 4.02.17 PM.jpeg&lt;/span&gt;&lt;/span&gt; mkv31f512vll12 (image is attached below)while configuring single channel adc in Mcuxpresso IDE the actual process of&amp;nbsp; reading the adc value was confusing and i actually tried by&amp;nbsp; reading the adc result data register ADC_RD but i can't able to view the register value in runtime in Mcuxpresso IDE is there any method is available to view register or variable value in runtime and i am new to the nxp so any lead to&amp;nbsp; reading adc value&amp;nbsp; let me know&lt;/P&gt;&lt;P&gt;Here I have attached&amp;nbsp; few snippets of code(image)&lt;/P&gt;&lt;P&gt;for configuring adc&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-12-23 161512.png" style="width: 887px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/255714i43DF5D87765D3335/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-12-23 161512.png" alt="Screenshot 2023-12-23 161512.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2023-12-23 161512.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-12-23 162058.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/255715iED8FEB21E822CAAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-12-23 162058.png" alt="Screenshot 2023-12-23 162058.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2023-12-23 162058.png&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Dec 2023 10:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Issue-in-ADC-configuration/m-p/1779415#M9406</guid>
      <dc:creator>pandi</dc:creator>
      <dc:date>2023-12-23T10:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in ADC configuration</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Issue-in-ADC-configuration/m-p/1779697#M9409</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is the ADC working mechanism, for software triggering mode as you have done, writing the ADCx_SC1n register with channel bits ADCH will start&amp;nbsp; the ADC conversion automatically, you can check the COCO bit to know if the conversion is over, if it is over, you can read the result.&lt;/P&gt;
&lt;P&gt;The ADC16_SetChannelConfig(...,DEMO_ADC16_CHANNEL_GROUP,&amp;amp;adc16ChannelConfigStruct) line writes the ADCx_SC1n register, at the same start ADC conversion.&lt;/P&gt;
&lt;P&gt;The ADC16_GetChannelStatussFlag() read the ADCx_SC1n register and poll the COCO bit.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1703497045957.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/255803iBCA14426B6EDDB3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1703497045957.png" alt="xiangjun_rong_1-1703497045957.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;xiangjun_rong_1-1703497045957.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2023 09:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Issue-in-ADC-configuration/m-p/1779697#M9409</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-12-25T09:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in ADC configuration</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Issue-in-ADC-configuration/m-p/1780289#M9410</link>
      <description>&lt;P&gt;thank you for reply&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 05:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Issue-in-ADC-configuration/m-p/1780289#M9410</guid>
      <dc:creator>pandi</dc:creator>
      <dc:date>2023-12-27T05:58:59Z</dc:date>
    </item>
  </channel>
</rss>

