<?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: PDB0 and ADC0</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PDB0-and-ADC0/m-p/319543#M14239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perla&lt;/P&gt;&lt;P&gt;Thank You for attention.&lt;/P&gt;&lt;P&gt;I have digged hardly to understand the problem and it seems appearing a solution now. I want to trigger the the ADC0 two times to sample two inputs in back to back.&lt;/P&gt;&lt;P&gt;The configuration is the same for both channels of the ADC0. In my understanding the problem was the sampling time of the ADC0 with the averaging chosen was too long&lt;/P&gt;&lt;P&gt;for the PDB0 period. In such condition there was no way of avoiding the sequence error with both ADC0 channels activated.&lt;/P&gt;&lt;P&gt;I have now placed a fair sampling time and average to stay in time, everything is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2014 08:12:08 GMT</pubDate>
    <dc:creator>pietrodicastri</dc:creator>
    <dc:date>2014-06-18T08:12:08Z</dc:date>
    <item>
      <title>PDB0 and ADC0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PDB0-and-ADC0/m-p/319541#M14237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to configure the PDB0 and ADC0 to work in hardware trigger. I am interested in sampling only two channels, using only ADC0.&lt;/P&gt;&lt;P&gt;I want to assign the Pretrigger 0 to ADC0 without delay, the pretrigger 1 to ADC0 in back to back.&lt;/P&gt;&lt;P&gt;The continuous mode is disabled.&lt;/P&gt;&lt;P&gt;The PDB0 interrupt is fired at 8KHz.&lt;/P&gt;&lt;P&gt;The interrupt of the ADC0 is fired at approx 400 KHz. No synch between the PDB0 and ADC0.&lt;/P&gt;&lt;P&gt;The PDB0 detect a sequence error interrupt.&lt;/P&gt;&lt;P&gt;I do not follow the logic. Attached are the registers for PDB0 and ADC0.&lt;/P&gt;&lt;P&gt;Please ad advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 14:31:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PDB0-and-ADC0/m-p/319541#M14237</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2014-06-16T14:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: PDB0 and ADC0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PDB0-and-ADC0/m-p/319542#M14238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pietro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been reading your question and at this moment I just want to confirm with you what you have described, sometimes is difficult for me to understand, please see below and let me know if I have understand everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You want to trigger an action from PDB0 and ADC0, correct?&lt;/LI&gt;&lt;LI&gt;You want to sample two channels using ADC0, you mean 2 ADC channels?&lt;/LI&gt;&lt;LI&gt;What you mean with pretrigger?&lt;/LI&gt;&lt;LI&gt;You want to use ADC0 for trigger in two different configurations for two different channels?&lt;/LI&gt;&lt;LI&gt;You mention frequency rates for ADC0 and PDB0, those are the module frequency input (for each module)?&lt;/LI&gt;&lt;LI&gt;You mention "The PDB0 detect a sequence error interrupt." but I do not understand, what you mean with sequence?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to be sure before trying something, could you please answer this questions?, I would be glad to help once I got everything clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 20:26:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PDB0-and-ADC0/m-p/319542#M14238</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-06-17T20:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: PDB0 and ADC0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/PDB0-and-ADC0/m-p/319543#M14239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perla&lt;/P&gt;&lt;P&gt;Thank You for attention.&lt;/P&gt;&lt;P&gt;I have digged hardly to understand the problem and it seems appearing a solution now. I want to trigger the the ADC0 two times to sample two inputs in back to back.&lt;/P&gt;&lt;P&gt;The configuration is the same for both channels of the ADC0. In my understanding the problem was the sampling time of the ADC0 with the averaging chosen was too long&lt;/P&gt;&lt;P&gt;for the PDB0 period. In such condition there was no way of avoiding the sequence error with both ADC0 channels activated.&lt;/P&gt;&lt;P&gt;I have now placed a fair sampling time and average to stay in time, everything is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 08:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/PDB0-and-ADC0/m-p/319543#M14239</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2014-06-18T08:12:08Z</dc:date>
    </item>
  </channel>
</rss>

