I have Implemented PLL using MATLAB to find out Voltage angle (ϴ) .But in real time using TMS320F28379D Digital Signal Controller i am facing problems. I could implement Clarke Transformarion from three phase Grid Voltage but i coild not implement PARK transformation since SINE of function need to be write in C code to get Vd , Vq . Please suggest and help me how to bring sine of angle (sine function ) in c using DSC.