Other Parts Discussed in Thread: CC2540,
Hi,
I am using CC2540/41 Bluetooth Low Energy Software Development Kit Version 1.4.0 for a current project of mine. As I use IAR EW 8.20, I cant use any newer stacks available from TI
I want to use Timer 1 in my project. It seem hal_timer functionality is disabled in the stack and it's up to us to implement. So I tried to enable Timer 1 and enable its interrupt. I can see the timer1 count is updating but no interrupts. I set the IEN0.EA and IEN1.T1IE bits initially but when I stop the program later, both these bits are reset. I tried finding who resets these but I couldn't find any except may be OSAL sleep functions. Can anyone shed some light here as to whom may be disabling the EA and T1IE bits? Basically how to integrate hal timer interrupts with OSAL.
Thanks,
Kay