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/UCD3138: UCD3138

Part Number: UCD3138

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 ?

THANKS