Part Number: TMS320F280049
Hello all,
We implement a Permanent Magnet motor sensorless FOC control on a TMS320F280049.
We'd like and have a 25kHz sampling frequency.
So far we developped using inline functions the FOC (wihtout sensorless) and reached so far a 60% CPU load without any "- O" optimisation, which needs to be accelerated.
In the DMC libray provided in the "control suite" for this type of control, all functions are developped as MACROs based on a "SPRAAK2" document.
unfortunately, this document is not available easily onthe website. Is it possible to get it?
Can you indicate me if "inline" functions or Macros have a big difference in execution time?
I dont like to use too much "-O" options as i like to debug my code as easily as possible... Any advice for a -O option that speed up the code but leave it understandable?
Thanks a lot for any advice,
PA Nicoletti.