This is the start of a flight controller I’m writing.
The ESC used here is a Hobbywing X-Rotor 20A, the manual says it can work up to 621hz in high time mode. It’s not clear but it implies that it should work up to 500hz in intermediate/standard timing mode, though the fastest I could get it to accept was ~480hz. I’m using the Arduino IDE on a Teensy LC here. The PMW is output using the analogWrite function.
Dev blog: http://technicalartlead.blogspot.com/2016/03/ma-drone.html
Github: https://github.com/pauljlohman/Pegasus