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.

MSP430F6769A:I want to display the processing time.

Part Number: MSP430F6769A


Hi,

This is a continuation of a question I asked in another thread.

Is it possible to measure the time taken for AD conversion using CCS?

I thought I could look at the value of the function assigned to the processing time in "view" → "Expressions", but it didn't work because it was at the upper limit.

I think I can observe it from here, but what should I do?

Also, due to the processing time of AD conversion, I would like to observe in 1 msec units if possible. If possible, up to about 100nsec.

We will also check using the GPIO toggle later.

Regards,

Toshiharu

  • Hi, toshiharu

    A timer's counter read will take longer than 100 ns.

    If you need accurate measurement result, please use GPIO toggle and Osc for observation.

    "view" → "Expressions", but it didn't work because it was at the upper limit.

    The counter value and your read result also depending on the following causes:

    1. timer mode (up / down count)

    2. whether timer reload during ADC conversion

    3. timer's clock.

    4. check the counter value, Check the difference that is read, calculate expected ADC conversion time theoretically, consider the timer counter read instruction exe time and etc.

    Take some time to dig into this.

    Regards,

    Helic

  • Hi, Helic

    Thank you for your answer.

    I'm sorry, but the measurement method with CCS seems to take a lot of time, so I will measure using GPIO toggle and OSC as suggested. Thank you for teaching me some methods on CCS. Please let me know if you have any further questions.

    Regards,

    Toshiharu

**Attention** This is a public forum