Over heating of drv8825

i’m using drv8825 with NEMA17HD34008-22B. after 5 mints both gets heated up. i found the solution i.e to set the potentiometer value on drv8825 i’m not able to find the value of pot that i should have. please suggest me the way for calculating that value.
im new to electronics. please help me

Hello.

Information on how to read and set the value for the current limiting potentiometer can be found in the “Current limiting” section on the product page for the DRV8825 carrier board. Additionally, the video in that section might be helpful:

If you continue to have problems, could you tell me what you set the Vref voltage to and post pictures of your setup and your board.

Grant