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.

CCS/CC1310: Function execution time

Part Number: CC1310

Tool/software: Code Composer Studio

Hi,

Which is the best way to find function execution time in CC1310.

I am working with TI-RTOS and CCS.

I need to calculate the execution time for an RF transmit function, it contains RF_open, a command for changing frequency, a command for transmitting a packet, RF_close, RF_yield.  

Actually, I need to evaluate how much time does the radio core is ON for transmitting my packet.

Power down policy is enabled in my project. My understanding is that Radio core wakes up when I have posted a command in cmd queue and shut down after I called RF_yield function.

Is it correct?

  • It takes about 1.6 ms from standby to RX or TX mode. You do not need to do an RF_Open and RF_Close every time you want to use the radio. The setup and fs command you only have to call once in your application (unless you want to change fre. etc), and then these command will run whenever you send a TX or RX command (if the device has been in Standby).

    You can take a look at the rfPacket TX example in the SDK and see how this is done. The example goes into standby betweeen the packets, but as you can see, the setup and fs commands are only called once in the application.

    The power profile for the rfPacketTX example, you can take a look at in the following document:

    it will show you the timing as well.

    Siri