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.

AM335x: Detect if watchdog is running

Hello;
In my application, I need to determine if the watchdog is enabled and running.
I went through the datasheet and it seems there is no "status" information. The only way how to determine if it is running or not it to read the WDT_WCRR twice and then compare if the two values differ or are the same. The problem with this approach is that very fast consequent reads will obtain the same value of the counter even if the watchdog is running (thus we need some small delay between the two reads).

Is there some other way how to find out if the watchdog is running or was disabled?

Thanks;
Rostislav