3 power wires.
Gnd
+5V
+12V

So, you need to reconnect the gnd wire at the decoder board, and, reconnect the sif input on the main board, and, should be good.