<?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: ICU IPWM Capture Cycle Loss in S32K</title>
    <link>https://community.nxp.com/t5/S32K/ICU-IPWM-Capture-Cycle-Loss/m-p/1781959#M30134</link>
    <description>&lt;P&gt;I performed a further test by doing a register read at the interrupt general entry, but the phenomenon is the same.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Du_0224_2-1704253284189.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256438iA0D46FD29CFC6EB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Du_0224_2-1704253284189.png" alt="Du_0224_2-1704253284189.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Du_0224_1-1704253256812.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256437i818765900D7A8440/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Du_0224_1-1704253256812.png" alt="Du_0224_1-1704253256812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2024 03:41:37 GMT</pubDate>
    <dc:creator>Du_0224</dc:creator>
    <dc:date>2024-01-03T03:41:37Z</dc:date>
    <item>
      <title>ICU IPWM Capture Cycle Loss</title>
      <link>https://community.nxp.com/t5/S32K/ICU-IPWM-Capture-Cycle-Loss/m-p/1781664#M30113</link>
      <description>&lt;P&gt;Hello NXP engineers.&lt;/P&gt;&lt;P&gt;Test environment:&lt;/P&gt;&lt;P&gt;S32K314 + RTD2.0.2&lt;/P&gt;&lt;P&gt;* Autosar Version : 4.4.0&lt;BR /&gt;* Autosar Revision : ASR_REL_4_4_REV_0000&lt;BR /&gt;* Autosar Conf.Variant :&lt;BR /&gt;* SW Version : 2.0.2&lt;BR /&gt;* Build Version : S32K3_RTD_2_0_2_D2211_ASR_REL_4_4_REV_0000_20221129&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm testing with an IPWM acquisition lost cycle problem.&lt;/P&gt;&lt;P&gt;IPWM clock 1M&lt;BR /&gt;A jump problem was found during testing of the 3K 50% duty cycle.&lt;BR /&gt;Troubleshooting with an oscilloscope, the waveforms from the hardware input to the MCU are correct. There is no cycle loss problem&lt;/P&gt;&lt;P&gt;And the value after the jump is basically around 1.5K, 75% duty cycle.&lt;/P&gt;&lt;P&gt;Based on the phenomenon it is suspected that the IPWM acquisition is missing a cycle?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Du_0224_0-1704191071964.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256361iFAA212520B468852/image-size/large?v=v2&amp;amp;px=999" role="button" title="Du_0224_0-1704191071964.png" alt="Du_0224_0-1704191071964.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Du_0224_2-1704191146143.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256363iFF8F90D4C305D542/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Du_0224_2-1704191146143.png" alt="Du_0224_2-1704191146143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Du_0224_3-1704191152996.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256365iD6D7F1FA7B052B1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Du_0224_3-1704191152996.png" alt="Du_0224_3-1704191152996.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1M clock, counting: 3KHz, 50% duty cycle. The count should be: period value ≈ 333, A-B ≈ 167.&lt;/P&gt;&lt;P&gt;According to the phenomenon, the pulse width is correct, but the duty cycle is calculated incorrectly because the period value is not correct.&lt;BR /&gt;The debug adds variables to save the time of arrival of each pulse edge:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Du_0224_4-1704191195511.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256366i8607FCF536DD020C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Du_0224_4-1704191195511.png" alt="Du_0224_4-1704191195511.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The test found that the value latched into register B is just not right:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Du_0224_5-1704191235621.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256367i3AB8FBE8C723F75A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Du_0224_5-1704191235621.png" alt="Du_0224_5-1704191235621.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;</description>
      <pubDate>Tue, 02 Jan 2024 10:28:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ICU-IPWM-Capture-Cycle-Loss/m-p/1781664#M30113</guid>
      <dc:creator>Du_0224</dc:creator>
      <dc:date>2024-01-02T10:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: ICU IPWM Capture Cycle Loss</title>
      <link>https://community.nxp.com/t5/S32K/ICU-IPWM-Capture-Cycle-Loss/m-p/1781959#M30134</link>
      <description>&lt;P&gt;I performed a further test by doing a register read at the interrupt general entry, but the phenomenon is the same.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Du_0224_2-1704253284189.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256438iA0D46FD29CFC6EB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Du_0224_2-1704253284189.png" alt="Du_0224_2-1704253284189.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Du_0224_1-1704253256812.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256437i818765900D7A8440/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Du_0224_1-1704253256812.png" alt="Du_0224_1-1704253256812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 03:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ICU-IPWM-Capture-Cycle-Loss/m-p/1781959#M30134</guid>
      <dc:creator>Du_0224</dc:creator>
      <dc:date>2024-01-03T03:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: ICU IPWM Capture Cycle Loss</title>
      <link>https://community.nxp.com/t5/S32K/ICU-IPWM-Capture-Cycle-Loss/m-p/1782826#M30199</link>
      <description>&lt;P&gt;Problem solved, this issue is closed&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 08:15:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ICU-IPWM-Capture-Cycle-Loss/m-p/1782826#M30199</guid>
      <dc:creator>Du_0224</dc:creator>
      <dc:date>2024-01-04T08:15:01Z</dc:date>
    </item>
  </channel>
</rss>

