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.
Tool/software: Code Composer Studio
TI CODE #define K_FEED_FORWARD ((Uint32)(0.5 * VAC_MIN_OFF * 1.414 * VAC_VOLTAGE_DIVIDER * 0x7FFFFFFF))//Q30
I think float to Q30 should be mul 2^30 BUT TI CODE IS MUL 0X7FFFFFFF WHY?