Experiment No. 4: Sine Wave Generation: Theory
Experiment No. 4: Sine Wave Generation: Theory
Theory –
In two ways sinewave can be generated. One by using polling method and later by using
interrupt method. In polling method processor continuously monitors for next sample. In interrupt
method, when the interrupt is generated, interrupt service routine will be executed and all samples are
fetched from the sin() function.
Here we are using interrupt method for generating sine wave.
Procedure –
1. Take output from LINE_OUT and connect it to DSO to observe the output.
Program –
// Com m routines included in C6xdskinit.c