Check to see how many wires you need on both things.
Then buy a cable with just enough wires inside the cable.
Different part numbers have a different numbers of wires inside.
I bought a cable for my Mpa with a full 14 wires in it and it cost an arm and a leg.
Good Luck,