Hello everyone,
I'm attempting to profile some code on my custom CC2640 board that relies on really tight timing (and I've previously posted about Clock_getTicks() reyling on the 32kHz RTC) and was attempting to find a way to profile my code. The 'profiling' options in the CCS debugger are all grayed out, so I was hoping to use the Timestamp_getXX() functions to help me.
I've searched the forums here, and have found a few posts on this topic, but not one single complete example that can help me get this working. (The best help I found was here - )
The SYS/BIOS User Guide makes it sound trivial to get it working, but following the example in there, I get tons of compiler errors. My code is based on the SimpleBLEPeripheral, and makes use of the GPTimer/PWM driver. I need to profile code that relies on single 1uS differences - therefore I need a way to profile at 48Mhz clock ticks.
I can't find the example ClockApp or SensorTag UART examples that others have mentioned in my C:\ti\ folder.
I've checked the wiki, and although it explains how to enable the profiler in the debugging perspective, all the options are grayed out (as I mentioned before.)
Does anyone have any suggestion as to where I can look to find a concrete example that works on the CC2640/CC2650 to profile code? I'm really begging to get frustrated with the disjointed documentation and support for this particular TI processor. I've had great success on the past in developing on the MSP430 because i was able to write directly to registers and forego the use of any middleware. This CC26xx setup is really confusing me.
Thanks in advance everyone,
-Ben