<?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 S32K144 comparator in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-comparator/m-p/1667622#M23839</link>
    <description>&lt;P&gt;hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using the S32k144 uC 64 pin package. we are planning to use analog comparator.&lt;/P&gt;&lt;P&gt;1.can you please tell me which we can use for comparator INP and INM.&lt;/P&gt;&lt;P&gt;2.please provide the hardware connection for comparator in uC(example)?&lt;/P&gt;&lt;P&gt;3.please provide the detailed application note for comparator?&lt;/P&gt;&lt;P&gt;4.which pins we can use for generating the 16kHz PWM and which pins we can use to generate the PWM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 04:32:18 GMT</pubDate>
    <dc:creator>mogilipuri_harish</dc:creator>
    <dc:date>2023-06-13T04:32:18Z</dc:date>
    <item>
      <title>S32K144 comparator</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-comparator/m-p/1667622#M23839</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using the S32k144 uC 64 pin package. we are planning to use analog comparator.&lt;/P&gt;&lt;P&gt;1.can you please tell me which we can use for comparator INP and INM.&lt;/P&gt;&lt;P&gt;2.please provide the hardware connection for comparator in uC(example)?&lt;/P&gt;&lt;P&gt;3.please provide the detailed application note for comparator?&lt;/P&gt;&lt;P&gt;4.which pins we can use for generating the 16kHz PWM and which pins we can use to generate the PWM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 04:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-comparator/m-p/1667622#M23839</guid>
      <dc:creator>mogilipuri_harish</dc:creator>
      <dc:date>2023-06-13T04:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 comparator</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-comparator/m-p/1668858#M23919</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;It is recommended that you read &lt;STRONG&gt;Chapter 45 Comparator (CMP)&lt;/STRONG&gt; of &lt;A href="https://www.nxp.com/webapp/Download?colCode=S32K1XXRM" target="_self"&gt;S32K1xx MCU Family - Reference Manual&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;1. The Analog MUX (ANMUX) provides a circuit for selecting an analog input signal from eight channels. One signal is provided by the 8-bit digital-to-analog converter (DAC). So&amp;nbsp;CMP0_IN0-CMP0_IN7 and&amp;nbsp;DAC output can be used for&amp;nbsp;&lt;SPAN&gt;comparator INP and INM.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Figure 45-1. CMP high level diagram.jpg" style="width: 803px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227533iE0C052A1AE6EFC8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Figure 45-1. CMP high level diagram.jpg" alt="Figure 45-1. CMP high level diagram.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Connect the external signal to the selected pin of CMP0_IN0-CMP0_IN7. There is a S32K1 SDK sample cmp_dac_s32k144 for your reference. The example &lt;A target="_self"&gt;documentation&lt;/A&gt; can be found in the S32 SDK documentation at Examples and Demos section. (&amp;lt;SDK_PATH&amp;gt;/doc/Start_Here.html)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S32SDK_S32K1XX_RTM_4.0.3 cmp_dac_s32k144.jpg" style="width: 955px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227540i5B70FA6EBBA29BF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32SDK_S32K1XX_RTM_4.0.3 cmp_dac_s32k144.jpg" alt="S32SDK_S32K1XX_RTM_4.0.3 cmp_dac_s32k144.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can also refer to &lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-CMP-Round-robin-S32DS2-0/ta-p/1100721" target="_self"&gt;Example S32K144 CMP Round-robin S32DS2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3. I&amp;nbsp;did not find the &lt;SPAN&gt;application note&lt;/SPAN&gt; for S32K1 CMP. Please&amp;nbsp;read&amp;nbsp;&lt;STRONG&gt;Chapter 45 Comparator (CMP)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;of&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=S32K1XXRM" target="_self" rel="nofollow noopener noreferrer"&gt;S32K1xx MCU Family - Reference Manual&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Q4. Which pins we can use for generating the 16kHz PWM and which pins we can use to generate the PWM?&lt;BR /&gt;A4. Do you want to use CMP to generate PWM? If it has nothing to do with the CMP topic, then please read &lt;STRONG&gt;Chapter 47 FlexTimer Module (FTM)&lt;/STRONG&gt; and refer to the FTM example in the S32K1 SDK.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 03:43:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-comparator/m-p/1668858#M23919</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-06-14T03:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FTM PWM Generation</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-comparator/m-p/1669484#M23969</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are planning to generate the 16 kHZ PWM signals when ADC pins detect the 4V.&lt;/P&gt;&lt;P&gt;can we implement this kind of logic on uC? if it possible can you tell me how to do that ??&lt;/P&gt;&lt;P&gt;can you provide one example?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 17:17:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-comparator/m-p/1669484#M23969</guid>
      <dc:creator>mogilipuri_harish</dc:creator>
      <dc:date>2023-06-14T17:17:41Z</dc:date>
    </item>
  </channel>
</rss>

