AnsweredAssumed Answered

Enabling timer in 21369 processor

Question asked by heroic on Jul 20, 2010

Hiii

I was trying to use timer 0 in sharc 21369 for my project on mp3 player but i faced some problems. I set the register values as follows

*pTMSTAT = 0x0101
*pTM0CTL = 0x001F
*pTM0CNT = 0xXXXX

 

but the timer didn't work and the interrupt was never set. When i cheked the values of the timer0 register it showed as  0x0300. Plz help me in this regard.

Outcomes