<?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>S32KのトピックRe: S32K comparator tolerance/offset</title>
    <link>https://community.nxp.com/t5/S32K/S32K-comparator-tolerance-offset/m-p/2396171#M59908</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Sid_Zhou,&lt;/P&gt;
&lt;P&gt;Which CMP0_IN pin are you connecting the input voltage to?&lt;/P&gt;
&lt;P&gt;When swapping INN and INP, is the input voltage still being input through the same CMP0_IN pin?&lt;/P&gt;
&lt;P&gt;Also, the BandGap voltage range is between 0.97-1.03V. Have you considered temporarily ruling out issues caused by different BandGap voltages on the two MCUs? For example, could you use a different CMP0_IN pin to input a more accurate external voltage reference?&lt;/P&gt;
&lt;P&gt;Have you checked whether the VDD/VDDA voltages of the two S32K1s are the same?&lt;/P&gt;
&lt;P&gt;Were OFFSET=1 and HYSTCTR=0 confirmed during debugging?&lt;/P&gt;
&lt;P&gt;I noticed you increased the input voltage and recorded VOSEL. Have you tested decreasing the input voltage and recording VOSEL? Also, check if the &lt;STRONG&gt;Analog comparator hysteresis&lt;/STRONG&gt; is affected, although I see you configured HYSTCTR=0.&lt;/P&gt;
&lt;P&gt;Take two S32K116 photos and tell me the MCU mask.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jul 2026 03:38:42 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2026-07-17T03:38:42Z</dc:date>
    <item>
      <title>S32K comparator tolerance/offset</title>
      <link>https://community.nxp.com/t5/S32K/S32K-comparator-tolerance-offset/m-p/2395876#M59895</link>
      <description>&lt;P&gt;we are having some test on the comparator of S32K116:&lt;BR /&gt;we apply an input voltage(238mV) to INN (or INP), use bandgap as reference, then we increase VOSEL from 0 to 255 and monitor when the comparator output changed.&lt;/P&gt;&lt;P&gt;Somehow, we see different tolerance/offset on MCU2 when the connection of &lt;STRONG&gt;input voltage and bandgap is swapped.&lt;/STRONG&gt;&amp;nbsp; (Details shown in Test1 and Test2)&lt;/P&gt;&lt;P&gt;1) Is this some kind of known feature like VAIO or something else?&lt;BR /&gt;2) For this tolerance/offset, is it stable and can&amp;nbsp;we eliminate this by calibration?&lt;BR /&gt;(like record the trigger VOSEL at the target voltage)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test1:&lt;/STRONG&gt; Input Voltage on&lt;STRONG&gt; V-,&lt;/STRONG&gt; Bandgap on&lt;STRONG&gt; V+&lt;/STRONG&gt;, Low Speed Mode&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sid_Zhou_5-1784193940847.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392459i86F1D7A6FD77F144/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sid_Zhou_5-1784193940847.png" alt="Sid_Zhou_5-1784193940847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test2:&lt;/STRONG&gt; Input Voltage on&lt;STRONG&gt; V+,&lt;/STRONG&gt; Bandgap on &lt;STRONG&gt;V-&lt;/STRONG&gt;, Low Speed Mode&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sid_Zhou_6-1784193974436.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392460i51D990D8AAE4C937/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sid_Zhou_6-1784193974436.png" alt="Sid_Zhou_6-1784193974436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2026 09:30:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-comparator-tolerance-offset/m-p/2395876#M59895</guid>
      <dc:creator>Sid_Zhou</dc:creator>
      <dc:date>2026-07-16T09:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K comparator tolerance/offset</title>
      <link>https://community.nxp.com/t5/S32K/S32K-comparator-tolerance-offset/m-p/2396171#M59908</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Sid_Zhou,&lt;/P&gt;
&lt;P&gt;Which CMP0_IN pin are you connecting the input voltage to?&lt;/P&gt;
&lt;P&gt;When swapping INN and INP, is the input voltage still being input through the same CMP0_IN pin?&lt;/P&gt;
&lt;P&gt;Also, the BandGap voltage range is between 0.97-1.03V. Have you considered temporarily ruling out issues caused by different BandGap voltages on the two MCUs? For example, could you use a different CMP0_IN pin to input a more accurate external voltage reference?&lt;/P&gt;
&lt;P&gt;Have you checked whether the VDD/VDDA voltages of the two S32K1s are the same?&lt;/P&gt;
&lt;P&gt;Were OFFSET=1 and HYSTCTR=0 confirmed during debugging?&lt;/P&gt;
&lt;P&gt;I noticed you increased the input voltage and recorded VOSEL. Have you tested decreasing the input voltage and recording VOSEL? Also, check if the &lt;STRONG&gt;Analog comparator hysteresis&lt;/STRONG&gt; is affected, although I see you configured HYSTCTR=0.&lt;/P&gt;
&lt;P&gt;Take two S32K116 photos and tell me the MCU mask.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 03:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-comparator-tolerance-offset/m-p/2396171#M59908</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2026-07-17T03:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K comparator tolerance/offset</title>
      <link>https://community.nxp.com/t5/S32K/S32K-comparator-tolerance-offset/m-p/2396263#M59920</link>
      <description>&lt;P&gt;1) Input Pin&lt;BR /&gt;CMP0_IN is always set to channel 0. (PIN26, PTA0)&lt;BR /&gt;&lt;SPAN&gt;Yes, input voltage still being input through the same CMP0_IN Pin26, PTA0.&lt;BR /&gt;&lt;/SPAN&gt;2) Bandgap&lt;BR /&gt;The feature I want to figure out is not the difference between two MCU.&amp;nbsp; It is this different tolerance/offset from the same MCU when INN and INP is swapped. I think the bandgap should not change during this swapped.&amp;nbsp;&amp;nbsp;(The data of MCU1 here is just use as reference)&lt;BR /&gt;3)&amp;nbsp;&lt;SPAN&gt;VDD/VDDA:&lt;BR /&gt;The two MCU are using same +3.3V network (LDO within 1.25% tolerance).&amp;nbsp;&lt;BR /&gt;I am fully understanding there will be difference between MCUs bandgap, but, again, it is the difference during swapped I am checking.&lt;BR /&gt;4) test method&lt;BR /&gt;The test data above is not increasing input voltage, it is using fixed input voltage, and increasing VOSEL. (For decreasing VOSEL, i have not test yet, will check this later.)&lt;BR /&gt;As for increasing/decreasing input voltage with fixed VOSEL, there is similar -9mV.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IncreaseInput_FixedVOSEL.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392558i33A0D55D5CF3D0B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IncreaseInput_FixedVOSEL.PNG" alt="IncreaseInput_FixedVOSEL.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; 5) Hysteresis&lt;BR /&gt;I do have test data for hysteresis in low-speed mode:&lt;BR /&gt;Test data here is fixing input voltage and increase VOSEL: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hysteresis_LowSpeedMode.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392560i2D2C85F3DC8F9EE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hysteresis_LowSpeedMode.PNG" alt="Hysteresis_LowSpeedMode.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; 6) MCU photos&lt;BR /&gt;you can refer to attached photo "MCU1.PNG" and "MCU2.PNG"&lt;BR /&gt;Solder mask is&amp;nbsp;&lt;BR /&gt;FS32K11-6LFMFM-ON96V-S12YM16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 07:56:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-comparator-tolerance-offset/m-p/2396263#M59920</guid>
      <dc:creator>Sid_Zhou</dc:creator>
      <dc:date>2026-07-17T07:56:04Z</dc:date>
    </item>
  </channel>
</rss>

