<?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: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
    <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1976650#M42257</link>
    <description>&lt;P&gt;I noticed the points you mentioned in RM. I also clearly stated in my previous statement that the problem I encountered was that the actual test results were different from the expectations, not that I did not read RM. This does not solve my problem. If you have done relevant tests, please post your process.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2024 05:30:43 GMT</pubDate>
    <dc:creator>Janeting123</dc:creator>
    <dc:date>2024-10-18T05:30:43Z</dc:date>
    <item>
      <title>The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1975170#M42160</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_0-1729079791538.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305013i23243FCB8704EBD5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_0-1729079791538.png" alt="Janeting123_0-1729079791538.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;According to RM, NCF_TO should be less than FOSU_COUNT, otherwise FCCU_FTR will occur instead of FCCU_RST when fault is injected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_1-1729080043923.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305014i584E1BF8F64D6ECE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_1-1729080043923.png" alt="Janeting123_1-1729080043923.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;69780h &amp;nbsp; = 432000&lt;/P&gt;&lt;P&gt;Theoretically, when NCF_TO &amp;lt; 432000, only FCCU_RST will occur. But in fact, I configured it to 400000 and FCCU_FTR occurred. When I gradually reduced it, I found that NCF_TO can only be configured to a maximum of 200000 to ensure that FCCU_RST instead of FCCU_FTR occurs. I think the difference between 200000 and 432000 is a bit big. I need to know the reason. Attached is the configuration screenshot when I did the test&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_2-1729080528142.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305015i97F8C1F3265ECD3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_2-1729080528142.png" alt="Janeting123_2-1729080528142.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 12:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1975170#M42160</guid>
      <dc:creator>Janeting123</dc:creator>
      <dc:date>2024-10-16T12:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1975191#M42163</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_0-1729082375420.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305017i1A66ACADF6A2EBEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_0-1729082375420.png" alt="Janeting123_0-1729082375420.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Correction: Only short reset is selected as the fault response, because other responses will cause the FOSU counter to stop.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 12:41:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1975191#M42163</guid>
      <dc:creator>Janeting123</dc:creator>
      <dc:date>2024-10-16T12:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1975790#M42191</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I do not know which chip you are using.&lt;/P&gt;
&lt;P&gt;However, FOSU will take action if FCCU does not in ALARM state.&lt;/P&gt;
&lt;P&gt;Therefore FOSU reset is destructive,&amp;nbsp; as the recovery was not possible or wasn't happen within ALARM timeout.&lt;/P&gt;
&lt;P&gt;For example S32K3:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1729148657976.png" style="width: 660px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305189i7EB6CB084F0BA762/image-dimensions/660x71?v=v2" width="660" height="71" role="button" title="petervlna_0-1729148657976.png" alt="petervlna_0-1729148657976.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;I found that NCF_TO can only be configured to a maximum of 200000 to ensure that FCCU_RST instead of FCCU_FTR occurs.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Can't comment on that. Please stick with reference manual max FOSU count for your TO settings.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_1-1729148894621.png" style="width: 805px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305190i3F2192D7AAF1D9C1/image-dimensions/805x151?v=v2" width="805" height="151" role="button" title="petervlna_1-1729148894621.png" alt="petervlna_1-1729148894621.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 07:08:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1975790#M42191</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-10-17T07:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1975802#M42193</link>
      <description>&lt;P&gt;The chip I use is S32K312. According to RM, the value of NCF_TO is OK if it is less than 432000. So I set it to 400000 and it should work, but the actual test result is different from RM. I can only set a relatively small number (200000) to work. So I am confused about this. If you have done relevant tests and proved that setting it to 400000 is feasible, please post the settings of FCCU registers and I will do another test based on it. The following is a test scenario I assumed. My test result is that when Recovery Timeout = 400000, FOSU reset is responded instead of FCCU reset.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_0-1729150205867.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305192i125730DB4A081F4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_0-1729150205867.png" alt="Janeting123_0-1729150205867.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 07:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1975802#M42193</guid>
      <dc:creator>Janeting123</dc:creator>
      <dc:date>2024-10-17T07:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1976630#M42253</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I will not comment on your SW driver or some GUI settings.&lt;/P&gt;
