<?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>S32KのトピックADC_DRV_ConfigChan   function  use problem</title>
    <link>https://community.nxp.com/t5/S32K/ADC-DRV-ConfigChan-function-use-problem/m-p/839484#M3345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I USE&amp;nbsp;ADC_DRV_ConfigChan&amp;nbsp; &amp;nbsp;to config ADC ,&amp;nbsp; I have a problem about this function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #17394d; background-color: #f5f6f7; margin: 12px 0px; padding: 8px 12px;"&gt;&lt;CODE style="color: #17394d; background-color: #f5f6f7;"&gt;&lt;/CODE&gt;This is the prototype of its function&lt;/PRE&gt;&lt;P&gt;/*!&lt;BR /&gt; * @brief Defines the control channel configuration&lt;BR /&gt; *&lt;BR /&gt; * This structure is used to configure a control channel&lt;BR /&gt; * of the ADC&lt;BR /&gt; *&lt;BR /&gt; * Implements : adc_chan_config_t_Class&lt;BR /&gt; */&lt;BR /&gt;typedef struct&lt;BR /&gt;{&lt;BR /&gt; bool interruptEnable; /*!&amp;lt; Enable interrupts for this channel */&lt;BR /&gt; adc_inputchannel_t channel; /*!&amp;lt; Selection of input channel for measurement */&lt;BR /&gt;} adc_chan_config_t;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void ADC_DRV_ConfigChan(const uint32_t instance,const uint8_t chanIndex,const adc_chan_config_t *const config)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so,when i want to config adc chanel&amp;nbsp; 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(XX,11,XX)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but it can not work !!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but i use this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;adc_chan_config_t&amp;nbsp; test ={true,11}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(XX,XX,test&amp;nbsp;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it can work!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;so,why?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;Configure which parameters the channel selects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3Q&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2018 06:29:48 GMT</pubDate>
    <dc:creator>建宽高</dc:creator>
    <dc:date>2018-09-19T06:29:48Z</dc:date>
    <item>
      <title>ADC_DRV_ConfigChan   function  use problem</title>
      <link>https://community.nxp.com/t5/S32K/ADC-DRV-ConfigChan-function-use-problem/m-p/839484#M3345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I USE&amp;nbsp;ADC_DRV_ConfigChan&amp;nbsp; &amp;nbsp;to config ADC ,&amp;nbsp; I have a problem about this function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #17394d; background-color: #f5f6f7; margin: 12px 0px; padding: 8px 12px;"&gt;&lt;CODE style="color: #17394d; background-color: #f5f6f7;"&gt;&lt;/CODE&gt;This is the prototype of its function&lt;/PRE&gt;&lt;P&gt;/*!&lt;BR /&gt; * @brief Defines the control channel configuration&lt;BR /&gt; *&lt;BR /&gt; * This structure is used to configure a control channel&lt;BR /&gt; * of the ADC&lt;BR /&gt; *&lt;BR /&gt; * Implements : adc_chan_config_t_Class&lt;BR /&gt; */&lt;BR /&gt;typedef struct&lt;BR /&gt;{&lt;BR /&gt; bool interruptEnable; /*!&amp;lt; Enable interrupts for this channel */&lt;BR /&gt; adc_inputchannel_t channel; /*!&amp;lt; Selection of input channel for measurement */&lt;BR /&gt;} adc_chan_config_t;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void ADC_DRV_ConfigChan(const uint32_t instance,const uint8_t chanIndex,const adc_chan_config_t *const config)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so,when i want to config adc chanel&amp;nbsp; 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(XX,11,XX)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but it can not work !!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but i use this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;adc_chan_config_t&amp;nbsp; test ={true,11}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(XX,XX,test&amp;nbsp;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it can work!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;so,why?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;Configure which parameters the channel selects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3Q&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 06:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-DRV-ConfigChan-function-use-problem/m-p/839484#M3345</guid>
      <dc:creator>建宽高</dc:creator>
      <dc:date>2018-09-19T06:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: ADC_DRV_ConfigChan   function  use problem</title>
      <link>https://community.nxp.com/t5/S32K/ADC-DRV-ConfigChan-function-use-problem/m-p/839485#M3346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I assume you want to use SW trigger.&lt;/P&gt;&lt;P&gt;Please refer to adc_swtrigger_S32k144 SDK example.&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/69441iAAE4A4F6A1D973EF/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;Only channel 0 (SC1A) supports SW trigger.&lt;/P&gt;&lt;P&gt;And you can choose its input (SC1A[ADCH]).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 11:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-DRV-ConfigChan-function-use-problem/m-p/839485#M3346</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-09-21T11:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: ADC_DRV_ConfigChan   function  use problem</title>
      <link>https://community.nxp.com/t5/S32K/ADC-DRV-ConfigChan-function-use-problem/m-p/839486#M3347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;3Q&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2018 13:51:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-DRV-ConfigChan-function-use-problem/m-p/839486#M3347</guid>
      <dc:creator>建宽高</dc:creator>
      <dc:date>2018-09-23T13:51:51Z</dc:date>
    </item>
  </channel>
</rss>

