<?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 Re: K22 + DMA + ADC + PDB with Processor Expert -- Multiple ADC Channels Scanning in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746437#M45454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Input trigger select need to be set PDB_SWTRIG which means that PDB is triggered (started) by software only.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Input trigger select is set to PDB_SWTRIG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20254iBDCE0419D6F25AF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Input trigger select is set to PDB_SWTRIG.png" alt="Input trigger select is set to PDB_SWTRIG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then you are able to get the DMA interrupt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2018 08:21:09 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2018-06-13T08:21:09Z</dc:date>
    <item>
      <title>K22 + DMA + ADC + PDB with Processor Expert -- Multiple ADC Channels Scanning</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746432#M45449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;have to scan 5 channels with Kinetis K22 Device continuously. I have followed the PDB DMA K22 Steps shared(i.e AN4688 and &lt;A href="https://community.nxp.com/docs/DOC-337572"&gt;DMA + ADC + PDB with Processor Expert (Kinetis K22 - MK22FN512VLH12)&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But When I debug the Program, I am getting DEBUG HALT Message Continuously. Please have a look at the code and suggest the changes required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 13:29:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746432#M45449</guid>
      <dc:creator>dhruvonline</dc:creator>
      <dc:date>2018-06-04T13:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: K22 + DMA + ADC + PDB with Processor Expert -- Multiple ADC Channels Scanning</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746433#M45450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DHRUV A,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/"&gt;Debugging Hard Faults on ARM Cortex-M&lt;/A&gt; may help you find out what is causing the problem.&lt;BR /&gt;You can also attached your project here, so that we can check it.&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;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Thu, 07 Jun 2018 06:28:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746433#M45450</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-06-07T06:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: K22 + DMA + ADC + PDB with Processor Expert -- Multiple ADC Channels Scanning</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746434#M45451</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;Thanks for the suggestion.&amp;nbsp;I have uploaded the project. Could you please check it out.&lt;/P&gt;&lt;P&gt;I will also check it as per the inputs shared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2018 10:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746434#M45451</guid>
      <dc:creator>dhruvonline</dc:creator>
      <dc:date>2018-06-10T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: K22 + DMA + ADC + PDB with Processor Expert -- Multiple ADC Channels Scanning</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746435#M45452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the project setting, MK22FN1M0VLQ12 was selected. Please make sure you are using this Part Number, otherwise different hardware will cause hardfault. (Notice &lt;A href="https://www.nxp.com/docs/en/engineering-bulletin/EB811.pdf"&gt;Kinetis K22F 120 MHz Family Mask Sets and Revision Numbers&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="EB811.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11971iF6820DD140F88499/image-size/large?v=v2&amp;amp;px=999" role="button" title="EB811.png" alt="EB811.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example: I only have FRDM-K22F(MK22FN512VLH12) and TWR-K22F120M(K22FN512VDC12), so it will run into hardfault due to lack of MPU.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Cpu_ivINT_Hard_Fault.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12389iA711F466F4B0E7D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cpu_ivINT_Hard_Fault.png" alt="Cpu_ivINT_Hard_Fault.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MK22FN512VLH12 don't have MPU.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12082iD7CFB1711728F808/image-size/large?v=v2&amp;amp;px=999" role="button" title="MK22FN512VLH12 don't have MPU.png" alt="MK22FN512VLH12 don't have MPU.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 03:23:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746435#M45452</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-06-11T03:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: K22 + DMA + ADC + PDB with Processor Expert -- Multiple ADC Channels Scanning</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746436#M45453</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;Thanks for the suggestion. I have tried with FRDM-K22 with KDS. Could you please check&amp;nbsp;the attached project and suggest if anything is missing. I am not able to get the DMA interrupt. I need to measure 10 Channels continuously. Please suggest the modifications with&amp;nbsp;the project attached for multiple channels scanning.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;DHRUV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 11:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746436#M45453</guid>
      <dc:creator>dhruvonline</dc:creator>
      <dc:date>2018-06-12T11:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: K22 + DMA + ADC + PDB with Processor Expert -- Multiple ADC Channels Scanning</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746437#M45454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Input trigger select need to be set PDB_SWTRIG which means that PDB is triggered (started) by software only.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Input trigger select is set to PDB_SWTRIG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20254iBDCE0419D6F25AF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Input trigger select is set to PDB_SWTRIG.png" alt="Input trigger select is set to PDB_SWTRIG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then you are able to get the DMA interrupt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 08:21:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746437#M45454</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-06-13T08:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: K22 + DMA + ADC + PDB with Processor Expert -- Multiple ADC Channels Scanning</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746438#M45455</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;Thanks for the suggestion. Now I am getting the DMA interrupt and it is working. But when I debug multiple times, after some time it is going to&amp;nbsp;PE_ISR(UnhandledInterrupt);&lt;BR /&gt;PE_ISR(UnhandledInterrupt)&lt;BR /&gt;{&lt;BR /&gt;PE_DEBUGHALT();&lt;BR /&gt;}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanks&amp;nbsp;for the help. I appreciate you for the active&amp;nbsp;participation in this forum to use NXP tools and devices further.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more request, could you please suggest the modifications for the multiple channels measurement with this project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 10:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746438#M45455</guid>
      <dc:creator>dhruvonline</dc:creator>
      <dc:date>2018-06-13T10:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: K22 + DMA + ADC + PDB with Processor Expert -- Multiple ADC Channels Scanning</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746439#M45456</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;I have made the changes with another processor(MK22). I am using that MK22FX device. I have used same settings as freedom board. But it is going to DEBUG_HALT. Could you please suggest. I have attached the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 12:34:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-DMA-ADC-PDB-with-Processor-Expert-Multiple-ADC-Channels/m-p/746439#M45456</guid>
      <dc:creator>dhruvonline</dc:creator>
      <dc:date>2018-06-20T12:34:36Z</dc:date>
    </item>
  </channel>
</rss>

