Generating three phase PWM using arduino 2560

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.

Hello @baljeetsingh017 and welcome to the forum :grinning:

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!