<?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>i.MX ProcessorsのトピックRe: 7ulp M4 core heartbeat timer period value set</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/7ulp-M4-core-heartbeat-timer-period-value-set/m-p/1681394#M208632</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The responsible for do the conversion of milliseconds to Ticks is the&amp;nbsp;APP_MS2TICK(APP_HEART_BEAT_TIMER_PERIOD_MS)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the app_srtm.c file you can find the definition for APP_MS2TICK:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;#define APP_MS2TICK(ms) ((ms + portTICK_PERIOD_MS - 1) / portTICK_PERIOD_MS)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try modifying the macro to change the ticks value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 17:05:37 GMT</pubDate>
    <dc:creator>Manuel_Salas</dc:creator>
    <dc:date>2023-07-04T17:05:37Z</dc:date>
    <item>
      <title>7ulp M4 core heartbeat timer period value set</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/7ulp-M4-core-heartbeat-timer-period-value-set/m-p/1667769#M207449</link>
      <description>&lt;P&gt;There is an m4 core within 7ulp. I am using m4 core sdk 2.11.&lt;BR /&gt;A power mode switch is being developed on the sdk source.&lt;BR /&gt;However, heartbeat timeout occurs in M4 during 7ulp boot and reboots.&lt;/P&gt;&lt;P&gt;confirmation result,&lt;BR /&gt;from the M4&lt;BR /&gt;heartBeatTimer = xTimerCreate("HeartBeat", APP_MS2TICK(APP_HEART_BEAT_TIMER_PERIOD_MS), pdFALSE, NULL, APP_HeartBeatTimerCallback);&lt;BR /&gt;generate&lt;BR /&gt;APP_HEART_BEAT_TIMER_PERIOD_MS is 31000.&lt;BR /&gt;APP_HeartBeatTimerCallback should operate at 31 seconds.&lt;BR /&gt;However, Callback operates at 30.6sec.&lt;BR /&gt;[2023-06-12 14:23:04.910] &amp;lt;APP_SRTM_LfclEventHandler&amp;gt; at heartBeatTimer Reset&lt;BR /&gt;[2023-06-12 14:23:35.510] Heart Beat timeout&lt;BR /&gt;=&amp;gt; 30.6&lt;/P&gt;&lt;P&gt;For the test, APP_HEART_BEAT_TIMER_PERIOD_MS was changed to 29000. Operation operates at 28.614sec.&lt;BR /&gt;[2023-06-12 18:20:03.143] &amp;lt;APP_SRTM_LfclEventHandler&amp;gt; at heartBeatTimer Reset&lt;BR /&gt;[2023-06-12 18:20:31.757] Heart Beat timeout&lt;BR /&gt;=&amp;gt; 28.614&lt;BR /&gt;There is an error.&lt;/P&gt;&lt;P&gt;What is the root cause?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 23:52:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/7ulp-M4-core-heartbeat-timer-period-value-set/m-p/1667769#M207449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-12T23:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: 7ulp M4 core heartbeat timer period value set</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/7ulp-M4-core-heartbeat-timer-period-value-set/m-p/1681394#M208632</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The responsible for do the conversion of milliseconds to Ticks is the&amp;nbsp;APP_MS2TICK(APP_HEART_BEAT_TIMER_PERIOD_MS)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the app_srtm.c file you can find the definition for APP_MS2TICK:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;#define APP_MS2TICK(ms) ((ms + portTICK_PERIOD_MS - 1) / portTICK_PERIOD_MS)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try modifying the macro to change the ticks value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 17:05:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/7ulp-M4-core-heartbeat-timer-period-value-set/m-p/1681394#M208632</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2023-07-04T17:05:37Z</dc:date>
    </item>
  </channel>
</rss>

