<?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: Comparator Frequency detection mode</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754520#M46014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't find CMP_FREQ_DETECT_MODE_CONFIG_EN_DAC in cmp_test example(C:\Freescale\KM128SWDRV_R4_1_6\build\iar_7_40\projects\cmp_test)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only find &lt;EM&gt;Comparator Frequency Detection Setting&lt;/EM&gt; in &lt;A href="https://www.nxp.com/webapp/Download?colCode=DRM143SW"&gt;DRM143SW&lt;/A&gt;(&lt;A href="https://www.nxp.com/docs/en/application-note/DRM143.pdf"&gt;Kinetis M One-phase power meter Design Reference Manual &lt;/A&gt;)&lt;BR /&gt;Have you refer that example?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Comparator Frequency Detection Setting.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20967i4AF09483CAD0592F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Comparator Frequency Detection Setting.PNG" alt="Comparator Frequency Detection Setting.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Phase Voltage Frequency Measurement.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21004i15AA9F5E0ADA4698/image-size/large?v=v2&amp;amp;px=999" role="button" title="Phase Voltage Frequency Measurement.PNG" alt="Phase Voltage Frequency Measurement.PNG" /&gt;&lt;/span&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 07:32:59 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2018-02-28T07:32:59Z</dc:date>
    <item>
      <title>Comparator Frequency detection mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754517#M46011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we are having issues with frequency measurement. we saw DAC disabled in the comments but in the defination structure we noticed that DACEN bit is SET which is enabled.can you help me out in setting comparator frequency detection.&lt;BR /&gt;/**************************************************************************/ /*!&lt;BR /&gt; * @brief Comparator Frequency Detection Setting:&lt;BR /&gt; * - filter disabled, &lt;BR /&gt; * - hysteresis 5mv,&lt;BR /&gt; * - sample, windowing and trigger modes disabled,&lt;BR /&gt; * - high speed mode,&lt;BR /&gt; * - non-inverting polarity,&lt;BR /&gt; * - unfiltered signal propagated to output (disabled),&lt;BR /&gt; * - comparator enabled,&lt;BR /&gt; * - CMP filter disabled when CR1[SE]=0, &lt;BR /&gt; * - IRQ and DMA disabled,&lt;BR /&gt; * - &lt;STRONG&gt;DAC disabled.&lt;/STRONG&gt;&lt;BR /&gt; *****************************************************************************/&lt;BR /&gt;#define CMP_FREQ_DETECT_MODE_CONFIG_EN_DAC(dac) \&lt;BR /&gt;(tCMP){ \&lt;BR /&gt;/* CR0 */ SET(CMP_CR0_FILTER_CNT(0)) |SET(CMP_CR0_HYSTCTR(3)), \&lt;BR /&gt;/* CR1 */ CLR(CMP_CR1_SE_MASK) |CLR(CMP_CR1_WE_MASK)| \&lt;BR /&gt; CLR(CMP_CR1_TRIGM_MASK) |SET(CMP_CR1_PMODE_MASK)| \&lt;BR /&gt; CLR(CMP_CR1_INV_MASK) |CLR(CMP_CR1_COS_MASK)| \&lt;BR /&gt; CLR(CMP_CR1_OPE_MASK) |SET(CMP_CR1_EN_MASK), \&lt;BR /&gt;/* FPR */ SET(CMP_FPR_FILT_PER(0x00)), \&lt;BR /&gt;/* SCR */ CLR(CMP_SCR_DMAEN_MASK) |CLR(CMP_SCR_IER_MASK)| \&lt;BR /&gt; CLR(CMP_SCR_IEF_MASK), \&lt;BR /&gt;/* DACCR */ &lt;STRONG&gt;SET&lt;/STRONG&gt;(CMP_DACCR_DACEN_MASK) |CLR(CMP_DACCR_VRSEL_MASK)| dac \&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagadeesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2018 07:46:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754517#M46011</guid>
      <dc:creator>jagadeeshsurnen</dc:creator>
      <dc:date>2018-02-17T07:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Comparator Frequency detection mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754518#M46012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you please tell us where can I get that example code?&lt;BR /&gt;So that I can help you check the problem easier.&lt;/P&gt;&lt;P&gt;If you need the DAC output as one of Reference Input, then you should enable this bit.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DACEN.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20485iE5F99AAFEBF06BCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="DACEN.PNG" alt="DACEN.PNG" /&gt;&lt;/span&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 09:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754518#M46012</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-02-26T09:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Comparator Frequency detection mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754519#M46013</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;i took the reference from&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=KMSWDRVAPIRM_SW" title="https://www.nxp.com/webapp/Download?colCode=KMSWDRVAPIRM_SW"&gt;https://www.nxp.com/webapp/Download?colCode=KMSWDRVAPIRM_SW&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagadeesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 12:44:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754519#M46013</guid>
      <dc:creator>jagadeeshsurnen</dc:creator>
      <dc:date>2018-02-27T12:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Comparator Frequency detection mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754520#M46014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't find CMP_FREQ_DETECT_MODE_CONFIG_EN_DAC in cmp_test example(C:\Freescale\KM128SWDRV_R4_1_6\build\iar_7_40\projects\cmp_test)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only find &lt;EM&gt;Comparator Frequency Detection Setting&lt;/EM&gt; in &lt;A href="https://www.nxp.com/webapp/Download?colCode=DRM143SW"&gt;DRM143SW&lt;/A&gt;(&lt;A href="https://www.nxp.com/docs/en/application-note/DRM143.pdf"&gt;Kinetis M One-phase power meter Design Reference Manual &lt;/A&gt;)&lt;BR /&gt;Have you refer that example?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Comparator Frequency Detection Setting.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20967i4AF09483CAD0592F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Comparator Frequency Detection Setting.PNG" alt="Comparator Frequency Detection Setting.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Phase Voltage Frequency Measurement.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21004i15AA9F5E0ADA4698/image-size/large?v=v2&amp;amp;px=999" role="button" title="Phase Voltage Frequency Measurement.PNG" alt="Phase Voltage Frequency Measurement.PNG" /&gt;&lt;/span&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 07:32:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754520#M46014</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-02-28T07:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Comparator Frequency detection mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754521#M46015</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;yes, i have referred that example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;jagadeesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2018 06:48:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754521#M46015</guid>
      <dc:creator>jagadeeshsurnen</dc:creator>
      <dc:date>2018-03-03T06:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Comparator Frequency detection mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754522#M46016</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;thanks for your help, got the frequency measurement. there was a problem with V2REF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;jagadeesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 06:52:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Comparator-Frequency-detection-mode/m-p/754522#M46016</guid>
      <dc:creator>jagadeeshsurnen</dc:creator>
      <dc:date>2018-03-20T06:52:29Z</dc:date>
    </item>
  </channel>
</rss>

