Hi,
Define a sampling frequency of 100 KHz, then create a sine wave, of 50 Hz use fft to verify it's frequency. That will be a good start.
I attached a file to this answer, on how to use fft, it helped people having the same problem, should be good for you as well.
Let us know about your progress.