<?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: 6 ADC's Channels using PDB/Frdm-k64/SDK 2.2  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/6-ADC-s-Channels-using-PDB-Frdm-k64-SDK-2-2/m-p/673403#M41375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jordan,&lt;/P&gt;&lt;P&gt;You are right, the K64 has two ADC modules, PDB has two channels to trigger ADC, each ADC module has Ping-pong mode, in other words, you can sample 4 ADC channels if you use PDB to trigger two ADC modules as you have done.&lt;/P&gt;&lt;P&gt;If you want to sample 6 ADC channels, as a workaround with K64, you can use hardware trigger mode of PDB plus ADC as you have done, in the ISR of ADC, you can read ADCx_RA, ADCx_RB of both ADC module firstly, then change the ADC in software trigging mode, start both ADC to sample by writting ADC0_SC1A/ADC1_SC1A to sample another two channels, poll the status register, read samples, recover to hardware trigger mode.&lt;/P&gt;&lt;P&gt;As an alternative, you can change another Kinetis processor which can meet your requirement.&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 May 2017 09:06:25 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2017-05-10T09:06:25Z</dc:date>
    <item>
      <title>6 ADC's Channels using PDB/Frdm-k64/SDK 2.2</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/6-ADC-s-Channels-using-PDB-Frdm-k64-SDK-2-2/m-p/673402#M41374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way for reading 6 ADC´s channels (3 per ADC) using a PDB module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the k64 has only 4 pretriggers (2 per PDB channel) and that we're able to read 4 analog inputs using back-to-back mode, but is there a form to read 6 analog inputs using this mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possibility to do it or is it better to choose another micro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jordan Garcia&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 23:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/6-ADC-s-Channels-using-PDB-Frdm-k64-SDK-2-2/m-p/673402#M41374</guid>
      <dc:creator>jordangarcia</dc:creator>
      <dc:date>2017-05-09T23:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: 6 ADC's Channels using PDB/Frdm-k64/SDK 2.2</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/6-ADC-s-Channels-using-PDB-Frdm-k64-SDK-2-2/m-p/673403#M41375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jordan,&lt;/P&gt;&lt;P&gt;You are right, the K64 has two ADC modules, PDB has two channels to trigger ADC, each ADC module has Ping-pong mode, in other words, you can sample 4 ADC channels if you use PDB to trigger two ADC modules as you have done.&lt;/P&gt;&lt;P&gt;If you want to sample 6 ADC channels, as a workaround with K64, you can use hardware trigger mode of PDB plus ADC as you have done, in the ISR of ADC, you can read ADCx_RA, ADCx_RB of both ADC module firstly, then change the ADC in software trigging mode, start both ADC to sample by writting ADC0_SC1A/ADC1_SC1A to sample another two channels, poll the status register, read samples, recover to hardware trigger mode.&lt;/P&gt;&lt;P&gt;As an alternative, you can change another Kinetis processor which can meet your requirement.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 09:06:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/6-ADC-s-Channels-using-PDB-Frdm-k64-SDK-2-2/m-p/673403#M41375</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-05-10T09:06:25Z</dc:date>
    </item>
  </channel>
</rss>

