generate 1Mhz to 10Mhz square wave in beagleboard xM

I am newbie in linux and also in beagleboard xm.

I want to generate 1 Mhz to 10Mhz square wave in beagleboard xM.
So, i think i need to use GP timers of processor.
but, i don’t have idea how to use those GP timers.
Suggest me any tutorial or example code for it.

Thanks

Mehul
mehkants@gmail.com

Hi Mehul,

Here you are: http://www.kunen.org/uC/beagle/omap_dmtimer.html

Best regards.