i want to generate Three phase PWM using Arduino 2560. reason is i want to use those pulse for driving BLDC i’m using BTN8982a for driving purpose. please suggest me code. my frequency requirement is 395Hz Minimum.
Generating three phase PWM using arduino 2560
Hello @baljeetsingh017 and welcome to the forum 
I think the following tutorials can help you out with that:
http://elabz.com/brushless-dc-motor-with-arduino/
http://elabz.com/bldc-motor-with-arduino-circuit-and-software/
Good luck with your project!