Hi,
I am using the AS5048B magnetic encoder in my project. I am using this code for my project which provides the function "doProgZero" to program the zero position permanently and burn the one time fuse. The encoder actually uses an OTP to fix the zero position but I am facing the problem that once I run the code temporarily zero position gets set but when I restart the system it forgets the zero position. The link for the product is AS5048B
I am using the encoder in 5V mode and the correct capacitors are already hooked.
From what I can see it omits the initial steps, and fails to verify (which is mandatory according to the datasheet, i.e. its possible this will fail and have to be retried).
You should also check your hardware conforms to the requirements on page28 for burning fuses.
You are right, the fuse already blew to some configuration. I took a new IC and programmed it, it worked well which led me to conclude that the fuse on my previous IC blew to some other configuration while me testing its features. one thing I noticed that if you provide wrong voltages to the IC or try to experiment with it, the initial set zero may change to some other value. So you need to be very careful while working with it.