Motor connection sequence on the 9 pin motor connector are std and don't differ it is the only bit of wiring that is generic. I have used Bafang, AKM, Yose and MXUS all are the same.
What may differ is the phase sync and the controller may not be reading it correctly, does the lcd display have...