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.

AM2434: Watchdog Timer Warm Reset Configuration

Part Number: AM2434
Other Parts Discussed in Thread: SYSCONFIG

Hi,

I'm trying to configure the watchdog timer. I found that it has two modes. A mode to reset and the other mode is for firing an interrupt. What I want is the warm reset once the watchdog is expired. I followed the steps in the documentation of the SDK, but the watchdog doesn't reset after the time expires. However, the interrupt mode is working properly (found in the examples). Is there anything missing in my configuration? Here are the detailed steps I took:

  1. Configured the WDT from the sysconfig with the mode: "Trigger Warm Reset", and Expiry Timeout is 1000 ms.
  2. In the main code: I used ClockP_sleep for a delay of 5 seconds.
  3. After the delay I turn on a LED on the following Pin: MCU_GPIO0_5 (SPI1_CS0).

So, my assumptions was that the interrupt will fire before the delay is over and it will keep firing every reset. So, the LED will never turn on. but the WDT doesn't reset and the LED turns on.

Thank you in advance.

  • Hello Hatem Salah,

    Please look at the e2e below and this e2e explains clearly how to solve your problem.

    And still, if you need help, we can discuss.

     RE: AM6422: Watchog example for for R5 core not working 

    Regards,

    Anil.

  • Thank you so much. That actually solved my problem Hearts. I didn't know that I need the ESM module to signal the reset.

    So, I have another question if you may. When I "Software Reset" my board whether using the available APIs in the SDK, or reset via the watchdog timer and the ESM, the whole SoC resets, which means the four Cortex-R5F cores resets together.


    My question is: Is there a way to only reset one Cortex-R5F core? I don't want the four cores to reset together.

  • Hello Hatem Salah,

    My question is: Is there a way to only reset one Cortex-R5F core? I don't want the four cores to reset together.

    Individual core reset is not possible.

    This is not supported by the SoC.

    When the WDT (Watchdog Timer) expires, the ESM (Error Signaling Module) will trigger a reset to the entire SoC, not to a single core.

    Regards,

    Anil.