Hi,
Can you check if the sample time (step rate) is too quick for the computation to complete. This could be an overrun situation. Try reducing the sample time and see if that gives better results.
The "sin" block in Simulink is not optimized for embedded controllers which could be the reason for it to be not working as expected.
However we could use "CLAsin" function as provided by TI in the form of library that we can use inside CLA for sin calculations. These sin values can later be transformed into digital counts as required by ePWM or DAC module to generate the sin wave.
HTH,
Venkatesh C

