1.1.2 Resistive Shunt

Example:

If Rshunt = 100 uOhm = 0.0001 Ohm and GPGA = 8, then the result is:

Klx = 1 / (8 * 0.0001) = 1250

The metrology firmware uses uQ22.10 to represent both integer and fractional numbers; therefore, the value to set is:

K_lx = ROUND(1250 * 2^10) = 0x00138800