This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CC2430 Timer 3

Hello,

I am using CC2430 TI Chip with Keil compiler.
I am having problem in setting up Timer 3 settings. Going through CC2430.pdf document.
I have below TIMER 3 settings I tried running the code under simulation mode on KEIL compiler.
the program is not breaking for interrupt as counter value is not being incremented. Can anyone look at the settings and let me know where I am going wrong as coounter is not incrementing.

TIMER 3 SETUP :

T3IF = 0
T3IE = 1
T3CTL = 0XFA
T3CC0 = 0XFA
T3CNT = 0X00
T3CCTL0 = 0X4C
T3OVFIF = 0
T3CH0IF = 0
EA = 1

any help would be appreciated....
Thanks in advance...
AD

Parents
  • What I posted is not my original source code. I posted all the Timer/Counter values I read during simulation. Also I did read all the below instruciton reagarding posting the source code.

    Use and for BOLD text.
    Use and for ITALICS text.
    Place source code source code between

     and
    

    .
    Your e-mail address is not published in the forum.

    Also I am following the coding standard as mentioned above. I not using magic numbers in my code.

    I posted this issue here thinking that anyone using Keil compiler and TICC2430 would flash some light on this.
    My problem here is my Counter is not incrementing.
    If anyone could help me on that area it would be greatly appreciated.

    Thanks!!!!

Reply
  • What I posted is not my original source code. I posted all the Timer/Counter values I read during simulation. Also I did read all the below instruciton reagarding posting the source code.

    Use and for BOLD text.
    Use and for ITALICS text.
    Place source code source code between

     and
    

    .
    Your e-mail address is not published in the forum.

    Also I am following the coding standard as mentioned above. I not using magic numbers in my code.

    I posted this issue here thinking that anyone using Keil compiler and TICC2430 would flash some light on this.
    My problem here is my Counter is not incrementing.
    If anyone could help me on that area it would be greatly appreciated.

    Thanks!!!!

Children