General analog exercises




DC transfer characteristics

Measure the DC transfer characteristics of a circuit. Generate the voltage by one of the DACs and measure both the input and output voltages for a given excitation using the ADC at each step. The timer controlled periodic ADC interrupt service routine should set the DAC output voltage, it should measure the two signals, save the result and repeat this for each step. Therefore one step of the mesurement consists of three interrupts. The voltage range and number of steps shoud be given by variables. A flag should be used enable the process and it should be cleared by the interrupt service routine at the end of the process.