<?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: Re: How to use the MK60FN1M0VLQ15 Analog-Compare module ? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313069#M13611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, based on the pins you mention:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PTC6 = CMP0_IN0&lt;/LI&gt;&lt;LI&gt;PTC7 = CMP0_IN1&lt;/LI&gt;&lt;LI&gt;PTC5 = CMP0_OUT&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on this, after you open CodeWarrior and create a new project with PEx, you will open the Hardware perspective and select the CMP0 module on the chip image, right click and select Add Analog Comparator module.&lt;/P&gt;&lt;P&gt;Then in the left pane (Component Inspector) configure your module with the pins you want to use.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MK60_CMP0_selection.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14999i9E840B8CE0AB89F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="MK60_CMP0_selection.JPG.jpg" alt="MK60_CMP0_selection.JPG.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;Have a nic day :P,&lt;BR /&gt;Perla&lt;/P&gt;&lt;P&gt;&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>Fri, 11 Apr 2014 20:05:38 GMT</pubDate>
    <dc:creator>perlam_i_au</dc:creator>
    <dc:date>2014-04-11T20:05:38Z</dc:date>
    <item>
      <title>How to use the MK60FN1M0VLQ15 Analog-Compare module ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313066#M13608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to use the MK60FN1M0VLQ15 Analog-Compare(Comparator) module ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kenta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 14:22:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313066#M13608</guid>
      <dc:creator>kentachang</dc:creator>
      <dc:date>2014-04-09T14:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the MK60FN1M0VLQ15 Analog-Compare module ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313067#M13609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to use the block diagram as reference to be as clear as possible.&lt;/P&gt;&lt;P&gt;Please notice there is the &lt;STRONG&gt;CMP&lt;/STRONG&gt; module, you can get from this comparator module 2 outputs: simple comparison result &lt;STRONG&gt;CMPO&lt;/STRONG&gt; or generate an interrupt &lt;STRONG&gt;IRQ&lt;/STRONG&gt; depending on the window and filter control (sample input).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the inputs for the &lt;STRONG&gt;CMP&lt;/STRONG&gt; module you will notice you have 2 mux from &lt;STRONG&gt;ANMUX&lt;/STRONG&gt; module, here you will choose your 2 inputs from signals listed below, for select signals you should go to the 38.7.6 MUX Control Register (CMPx_MUXCR), for the INP use the PSEL (Plus Input MUX Control) field and for INM use the MSEL (Minus Input MUX Control) field:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Reference 0 - IN0&lt;/LI&gt;&lt;LI&gt;Reference 1 - IN1&lt;/LI&gt;&lt;LI&gt;Reference 2 - IN2&lt;/LI&gt;&lt;LI&gt;Reference 3 - IN3&lt;/LI&gt;&lt;LI&gt;Reference 4 - IN4&lt;/LI&gt;&lt;LI&gt;Reference 5 - IN5&lt;/LI&gt;&lt;LI&gt;Reference 6 - IN6&lt;/LI&gt;&lt;LI&gt;DAC Output - IN7&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you chose to use the IN7 or DAC Output ou should configure the DAC to use it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43543i8EFC0390BC5DEB9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please take a look on the &lt;STRONG&gt;38.8 CMP Functional Description&lt;/STRONG&gt; in the &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/ref_manual/K60P144M150SF3RM.pdf"&gt;&lt;STRONG&gt;K60P144M150SF3RM&lt;/STRONG&gt; &lt;/A&gt;reference manual.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a nic day :P,&lt;BR /&gt;Perla&lt;/P&gt;&lt;P&gt;&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>Wed, 09 Apr 2014 20:46:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313067#M13609</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-04-09T20:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the MK60FN1M0VLQ15 Analog-Compare module ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313068#M13610</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;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;On the CodeWarrior Processor Expert,&amp;nbsp; I want to use CMP module to&amp;nbsp; compare the signals of PTC6 and PTC7, and output result on PTC5, please let me know How to do it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kenta &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 21:19:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313068#M13610</guid>
      <dc:creator>kentachang</dc:creator>
      <dc:date>2014-04-09T21:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to use the MK60FN1M0VLQ15 Analog-Compare module ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313069#M13611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, based on the pins you mention:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PTC6 = CMP0_IN0&lt;/LI&gt;&lt;LI&gt;PTC7 = CMP0_IN1&lt;/LI&gt;&lt;LI&gt;PTC5 = CMP0_OUT&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on this, after you open CodeWarrior and create a new project with PEx, you will open the Hardware perspective and select the CMP0 module on the chip image, right click and select Add Analog Comparator module.&lt;/P&gt;&lt;P&gt;Then in the left pane (Component Inspector) configure your module with the pins you want to use.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MK60_CMP0_selection.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14999i9E840B8CE0AB89F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="MK60_CMP0_selection.JPG.jpg" alt="MK60_CMP0_selection.JPG.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;Have a nic day :P,&lt;BR /&gt;Perla&lt;/P&gt;&lt;P&gt;&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>Fri, 11 Apr 2014 20:05:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313069#M13611</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-04-11T20:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the MK60FN1M0VLQ15 Analog-Compare module ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313070#M13612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is something wrong. I use the comparator(AnalogComp_LDD) in MKL25Z MCU is succeed, but do not succeed in MK60FN MCU.&lt;/P&gt;&lt;P&gt;please let me know What's wrong ... ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kenta&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 11:51:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313070#M13612</guid>
      <dc:creator>kentachang</dc:creator>
      <dc:date>2014-04-14T11:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the MK60FN1M0VLQ15 Analog-Compare module ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313071#M13613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please explain me what is the specific problem with K60? &lt;/P&gt;&lt;P&gt;It does not compare nothing at all? &lt;/P&gt;&lt;P&gt;Do you get something in the output?&lt;/P&gt;&lt;P&gt;Can you built your project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 20:53:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-MK60FN1M0VLQ15-Analog-Compare-module/m-p/313071#M13613</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-04-14T20:53:05Z</dc:date>
    </item>
  </channel>
</rss>

