We are trying to find problem why it is hanging. above is the snap of debugging where it is hangs.
following is the command 0x00 meaning that we are sending here.
so we are sending 0x00 to EMB1428 to open all switches.
But in return we are getting response 0xC0 so as per format 0xC is fault code followed by command that we had sent. So we had sent 0 in command so we are getting 0xC0.
following is the meaning of fault code that we have received here
So DONE went when EN is high so that is the problem.
I have read one para also in datasheet that is below
Why is it so how to resolve this?