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.

TMS570LS3137: which ETM clock pin for trace connector?

Part Number: TMS570LS3137
Other Parts Discussed in Thread: SEGGER

Hello,

I am using a jtag connector combined with trace capabilities(SEGGER compliant) there are two ETM clokcs one ETMTRACECLKIN and ETMTRACECLKOUT. I would like to learn which type of ETM clock pin shall be connected to the tracing connector?

Thank you very much.

  • Hello,

    There are 2 clocks utilized in the TPIU. The TPIU outputs data on both edges of the output clock ETMTRACECLKOUT. So this clock is required.

    ARM defines the TPIU's ETMTRACECLK output to be half the frequency of the input trace clock (ETMTRACECLKIN or VCLK). In a standard ARM design, you have no control of the clock. In the TMS570 design, we have implemented a user programmable clock source multiplexor which allows you to select either the internal VCLK or a clock input from a device pin (ETMTRACECLKIN). This is done using the ARM TPIU's EXTCTRLOUT[1:0] register bits. ETMTRACECLKIN is not a MUST. 

    The ARM TPIU is documented in ARM's CoreSight Components TRM, ARM DDI 0314H, which is available at ARM's website. 

  • Thank you very much In this case should I connect ETMTRACECLKOUT to the connector(TRACECLK) at the pinout below?

  • yes,  ETMTRACECLKOUT is used as trace clock.