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.

TSC register memory access on C6678



Hi,

We are currently working on C6678. We would like to read the values TSCL, TSCH over PCIe or SRIO instead of reading them in the C66x code (this is for adding NTP functionality to media server applications).

Does the TSC pair support memory mapped access ? If so, what memory address should we be reading in order to read TSC value?

-- 

Thanks!

Regards,
Sarvani Chadalapaka
HPC Systems Engineer
Signalogic Inc.

  • Hi,

    I am not clear on your question. Have you try to read the remote DSP TSCL, TSCH values over PCIe or SRIO interface?

    Time-stamp counter registers() are coming under DSP control register field. This are not support memory mapped access. TSC registers are described in the C66xx CPU and Instruction Set Reference Guide.
    www.ti.com/.../sprugh7.pdf

    Thanks,
  • Hi Ganapathi,

    Thank you for your response. I do not understand what you mean by "read the remote DSP ". If you mean if I want to read the TSCH and TSCL values from outside the C6678, then yes. I want to read TSCH and TSCL values from a host chip via SRIO interface.

    Just to clarify from what you said:

    From www.ti.com/lit/ug/sprugh7/sprugh7.pdf , Table 4-10 shows a table for accessing the Control Registers and gives some offsets. What is the base address for those registers? Do none of those registers have a memory mapped addresses?

    --
    Thanks!

    Regards,
    Sarvani Chadalapaka
    HPC Systems Engineer
    Signalogic Inc.
  • Hi Sarvani,
    From my understanding, those control registers are not memory mapped and accessed through "MVC" dsp instructions. Please refer the sectionh 4.223 MVC on the guide mentioned.
    Thank you.