Other Parts Discussed in Thread: SFRA, CONTROLSUITE
Tool/software: Code Composer Studio
hello sir/madam,
recently, i work on 2 smps projects and i try to sfra lib to get the plant and open loop function.
it works on one, but failed on the other,
i have the following questions need your help to figure out.
1. there are 2 versions in the controlsuite, v1_10_00_00 and v1_20_00_00. What's the difference?
2. I import the SciCommsGui_32bit.c of v1_10_00_00 in my project and use the SFRA_GUI.exe in the same project to connect.
it always have the following alarm: "please load a valid .a00 file". how to solve it?
and i tried SFRA_GUI.exe of v1_20_00_00, it connected perfectly.
3. i tried to import the SciCommsGui_32bit.c of v1_20_00_00 in my project, but there are some defines of header files, macros, function(like SCI_setConfig, SCIA_BASE, SCI_isTransmitterBusy) cannot be found.
and then i imported the example project in C:\ti\controlSUITE\libs\app_libs\SFRA\v1_20_00_00\examples\DPSWrkShpKit_SFRA_F28035, it fails to compile:
>> Compilation failure
subdir_rules.mk:65: recipe for target 'SciCommsGui_32bit.obj' failed
"C:/ti/controlSUITE/libs/app_libs/SFRA/v1_20_00_00/GUI/SciCommsGui_32bit.c", line 15: fatal error: cannot open source file "driverlib.h"
1 catastrophic error detected in the compilation of "C:/ti/controlSUITE/libs/app_libs/SFRA/v1_20_00_00/GUI/SciCommsGui_32bit.c".
Compilation terminated.
gmake: *** [SciCommsGui_32bit.obj] Error 1
gmake: Target 'all' not remade because of errors.
i think you can have a try and guide me to a successful build.
4. i also have doubts on the data types of parameters for SFRA_IQ_INJECT() and SFRA_IQ_COLLECT( , ).
do they use _IQ26 or something else? because i notice that "SFRA1.amplitude=_IQ26(0.01);" use the _IQ26.
but in some examples, _IQ24 is used.
do you have more information on this?
i am looking forward to your relay, thank you very much