Hi,
I am newbie and i am working with OMAP3530 processor. I am trying to configure the timer 2 to be interrupted each 5 ms. But without successfully. Does anyone could help me in set up the timer registers? I am not familiarized with timers.
outl(0x0300, TIOCP_CFG); /* clock activity */
outl(0x0001, TIER_GPT2); /* enable match interrupt */
outl(0x00EC, TMAR_GPT2);
outl(0x0041, TCLR_GPT2); /* start timer - compare enable */
Is the configuration correct? missing any register?
Thanks,
João Paulo