I have logged it
and maximal value i have seen is 2559,92
Would be good to post part of the log you did here to ensure that we are on the right path.
sh16 d15, #-1 (bitwise shift right) is essentially converting the result from min.u d0, d0, d15 to a 0-5120 plausible value...
so there is a reason that i am asking the actual value of pvds_w...