First of all thank you for great inspiration for own ESC controller.
It's works:
https://www.youtube.com/watch?v=yTbKEZs4AUw
My engine stuck with your parameters 1-1000 microseconds but nice working with 500-2000
Delay=map(t,0,1024,500,2000);
It takes 10A at start and 5-6 during turning without load.
MOSFETS are hot all except "first one". I mean A1(first high bridge).
How you can explain it ? Why 1st one is cold other is hot but with different temperature 50-80 degrees ?
Also, your second code with definition of virtual zero point:
int emA = analogRead(emfA);
int emB = analogRead(emfB);
int emC = analogRead(emfC);
int sum = (emA+emB+emC)/3;
doesnt run motor at all. I mean there is only 0.1A no sound, no rotation... nothing. Like ESC don't even try to run motor.
Any ideas ?