The PCB layout is critical for good performance. Therefore special care should be taken to ensure good electrical and good thermal properties. A 4-layer design is recommended for optimum cooling and ground connection. Connect the PCB top layer to a large PCB GND and use thicker inner layers for better heat distribution. In the motor driver circuitry highly sensitive analog signals are close to high current motor and gate current tracks, so a good placement is essential.