CR-10 V2 z axis move up when trying to move down

My CR-10 V2 printer was working fine until I stopped a recent print. Instead of homing down, it raised up until it hit the top of the gantry.

Now moving the z axis down it moves up instead.
Moving Z axis up moves up, moving it back down just moves it further up.

The issue seems to be with controller. Using a different controller on the printer works just fine

Any suggestions on what broke? Do I need to replace the motherboard ?

Thanks.