The Creality 4.2.2 board uses A4988 stepper drivers which set the current through the steppers via a potentiometer on the driver itself. The Creality 4.2.7 board used 2208 (Trinamic) stepper drivers, of which the current through the steppers is defined in the advanced configuration.
If the motor runs hotter on the first (4.2.2 board) you need to adjust the potentiometer to the correct Vref (reference voltage).
From All3D.com:
Vref is calculated with a simple formula:
Vref = I x 8 x Rsense
Where I is the driver current to the motors and Rsense is the current sense resistor. While I is primarily defined by the motor’s rated current, Rsense is a fixed value that can be verified by checking the stepstick board.
Sense resistors vary from vendor to vendor, ranging from 0.05 up to 0.2 Ω. Look for two equal resistors in the A4988, as shown in the image above. In this example, R100 is 100 mΩ, or 0.1 Ω.
Although the stepper motor we’ll use here is rated for 0.9 A, we should never set it to its maximum current capacity. It’s strongly recommended to reduce the amount of current to the motor by at least 10%, which in our case would translate to approximately 0.8 A.
If you want the stepper to use more current, and thus run hotter, the current specification needs to be increased. You can alter this in the configuration or use M906
G-code.