<?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: ADC channel initialization not competed when using fsl_adc16 component?</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/ADC-channel-initialization-not-competed-when-using-fsl-adc16/m-p/351715#M1379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, It looks clear after reading the implementation code of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ADC16_DRV_ConfigConvChn().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This function is just config the ADC with information in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ADC0_ChnConfig&lt;/SPAN&gt;x and writing to register ADC_SC1... An AD conversion thus is triggered.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2015 07:47:47 GMT</pubDate>
    <dc:creator>walter_wang</dc:creator>
    <dc:date>2015-03-03T07:47:47Z</dc:date>
    <item>
      <title>ADC channel initialization not competed when using fsl_adc16 component?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/ADC-channel-initialization-not-competed-when-using-fsl-adc16/m-p/351714#M1378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using KDS2.0 and KSDK 1.1.1, my project with KSDK and PE enabled for FRDM-K22F platform.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After adding fsl_adc16 component to my project, I configured 3 channels in Channel configurations of "Property" page in Component inspector and enabled Auto-initialization.&lt;/P&gt;&lt;P&gt;However, after code generation, I look into the function Components_Init(void) in Cpu.c, only found codes below generated:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*! ADC0 Auto initialization start */&lt;/P&gt;&lt;P&gt;&amp;nbsp; ADC16_DRV_Init(FSL_ADC0, &amp;amp;ADC0_InitConfig0);&lt;/P&gt;&lt;P&gt;&amp;nbsp; ADC16_DRV_ConfigConvChn(FSL_ADC0, 0U, &amp;amp;ADC0_ChnConfig0);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*! ADC0 Auto initialization end */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks only 1 channel has been initialized. But actually 3 channels defined in this fsl_adc16 component, and I can find 3 structures in ADC0.c respectively, e.g. ADC0_ChnConfig0, ADC0_ChnConfig1 and ADC0_ChnConfig2.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug of fsl_adc16? Or need further settings? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 07:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/ADC-channel-initialization-not-competed-when-using-fsl-adc16/m-p/351714#M1378</guid>
      <dc:creator>walter_wang</dc:creator>
      <dc:date>2015-03-03T07:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: ADC channel initialization not competed when using fsl_adc16 component?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/ADC-channel-initialization-not-competed-when-using-fsl-adc16/m-p/351715#M1379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, It looks clear after reading the implementation code of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ADC16_DRV_ConfigConvChn().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This function is just config the ADC with information in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ADC0_ChnConfig&lt;/SPAN&gt;x and writing to register ADC_SC1... An AD conversion thus is triggered.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 07:47:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/ADC-channel-initialization-not-competed-when-using-fsl-adc16/m-p/351715#M1379</guid>
      <dc:creator>walter_wang</dc:creator>
      <dc:date>2015-03-03T07:47:47Z</dc:date>
    </item>
  </channel>
</rss>

