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.

TMS320F28388D: To see reset souce in CPU1 that generated by CPU2 error.

Genius 3186 points

Part Number: TMS320F28388D

Hi

My customer is developing F28388D.

Now, Softwere operate this:

CPU2 watchdog generate global interrupt(NMI) to CPU1.

CPU1 interrput function generate softwere reset( SIMRESET Register) .

Question1: In this settiong, After CPU1 wake up, can CPU1 read CPU2's RESC Register?

Question2: In Q1 setting, After CPU1 wake up, How to CPU1 knows that reset was started by CPU2 watchdog?
(I think CPU2's RESC Register shows NOT watchdog. Because reset was generated by softwere.)

Question3: In Q1 setting, Is there any way to CPU1 knows CPU2 watchdog had overflowed before reset?

Question4: If CPU2 watchdog is seted to reset mode, and generat CPU2 reset, CPU1 does not reset?

Question5: In Q4 setting, Is there any way to reset CPU1 with CPU2's reset?

Thanks,

GR

  • Hi,

    Question1: In this settiong, After CPU1 wake up, can CPU1 read CPU2's RESC Register?

    No, this is not possible. I am curious to know why CPU1 need to do this ?

    Question2: In Q1 setting, After CPU1 wake up, How to CPU1 knows that reset was started by CPU2 watchdog?

    CPU1 has status bit in NMISHDFLG register which indicates that CPU2 WD reset generated NMI.

    Question3: In Q1 setting, Is there any way to CPU1 knows CPU2 watchdog had overflowed before reset?

    Reset only happens after WD overflow so not clear on this question.

    Question4: If CPU2 watchdog is seted to reset mode, and generat CPU2 reset, CPU1 does not reset?

    No. CPU2 resets are local to CPU2 only. It generates NMI to CPU1.

    Question5: In Q4 setting, Is there any way to reset CPU1 with CPU2's reset?

    No, this is not possible. CPU1 SW need to take care of this.

    Regards,

    Vivek Singh

  • Hi ViVek,

    Thank you to your support.

    No, this is not possible. I am curious to know why CPU1 need to do this ?

    My customer want to do if CPU2 watchdog overflow occord, all CPU will reset and CPU1 know issue  after reset.

    My customer will develope baseed on your information!

    Best Regerds.

    GR