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.

CCS/TMS320F28069F: Motorware est.h using user #defines?

Part Number: TMS320F28069F
Other Parts Discussed in Thread: MOTORWARE

Tool/software: Code Composer Studio

I am using a F28069F with CCS 7.3.0 and motorware v1.01.00.18. I was trying to make a couple different motors "hot swappable". I.E. I was planning on having parameters for both compiled in and then initialize the user params structure with the motor I selected from a custom GUI. This way I would not have to recompile and re-flash the chip every time I changed motors. I was having some success with this when I think I found the provided estimator header file (est.h) is using some motor and user #defines for some calculations? I do not have access to the actual estimator functions so I was just wondering if this was truly the case? If so, how is a pre-compiled function (I think it's pre-compiled to an obj and the linked?) using a #define I set? Finally, in anyone's opinion, is what I'm trying to do out of the question? Thanks to everyone for your help and please let me know if I can provide an additional information.