I am trying to generate a three phase sine wave using Control Suite's signal generation module with frequency equal to the interrupt frequency generated by f2812 processor (symmetric triangular). I need to display the wave usind CCS v4.
I have a file sgen3.c provided by Control Suite and another files like main.c and others with the code for f2812 initialization and interrupt generation. I am being shown an error in CCS v4 that :sgen.h header file (which is included by sgen3.c) cannot be included as source file" which I have included as header file.
Please help me by telling how to approach my problem statement, i.e, how to include files and simulate the wave on CCs v4. Also, if you can help in the regard of debugging the error I mentioned.
Thank you.