Tool/software: Code Composer Studio
Hello,
Is there any way to do profiling (checking what time is spent in which function) on the CC2650 with TI CCS ?
And how ?
Best Regards.
Frederic
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hello,
Is there any way to do profiling (checking what time is spent in which function) on the CC2650 with TI CCS ?
And how ?
Best Regards.
Frederic
Hello Frederic,
There are two main options of profiling support in CCS for your device (CC2650).
The first is a simply way to count clock cycles:
http://dev.ti.com/tirex/explore/node?node=ACh7aaTRwDWC-8ORL0EHMg__FUz-xrs__LATEST
The second is to use SWO Trace for statistical profiling.
Thanks
ki
Hello Ki,
Thank you very much for the answer.
SWO looks close to what I need.
However the link explains that SWO is using the TDO pin to communicate with the XDS110.
Since I am using the TDO pin for I2C communication already, do you know if it is possible to use another pin than the TDO pin to get the SWO outputs ?
Regards.
Frederic
Sorry, SWO Trace is dependent on the TDO pin. If it is already in use, you will not be able to use SWO trace.
ki
Hi,
I saw that the SWV could be mapped to any pin in the CC13x0, CC26x0 SimpleLink™ Wireless MCU Technical Reference Manual (Rev. H) page 408 :
"The SWV can be mapped to DIO n by writing the corresponding port ID in the IOC:IOCFGn register (see Table 11-27) For more details, see Chapter 11)."
Would this help ?
Regards.
Frederic
Frederic Griffe said:Would this help ?
Not for SWO Trace in CCS. That feature requires use of the TDO pin. Sorry.
ki