<?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: STCU2 internal errors and SPD-BIST BIST_DIAGNOSTIC_CFG in S32K</title>
    <link>https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1817451#M32254</link>
    <description>&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;At Point 2 you say (Note we don't use SAF, we only check SPD BIST functionalities):&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;"For the Recoverable fault mapping you need to configure NCF_5 to one of the R1, R2&amp;nbsp; or R3 reaction – please read SAF Safety Manual for more details."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Question: Is it&amp;nbsp; "EMCEM_DCM_NCF_5_STCU_NCF(ID 73) the one and only recoverable (if configured so) Fault Line to manage for recoverable faults?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if This is true,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(a) Is this Line&amp;nbsp; &amp;nbsp;triggered when&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Bist_GetExecStatus(...) =&amp;nbsp;BIST_FAILED (Bist_GetFailRDs returns all valid domain masks)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(b)Is This line triggered when Bist_GetExecStatus(...) = BIST_INTEGRITY_FAIL (when partial Bist_GetFailRDs () masks are returned)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(c) I think this line is not triggered when&amp;nbsp;Bist_GetExecStatus(...)=BIST_ERROR, because STCU2 has an internal error, isnt'it ?&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;At point 2) you say : "In case of the internal STCU2 error we recommend to perform the reset and try to execute the BIST again."&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Question: How can I count the number of resets if Bist_Run() returns ST_DONE as reset reason, and the ECC ram needs to be reinitialized due to the MBIST? I have no register or ram partitions where I can place a counter that retains it's value after a ST_DONE bist reset...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;At point 3) you say "Please try to check all proposals required before the BIST execution as described in the BIST User Manual."&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Question: do you mean raccomandations at&amp;nbsp; "53.1.14&lt;BR /&gt;Modules operation during/post Self-Test"," 53.1.15&lt;BR /&gt;Reset events and configurations while Self-Test", "53.1.16&lt;BR /&gt;Software considerations before Self-Test " at pp 1892.1893 or S32K3xx reference manual ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fabio&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 11:39:27 GMT</pubDate>
    <dc:creator>FabioG</dc:creator>
    <dc:date>2024-02-28T11:39:27Z</dc:date>
    <item>
      <title>STCU2 internal errors and SPD-BIST BIST_DIAGNOSTIC_CFG</title>
      <link>https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1813872#M31995</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I have some questions:&lt;/P&gt;&lt;P&gt;1) I didn't find too much&amp;nbsp; in Safety Mechenisms regarding Bist, and regarding "garage" use case&amp;nbsp;SPD-BIST BIST_DIAGNOSTIC_CFG of Online Bist. I don't find anything. Could you please tell me if this functionality is mandatory (I'm afraid I don't have enough information about SMs ) ?&lt;/P&gt;&lt;P&gt;2) Regarding STCU2_ERR internal errors:&amp;nbsp;INVPSW,&amp;nbsp;ENGESW,&amp;nbsp;WDTOSW,&amp;nbsp;LOCKESW&lt;/P&gt;&lt;P&gt;which is the status of STCU2 after them? do I have to perform a destructive reset or Retry&amp;nbsp; Bist Run, or nothing?&lt;/P&gt;&lt;P&gt;3) Same question if&amp;nbsp; Bist_GetExecStatus(BIST_SAFETYBOOT_CFG)=BIST_INTEGRITY_FAIL...which is the status of STCU2 after it?&amp;nbsp; do I have to perform a destructive reset or Retry&amp;nbsp; Bist Run, or nothing?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Fabio&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 14:43:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1813872#M31995</guid>
      <dc:creator>FabioG</dc:creator>
      <dc:date>2024-02-22T14:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: STCU2 internal errors and SPD-BIST BIST_DIAGNOSTIC_CFG</title>
      <link>https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1816851#M32178</link>
      <description>&lt;P&gt;Hi Fabio,&lt;BR /&gt;&lt;BR /&gt;ad 1)&lt;BR /&gt;BIST execution is proposed to check whether there are any latent faults in on-chip peripherals (LBIST) and memories (MBIST). It is mandatory to provide evidence of your system robustness against latent faults as required by functional safety standards.&lt;BR /&gt;&lt;BR /&gt;For more information, please collect information from BIST User Manual, S32K3_Bist_Configurations.xlsx &amp;nbsp;included in the /doc folder and S32K3XX_SAF_BIST_ProfileReport.xlsx included in the quality pack.&lt;BR /&gt;&lt;BR /&gt;BIST Diagnostic configuration has full coverage for latent faults checked by all available LBIST and MBIST, therefore this configuration has longest execution time.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Our proposal is to execute this configuration in the application phase where there are not too many active tasks or no time critical events are expected to be proceeded – that’s what we call “garage” use case, we expect that the car is parked and only a few non-critical tasks are active.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ad 2)&lt;BR /&gt;For each error status you can configure mapping to Recoverable or Unrecoverable fault mapping.&lt;BR /&gt;Recoverable fault mapping path is to FCCU, please read eMcem UM – NCF_5 faults description.&lt;BR /&gt;Unrecoverable fault mapping path is to MC_RGM, therefore reset reaction is performed.&lt;BR /&gt;&lt;BR /&gt;For the Recoverable fault mapping you need to configure NCF_5 to one of the R1, R2&amp;nbsp; or R3 reaction – please read SAF Safety Manual for more details.&lt;BR /&gt;In case of the internal STCU2 error we recommend to perform the reset and try to execute the BIST again.&lt;BR /&gt;If the error will occur all the time, we need to reproduce on our side – more details are needed, which BIST configuration is executed, chip derivative, SAF release version and if it is executed from the SAF Demo example or your application.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ad 3)&lt;BR /&gt;Integrity fail is internal error coming from&amp;nbsp;the BIST API function, there is no connection to ERR_STAT register.&lt;BR /&gt;This error represents the problem that some of LBIST/MBISTs which were supposed to be executed has been not finished.&lt;BR /&gt;&lt;BR /&gt;We recommend retrying the execution.&lt;BR /&gt;If the error will occur all the time, we need to reproduce on our side – more details are needed, which BIST configuration is executed, chip derivative, SAF release version and if it is executed from the SAF Demo example or your application.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please try to check all proposals required before the BIST execution as described in the BIST User Manual.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Radoslav&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 21:44:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1816851#M32178</guid>
      <dc:creator>RadoslavB</dc:creator>
      <dc:date>2024-02-27T21:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: STCU2 internal errors and SPD-BIST BIST_DIAGNOSTIC_CFG</title>
      <link>https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1817451#M32254</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;At Point 2 you say (Note we don't use SAF, we only check SPD BIST functionalities):&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;"For the Recoverable fault mapping you need to configure NCF_5 to one of the R1, R2&amp;nbsp; or R3 reaction – please read SAF Safety Manual for more details."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Question: Is it&amp;nbsp; "EMCEM_DCM_NCF_5_STCU_NCF(ID 73) the one and only recoverable (if configured so) Fault Line to manage for recoverable faults?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if This is true,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(a) Is this Line&amp;nbsp; &amp;nbsp;triggered when&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Bist_GetExecStatus(...) =&amp;nbsp;BIST_FAILED (Bist_GetFailRDs returns all valid domain masks)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(b)Is This line triggered when Bist_GetExecStatus(...) = BIST_INTEGRITY_FAIL (when partial Bist_GetFailRDs () masks are returned)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(c) I think this line is not triggered when&amp;nbsp;Bist_GetExecStatus(...)=BIST_ERROR, because STCU2 has an internal error, isnt'it ?&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;At point 2) you say : "In case of the internal STCU2 error we recommend to perform the reset and try to execute the BIST again."&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Question: How can I count the number of resets if Bist_Run() returns ST_DONE as reset reason, and the ECC ram needs to be reinitialized due to the MBIST? I have no register or ram partitions where I can place a counter that retains it's value after a ST_DONE bist reset...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;At point 3) you say "Please try to check all proposals required before the BIST execution as described in the BIST User Manual."&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Question: do you mean raccomandations at&amp;nbsp; "53.1.14&lt;BR /&gt;Modules operation during/post Self-Test"," 53.1.15&lt;BR /&gt;Reset events and configurations while Self-Test", "53.1.16&lt;BR /&gt;Software considerations before Self-Test " at pp 1892.1893 or S32K3xx reference manual ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fabio&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 11:39:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1817451#M32254</guid>
      <dc:creator>FabioG</dc:creator>
      <dc:date>2024-02-28T11:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: STCU2 internal errors and SPD-BIST BIST_DIAGNOSTIC_CFG</title>
      <link>https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1817629#M32262</link>
      <description>&lt;P&gt;According to the description of the faults from RM I would say yes, only&amp;nbsp;&lt;SPAN&gt;EMCEM_DCM_NCF_5_STCU_NCF is set for all non-critical faults (recoverable) from STCU2.&lt;BR /&gt;&lt;BR /&gt;If&amp;nbsp;Bist_GetExecStatus() returns&amp;nbsp;BIST_FAILED&amp;nbsp;it means that at least one Recoverable or Unrecoverable fault has been reported via ERR_STAT - UFSF, RFSF bits.&lt;BR /&gt;So when UFSF is set =&amp;gt; MC_RGM reset is forced&lt;BR /&gt;If RFSF is set =&amp;gt;&amp;nbsp;EMCEM_DCM_NCF_5_STCU_NCF is set&lt;BR /&gt;&lt;BR /&gt;BIST_INTEGRITY_FAIL&amp;nbsp;- after BIST execution for particular BIST configuration it is checked whether all LBIST and MBIST within the configuration has been executed properly (no matter if BIST result was success or fail), if not the integrity fail is reported.&lt;BR /&gt;&lt;BR /&gt;BIST_ERROR - there is path into FCCU for any fault from ERR_STAT which has been configured as Recoverable.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Storing data during full MBIST - there is no way how store the data in SRAM as with BIST Diagnostic configuration whole SRAM content is corrupted.&lt;BR /&gt;However, you can store into the data into Flash or use external memory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Recommendations before BIST execution - I think Bist UM is sufficient to follow, chapter&amp;nbsp;&lt;SPAN class="fontstyle0"&gt;Self-Test prerequisites.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Kind Regards,&lt;BR /&gt;Radoslav&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 15:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1817629#M32262</guid>
      <dc:creator>RadoslavB</dc:creator>
      <dc:date>2024-02-28T15:41:01Z</dc:date>
    </item>
  </channel>
</rss>

