This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28034: WDFLAG source of reset

Genius 12760 points
Part Number: TMS320F28034

WDFLAG description in the manual states: "The reset was caused either by the XRS pin or because of power-up."
Is there any possibility to detect if XRS pin or power-up generated the reset?

Regards,
Bernd

  • Bernd,

    On the F28034 I don't think this is possible You will notice that on the F28x7x we added a Reset Cause register which contains the cause of the last reset (sticky bits maintain state with multiple resets).

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken
  • That is correct. on this device we do not have any status bit to identify if reset was caused by XRSn or power on reset. Some user initialize couple of RAM locations with specific signature and check the value to determine the same. After reset if the value matches with known signature on all the locations then reset is caused by XRSn else power on reset. This is something user need to test in their setup though and make sure it works.

    Regards,

    Vivek Singh
  • Ken, Vivek,

    thank you for clarification. Customer will look for a software solution.

    Regards, Bernd