<?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>MQX Software SolutionsのトピックIssue using breakpoints with MQX ADC driver in Kinetis</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Issue-using-breakpoints-with-MQX-ADC-driver-in-Kinetis/m-p/195434#M4024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As of MQX v3.8.1, when debugging your MQX application, you may notice that the lwevent used by the ADC driver stops occurring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica Neue'; color: #51626f; background: white;"&gt;Unfortunately you should not use the debugger or set a breakpoint when you are using the ADC. Because the ADC driver in MQX is using the PDB to generate the sample rate, when the debugger stops when a breakpoint is reached, the PDB keeps counting but the ADC triggers are not generated so the ADC conversions stop working. In other words, the PDB can’t be halted when debugging.&amp;nbsp;&amp;nbsp; Description of the problem with the PDB-A/D mechanism: While using the PDB to trigger the Kinetis ADC modules, the PDB invokes an ADC conversion on every PDB period expiration. This is true until the MCU reaches a breakpoint or is stopped for debug: when the MCU resumes operation, the PDB does not invoke ADC conversions anymore, and the ERR flag at the PDB_CHxS register is set. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2012 18:19:57 GMT</pubDate>
    <dc:creator>dereksnell</dc:creator>
    <dc:date>2012-11-30T18:19:57Z</dc:date>
    <item>
      <title>Issue using breakpoints with MQX ADC driver in Kinetis</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Issue-using-breakpoints-with-MQX-ADC-driver-in-Kinetis/m-p/195434#M4024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As of MQX v3.8.1, when debugging your MQX application, you may notice that the lwevent used by the ADC driver stops occurring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica Neue'; color: #51626f; background: white;"&gt;Unfortunately you should not use the debugger or set a breakpoint when you are using the ADC. Because the ADC driver in MQX is using the PDB to generate the sample rate, when the debugger stops when a breakpoint is reached, the PDB keeps counting but the ADC triggers are not generated so the ADC conversions stop working. In other words, the PDB can’t be halted when debugging.&amp;nbsp;&amp;nbsp; Description of the problem with the PDB-A/D mechanism: While using the PDB to trigger the Kinetis ADC modules, the PDB invokes an ADC conversion on every PDB period expiration. This is true until the MCU reaches a breakpoint or is stopped for debug: when the MCU resumes operation, the PDB does not invoke ADC conversions anymore, and the ERR flag at the PDB_CHxS register is set. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 18:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Issue-using-breakpoints-with-MQX-ADC-driver-in-Kinetis/m-p/195434#M4024</guid>
      <dc:creator>dereksnell</dc:creator>
      <dc:date>2012-11-30T18:19:57Z</dc:date>
    </item>
  </channel>
</rss>

