VNH5019 sample program not working with Arduino Nano ESP32

Dual channel. The demo program was made about 10 years ago and the EPS32 was out about 2 years ago. I think there is a compatibility issue that your company needs to check. Using other program, the motor could move so it is not the problem with the connections nor power supply.