<?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: INTM not working as expected</title>
    <link>https://community.nxp.com/t5/S32K/INTM-not-working-as-expected/m-p/1995371#M43335</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I saw your private message, but I can't reply there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;here is my answer&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;这个帖子我早就看过了，&lt;/SPAN&gt;&lt;SPAN&gt;INTM&lt;/SPAN&gt;&lt;SPAN&gt;这个模块并不复杂，只有几个寄存器，功能也比较简单，容易理解，但最后就是出现了令人费解的问题，你提到的这个可能性是不存在的，我提问的截图里有&lt;/SPAN&gt;&lt;SPAN&gt;STM_CNT&lt;/SPAN&gt;&lt;SPAN&gt;的数值，我的断点就是打在了&lt;/SPAN&gt;callback中的Intm_Ip_AckIrq函数上，证明两次运行到Intm_Ip_AckIrq&lt;SPAN&gt;的间隔是符合预期的。我也怀疑过难不成&lt;/SPAN&gt;&lt;SPAN&gt;STM&lt;/SPAN&gt;&lt;SPAN&gt;坏了，改去监控&lt;/SPAN&gt;&lt;SPAN&gt;PIT&lt;/SPAN&gt;&lt;SPAN&gt;的中断，用&lt;/SPAN&gt;&lt;SPAN&gt;STM_CNT&lt;/SPAN&gt;&lt;SPAN&gt;作辅助验证，最后还是一样，&lt;/SPAN&gt;&lt;SPAN&gt;PIT&lt;/SPAN&gt;&lt;SPAN&gt;中断是预期触发，监控结果却总是出错，我注意到一个很奇怪的现象，观察寄存器，&lt;/SPAN&gt;&lt;SPAN&gt;STATUS&lt;/SPAN&gt;&lt;SPAN&gt;要想为&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;，&lt;/SPAN&gt;&lt;SPAN&gt;TIMER&lt;/SPAN&gt;&lt;SPAN&gt;必须大于&lt;/SPAN&gt;&lt;SPAN&gt;LATENCY&lt;/SPAN&gt;&lt;SPAN&gt;的值，理论&lt;/SPAN&gt;&lt;SPAN&gt;上，中断的周期是固定的情况下&lt;/SPAN&gt;&lt;SPAN&gt;TIMER&lt;/SPAN&gt;&lt;SPAN&gt;的数值每次应该相差不大，但我发现，在监控&lt;/SPAN&gt;PIT的时候TIMER的数值会随LATENCY变化而不是中断周期，在监控STM的时候，STM周期变化很大，TIMER的值却几乎不变&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;附截图&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Fri, 15 Nov 2024 09:49:59 GMT</pubDate>
    <dc:creator>Janeting123</dc:creator>
    <dc:date>2024-11-15T09:49:59Z</dc:date>
    <item>
      <title>INTM not working as expected</title>
      <link>https://community.nxp.com/t5/S32K/INTM-not-working-as-expected/m-p/1992507#M43153</link>
      <description>&lt;P&gt;I have a very confusing problem here.&lt;/P&gt;&lt;P&gt;My chip model is S32K312.&lt;/P&gt;&lt;P&gt;The clock configuration selected is option B. The STM clock is 48M, and the INTM clock is 60M&lt;/P&gt;&lt;P&gt;When the STM timing interrupt is 100ms, my test is as follows：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_0-1731391143271.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309944i24190AC1F32A70E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_0-1731391143271.png" alt="Janeting123_0-1731391143271.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="Janeting123_1-1731391155138.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309945iFFC81A79618B409D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_1-1731391155138.png" alt="Janeting123_1-1731391155138.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;（0x00DBBC06 - 0x00927E0A）/ 48000 = 99.99&amp;nbsp;&amp;nbsp;&amp;nbsp; According to the value of STM.CNT, we can know that the STM interrupt is triggered as expected, but INTM_STATUS is still 0.&lt;/P&gt;&lt;P&gt;The value of INTM_LATENCY needs to be further reduced before INTM_STATUS changes to 1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_2-1731391170323.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309946i7D4F12212BD2203E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_2-1731391170323.png" alt="Janeting123_2-1731391170323.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;This is also the case when the STM timer interrupt interval is 300ms&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_3-1731391198265.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309947i670FAF8A8690C947/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_3-1731391198265.png" alt="Janeting123_3-1731391198265.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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_4-1731391212037.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309948i3D6EDC21312BC577/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_4-1731391212037.png" alt="Janeting123_4-1731391212037.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="Janeting123_5-1731391230455.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309949i53F8852C19A7140A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_5-1731391230455.png" alt="Janeting123_5-1731391230455.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;I think already I have been very careful to use the INTM interface, but I still don't know where the problem lies&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_6-1731391255802.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309950i958B0B3BC6E009A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_6-1731391255802.png" alt="Janeting123_6-1731391255802.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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Nov 2024 06:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/INTM-not-working-as-expected/m-p/1992507#M43153</guid>
      <dc:creator>Janeting123</dc:creator>
      <dc:date>2024-11-12T06:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: INTM not working as expected</title>
      <link>https://community.nxp.com/t5/S32K/INTM-not-working-as-expected/m-p/1994515#M43284</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;INTM allows you to set a maximum timer count for the &lt;STRONG&gt;interrupt latency&lt;/STRONG&gt; from interrupt &lt;STRONG&gt;request&lt;/STRONG&gt; to interrupt &lt;STRONG&gt;acknowledge&lt;/STRONG&gt;. This mechanism monitors the latency of interrupt sources to ensure that these critical interrupts execute within the expected time frame, increasing the reliability of the chip.&lt;/P&gt;
