Other Parts Discussed in Thread: MOTORWARE, C2000WARE
Hi,
I’m working on a project based on InstaSPIN Lab 5e using the TMS320F28069M chip and InstaSPIN-Motion. The FPU isn’t enabled in that lab, but I’m wondering if I can still use it for some of my own code (particularly in the MainISR function) and if there would be any caveats in doing so.
Questions:
- Even though the FPU isn’t enabled on a project-wide basis here, is it still possible to use it for some of my own code in this project? If so, how? Would I need to put my own code in a separate .c file and enable the FPU only for that file?
- In particular, I’d like to use the FPU for some calculations in the MainISR function. Is that possible, or will I need to stick with fixed point values there?
I’m fairly new to embedded systems programming and working with fixed point values, so I figure I might as well use this chip’s FPU if I can. Maybe it’s just because I’m not used to thinking like a computer, but keeping all of the calculations in the code I’m writing within fixed-point ranges seems to complicate things quite a bit!



