i made buck using lm2678 and it worked but i have to make a Res network to provide volt to FB pin, when i directly applied pwm via ucontoller the behavior was not up to the mark, the res network prove to be best...so it depicts it can't be controlled via pwm