AnsweredAssumed Answered

about SWT

Question asked by 从涛 徐 on May 15, 2018
Latest reply on Aug 16, 2019 by Peter Vlna

Hi,

  Now,I have some questoins to ask about SWT(soft watching dog).

  The first is how can triggle the SWT to cause a reset request.And if need to write a interrupthandler to reset.Or the reset request is sent to FCCU and reset automatic.

 

 The second question is about S32R274 SWT example.

In the void FCCU_Init()

#if LONG_RESET
  /* Configure FCCU to react on NCF14 with long functional reset */
  FCCU.NCFS_CFG[0].R = 0x20000000;    //long functional reset reaction

#else
  /* Configure FCCU to react on NCF with short reset */
  FCCU.NCFS_CFG[0].R = 0x10000000;

#endif

In the datasheet:

01 Short functional reset request pulse (FAULT state reaction)
10 Long functional reset request pulse (FAULT state reaction)

according to the datasheet ,why the FCCU.NCFS_CFG[0].R = 0x20000000 and FCCU.NCFS_CFG[0].R = 0x10000000?Not is FCCU.NCFS_CFG[0].R = 0x80000000,and FCCU.NCFS_CFG[0].R = 0x40000000.

That all.Thanks.

                                                                                                                Tao

 

 


Outcomes