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/TDA3: TDA3x

Part Number: TDA3

Tool/software: Code Composer Studio

Hi,I want to use oscilloscope to measure the time of the algrithm plugin I write my self.How can I do it in tda3x?I know the serial port can print the time but I still want to measure the "actual" time.Thanks

  • Why oscilloscope? you could timer, isn't it?

    Rgds,
    Brijesh
  • Hi,

    I would suggest you to use a timer to measure the time.
    You can only probe signals on physical lines using oscilloscope. What is the algorithm about?

    Regards,
    Rishabh
  • Hi Rishabh:
    It is about object tracking.I want to measure the time by tracking one object , two objects,three objects......
    The Frame num for capture is 25 fps.
    Say DSP1 detect objects in 40 ms and pass the information to DSP2 to do the tracking.DSP2 will do tracking in 40ms.
    I find out that if I increase the number of the tracking objects,the time for DSP1 is a little bit strange(I use vps_printf to print a short message in dsp1 ).
    The time interval for DSP1 is not 40 ms(The interval I can see from the serial port).Sometimes will be 80ms.
    If I decrease the tracking number,the interval will be OK.
    Notice that I increase the number of tracking objects in dsp2,while it affects the time interval of dsp1.
    So I think the most direct way to see this is through a oscilloscope.Because I think may the serial port is not quick enough to keep record the running status of the dsp.Do you have any good suggestion?Thanks.
  • Hi Brijesh:
    It is about object tracking.I want to measure the time by tracking one object , two objects,three objects......
    The Frame num for capture is 25 fps.
    Say DSP1 detect objects in 40 ms and pass the information to DSP2 to do the tracking.DSP2 will do tracking in 40ms.
    I find out that if I increase the number of the tracking objects,the time for DSP1 is a little bit strange(I use vps_printf to print a short message in dsp1 ).
    The time interval for DSP1 is not 40 ms(The interval I can see from the serial port).Sometimes will be 80ms.
    If I decrease the tracking number,the interval will be OK.
    Notice that I increase the number of tracking objects in dsp2,while it affects the time interval of dsp1.
    So I think the most direct way to see this is through a oscilloscope.Because I think may the serial port is not quick enough to keep record the running status of the dsp.Do you have any good suggestion?Thanks.
  • Hi Chen,

    As already recomended by Brijesh and Rishabh, using timers to log time stamp should help solve your problem.

    Regards,
    Shyam