I am only using math.h....
If I use the commented lines, I am getting the desired wt waveform, but when I use the above code, frequency of wt waveform is not as expected.
Is it because of increase in trigonometric calculations
Pls reply
Thanks
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 only using math.h....
If I use the commented lines, I am getting the desired wt waveform, but when I use the above code, frequency of wt waveform is not as expected.
Is it because of increase in trigonometric calculations
Pls reply
Thanks
problem still remains...after the partitioning
when i include sin (wt), cos(wt)....result is correct. But when i include sin (wt-2.094395102),it seems wt itself is getting affected....and result is erroneous.I have declared (wt) as float
Hi Shyam,
Are you using the latest compiler? if not can you upgrate to the latest and see if the issue persists?
i am getting lot of warnings on compiling:
[Linking...] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -@"Debug.lkf"
<Linking>
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
boot.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
cos.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
exit.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
fs_add.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
fs_cmp.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
fs_div.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
fs_mpy.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
fs_neg.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
fs_toi.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
fs_tol.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
fs_tou.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
i_tofs.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
sin.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
_lock.obj>": compatibility cannot be determined
warning: build attribute vendor section TI missing in
"C:\CCStudio_v3.3\DSP2823x_examples\mk_example_vbyf_noload_park\rts2800.lib<
args_main.obj>": compatibility cannot be determined
warning: creating output section ".bss" without a SECTIONS specification
warning: creating ".stack" section with default size of 0x400; use the -stack
option to change the default size
Build Complete,
0 Errors, 20 Warnings, 0 Remarks.
I removed the existing rts lib file and added rts2800_fpu32.lib and rts2800_ml.lib to the libraries folder in ccs environment...
After compiling , i am getting error:
<Linking>
error: file "C:\CCStudio_v3.3\C2000\cgtools\lib\rts2800_fpu32.lib<boot.obj>"
specifies ISA revision "C28FPU32", which is not compatible with ISA revision
"C2800" specified in a previous file or on the command line
error: file "C:\CCStudio_v3.3\C2000\cgtools\lib\rts2800_fpu32.lib<cpy_tbl.obj>"
specifies ISA revision "C28FPU32", which is not compatible with ISA revision
"C2700" specified in a previous file or on the command line
error: file
"C:\CCStudio_v3.3\C2000\cgtools\lib\rts2800_fpu32.lib<cpy_utils.obj>"
specifies ISA revision "C28FPU32", which is not compatible with ISA revision.......
You can emulate standalone mode of operation with the debugger. Here is what you do, you connect to the target, then go to Scripts-> EMU Boot Mode Select -> EMU_BOOTMODE_FLASH, Restart the device (dont reset), and then set a breakpoint in main() and run to that point. This way you are simulating standalone mode even with the emulator connected. Now you can see where the code is going wrong.