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.