Dear Mathworks team,
I want to generate a reference sine wave synchronous to grid AC voltage in simulink.
I am using f28027 dsp launchpad. I have a hardware which can detect zero crossing of AC grid sine wave and give a singal (square wave) to the analog/digital pin of DSP f28027.
I am using embedded coder support package for texas instruments c2000 to program my dsp launchpad f28027
Can you suggest me some example program or any other model to do this?