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.

TMS320F28069M: Division when ADC results convert into IQmath and Floating Point

Part Number: TMS320F28069M

Hello, 

Today, when I looked at IQmath and the floating point, I realized that we are not dividing ADC (12-bit) full-scale voltage to 4096 in IQmath as we do in the floating point. In floating point, the reason for the division is; when we get a value from ADC we get that between 0 (0 V) - 4096 (3.3 V) to scale this value, we divide by 4096 and multiply to 3.3 V to get the max voltage. However, we're not doing this on IQmath, we just multiply to 3.3 V.

There are some examples in TI's workshop files. To be clearer I'll add them.

This is how we do in floating point,

and this is how we do in IQmath

This one is for both.

I'm looking forward to any replies. Thank you.