Hello,
I use XS2410 smart HS driver for driving proportional valves. (max 2A)
I use in PI controller mode. I can set the current correctly.
However, FB_IOUTx register (that is current feedback on Ton/2) doesn't give correct values.
Output current is okay. (I can test via oscilloscope with current probe.)
FB_IOUTx register must be 10 bit (0 - 1023) but it can give bigger values than 10bit.
TEST-1
currentSetPoint[0] = 48 -> 48 * 12.5mA = 600mA
FB_IOUT1 = 650 -> (650 * 5000mA) / 1023 = 3176mA
PI_DC1 = 320 -> (320 * 100%) / 1023 = 31.28%
TEST-2
currentSetPoint[0] = 120 -> 120* 12.5mA = 1500mA
FB_IOUT1 = 1550(?) -> (650 * 5000mA) / 1023 = 7575mA (?)
PI_DC1 = 810-> (810* 100%) / 1023 = 79.17%

As you can see on TEST-2, FB_IOUT1 gives 1550. But this number bigger than 10bit.
I use NXP Q100 SW driver (Q100_eSwitch_SDK_SW) for test. (https://www.nxp.com/webapp/Download?colCode=Q100_eSwitch_SDK_SW&appType=license)
You can find my Q100 driver configuration at the attachment.
How can I read current feedback properly?