I am using TMS320F28035 DSP for 10KVA inverator.I want 50hz sine wave for 3 phase .Cany u give me any document or code .
Thank u
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am using TMS320F28035 DSP for 10KVA inverator.I want 50hz sine wave for 3 phase .Cany u give me any document or code .
Thank u
Hello Anil!
Mentioned SGEN code for F28335 could be ported for F28035. You just need to use device support library from ti\controlSUITE\device_support\f2803x\v127\ and SGEN library for fixed point C28x_SGEN_Lib_fixed.lib from ti\controlSUITE\libs\dsp\SGEN\v101\lib\. Description of SGEN library you can find in ti\controlSUITE\libs\dsp\SGEN\v101\doc\.
Regards,
Igor
Hello Dear Anil!
It seems you're quite lazy my friend :-) (Do not get angry. Frankly, I'm too.) All the work on porting the code takes half an hour. I have taken 2833x_SGENT3 for basis and I have checked that it is compiled successfully at the first step. Now this project is adopted for 28035 (correcting "Include paths", "Source modules (asm + c)", 28035_RAM_lnk.cmd (inserting needed sections according 28335_SGEN_RAM_lnk.cmd)). Perhaps you will need to correct "Include path" and "File Search Path" project options according the placement of your CCS and Workspace on your hard disk. Here my attachment for you 7220.28035_SGENT3.rar (CCSv5.2, C2000 compiler 6.1.0).
Good luck,
Regards,
Igor
PS I can not guarantee efficiency of the project because I do not have F28035 and I can not check. Perhaps debugging will be required.
Hi,
I didn't go through the relevant TI document, but if your task is generation of a sine wave, u can do it by a simple lookup table.
I suggest that u use xls or preferably matlab and create sample points of a sine wave. A good table can be obtained by oversampling by 20 times or more, i.e. 1000 hz in your case. The data set obtained will have values proportional to amplitude of a sine wave with respect to time. U can then use these values to load pwm registers to create pwm modulated sine wave.
Jawwad
Hi Anil!
Anil Sahu said:Error comming like this "could not open source file ".
Check please "Include path" and "File Search Path" project's options carefully and set these options according your paths on hard disk. There are no other problems (at least with compiling) except incorrect paths for your PC. This project is compiled successfully on my PC. I have no reason to mislead you. I believe you will cope with this task.
Regards,
Igor
Thanks, Joy.
Well what can I do about it? Unfortunately correcting include paths is first problem which beginners face to...Most recently, I myself was the same.
Regards,
Igor