General analog exercises




Simultaneous periodic signal generation and measurement

Generate a voltage pattern given in an array by one of the DACs and measure a specified input signal using the ADC. The timer controlled periodic ADC interrupt service routine should set the DAC output voltage, it should measure the signal and save the result into an array. A flag should be used enable the process and it should be cleared by the interrupt service routine at the end of the process.