<?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 MicrocontrollersのトピックRe: Some help needed for multiple acquisitions with ADC</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Some-help-needed-for-multiple-acquisitions-with-ADC/m-p/267601#M8833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;I created this test project to remove all the unwanted code, but I forgot to define the processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now 1 method that works fine for the acquisition of multiple channels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I initially used the first method: "Method 1 for 1 single channel"&lt;/P&gt;&lt;P&gt;In the Component Inspector for AD1, I had "Static Sample Groups" disabled.&lt;/P&gt;&lt;P&gt;I tried to initialise SAMPLE_GROUP_SIZE to 4.&lt;/P&gt;&lt;P&gt;I thought I could acquire the signal from the 2 channels successively in one acquisition but this didn't worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a bit rusty in programming and I need to train seriously!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With my best regards,&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Dec 2013 17:34:18 GMT</pubDate>
    <dc:creator>olivier_33</dc:creator>
    <dc:date>2013-12-18T17:34:18Z</dc:date>
    <item>
      <title>Some help needed for multiple acquisitions with ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Some-help-needed-for-multiple-acquisitions-with-ADC/m-p/267599#M8831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am rather new to ARM microcontroller and despite the help on the ADC function and the messages in this forum, I find myself unable to run multiple acquisitions from my ADC.&lt;/P&gt;&lt;P&gt;I attached my project. I am working on FRDM Kinetis MKL05Z with CodeWarrior.&lt;/P&gt;&lt;P&gt;For one channel it is OK. For multiple channels I tried different solutions but without success.&lt;/P&gt;&lt;P&gt;Could someone give me some hints on what I am doing wrong?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337654"&gt;Test_Project_V01.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 06:25:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Some-help-needed-for-multiple-acquisitions-with-ADC/m-p/267599#M8831</guid>
      <dc:creator>olivier_33</dc:creator>
      <dc:date>2013-12-18T06:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Some help needed for multiple acquisitions with ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Some-help-needed-for-multiple-acquisitions-with-ADC/m-p/267600#M8832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivier ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.The Cpu what you should select is MKL05Z32VFM4.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Cpu select.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41247i30E3832A671B18C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cpu select.jpg" alt="Cpu select.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.What do you mean in your ProcessorExpert.c // Method 2 for 2 channels defined separately&amp;nbsp; - not working at all?&lt;/P&gt;&lt;P&gt;If you add &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;MyADCPtr = AD1_Init((LDD_TUserData *)NULL);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;/* Initialize the device */&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;before for(;;) still will the PE_ISR(Cpu_Interrupt) happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.the MeasuredValues[1] does not exist because your code below:&lt;/P&gt;&lt;P&gt;#define SAMPLE_GROUP_SIZE 1U&lt;/P&gt;&lt;P&gt;/* User includes (#include below this line is not maintained by Processor Expert) */&lt;/P&gt;&lt;P&gt;AD1_TResultData MeasuredValues[SAMPLE_GROUP_SIZE]; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 14:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Some-help-needed-for-multiple-acquisitions-with-ADC/m-p/267600#M8832</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2013-12-18T14:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Some help needed for multiple acquisitions with ADC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Some-help-needed-for-multiple-acquisitions-with-ADC/m-p/267601#M8833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;I created this test project to remove all the unwanted code, but I forgot to define the processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now 1 method that works fine for the acquisition of multiple channels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I initially used the first method: "Method 1 for 1 single channel"&lt;/P&gt;&lt;P&gt;In the Component Inspector for AD1, I had "Static Sample Groups" disabled.&lt;/P&gt;&lt;P&gt;I tried to initialise SAMPLE_GROUP_SIZE to 4.&lt;/P&gt;&lt;P&gt;I thought I could acquire the signal from the 2 channels successively in one acquisition but this didn't worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a bit rusty in programming and I need to train seriously!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With my best regards,&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 17:34:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Some-help-needed-for-multiple-acquisitions-with-ADC/m-p/267601#M8833</guid>
      <dc:creator>olivier_33</dc:creator>
      <dc:date>2013-12-18T17:34:18Z</dc:date>
    </item>
  </channel>
</rss>

