Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/19/08 21:38
Modified:
  08/19/08 21:49

Read: times


 
#157557 - CC2430 Timer1
Hi,
I am stuck in a very nascent stage of using the CC2430. I am writing a simple application that just initializes the system clock and set up timer1 to toggle a pin as follows

CLKCON
System Clk = 32MHz crystal
TckSpeed = 32MHz

T1CTL
Timer1 is initialized as follows
Prescaler = 1
Mode = modulo (count upto T1CC0)

In the Timer interrupt routine i toggle a pin when T1CTL.OVFIF is set

The lowest trigger period i could achieve is 1.5us. I was hoping to achieve much smaller period (higher frequency) since i do not have any other interrupts/processing and the interrupt latency specified is 7 cycles.

I know it seems quite simple, but trust me i have read teh datasheet section for timer1 and cant figure where i stumbled.

Please advice

Cheers,
Lewis




No replies in thread

Back to Subject List