Hello @rparveez ,
According to the schematics, you have to connect the load between 31(P) and 31(N) and you have to connect the load between pin 32 and pin 2 to have the current that flows through the circuit over that resistor. Do you measure the right value using the multimeter?
If so, I would try getting the raw register that the MC33772B using the read register block, exactly the register that stores that measured value of the shut register. You can find an example here:
https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-...
Hope this helps,
Marius