I have a question regarding the "PANIC FLAG", "ERR_DM0B0" and selfboot-startup verfication in ADAU1451. I have searched for similar topic and also found one, but it is closed and was answered via E-Mail. So here is my problem.
I have a SigmaStudio Program (Version 4.1. Build 1, Rev 1761) which uses about 98% of DM0 and 85% of DM1 for delay-blocks in different channels. It is no problem to "Link compile download" the project. But when I press "Read All Registers" it indicates that there occured an "error in DM0 Bank 0".
When I clear the Panic Manager and read all Registers again the error is gone.
First I thought this is an problem of the USBi connection, but I also checked the "Panic Code" register 0xF428 by reading it with an connected MCU and I got the same result. My problem is, that I want to guarentee that the ADAU1451 runs correct after startup. My planed verfication should work as follows (ADAU1451 loads his programm via selfboot, MCU is connected to slave I2C):
1. Activate selfboot pin with MCU
2. Reset ADAU1451 by MCU
3. Wait about 20ms (Pll locking)
4. Poll register 0xF004 until PLL_LOCKS
5. Wait again about 20ms (Selfboot process)
4. Poll register 0xF427 to check if an error occurs
5. Maybe verify a specific "DC Input Entry" block value by reading it to check if startup was successfull.
As describe before, my problem is that this "ERR_DM0B0" occurs and I dont know if i can simply clear this error of if this is crictical for the operation of the device. My second question is if there is a better way to verify that the safeload-startup process was sucessfull?
This is hopefully not too confusing and you can understand the problem.
Many thanks in advance,