Does ADAU1701 have a watchdog? How do you recover from a crash?
There is no watchdog on the ADAU1701. If there is a crash, the device will need to be reset and initialized.
SigmaStudio generates code that is 100% deterministic and does not contain any program counter jumps (conditionals, jumps, branches), and the "Return to Start" operation is hardware based, not software based, the chances of the program crashing are extremely small (limited to memory corruption).
Message was edited by: BrettG. Changed "set" to "reset".
I did encounter repeated crashes. It was apparently due to excessive radiated noise from a nearby switching supply. Of course, this had to be mitigated, but I believe in solving every problem twice if possible. I've also asked for the board to be relaid with a complete ground plane. Have you had other reports anything like this?
Good layout practices are of key importance when dealing with a noisy system.
Thanks Brett. I've sent the entire thread to PCB layout dept. and will review. --Phil
I'm working on a project with a fellow engineer who won't build anything without a watchdog timer. So he has his PIC microcontroller looking for a 1 Hz oscillator programmed in our ADAU1701, routed to a GPIO pin. If the PIC doesn't see it and times out, it resets both itself and the -1701.