Debugged MOSI DAC channel select loop