Proper power supply for BLDC motor
80W motor with current of 40A and supply of 24V? Makes no sense at first look, but this 40A stall current is measured at speed = 0 (rotor locked), this is not a working range of the motor
Your driver works as buck converter, so you don't need 2 x 40A x 24V supply power.  You should use the nominal current of the motor, not the stall current for proper supply calculation, the short term high current can be supplied by a capacitor bank. Look also for max. peak motor current, not a stall current.