work in progress: adc calibration, dac wave generator