&lt;P&gt;Try adding a delay before &lt;STRONG&gt;INTM_IACK&lt;/STRONG&gt; instead of increasing the timer period.&lt;/P&gt;
&lt;P&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 "ACCEPT AS SOLUTION" 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>Thu, 14 Nov 2024 23:49:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/INTM-not-working-as-expected/m-p/1994515#M43284</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-11-14T23:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: INTM not working as expected</title>
      <link>https://community.nxp.com/t5/S32K/INTM-not-working-as-expected/m-p/1995371#M43335</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I saw your private message, but I can't reply there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;here is my answer&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;这个帖子我早就看过了，&lt;/SPAN&gt;&lt;SPAN&gt;INTM&lt;/SPAN&gt;&lt;SPAN&gt;这个模块并不复杂，只有几个寄存器，功能也比较简单，容易理解，但最后就是出现了令人费解的问题，你提到的这个可能性是不存在的，我提问的截图里有&lt;/SPAN&gt;&lt;SPAN&gt;STM_CNT&lt;/SPAN&gt;&lt;SPAN&gt;的数值，我的断点就是打在了&lt;/SPAN&gt;callback中的Intm_Ip_AckIrq函数上，证明两次运行到Intm_Ip_AckIrq&lt;SPAN&gt;的间隔是符合预期的。我也怀疑过难不成&lt;/SPAN&gt;&lt;SPAN&gt;STM&lt;/SPAN&gt;&lt;SPAN&gt;坏了，改去监控&lt;/SPAN&gt;&lt;SPAN&gt;PIT&lt;/SPAN&gt;&lt;SPAN&gt;的中断，用&lt;/SPAN&gt;&lt;SPAN&gt;STM_CNT&lt;/SPAN&gt;&lt;SPAN&gt;作辅助验证，最后还是一样，&lt;/SPAN&gt;&lt;SPAN&gt;PIT&lt;/SPAN&gt;&lt;SPAN&gt;中断是预期触发，监控结果却总是出错，我注意到一个很奇怪的现象，观察寄存器，&lt;/SPAN&gt;&lt;SPAN&gt;STATUS&lt;/SPAN&gt;&lt;SPAN&gt;要想为&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;，&lt;/SPAN&gt;&lt;SPAN&gt;TIMER&lt;/SPAN&gt;&lt;SPAN&gt;必须大于&lt;/SPAN&gt;&lt;SPAN&gt;LATENCY&lt;/SPAN&gt;&lt;SPAN&gt;的值，理论&lt;/SPAN&gt;&lt;SPAN&gt;上，中断的周期是固定的情况下&lt;/SPAN&gt;&lt;SPAN&gt;TIMER&lt;/SPAN&gt;&lt;SPAN&gt;的数值每次应该相差不大，但我发现，在监控&lt;/SPAN&gt;PIT的时候TIMER的数值会随LATENCY变化而不是中断周期，在监控STM的时候，STM周期变化很大，TIMER的值却几乎不变&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;附截图&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 15 Nov 2024 09:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/INTM-not-working-as-expected/m-p/1995371#M43335</guid>
      <dc:creator>Janeting123</dc:creator>
      <dc:date>2024-11-15T09:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: INTM not working as expected</title>
      <link>https://community.nxp.com/t5/S32K/INTM-not-working-as-expected/m-p/1995426#M43336</link>
      <description>&lt;P class="email-notification-body"&gt;Please add code in the callback to express the value of INTM_STATUS through GPIO output. Timers sometimes behave strangely in debug mode (usually timers have a register to set the behavior in debug mode). If it still doesn't meet expectations, please send me the test project.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 11:35:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/INTM-not-working-as-expected/m-p/1995426#M43336</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-11-15T11:35:16Z</dc:date>
    </item>
  </channel>
</rss>

