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.

TMS320F28234: Reset flag

Part Number: TMS320F28234

Dear TI Team,

    When DSP reset, I want to know why DSP reset by observing flags. I found some flags that I can observe. For example,  WDCR[WDFLAG]、PLLSTS[MCLKSTS]. I'm not sure if these are all flags. Are these all the flags? Is there a place to summarize all flags in the document?

Thank you.

Mark

  • Li Jian,

    The best place to start is with the F28235 TRM specifically chapter 1 System Control and Interrupts.  On this device the only internal reset source is the Watchdog(WDFLAG).  As you mention there  is missing clock detect (MCLKSTS), but this will only cause the PLLCR to reset, not a whole device reset.

    There is no way to determine the reset source coming out of a reset state, however, on this device.  You can disable the automatic reset action of the Watchdog, and only trigger the WD Interrupt(WDINT), and then make a decision in SW to either reset or restart the system.

    Best,

    Matthew

  • I got it.

    Thanks Matthew.

    Best,

    Li Jian Xian