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.

RTOS: How to create a timer as Input Capture mode in TI RTOS

Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

I am using AM572x evm board and programming in Cortex M4 running TI RTOS. Configured pin B26 (xref_clk2) as timer15.

I need to use TImer 15 as input capture. where I need to measure the frequency in my program which should be same as frequency given externally.

Please let me how to create the timer for input capture and what to set for the timerParams.?

    timerParams.period = ?
    timerParams.startMode =  ?
    timerParams.periodType = ?

Example would be helpful.