LBIST execution during SMU fault

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Kumaresh
Level 3
Level 3
10 questions asked 10 replies posted First solution authored

Hello,

Could you please assist me on the below question. TIA

Question:

Every time application starts it trigger LBIST execution and triggers PORST reset.

If there an alarm due to SMU fault and it triggered an system reset will LBIST execution also be triggered ? In other words will LBIST test be performed when there is a SMU fault.

Configurations:

LBIST is called from application SW main and not enabled Aurix SSW

Once LBIST is done successful we are clearing all the LBIST registers

SMU SW alarms enabled to trigger System Reset on fault detection like die temperature etc.

Could you please point out on where this use case is covered in datasheet? (Datasheet Ref: AURIXTC3XX_um_part1_V1.0.0)

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi kumaresh,

There is an application note AP32381 startup and initialisation for you reference.

And  If LBIST Done and Signature Matching, Application will startup. If not done, Trigger a LBIST and warm PORST.

If done with wrong Signature, Trigger Error.

#if (IFX_CFG_SSW_ENABLE_LBIST == 1)
void Ifx_Ssw_Lbist(void)
{
    if (!IfxScuLbist_isDone())
    {
        if(Ifx_Ssw_isColdPoweronReset())
        {
            IfxScuLbist_triggerInline(&IfxScuLbist_defaultConfig);
        }
    }
    if (!IfxScuLbist_evaluateResult(IfxScuLbist_defaultConfig.signature))
    {
         __debug();
         /* Application may have call to error handling here */
         
         /* Infinite loop to ensure that the error is notified as 'debugger is not connected at this point of time' */
         while(1);
    }

    Ifx_Ssw_jumpBackToLink();
}
#endif

 

 

dw_0-1646224071885.png

 

View solution in original post

0 Likes
1 Reply
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi kumaresh,

There is an application note AP32381 startup and initialisation for you reference.

And  If LBIST Done and Signature Matching, Application will startup. If not done, Trigger a LBIST and warm PORST.

If done with wrong Signature, Trigger Error.

#if (IFX_CFG_SSW_ENABLE_LBIST == 1)
void Ifx_Ssw_Lbist(void)
{
    if (!IfxScuLbist_isDone())
    {
        if(Ifx_Ssw_isColdPoweronReset())
        {
            IfxScuLbist_triggerInline(&IfxScuLbist_defaultConfig);
        }
    }
    if (!IfxScuLbist_evaluateResult(IfxScuLbist_defaultConfig.signature))
    {
         __debug();
         /* Application may have call to error handling here */
         
         /* Infinite loop to ensure that the error is notified as 'debugger is not connected at this point of time' */
         while(1);
    }

    Ifx_Ssw_jumpBackToLink();
}
#endif

 

 

dw_0-1646224071885.png

 

0 Likes