&lt;P&gt;I can express how the FCCU work on register level.&lt;/P&gt;
&lt;P&gt;To calculate correct TO value you will use following formula:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1729227475403.png" style="width: 647px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305389i914EDCF296FBC232/image-dimensions/647x313?v=v2" width="647" height="313" role="button" title="petervlna_0-1729227475403.png" alt="petervlna_0-1729227475403.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This will give you number of clocks for ALARM state of FCCU when fault comes.&lt;/P&gt;
&lt;P&gt;Tclk_safe is your FIRC:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_3-1729227883398.png" style="width: 622px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305392i350A3F34FF058739/image-dimensions/622x98?v=v2" width="622" height="98" role="button" title="petervlna_3-1729227883398.png" alt="petervlna_3-1729227883398.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and also:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_1-1729227551015.png" style="width: 632px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305390iF0320CCC81A9BBB8/image-dimensions/632x128?v=v2" width="632" height="128" role="button" title="petervlna_1-1729227551015.png" alt="petervlna_1-1729227551015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;you have to respect the FOSU timeout - which is supervisor unit of FCCU:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_2-1729227610683.png" style="width: 651px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305391iD58B2A268B9F9C6F/image-dimensions/651x75?v=v2" width="651" height="75" role="button" title="petervlna_2-1729227610683.png" alt="petervlna_2-1729227610683.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So all what the ALARM state require is to set the Tmax_alarm to value less then 0x69780 (which is time when FOSU will take action).&lt;/P&gt;
&lt;P&gt;This is valid independent of any drivers/tools you will be using. Just make sure your registers carry correct values.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 05:05:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1976630#M42253</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-10-18T05:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1976650#M42257</link>
      <description>&lt;P&gt;I noticed the points you mentioned in RM. I also clearly stated in my previous statement that the problem I encountered was that the actual test results were different from the expectations, not that I did not read RM. This does not solve my problem. If you have done relevant tests, please post your process.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 05:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1976650#M42257</guid>
      <dc:creator>Janeting123</dc:creator>
      <dc:date>2024-10-18T05:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1979885#M42423</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Not sure how to help here. I did not play with driver you are using.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;My test result is that when Recovery Timeout = 400000, FOSU reset is responded instead of FCCU reset.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I am not familiar with what the values Timeout=400000 represents when written in the TO register.&lt;/P&gt;
&lt;P&gt;The point is however still the same.&lt;/P&gt;
&lt;P&gt;After you do initialization, check the value in TO register in debug mode. You will see true hex value in the TO register which your compiler translated.&lt;/P&gt;
&lt;P&gt;It must be in range Tmax. Refer to the equation TOxTclk_safe.&lt;/P&gt;
&lt;P&gt;If your TO register contains value greater then FOSU timeout, your see correct behavior.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 06:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1979885#M42423</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-10-23T06:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1980718#M42453</link>
      <description>&lt;P&gt;I don’t want to repeat the explanation, I will describe my testing process in a more direct way.&lt;BR /&gt;Use this configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_2-1729739526993.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306585i6B8FA1C60E970FB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_2-1729739526993.png" alt="Janeting123_2-1729739526993.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result after injecting fault is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_3-1729739539071.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306587i924656E41ECA2AC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_3-1729739539071.png" alt="Janeting123_3-1729739539071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Use this configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_4-1729739561121.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306589iF4D5E3F72830E4AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_4-1729739561121.png" alt="Janeting123_4-1729739561121.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result after injecting fault is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_5-1729739568613.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306590i16231E12C97E1E9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_5-1729739568613.png" alt="Janeting123_5-1729739568613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The way to inject faults is to write 0xF to the FCCU_NCFF register.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janeting123_6-1729739621056.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306591i667FF02B03006015/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janeting123_6-1729739621056.png" alt="Janeting123_6-1729739621056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see that the difference between the two configurations is NCF_TO, which is less than 0x69780 in RM. Can you try it based on this? Because I think the result of this control experiment is very obvious, I really don’t know where the problem lies&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 03:26:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1980718#M42453</guid>
      <dc:creator>Janeting123</dc:creator>
      <dc:date>2024-10-24T03:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1981919#M42536</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thank you for sharing details.&lt;/P&gt;
&lt;P&gt;I will test your setup here and let you know my observations ASAP.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 09:24:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1981919#M42536</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-10-25T09:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: The alarm state timeout interval (NCF_TO[TO]) cannot be set larger</title>
      <link>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1989821#M42998</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have just tested it and it works as expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1730960753873.png" style="width: 594px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309115i9FE2D8FA607758D1/image-dimensions/594x605?v=v2" width="594" height="605" role="button" title="petervlna_0-1730960753873.png" alt="petervlna_0-1730960753873.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;after injecting NCF3&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_1-1730960770471.png" style="width: 594px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309116iF94097CDAD44B41B/image-dimensions/594x190?v=v2" width="594" height="190" role="button" title="petervlna_1-1730960770471.png" alt="petervlna_1-1730960770471.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Attached is my printed configuration before fault injection.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 06:28:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-alarm-state-timeout-interval-NCF-TO-TO-cannot-be-set-larger/m-p/1989821#M42998</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-11-07T06:28:30Z</dc:date>
    </item>
  </channel>
</rss>

