Fixed DSP source example and implemented register writes.