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.

TDA4VM: TDA4 API

Part Number: TDA4VM

Hi Team,

Posting on behalf of our customer.  Our customer's application requires to get the system time. More specifically, to create an event by the host and send the signal to a receiver. They want to want to get the system time when the receiver captures the signal. Are there any built-in functions to obtain the system time in openvx or TDA4?

Thanks in advance!


Kind Regards,

Jejomar

  • Please provide more details,

    1. Which core ? What is Host in this context ?

    2. What OS are you running ? If you are on TI-RTOS or Linux then you can check native timestamp API's in respective user guides/forums

    3. What is the accuracy of capture you want ? Will a SW timestamp do ?

    4. What is receiver in this context ?

    Regards

    Vineet

  • Hi Vineet,

    Apologies for the delay. The answers are as follows:

    1) The core is r5f; they will define a host since the kernel is self-defined, like the host samples in the provided examples (/vision_apps/kernels/sample/host)
    2) They are running on TI-RTOS, and have checked the user guide but unfortunately didn't find any references.
    3) It is better to get the accuracy of microsecond.
    4) The receiver is self-defined as well.


    Kind Regards,

    Jejomar

  • You can take a look at the OSAL API TimerP_getTimeInUsecs() See here

    It's used extensively in many TI-RTOS based examples like Gateway and CAN Profile App for profiling

    Regards

    Vineet